blob: ea155bf8350529a8b7c11aff3f2c6ae95556fa47 [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
Michael Lippautzebbc5a82018-05-30 10:41:4246const char kEnableBlinkHeapIncrementalMarkingName[] =
47 "Blink Heap Incremental Marking";
48const char kEnableBlinkHeapIncrementalMarkingDescription[] =
49 "Enable incremental marking in Blink";
50
Tetsui Ohkubo2852b952018-02-23 04:12:0151const char kSystemTrayUnifiedName[] = "New system menu";
52const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5553 "Enable the experimental system menu.";
54
Khushalba202212017-07-12 19:53:4955const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
56const char kAsyncImageDecodingDescription[] =
57 "Enables asynchronous decoding of images from raster for web content";
58
Roger McFarlane2eceba982018-05-18 01:37:1159const char kAutofillCacheQueryResponsesName[] =
60 "Cache Autofill Query Responses";
61const char kAutofillCacheQueryResponsesDescription[] =
62 "When enabled, autofill will cache the responses it receives from the "
63 "crowd-sourced field type prediction server.";
64
sebsge35b762c2018-03-29 20:33:2765const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
66const char kAutofillDynamicFormsDescription[] =
67 "Allows autofill to fill dynamically changing forms";
68
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:3969const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
70const char kAutofillPrefilledFieldsDescription[] =
71 "Allows autofill to fill fields previously filled by the website";
72
Roger McFarlane1a37d7b2018-04-20 22:45:1973const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
74 "Autofill Enforce Min Required Fields For Heuristics";
75const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
76 "When enabled, autofill will generally require a form to have at least 3 "
77 "fields before allowing heuristic field-type prediction to occur.";
78
79const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
80 "Autofill Enforce Min Required Fields For Query";
81const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
82 "When enabled, autofill will generally require a form to have at least 3 "
83 "fields before querying the autofill server for field-type predictions.";
84
85const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
86 "Autofill Enforce Min Required Fields For Upload";
87const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
88 "When enabled, autofill will generally require a form to have at least 3 "
89 "fillable fields before uploading field-type votes for that form.";
90
Moe Ahmadid3ddfcb2018-04-20 19:51:0891const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
92 "Restrict formless form extraction";
93const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
94 "Restrict extraction of formless forms to checkout flows";
95
Brett Wilsonf27ff602017-07-07 22:28:4796const char kAutoplayPolicyName[] = "Autoplay policy";
97const char kAutoplayPolicyDescription[] =
98 "Policy used when deciding if audio or video is allowed to autoplay.";
99
100const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
101 "User gesture is required for cross-origin iframes.";
102const char kAutoplayPolicyNoUserGestureRequired[] =
103 "No user gesture is required.";
104const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
105const char kAutoplayPolicyDocumentUserActivation[] =
106 "Document user activation is required.";
107
Johanne0cc6902017-11-16 00:23:50108extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
109extern const char kAv1DecoderDescription[] =
110 "Allow decoding of files with the AV1 video codec.";
111
Brett Wilsonf27ff602017-07-07 22:28:47112const char kBackgroundVideoTrackOptimizationName[] =
113 "Optimize background video playback.";
114const char kBackgroundVideoTrackOptimizationDescription[] =
115 "Disable video tracks when the video is played in the background to "
116 "optimize performance.";
117
118const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
119const char kBleAdvertisingInExtensionsDescription[] =
120 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
121 "with regular use of Bluetooth Low Energy features.";
122
Charles Harrisond629cc62017-10-05 01:39:54123const char kBlockTabUndersName[] = "Block tab-unders";
124const char kBlockTabUndersDescription[] =
125 "Blocks tab-unders in Chrome with some native UI to allow the user to "
126 "proceed.";
127
Brett Wilsonf27ff602017-07-07 22:28:47128const char kBrowserTaskSchedulerName[] = "Task Scheduler";
129const char kBrowserTaskSchedulerDescription[] =
130 "Enables redirection of some task posting APIs to the task scheduler.";
131
Carlos IL766fbc882018-02-16 02:34:52132const char kBundledConnectionHelpName[] = "Bundled Connection Help";
133const char kBundledConnectionHelpDescription[] =
134 "Enables or disables redirecting users who get an interstitial when "
135 "accessing https://support.google.com/chrome/answer/6098869 to local "
136 "connection help content.";
137
Brett Wilsonf27ff602017-07-07 22:28:47138const char kBypassAppBannerEngagementChecksName[] =
139 "Bypass user engagement checks";
140const char kBypassAppBannerEngagementChecksDescription[] =
141 "Bypasses user engagement checks for displaying app banners, such as "
142 "requiring that users have visited the site before and that the banner "
143 "hasn't been shown recently. This allows developers to test that other "
144 "eligibility requirements for showing app banners, such as having a "
145 "manifest, are met.";
146
Lucas Garronb9539b732017-10-31 00:22:09147const char kCommittedInterstitialsName[] = "Committed Interstitials";
148const char kCommittedInterstitialsDescription[] =
149 "Use committed error pages instead of transient navigation entries "
150 "for interstitial error pages (e.g. certificate errors).";
151
Brett Wilsonf27ff602017-07-07 22:28:47152const char kCastStreamingHwEncodingName[] =
153 "Cast Streaming hardware video encoding";
154const char kCastStreamingHwEncodingDescription[] =
155 "This option enables support in Cast Streaming for encoding video streams "
156 "using platform hardware.";
157
Amber Won478561d2017-08-19 01:02:59158const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
159const char kClickToOpenPDFDescription[] =
160 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
161 "embedded PDFs.";
162
Gary Kacmarcikfb69b212017-11-14 03:41:08163const char kClipboardContentSettingName[] = "Clipboard content setting";
164const char kClipboardContentSettingDescription[] =
165 "Enables a site-wide permission in the UI which controls access to the "
166 "asynchronous clipboard web API";
167
Brett Wilsonf27ff602017-07-07 22:28:47168const char kCloudImportName[] = "Cloud Import";
169const char kCloudImportDescription[] = "Allows the cloud-import feature.";
170
Christopher Cameronceb8727d2017-09-07 23:53:16171const char kForceColorProfileSRGB[] = "sRGB";
172const char kForceColorProfileP3[] = "Display P3 D65";
173const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
174const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
175
176const char kForceColorProfileName[] = "Force color profile";
177const char kForceColorProfileDescription[] =
178 "Forces Chrome to use a specific color profile instead of the color "
179 "of the window's current monitor, as specified by the operating system.";
180
Brett Wilsonf27ff602017-07-07 22:28:47181const char kCompositedLayerBordersName[] = "Composited render layer borders";
182const char kCompositedLayerBordersDescription[] =
183 "Renders a border around composited Render Layers to help debug and study "
184 "layer compositing.";
185
Theresaf39c1882018-03-21 18:18:07186const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07187 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07188const char kContextualSuggestionsBottomSheetDescription[] =
189 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47190
Theresa818d3452018-05-22 00:08:07191const char kContextualSuggestionsSlimPeekUIName[] =
192 "Contextual Suggestions Slim Peek UI";
193const char kContextualSuggestionsSlimPeekUIDescription[] =
194 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
195
Brett Wilsonf27ff602017-07-07 22:28:47196const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
197const char kCreditCardAssistDescription[] =
198 "Enable assisted credit card filling on certain sites.";
199
200const char kCrossProcessGuestViewIsolationName[] =
201 "Cross process frames for guests";
202const char kCrossProcessGuestViewIsolationDescription[] =
203 "Highly experimental where guests such as <webview> are implemented on "
204 "the out-of-process iframe infrastructure.";
205
Thanh Le659cb102017-12-20 22:00:19206const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
207const char kDataSaverServerPreviewsDescription[] =
208 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47209
210const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
211const char kDatasaverPromptDescription[] =
212 "Enables a prompt, which appears when a cellular network connection is "
213 "detected, to take the user to the Data Saver extension page on Chrome Web "
214 "Store.";
215const char kDatasaverPromptDemoMode[] = "Demo mode";
216
Wez54dc71b2018-04-17 00:42:34217#if DCHECK_IS_CONFIGURABLE
218const char kDcheckIsFatalName[] = "DCHECKs are fatal";
219const char kDcheckIsFatalDescription[] =
220 "By default Chrome will evaluate in this build, but only log failures, "
221 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
222#endif // DCHECK_IS_CONFIGURABLE
223
Brett Wilsonf27ff602017-07-07 22:28:47224const char kDebugPackedAppName[] = "Debugging for packed apps";
225const char kDebugPackedAppDescription[] =
226 "Enables debugging context menu options such as Inspect Element for packed "
227 "applications.";
228
229const char kDefaultTileHeightName[] = "Default tile height";
230const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
231const char kDefaultTileHeightShort[] = "128";
232const char kDefaultTileHeightTall[] = "256";
233const char kDefaultTileHeightGrande[] = "512";
234const char kDefaultTileHeightVenti[] = "1024";
235
236const char kDefaultTileWidthName[] = "Default tile width";
237const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
238const char kDefaultTileWidthShort[] = "128";
239const char kDefaultTileWidthTall[] = "256";
240const char kDefaultTileWidthGrande[] = "512";
241const char kDefaultTileWidthVenti[] = "1024";
242
243const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
244const char kDebugShortcutsDescription[] =
245 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
246
247const char kDeviceDiscoveryNotificationsName[] =
248 "Device Discovery Notifications";
249const char kDeviceDiscoveryNotificationsDescription[] =
250 "Device discovery notifications on local network.";
251
252const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
253const char kDevtoolsExperimentsDescription[] =
254 "Enables Developer Tools experiments. Use Settings panel in Developer "
255 "Tools to toggle individual experiments.";
256
257const char kDisableAudioForDesktopShareName[] =
258 "Disable Audio For Desktop Share";
259const char kDisableAudioForDesktopShareDescription[] =
260 "With this flag on, desktop share picker window will not let the user "
261 "choose whether to share audio.";
262
Chris Palmer917bc052018-03-14 19:28:31263const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
264const char kDisablePushStateThrottleDescription[] =
265 "Disables throttling of history.pushState and history.replaceState method "
266 "calls.";
267
Brett Wilsonf27ff602017-07-07 22:28:47268const char kDisableTabForDesktopShareName[] =
269 "Disable Desktop Share with tab source";
270const char kDisableTabForDesktopShareDescription[] =
271 "This flag controls whether users can choose a tab for desktop share.";
272
273const char kDisallowDocWrittenScriptsUiName[] =
274 "Block scripts loaded via document.write";
275const char kDisallowDocWrittenScriptsUiDescription[] =
276 "Disallows fetches for third-party parser-blocking scripts inserted into "
277 "the main frame via document.write.";
278
Christopher Thompson2ffffa2c2018-05-18 23:06:37279const char kDisallowUnsafeHttpDownloadsName[] =
280 "Block unsafe downloads over insecure connections";
281const char kDisallowUnsafeHttpDownloadsNameDescription[] =
282 "Disallows downloads of unsafe files (files that can potentially execute "
283 "code), where the final download origin or any origin in the redirect "
284 "chain is insecure.";
285
Brett Wilsonf27ff602017-07-07 22:28:47286const char kDriveSearchInChromeLauncherName[] =
287 "Drive Search in Chrome App Launcher";
288const char kDriveSearchInChromeLauncherDescription[] =
289 "Files from Drive will show up when searching the Chrome App Launcher.";
290
Gustavo Sacomotofb11164f2017-07-21 12:56:18291const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
292const char kEasyUnlockPromotionsDescription[] =
293 "Enables Smart Lock promotions. Promotions will be periodically display "
294 "if the user is eligible.";
295
Brett Wilsonf27ff602017-07-07 22:28:47296const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
297const char kEmbeddedExtensionOptionsDescription[] =
298 "Display extension options as an embedded element in chrome://extensions "
299 "rather than opening a new tab.";
300
Dominic Mazzoni8ac98962018-05-25 05:44:55301const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
302const char kEnableAccessibilityObjectModelDescription[] =
303 "Enables experimental support for Accessibility Object Model APIs "
304 "that are in development.";
305
Brett Wilsonf27ff602017-07-07 22:28:47306const char kEnableAsmWasmName[] =
307 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
308const char kEnableAsmWasmDescription[] =
309 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
310 R"*(WebAssembly.)*";
311
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36312const char kEnableWebPaymentsSingleAppUiSkipName[] =
313 "Enable Web Payments single app UI skip";
314const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
315 "Enable Web Payments to skip showing its UI if the developer specifies a "
316 "single app.";
317
Shanfeng Zhang19c16562017-10-17 02:30:40318const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
319 "Credit card autofill ablation experiment.";
320const char kEnableAutofillCreditCardAblationExperimentDescription[] =
321 "If enabled, credit card autofill suggestions will not display.";
322
Jared Saulae93aa12018-03-23 19:04:39323const char kEnableAutofillCreditCardBankNameDisplayName[] =
324 "Display the issuer bank name of a credit card in autofill.";
325const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
326 "If enabled, displays the issuer bank name of a credit card in autofill.";
327
Brett Wilsonf27ff602017-07-07 22:28:47328const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
329 "Display the last used date of a credit card in autofill.";
330const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
331 "If enabled, display the last used date of a credit card in autofill.";
332
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37333const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
334 "Enable Google Pay branding when offering credit card upload on Android";
335const char
336 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
337 "If enabled, shows the Google Pay logo and a shorter header message "
338 "when credit card upload to Google Payments is offered on Android.";
339
Jared Saul1e4786a2017-12-14 01:43:09340const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
341 "Always send metadata on detected form values for Autofill credit card "
342 "upload";
343const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
344 "If enabled, always checks with Google Payments when deciding whether to "
345 "offer credit card upload, even if some data is missing.";
346
Jared Saul5c2a1482017-12-09 00:24:31347const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
348 "Send first six digits of PAN when deciding whether to offer Autofill "
349 "credit card upload";
350const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
351 "If enabled, when deciding whether to offer credit card upload to Google "
352 "Payments, sends the first six digits of the card number to avoid cases "
353 "where card upload is likely to fail.";
354
siyua7c4e97b42018-04-24 02:49:42355const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
356 "Enable updated prompt explanation when offering credit card upload";
357const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
358 "If enabled, changes the server save card prompt's explanation to mention "
359 "the saving of the billing address.";
360
tmartinocd414732018-02-12 19:01:01361const char kEnableAutofillNativeDropdownViewsName[] =
362 "Display Autofill Dropdown Using Views";
363const char kEnableAutofillNativeDropdownViewsDescription[] =
364 "If enabled, the Autofill Dropdown will be built natively using Views, "
365 "rather than painted directly to a canvas.";
366
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23367const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
368 "Send experiment flag IDs in calls to Google Payments";
369const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
370 "If enabled, adds the status of certain experiment variations when making "
371 "calls to Google Payments.";
372
Becca Hughes4d896c42018-05-29 16:58:51373const char kEnableAutoplayIgnoreWebAudioName[] =
374 "Autoplay ignores WebAudio playbacks";
375const char kEnableAutoplayIgnoreWebAudioDescription[] =
376 "If enabled, autoplay restrictions will be ignored for WebAudio.";
377
Vitalii Iarko4f9834ce2017-08-04 07:05:19378const char kEnableBreakingNewsPushName[] = "Breaking News Push";
379const char kEnableBreakingNewsPushDescription[] =
380 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
381 "through Google Cloud Messaging.";
382
Brett Wilsonf27ff602017-07-07 22:28:47383const char kEnableBrotliName[] = "Brotli Content-Encoding.";
384const char kEnableBrotliDescription[] =
385 "Enable Brotli Content-Encoding support.";
386
Qiang Xu0f602fe62017-12-22 01:31:20387const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
388const char kEnableCaptivePortalRandomUrlDescription[] =
389 "Enable Captive Portal URL randomization.";
390
sclittle50e4bb92017-07-08 02:23:03391const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
392
393const char kEnableClientLoFiDescription[] =
394 "Enable showing low fidelity images on some pages on slow networks.";
395
David Reveman87b4b692018-03-09 21:22:22396const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
397const char kEnableCursorMotionBlurDescription[] =
398 "Enable motion blur effect for the cursor.";
399
Doug Arnett08b4067b2017-10-12 20:14:44400const char kEnableNoScriptPreviewsName[] = "NoScript previews";
401
402const char kEnableNoScriptPreviewsDescription[] =
403 "Enable disabling JavaScript on some pages on slow networks.";
404
Thanh Le2c279fbc2017-11-21 01:25:40405const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
406const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
407const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
408const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
409const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
410const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
411const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
412const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
413const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
414const char kDataReductionProxyServerAlternative10[] =
415 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47416const char kEnableDataReductionProxyServerExperimentName[] =
417 "Use an alternative Data Saver back end configuration.";
418const char kEnableDataReductionProxyServerExperimentDescription[] =
419 "Enable a different approach to saving data by configuring the back end "
420 "server";
421
422const char kEnableDataReductionProxySavingsPromoName[] =
423 "Data Saver 1 MB Savings Promo";
424const char kEnableDataReductionProxySavingsPromoDescription[] =
425 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
426 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
427 "enabled for the promo to be shown.";
428
Matt Giucad4870432017-11-24 01:04:38429const char kEnableDesktopPWAsName[] = "Desktop PWAs";
430const char kEnableDesktopPWAsDescription[] =
431 "Experimental windowing and install banner treatment for Progressive Web "
432 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17433
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59434const char kEnableDesktopPWAsLinkCapturingName[] =
435 "Desktop PWAs Link Capturing";
436const char kEnableDesktopPWAsLinkCapturingDescription[] =
437 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
438 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
439 "#enable-desktop-pwas.";
440
Ahmed Fakhry0037de02018-01-29 19:58:31441const char kEnableDockedMagnifierName[] = "Docked Magnifier";
442const char kEnableDockedMagnifierDescription[] =
443 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
444
Ramya Nagarajan5b41d8d2018-04-02 19:53:02445const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
446const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09447 "Enables the Emoji picker item in context menus for editable text areas, if"
448 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02449
Brett Wilsonf27ff602017-07-07 22:28:47450const char kEnableEnumeratingAudioDevicesName[] =
451 "Experimentally enable enumerating audio devices.";
452const char kEnableEnumeratingAudioDevicesDescription[] =
453 "Experimentally enable the use of enumerating audio devices.";
454
455const char kEnableGenericSensorName[] = "Generic Sensor";
456const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25457 "Enables motion sensor classes based on Generic Sensor API, i.e. "
458 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
459 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
460
461const char kEnableGenericSensorExtraClassesName[] =
462 "Generic Sensor Extra Classes";
463const char kEnableGenericSensorExtraClassesDescription[] =
464 "Enables an extra set of sensor classes based on Generic Sensor API, which "
465 "expose previously unavailable platform features, i.e. AmbientLightSensor "
466 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47467
Brett Wilsonf27ff602017-07-07 22:28:47468const char kEnableHDRName[] = "HDR mode";
469const char kEnableHDRDescription[] =
470 "Enables HDR support on compatible displays.";
471
Brett Wilsonf27ff602017-07-07 22:28:47472const char kEnableHttpFormWarningName[] =
473 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15474 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47475const char kEnableHttpFormWarningDescription[] =
476 "Attaches a warning UI to any password or credit card fields detected when "
477 "the top-level page is not HTTPS";
478
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41479const char kLayeredAPIName[] = "Experimental layered APIs";
480const char kLayeredAPIDescription[] =
481 "Enable layered API infrastructure, as well as several experimental "
482 "layered APIs. The syntax and the APIs exposed are experimental and will "
483 "change over time.";
484
Scott Littled0fd2d002018-04-13 03:37:26485const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
486const char kEnableLazyFrameLoadingDescription[] =
487 "Defers the loading of certain cross-origin frames until the page is "
488 "scrolled down near them.";
489
Sidney San Martín9375b892017-09-09 00:29:54490const char kEnableMacMaterialDesignDownloadShelfName[] =
491 "Enable Material Design download shelf";
492
493const char kEnableMacMaterialDesignDownloadShelfDescription[] =
494 "If enabled, the download shelf uses Material Design.";
495
Tatiana Gornakafb40452017-07-31 13:50:04496const char kEnableManualFallbacksFillingName[] =
497 "Manual fallbacks for password manager forms filling";
498const char kEnableManualFallbacksFillingDescription[] =
499 "If enabled, then if user clicks on the password field on a form, popup "
500 "might contain generation fallbacks or 'Show all saved passwords' "
501 "fallback.";
502
Anton Urusov47cd4932017-09-19 14:41:41503const char kEnablePolicyToolName[] = "Enable policy management page";
504const char kEnablePolicyToolDescription[] =
505 "If enabled, the chrome://policy-tool URL loads a page for managing "
506 "policies.";
507
Tsuyoshi Horoea7edb72017-11-12 04:14:00508const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
509const char kEnablePWAFullCodeCacheDescription[] =
510 "Generate V8 code cache in Cache Storage while installing Service Worker "
511 "for PWAs.";
512
Weidong Guof1e5a892018-01-06 02:26:39513const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28514 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39515const char kDisableMultiMirroringDescription[] =
516 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28517
Brett Wilsonf27ff602017-07-07 22:28:47518const char kEnableNavigationTracingName[] = "Enable navigation tracing";
519const char kEnableNavigationTracingDescription[] =
520 "This is to be used in conjunction with the trace-upload-url flag. "
521 "WARNING: When enabled, Chrome will record performance data for every "
522 "navigation and upload it to the URL specified by the trace-upload-url "
523 "flag. The trace may include personally identifiable information (PII) "
524 "such as the titles and URLs of websites you visit.";
525
Bernhard Bauer5533f9912017-11-06 17:56:02526const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
527const char kEnableNetworkLoggingToFileDescription[] =
528 "Enables network logging to a file named netlog.json in the user data "
529 "directory. The file can be imported into chrome://net-internals.";
530
Brett Wilsonf27ff602017-07-07 22:28:47531const char kEnableNetworkServiceName[] = "Enable network service";
532const char kEnableNetworkServiceDescription[] =
533 "Enables the network service, which makes network requests through a "
534 "separate service. Note: most features don't work with this yet.";
535
John Abd-El-Malek8067cc02017-12-04 23:23:20536const char kEnableNetworkServiceInProcessName[] =
537 "Runs network service in-process";
538const char kEnableNetworkServiceInProcessDescription[] =
539 "Runs the network service in the browser process.";
540
dpapaded8349472017-10-25 03:21:27541const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
542const char kEnableNewPrintPreviewDescription[] =
543 "If enabled, Print Preview will display a newer UI";
544
Ahmed Fakhry2fd8fc82017-07-28 16:31:12545const char kEnableNightLightName[] = "Enable Night Light";
546const char kEnableNightLightDescription[] =
547 "Enable the Night Light feature which controls the color temperature of "
548 "the screen.";
549
xlou8b56f672018-02-09 23:34:30550const char kEnableNupPrintingName[] = "Enable N-up printing";
551const char kEnableNupPrintingDescription[] =
552 "Enable N-up printing in the print preview panel.";
553
Sophie Chang117a3b22017-10-24 22:25:36554const char kEnableOptimizationHintsName[] = "Optimization Hints";
555const char kEnableOptimizationHintsDescription[] =
556 "Enable the Optimization Hints feature which incorporates server hints"
557 "into decisions for what optimizations to perform on some pages on slow "
558 "networks.";
559
Yutaka Hirano98be3272017-08-07 17:55:39560const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
561const char kEnableOutOfBlinkCORSDescription[] =
562 "CORS handling logic is moved out of blink.";
563
Sammie Quon0fbf0782018-05-01 22:11:08564const char kEnableOverviewSwipeToCloseName[] =
565 "Enable overview swipe to close.";
566const char kEnableOverviewSwipeToCloseDescription[] =
567 "Enables closing of items in overview mode by dragging or flinging "
568 "vertically.";
569
kylechar7051c092018-02-05 20:31:39570const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
571const char kVizDisplayCompositorDescription[] =
572 "If enabled, the display compositor runs as part of the viz service in the"
573 "GPU process.";
574
Ria Jiang6a129b982018-03-01 18:30:40575const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
576const char kVizHitTestDrawQuadDescription[] =
577 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
578 "with hit-test data computed from the CompositorFrame.";
579
Erik Chen49bbfa22017-08-18 08:49:56580const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23581 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56582const char kEnableOutOfProcessHeapProfilingDescription[] =
583 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19584 "malloced objects. Heap dumps can be obtained at chrome://tracing "
585 "[category:memory-infra] and chrome://memory-internals. This setting "
586 "controls which processes are profiled. As long as this setting is not "
587 "disabled, users can start profiling any given process in "
588 "chrome://memory-internals.";
589const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
590const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
591const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
592const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
593const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10594const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19595 "None by default. Visit chrome://memory-internals to choose which "
596 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15597const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
598 "Profile a random sampling of renderer processes, ensuring only one is "
599 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19600
Erik Chen8bb76b52017-12-06 19:06:25601const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19602 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25603const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
604 "By default, small allocations are pruned from the heap dump. This reduces "
605 "the size of the compressed trace by 100x. If pruning is disabled, the "
606 "chrome://tracing UI may be unable to take or load the trace. Save the "
607 "trace directly using chrome://memory-internals, and use other mechanisms "
608 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
609 "automatically uploaded traces will always be pruned. This only affects "
610 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56611
erikchen8bc20d82018-02-14 03:21:51612const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
613const char kOutOfProcessHeapProfilingSamplingDescription[] =
614 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22615 "10000. This results in low noise for large and/or frequent allocations ["
616 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
617 "total size of malloc-ed objects] and large and/or frequent allocations "
618 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51619
Erik Chen3303fd0232018-01-11 20:29:05620const char kOOPHPStackModeName[] =
621 "The type of stack to record for memlog heap dumps";
622const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19623 "By default, memlog heap dumps record native stacks, which requires a "
624 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55625 "pointers to work on Android. Native with thread names will add the thread "
626 "name as the first frame of each native stack. It's also possible to "
627 "record a pseudo stack using trace events as identifiers. It's also "
628 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19629const char kOOPHPStackModeMixed[] = "Mixed";
630const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55631const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19632const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05633
François Beaufort2e75f492018-02-08 20:44:46634const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47635const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46636 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47637
F#m59d036e2017-09-13 07:22:17638const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
639const char kEnablePixelCanvasRecordingDescription[] =
640 "Pixel canvas recording allows the compositor to raster contents aligned "
641 "with the pixel and improves text rendering. This should be enabled when a "
642 "device is using fractional scale factor.";
643
Mikel Astiz38837f82018-04-24 22:23:23644const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
645const char kEnableSyncUSSSessionsDescription[] =
646 "Enables the new, experimental implementation of session sync (aka tab "
647 "sync).";
648
Brett Wilsonf27ff602017-07-07 22:28:47649const char kEnableTokenBindingName[] = "Token Binding.";
650const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
651
Sahel Sharifyd732ab12017-11-29 23:03:16652extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
653 "Wheel Scroll Latching.";
654extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
655 "Wheel scroll latching enforces latching to a single element for the "
656 "duration of a scroll sequence.";
657
Brett Wilsonf27ff602017-07-07 22:28:47658const char kEnableUseZoomForDsfName[] =
659 "Use Blink's zoom for device scale factor.";
660const char kEnableUseZoomForDsfDescription[] =
661 "If enabled, Blink uses its zooming mechanism to scale content for device "
662 "scale factor.";
663const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
664const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
665const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
666
Patrick Noland8ee016e2018-01-24 11:44:53667const char kEnableScrollAnchorSerializationName[] =
668 "Scroll Anchor Serialization";
669const char kEnableScrollAnchorSerializationDescription[] =
670 "Save the scroll anchor and use it to restore the scroll position when "
671 "navigating.";
672
Brad Nelson5cd500e2018-01-04 00:50:19673const char kEnableSharedArrayBufferName[] =
674 "Experimental enabled SharedArrayBuffer support in JavaScript.";
675const char kEnableSharedArrayBufferDescription[] =
676 "Enable SharedArrayBuffer support in JavaScript.";
677
Brett Wilsonf27ff602017-07-07 22:28:47678const char kEnableWasmName[] = "WebAssembly structured cloning support.";
679const char kEnableWasmDescription[] =
680 "Enable web pages to use WebAssembly structured cloning.";
681
Brett Wilsonf27ff602017-07-07 22:28:47682const char kEnableImageCaptureAPIName[] = "Image Capture API";
683const char kEnableImageCaptureAPIDescription[] =
684 "Enables the Web Platform Image Capture API: takePhoto(), "
685 "getPhotoCapabilities(), etc.";
686
687const char kEnableZeroSuggestRedirectToChromeName[] =
688 "Experimental contextual omnibox suggestion";
689const char kEnableZeroSuggestRedirectToChromeDescription[] =
690 "Change omnibox contextual suggestions to an experimental source. Note "
691 "that this is not an on/off switch for contextual omnibox and it only "
692 "applies to suggestions provided before the user starts typing a URL or a "
693 "search query (i.e. zero suggest).";
694
695const char kEnableWasmStreamingName[] =
696 "WebAssembly streaming compile/instantiate support.";
697const char kEnableWasmStreamingDescription[] =
698 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
699
Clemens Hammacher0c8a15a2018-04-27 13:45:32700const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
701const char kEnableWasmBaselineDescription[] =
702 "Enables WebAssembly baseline compilation and tier up.";
703
Brett Wilsonf27ff602017-07-07 22:28:47704const char kExpensiveBackgroundTimerThrottlingName[] =
705 "Throttle expensive background timers";
706const char kExpensiveBackgroundTimerThrottlingDescription[] =
707 "Enables intervention to limit CPU usage of background timers to 1%.";
708
709const char kExperimentalAppBannersName[] = "Experimental app banners";
710const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38711 "Enables a new experimental app banner flow and UI. Implies "
712 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47713
714const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
715const char kExperimentalCanvasFeaturesDescription[] =
716 "Enables the use of experimental canvas features which are still in "
717 "development.";
718
Nicholas Verneccd8259802018-02-22 01:22:04719const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
720const char kExperimentalCrostiniUIDescription[] =
721 "Enables in-development Crostini features.";
722
Brett Wilsonf27ff602017-07-07 22:28:47723const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
724const char kExperimentalExtensionApisDescription[] =
725 "Enables experimental extension APIs. Note that the extension gallery "
726 "doesn't allow you to upload extensions that use experimental APIs.";
727
728const char kExperimentalFullscreenExitUIName[] =
729 "Experimental fullscreen exit UI";
730const char kExperimentalFullscreenExitUIDescription[] =
731 "Displays experimental UI to allow mouse and touch input methods to exit "
732 "fullscreen mode.";
733
Ian Clelland37a985d2018-05-04 02:43:13734const char kExperimentalProductivityFeaturesName[] =
735 "Experimental Productivity Features";
736const char kExperimentalProductivityFeaturesDescription[] =
737 "Enable support for experimental developer productivity features, such as "
738 "Layered APIs and policies for avoiding slow rendering.";
739
Brett Wilsonf27ff602017-07-07 22:28:47740const char kExperimentalSecurityFeaturesName[] =
741 "Potentially annoying security features";
742const char kExperimentalSecurityFeaturesDescription[] =
743 "Enables several security features that will likely break one or more "
744 "pages that you visit on a daily basis. Strict mixed content checking, for "
745 "example. And locking powerful features to secure contexts. This flag will "
746 "probably annoy you.";
747
748const char kExperimentalWebPlatformFeaturesName[] =
749 "Experimental Web Platform features";
750const char kExperimentalWebPlatformFeaturesDescription[] =
751 "Enables experimental Web Platform features that are in development.";
752
753const char kExtensionContentVerificationName[] =
754 "Extension Content Verification";
755const char kExtensionContentVerificationDescription[] =
756 "This flag can be used to turn on verification that the contents of the "
757 "files on disk for extensions from the webstore match what they're "
758 "expected to be. This can be used to turn on this feature if it would not "
759 "otherwise have been turned on, but cannot be used to turn it off (because "
760 "this setting can be tampered with by malware).";
761const char kExtensionContentVerificationBootstrap[] =
762 "Bootstrap (get expected hashes, but do not enforce them)";
763const char kExtensionContentVerificationEnforce[] =
764 "Enforce (try to get hashes, and enforce them if successful)";
765const char kExtensionContentVerificationEnforceStrict[] =
766 "Enforce strict (hard fail if we can't get hashes)";
767
768const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
769const char kExtensionsOnChromeUrlsDescription[] =
770 "Enables running extensions on chrome:// URLs, where extensions explicitly "
771 "request this permission.";
galinapae72e152017-05-12 13:12:28772
Brett Wilsonecb80982017-07-12 20:34:51773const char kFastUnloadName[] = "Fast tab/window close";
774const char kFastUnloadDescription[] =
775 "Enables fast tab/window closing - runs a tab's onunload js handler "
776 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34777
Brett Wilsonecb80982017-07-12 20:34:51778const char kFeaturePolicyName[] = "Feature Policy";
779const char kFeaturePolicyDescription[] =
780 "Enables granting and removing access to features through the "
781 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34782
Brett Wilsonecb80982017-07-12 20:34:51783const char kFontCacheScalingName[] = "FontCache scaling";
784const char kFontCacheScalingDescription[] =
785 "Reuse a cached font in the renderer to serve different sizes of font for "
786 "faster layout.";
787
788const char kForceEffectiveConnectionTypeName[] =
789 "Override effective connection type";
790const char kForceEffectiveConnectionTypeDescription[] =
791 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30792 "returned by the network quality estimator. Slow 2G on Cellular returns "
793 "Slow 2G when connected to a cellular network, and the actual estimate "
794 "effective connection type when not on a cellular network. Previews are "
795 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51796const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
797const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
798const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30799const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
800 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51801const char kEffectiveConnectionType2GDescription[] = "2G";
802const char kEffectiveConnectionType3GDescription[] = "3G";
803const char kEffectiveConnectionType4GDescription[] = "4G";
804
805const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
806const char kFillOnAccountSelectDescription[] =
807 "Filling of passwords when an account is explicitly selected by the user "
808 "rather than autofilling credentials on page load.";
809
Brett Wilsonecb80982017-07-12 20:34:51810const char kForceTextDirectionName[] = "Force text direction";
811const char kForceTextDirectionDescription[] =
812 "Explicitly force the per-character directionality of UI text to "
813 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
814 "direction of the character language.";
815const char kForceDirectionLtr[] = "Left-to-right";
816const char kForceDirectionRtl[] = "Right-to-left";
817
818const char kForceUiDirectionName[] = "Force UI direction";
819const char kForceUiDirectionDescription[] =
820 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
821 "mode, overriding the default direction of the UI language.";
822
823const char kFramebustingName[] =
824 "Framebusting requires same-origin or a user gesture";
825const char kFramebustingDescription[] =
826 "Don't permit an iframe to navigate the top level browsing context unless "
827 "they are same-origin or the iframe is processing a user gesture.";
828
829const char kGamepadExtensionsName[] = "Gamepad Extensions";
830const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22831 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds043469f2018-05-01 22:56:58832const char kGamepadVibrationName[] = "Gamepad Vibration";
833const char kGamepadVibrationDescription[] =
834 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51835
Brett Wilsonecb80982017-07-12 20:34:51836const char kGpuRasterizationMsaaSampleCountName[] =
837 "GPU rasterization MSAA sample count.";
838const char kGpuRasterizationMsaaSampleCountDescription[] =
839 "Specify the number of MSAA samples for GPU rasterization.";
840const char kGpuRasterizationMsaaSampleCountZero[] = "0";
841const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
842const char kGpuRasterizationMsaaSampleCountFour[] = "4";
843const char kGpuRasterizationMsaaSampleCountEight[] = "8";
844const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
845
846const char kGpuRasterizationName[] = "GPU rasterization";
847const char kGpuRasterizationDescription[] =
848 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28849const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51850
851const char kGoogleProfileInfoName[] = "Google profile name and icon";
852const char kGoogleProfileInfoDescription[] =
853 "Enables using Google information to populate the profile name and icon in "
854 "the avatar menu.";
855
856const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
857const char kHarfbuzzRendertextDescription[] =
858 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
859 "web content.";
860
Takumi Fujimotofb71e332018-03-31 14:04:08861const char kViewsCastDialogName[] = "Views Cast dialog";
862const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31863 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53864 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54865 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08866
Manu Cornet4a908de2018-04-09 04:32:27867const char kHideActiveAppsFromShelfName[] =
868 "Hide running apps (that are not pinned) from the shelf";
869const char kHideActiveAppsFromShelfDescription[] =
870 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25871
Brett Wilsonecb80982017-07-12 20:34:51872const char kHistoryRequiresUserGestureName[] =
873 "New history entries require a user gesture.";
874const char kHistoryRequiresUserGestureDescription[] =
875 "Require a user gesture to add a history entry.";
876const char kHyperlinkAuditingName[] = "Hyperlink auditing";
877const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
878
Ryan Landay4242dbc22018-04-04 01:47:33879const char kHorizontalTabSwitcherAndroidName[] =
880 "Enable horizontal tab switcher";
881const char kHorizontalTabSwitcherAndroidDescription[] =
882 "Changes the layout of the Android tab switcher so tabs scroll "
883 "horizontally instead of vertically.";
884
Brett Wilsonecb80982017-07-12 20:34:51885const char kHostedAppQuitNotificationName[] =
886 "Quit notification for hosted apps";
887const char kHostedAppQuitNotificationDescription[] =
888 "Display a notification when quitting Chrome if hosted apps are currently "
889 "running.";
890
891const char kHostedAppShimCreationName[] =
892 "Creation of app shims for hosted apps on Mac";
893const char kHostedAppShimCreationDescription[] =
894 "Create app shims on Mac when creating a hosted app.";
895
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48896const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
897const char kHtmlBasedUsernameDetectorDescription[] =
898 "Use HTML-based username detector for the password manager.";
899
Brett Wilsonecb80982017-07-12 20:34:51900const char kIconNtpName[] = "Large icons on the New Tab page";
901const char kIconNtpDescription[] =
902 "Enable the experimental New Tab page using large icons.";
903
904const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
905const char kIgnoreGpuBlacklistDescription[] =
906 "Overrides the built-in software rendering list and enables "
907 "GPU-acceleration on unsupported system configurations.";
908
Thanh Le5f090efa52017-12-27 22:39:44909const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
910const char kIgnorePreviewsBlacklistDescription[] =
911 "Ignore decisions made by the PreviewsBlackList";
912
Brett Wilsonecb80982017-07-12 20:34:51913const char kImportantSitesInCbdName[] =
914 "Important sites options in clear browsing data dialog";
915const char kImportantSitesInCbdDescription[] =
916 "Include the option to whitelist important sites in the clear browsing "
917 "data dialog.";
918
Claudio Magni61c210922017-12-28 00:29:51919const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
920const char kImprovedLanguageSettingsDescription[] =
921 "Set of changes for Language Settings. These changes are intended to fix "
922 "the major bugs related to Language Settings.";
923
Brett Wilsonecb80982017-07-12 20:34:51924const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
925const char kInProductHelpDemoModeChoiceDescription[] =
926 "Selects the In-Product Help demo mode.";
927
928const char kJavascriptHarmonyName[] = "Experimental JavaScript";
929const char kJavascriptHarmonyDescription[] =
930 "Enable web pages to use experimental JavaScript features.";
931
932const char kJavascriptHarmonyShippingName[] =
933 "Latest stable JavaScript features";
934const char kJavascriptHarmonyShippingDescription[] =
935 "Some web pages use legacy or non-standard JavaScript extensions that may "
936 "conflict with the latest JavaScript features. This flag allows disabling "
937 "support of those features for compatibility with such pages.";
938
Yutaka Hiranof7f2f632017-09-06 10:40:08939const char kKeepAliveRendererForKeepaliveRequestsName[] =
940 "Keep a renderer alive for keepalive fetch requests";
941const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
942 "Keep a render process alive when the process has a pending fetch request "
943 "with `keepalive' specified.";
944
Joe Downing095fd6d2018-02-01 18:40:36945const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
946const char kKeyboardLockApiDescription[] =
947 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
948 "specific key events and have them routed directly to the webpage when in "
949 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
950
Brett Wilsonecb80982017-07-12 20:34:51951const char kLcdTextName[] = "LCD text antialiasing";
952const char kLcdTextDescription[] =
953 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
954 "(subpixel) when doing accelerated compositing.";
955
Matt Giucac399982f2017-10-06 07:51:29956const char kLeftToRightUrlsName[] =
957 "Render bidirectional URLs from left to right";
958const char kLeftToRightUrlsDescription[] =
959 "An experimental Bidi URL rendering algorithm where the URL components are "
960 "always shown in order from left to right, regardless of any RTL "
961 "characters. (The contents of each component are still rendered with the "
962 "normal Bidi algorithm.)";
963
Brett Wilsonecb80982017-07-12 20:34:51964const char kLoadMediaRouterComponentExtensionName[] =
965 "Load Media Router Component Extension";
966const char kLoadMediaRouterComponentExtensionDescription[] =
967 "Loads the Media Router component extension at startup.";
968
spqchanb87755692018-04-05 00:46:09969const char kMacViewsAutofillPopupName[] =
970 "Uses the Views Autofill Popup on Mac";
971const char kMacViewsAutofillPopupDescription[] =
972 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:32973
Brett Wilsonecb80982017-07-12 20:34:51974const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
975const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51976
Lei Zhang2eca9082017-10-17 20:42:50977const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
978const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51979 "If enabled, the Incognito New Tab page uses the new material design with "
980 "a better readable text.";
981
spqchanb87755692018-04-05 00:46:09982const char kMediaRouterCastAllowAllIPsName[] =
983 "Connect to Cast devices on all IP addresses";
984const char kMediaRouterCastAllowAllIPsDescription[] =
985 "Have the Media Router connect to Cast devices on all IP addresses, not "
986 "just RFC1918/RFC4913 private addresses.";
987
Brett Wilsonecb80982017-07-12 20:34:51988const char kMemoryAblationName[] = "Memory ablation experiment";
989const char kMemoryAblationDescription[] =
990 "Allocates extra memory in the browser process.";
991
992const char kMemoryCoordinatorName[] = "Memory coordinator";
993const char kMemoryCoordinatorDescription[] =
994 "Enable memory coordinator instead of memory pressure listeners.";
995
996const char kMessageCenterNewStyleNotificationName[] = "New style notification";
997const char kMessageCenterNewStyleNotificationDescription[] =
998 "Enables the experiment style of material-design notification";
999
Brett Wilsonecb80982017-07-12 20:34:511000const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1001const char kMhtmlGeneratorOptionDescription[] =
1002 "Provides experimental options for MHTML file generator.";
1003const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1004const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1005
Kouhei Ueno08445c22017-09-05 03:58:301006const char kModuleScriptsDynamicImportName[] =
1007 "Enable ECMAScript 6 modules dynamic import";
1008const char kModuleScriptsDynamicImportDescription[] =
1009 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1010 "Blink.";
1011
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051012const char kModuleScriptsImportMetaUrlName[] =
1013 "Enable ECMAScript 6 modules import.meta.url";
1014const char kModuleScriptsImportMetaUrlDescription[] =
1015 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1016 "Blink.";
1017
Brett Wilsonecb80982017-07-12 20:34:511018const char kNewAudioRenderingMixingStrategyName[] =
1019 "New audio rendering mixing strategy";
1020const char kNewAudioRenderingMixingStrategyDescription[] =
1021 "Use the new audio rendering mixing strategy.";
1022
1023const char kNewBookmarkAppsName[] = "The new bookmark app system";
1024const char kNewBookmarkAppsDescription[] =
1025 "Enables the new system for creating bookmark apps.";
1026
Vadym Doroshenkof81e8bb2018-04-18 14:35:241027const char kNewPasswordFormParsingName[] = "New password form parsing";
1028const char kNewPasswordFormParsingDescription[] =
1029 "Replaces existing form parsing in password manager with a new version, "
1030 "currently under development. WARNING: when enabled Password Manager might "
1031 "stop working";
1032
Brett Wilsonecb80982017-07-12 20:34:511033const char kNewRemotePlaybackPipelineName[] =
1034 "Enable the new remote playback pipeline.";
1035const char kNewRemotePlaybackPipelineDescription[] =
1036 "Enable the new pipeline for playing media element remotely via "
1037 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501038const char kUseSurfaceLayerForVideoName[] =
1039 "Enable the use of SurfaceLayer objects for videos.";
1040const char kUseSurfaceLayerForVideoDescription[] =
1041 "Enable compositing onto a Surface instead of a VideoLayer "
1042 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511043
1044const char kNewUsbBackendName[] = "Enable new USB backend";
1045const char kNewUsbBackendDescription[] =
1046 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341047
Sonny Sasaka2d200432018-03-22 17:43:161048const char kNewblueName[] = "Newblue";
1049const char kNewblueDescription[] =
1050 "Enables the use of newblue Bluetooth daemon.";
1051
Egor Pasko6fed3822018-05-30 10:33:141052const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341053const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141054 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341055
Alex Newcomerd7b0cc42018-05-25 22:58:481056const char kNotificationIndicatorName[] = "Notification Indicators";
1057const char kNotificationIndicatorDescription[] =
1058 "Enable notification indicators, which appear on app icons when a "
1059 "notification is active. This will also enable notifications in context "
1060 "menus.";
1061
Brett Wilsonecb80982017-07-12 20:34:511062const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1063const char kNotificationsNativeFlagDescription[] =
1064 "Enable support for using the native notification toasts and notification "
1065 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341066
Zentaro Kavanaghbad511c2017-10-18 22:29:001067#if defined(OS_POSIX)
1068const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1069const char kNtlmV2EnabledDescription[] =
1070 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1071#endif
1072
Ramya Nagarajane9f16b82018-05-03 01:05:341073const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1074const char kNtpBackgroundsDescription[] =
1075 "Allow selection of a custom background image on the New Tab Page.";
1076
1077const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1078const char kNtpIconsDescription[] =
1079 "Show custom link icons on the New Tab Page, instead of Most Visited "
1080 "tiles.";
1081
1082const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1083const char kNtpUIMdDescription[] =
1084 "Updates the New Tab Page with Material Design elements.";
1085
Brett Wilsonecb80982017-07-12 20:34:511086const char kNumRasterThreadsName[] = "Number of raster threads";
1087const char kNumRasterThreadsDescription[] =
1088 "Specify the number of raster threads.";
1089const char kNumRasterThreadsOne[] = "1";
1090const char kNumRasterThreadsTwo[] = "2";
1091const char kNumRasterThreadsThree[] = "3";
1092const char kNumRasterThreadsFour[] = "4";
1093
1094const char kOfferStoreUnmaskedWalletCardsName[] =
1095 "Google Payments card saving checkbox";
1096const char kOfferStoreUnmaskedWalletCardsDescription[] =
1097 "Show the checkbox to offer local saving of a credit card downloaded from "
1098 "the server.";
1099
1100const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1101const char kOfflineAutoReloadDescription[] =
1102 "Pages that fail to load while the browser is offline will be "
1103 "auto-reloaded when the browser is online again.";
1104
1105const char kOfflineAutoReloadVisibleOnlyName[] =
1106 "Only Auto-Reload Visible Tabs";
1107const char kOfflineAutoReloadVisibleOnlyDescription[] =
1108 "Pages that fail to load while the browser is offline will only be "
1109 "auto-reloaded if their tab is visible.";
1110
Brett Wilsonecb80982017-07-12 20:34:511111const char kOmniboxDisplayTitleForCurrentUrlName[] =
1112 "Include title for the current URL in the omnibox";
1113const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1114 "In the event that the omnibox provides suggestions on-focus, the URL of "
1115 "the current page is provided as the first suggestion without a title. "
1116 "Enabling this flag causes the title to be displayed.";
1117
Benoit Lizeab08362c2017-07-19 14:50:541118const char kOmniboxSpareRendererName[] =
1119 "Start spare renderer on omnibox focus";
1120const char kOmniboxSpareRendererDescription[] =
1121 "When the omnibox is focused, start an empty spare renderer. This can "
1122 "speed up the load of the navigation from the omnibox.";
1123
Tommy C. Li8875a442017-08-23 00:10:591124const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1125 "Omnibox UI Elide Suggestion URL After Host";
1126const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1127 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1128 "dropdown.";
1129
Tommy C. Lid79d4402017-12-22 22:49:121130const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1131 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1132const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1133 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1134 "displayed URLs. Hidden portions are restored during editing.";
1135
Brett Wilsonecb80982017-07-12 20:34:511136const char kOmniboxUIMaxAutocompleteMatchesName[] =
1137 "Omnibox UI Max Autocomplete Matches";
1138
1139const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1140 "Changes the maximum number of autocomplete matches displayed in the "
1141 "Omnibox UI.";
1142
Justin Donnelly65c9e8b2017-10-01 05:15:011143const char kOmniboxUIShowSuggestionFaviconsName[] =
1144 "Omnibox UI Show Suggestion Favicons";
1145const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1146 "Shows favicons instead of generic vector icons for URL suggestions in the "
1147 "Omnibox dropdown.";
1148
1149const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1150const char kOmniboxUISwapTitleAndUrlDescription[] =
1151 "In the omnibox dropdown, shows titles before URLs when both are "
1152 "available.";
1153
Brett Wilsonecb80982017-07-12 20:34:511154const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1155const char kOmniboxUIVerticalMarginDescription[] =
1156 "Changes the vertical margin in the Omnibox UI.";
1157
Troy Hildebrandtb32637ca2018-02-21 23:25:091158const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1159 "Omnibox Voice Search Always Visible";
1160const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1161 "Always displays voice search icon in focused omnibox as long as voice "
1162 "search is possible";
1163
Adrienne Walkerc87477e2018-06-06 22:28:211164const char kOopRasterizationName[] = "Out of process rasterization";
1165const char kOopRasterizationDescription[] =
1166 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1167 "Must also enable GPU rasterization";
1168
Brett Wilsonecb80982017-07-12 20:34:511169const char kOriginTrialsName[] = "Origin Trials";
1170const char kOriginTrialsDescription[] =
1171 "Enables origin trials for controlling access to feature/API experiments.";
1172
Becca Hughes930d8cd2017-10-02 11:09:121173const char kOverflowIconsForMediaControlsName[] =
1174 "Icons on Media Controls Overflow Menu";
1175const char kOverflowIconsForMediaControlsDescription[] =
1176 "Displays icons on the overflow menu of the native media controls";
1177
Brett Wilsonecb80982017-07-12 20:34:511178const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1179const char kOverlayScrollbarsDescription[] =
1180 "Enable the experimental overlay scrollbars implementation. You must also "
1181 "enable threaded compositing to have the scrollbars animate.";
1182
chaopenge8aa016b2017-08-24 15:20:191183const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1184 "Flash Overlay Scrollbars After Any Scroll Update";
1185const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1186 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1187 " must also enable Overlay Scrollbars.";
1188
chaopeng343678022017-08-24 18:45:001189const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1190 "Flash Overlay Scrollbars When Mouse Enter";
1191const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1192 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1193 " enable Overlay Scrollbars.";
1194
Claudio Magni81326f92017-09-01 05:21:181195const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1196const char kUseNewAcceptLanguageHeaderDescription[] =
1197 "Adds the base language code after other corresponding language+region "
1198 "codes. This ensures that users receive content in their preferred "
1199 "language.";
1200
Brett Wilsonecb80982017-07-12 20:34:511201const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1202const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481203 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511204const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481205const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511206
1207const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1208const char kOverscrollStartThresholdDescription[] =
1209 "Changes overscroll start threshold relative to the default value.";
1210const char kOverscrollStartThreshold133Percent[] = "133%";
1211const char kOverscrollStartThreshold166Percent[] = "166%";
1212const char kOverscrollStartThreshold200Percent[] = "200%";
1213
chaopenge2b6e5f2018-05-08 16:40:451214const char kTouchpadOverscrollHistoryNavigationName[] =
1215 "Overscroll history navigation on Touchpad";
1216const char kTouchpadOverscrollHistoryNavigationDescription[] =
1217 "Allows swipe left/right from touchpad change browser navigation.";
1218
Xing Liu5400a002017-09-15 21:48:291219const char kParallelDownloadingName[] = "Parallel downloading";
1220const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061221 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291222
Brett Wilsonecb80982017-07-12 20:34:511223const char kPassiveEventListenerDefaultName[] =
1224 "Passive Event Listener Override";
1225const char kPassiveEventListenerDefaultDescription[] =
1226 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1227 "haven't requested otherwise) to be treated as passive. This will break "
1228 "touch/wheel behavior on some websites but is useful for demonstrating the "
1229 "potential performance benefits of adopting passive event listeners.";
1230const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1231const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1232
1233const char kPassiveEventListenersDueToFlingName[] =
1234 "Touch Event Listeners Passive Default During Fling";
1235const char kPassiveEventListenersDueToFlingDescription[] =
1236 "Forces touchstart, and first touchmove per scroll event listeners during "
1237 "fling to be treated as passive.";
1238
1239const char kPassiveDocumentEventListenersName[] =
1240 "Document Level Event Listeners Passive Default";
1241const char kPassiveDocumentEventListenersDescription[] =
1242 "Forces touchstart, and touchmove event listeners on document level "
1243 "targets (which haven't requested otherwise) to be treated as passive.";
1244
1245const char kPasswordForceSavingName[] = "Force-saving of passwords";
1246const char kPasswordForceSavingDescription[] =
1247 "Allow the user to manually enforce password saving instead of relying on "
1248 "password manager's heuristics.";
1249
1250const char kPasswordGenerationName[] = "Password generation";
1251const char kPasswordGenerationDescription[] =
1252 "Allow the user to have Chrome generate passwords when it detects account "
1253 "creation pages.";
1254
Vaclav Brozekd8a3f542017-11-16 14:21:131255const char kPasswordExportName[] = "Password export";
1256const char kPasswordExportDescription[] =
1257 "Export functionality in password settings.";
1258
1259const char kPasswordImportName[] = "Password import";
1260const char kPasswordImportDescription[] =
1261 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511262
Friedrich Horschig03c91982018-01-25 14:21:281263const char kPasswordSearchMobileName[] = "Password search";
1264const char kPasswordSearchMobileDescription[] =
1265 "Search functionality in password settings.";
1266
Friedrich Horschige6c27742018-04-23 17:13:411267const char kPasswordsKeyboardAccessoryName[] =
1268 "Add password-related functions to keyboard accessory";
1269const char kPasswordsKeyboardAccessoryDescription[] =
1270 "Adds password generation button and toggle for the passwords bottom sheet "
1271 "to the keyboard accessory. Replaces password generation popups.";
1272
Tom Sepez92a2cd242018-03-13 19:23:091273const char kPdfIsolationName[] = "PDF Isolation";
1274const char kPdfIsolationDescription[] =
1275 "Render PDF files from different origins in different plugin processes.";
1276
Brett Wilsonecb80982017-07-12 20:34:511277const char kPinchScaleName[] = "Pinch scale";
1278const char kPinchScaleDescription[] =
1279 "Enables experimental support for scale using pinch.";
1280
Doug Arnett620ff542018-02-06 17:54:221281const char kPreviewsAllowedName[] = "Previews Allowed";
1282const char kPreviewsAllowedDescription[] =
1283 "Allows previews to be shown subject to specific preview types being "
1284 "enabled and the client experiencing specific triggering conditions. "
1285 "May be used as a kill-switch to turn off all potential preview types.";
1286
Brett Wilsonecb80982017-07-12 20:34:511287const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1288const char kPrintPdfAsImageDescription[] =
1289 "If enabled, an option to print PDF files as images will be available in "
1290 "print preview.";
1291
1292const char kPrintPreviewRegisterPromosName[] =
1293 "Print Preview Registration Promos";
1294const char kPrintPreviewRegisterPromosDescription[] =
1295 "Enable registering unregistered cloud printers from print preview.";
1296
1297const char kProtectSyncCredentialName[] = "Autofill sync credential";
1298const char kProtectSyncCredentialDescription[] =
1299 "How the password manager handles autofill for the sync credential.";
1300
1301const char kProtectSyncCredentialOnReauthName[] =
1302 "Autofill sync credential only for transactional reauth pages";
1303const char kProtectSyncCredentialOnReauthDescription[] =
1304 "How the password manager handles autofill for the sync credential only "
1305 "for transactional reauth pages.";
1306
Mohsen Izadi93faac12017-07-29 04:45:151307const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1308const char kPullToRefreshDescription[] =
1309 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011310const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151311
Troy Hildebrandt7228ad12018-02-23 21:18:241312const char kQueryInOmniboxName[] = "Query in Omnibox";
1313const char kQueryInOmniboxDescription[] =
1314 "Only display query terms in the omnibox when viewing a search results "
1315 "page.";
1316
Brett Wilsonecb80982017-07-12 20:34:511317const char kQuicName[] = "Experimental QUIC protocol";
1318const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1319
Emily Starke8878d52018-05-11 21:27:261320const char kRecurrentInterstitialName[] =
1321 "Show a message when the same SSL error recurs";
1322const char kRecurrentInterstitialDescription[] =
1323 "Enable a special message on the SSL certificate error page when the same "
1324 "SSL error occurs repeatedly.";
1325
Brett Wilsonecb80982017-07-12 20:34:511326const char kReducedReferrerGranularityName[] =
1327 "Reduce default 'referer' header granularity.";
1328const char kReducedReferrerGranularityDescription[] =
1329 "If a page hasn't set an explicit referrer policy, setting this flag will "
1330 "reduce the amount of information in the 'referer' header for cross-origin "
1331 "requests.";
1332
Claudio Magnie0a80bb2018-01-31 02:52:581333extern const char kRegionalLocalesAsDisplayUIName[] =
1334 "Allow regional locales as display UI";
1335extern const char kRegionalLocalesAsDisplayUIDescription[] =
1336 "This flag allows regional locales to be selected as display UI by the "
1337 "user in Language Settings. The actual locale of the system is derived "
1338 "from the user selection based on some simple fallback logic.";
1339
Christian Dullweber1af31e62018-02-22 11:49:481340const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141341 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481342const char kRemoveNavigationHistoryDescription[] =
1343 "Remove a navigation entry when the corresponding history entry has been "
1344 "deleted.";
1345
Mihai Sardarescu6d0f5b72017-10-30 11:24:381346const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1347 "Remove usage of the deprecated GAIA sign-in endpoint";
1348const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1349 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1350 "This flags controls wheter it should no longer be used during a sign-in "
1351 " flow.";
1352
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351353const char kRendererSideResourceSchedulerName[] =
1354 "Renderer side ResourceScheduler";
1355const char kRendererSideResourceSchedulerDescription[] =
1356 "Migrate some ResourceScheduler functionalities to renderer";
1357
Brett Wilsonecb80982017-07-12 20:34:511358const char kRequestTabletSiteName[] =
1359 "Request tablet site option in the settings menu";
1360const char kRequestTabletSiteDescription[] =
1361 "Allows the user to request tablet site. Web content is often optimized "
1362 "for tablet devices. When this option is selected the user agent string is "
1363 "changed to indicate a tablet device. Web content optimized for tablets is "
1364 "received there after for the current tab.";
1365
1366const char kResetAppListInstallStateName[] =
1367 "Reset the App Launcher install state on every restart.";
1368const char kResetAppListInstallStateDescription[] =
1369 "Reset the App Launcher install state on every restart. While this flag is "
1370 "set, Chrome will forget the launcher has been installed each time it "
1371 "starts. This is used for testing the App Launcher install flow.";
1372
1373const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1374const char kResourceLoadSchedulerDescription[] =
1375 "Uses the resource load scheduler in blink to schedule and throttle "
1376 "resource load requests.";
1377
Brett Wilsonecb80982017-07-12 20:34:511378const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1379const char kSafeSearchUrlReportingDescription[] =
1380 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1381
Alexei Filippov98772752018-01-27 08:26:521382const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1383const char kSamplingHeapProfilerDescription[] =
1384 "Enables native memory sampling profiler with specified rate in KiB. "
1385 "If sampling rate is not provided the default value of 128 KiB is used.";
1386
Brett Wilsonecb80982017-07-12 20:34:511387const char kSaveasMenuLabelExperimentName[] =
1388 "Switch 'Save as' menu labels to 'Download'";
1389const char kSaveasMenuLabelExperimentDescription[] =
1390 "Enables an experiment to switch menu labels that use 'Save as...' to "
1391 "'Download'.";
1392
1393const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1394const char kSavePageAsMhtmlDescription[] =
1395 "Enables saving pages as MHTML: a single text file containing HTML and all "
1396 "sub-resources.";
1397
Nate Chapin9638e7102017-09-20 22:11:011398const char kSavePreviousDocumentResourcesName[] =
1399 "Save Previous Document Resources";
1400const char kSavePreviousDocumentResourcesDescription[] =
1401 "Saves an old document's cached resources until the specified point in the "
1402 "next document's lifecycle.";
1403const char kSavePreviousDocumentResourcesNever[] =
1404 "Don't explicitly save resources";
1405const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1406 "Save resources until onDOMContentLoaded completes";
1407const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1408 "Save resources until onload completes";
1409
Brett Wilsonecb80982017-07-12 20:34:511410const char kScrollPredictionName[] = "Scroll prediction";
1411const char kScrollPredictionDescription[] =
1412 "Predicts the finger's future position during scrolls allowing time to "
1413 "render the frame before the finger is there.";
1414
1415const char kSecondaryUiMd[] =
1416 "Material Design in the rest of the browser's native UI";
1417const char kSecondaryUiMdDescription[] =
1418 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1419 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341420 "browser dialogs. If --top-chrome-md is effectively Material Design "
1421 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511422
1423const char kServiceWorkerNavigationPreloadName[] =
1424 "Service worker navigation preload.";
1425const char kServiceWorkerNavigationPreloadDescription[] =
1426 "Enable web pages to use the experimental service worker navigation "
1427 "preload API.";
1428
gogeraldd5061b592017-09-06 23:39:551429const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1430const char kServiceWorkerPaymentAppsDescription[] =
1431 "Enable Service Worker applications to integrate as payment apps";
1432
Makoto Shimazu22078cc2018-02-21 03:01:441433extern const char kServiceWorkerServicificationName[] =
1434 "Servicified service workers";
1435extern const char kServiceWorkerServicificationDescription[] =
1436 "Enable the servicified service workers. A servicified service worker can "
1437 "have direct connection from its clients, so that fetch events can be "
1438 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171439
Tsuyoshi Horobcb1c642017-11-24 16:32:141440const char kServiceWorkerScriptFullCodeCacheName[] =
1441 "Service worker script full code cache.";
1442const char kServiceWorkerScriptFullCodeCacheDescription[] =
1443 "Generate V8 full code cache of Service Worker scripts while installing.";
1444
Brett Wilsonecb80982017-07-12 20:34:511445const char kSettingsWindowName[] = "Show settings in a window";
1446const char kSettingsWindowDescription[] =
1447 "Settings will be shown in a dedicated window instead of as a browser tab.";
1448
Manu Cornetd7ef7c52018-05-01 22:08:231449const char kShelfHoverPreviewsName[] =
1450 "Show previews of running apps when hovering over the shelf.";
1451const char kShelfHoverPreviewsDescription[] =
1452 "Shows previews of the open windows for a given running app when hovering "
1453 "over the shelf.";
1454
Trent Apted750ba7022017-10-23 13:36:251455const char kShowAllDialogsWithViewsToolkitName[] =
1456 "Show all dialogs with Views toolkit";
1457const char kShowAllDialogsWithViewsToolkitDescription[] =
1458 "All browser dialogs will be shown using the Views toolkit rather than "
1459 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1460
Naoki Fukino008a0022018-05-23 18:33:001461const char kShowAndroidFilesInFilesAppName[] =
1462 "Show Android files in Files app";
1463const char kShowAndroidFilesInFilesAppDescription[] =
1464 "Show Android files in Files app if Android is enabled on the device.";
1465
Luciano Pachecof1beaa82018-05-30 04:48:511466const char kFilesAppNewStyleNavigationName[] =
1467 "Use new-style navigation in the Files app";
1468const char kFilesAppNewStyleNavigationDescription[] =
1469 "Enables the new-style navigation in the Files app, which displays a "
1470 R"("My Files" root for Downloads, Linux and Play files)";
1471
Brett Wilsonecb80982017-07-12 20:34:511472const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1473const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381474 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1475 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511476
1477const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1478const char kShowAutofillTypePredictionsDescription[] =
1479 "Annotates web forms with Autofill field type predictions as placeholder "
1480 "text.";
1481
1482const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1483const char kShowOverdrawFeedbackDescription[] =
1484 "Visualize overdraw by color-coding elements based on if they have other "
1485 "elements drawn underneath.";
1486
Carlos IL89128732018-04-03 17:00:251487const char kSupervisedUserCommittedInterstitialsName[] =
1488 "Enable Supervised User Committed Interstitials";
1489const char kSupervisedUserCommittedInterstitialsDescription[] =
1490 "Use committed error pages instead of transient navigation entries for "
1491 "supervised user interstitials";
1492
yiyixbdfa9a0b2017-10-23 22:21:471493const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1494const char kEnableDrawOcclusionDescription[] =
1495 "Enable the system to use draw occlusion to skip draw quads when they are "
1496 "not shown on the screen.";
1497
Brett Wilsonecb80982017-07-12 20:34:511498const char kShowSavedCopyName[] = "Show Saved Copy Button";
1499const char kShowSavedCopyDescription[] =
1500 "When a page fails to load, if a stale copy of the page exists in the "
1501 "browser cache, a button will be presented to allow the user to load that "
1502 "stale copy. The primary enabling choice puts the button in the most "
1503 "salient position on the error page; the secondary enabling choice puts it "
1504 "secondary to the reload button.";
1505const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1506const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1507const char kDisableShowSavedCopy[] = "Disable";
1508
Brett Wilsonecb80982017-07-12 20:34:511509const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1510const char kSilentDebuggerExtensionApiDescription[] =
1511 "Do not show the infobar when an extension attaches to a page via "
1512 "chrome.debugger API. This is required to debug extension background "
1513 "pages.";
1514
Tsuyoshi Horo53895ba92018-03-14 04:06:481515const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1516const char kSignedHTTPExchangeDescription[] =
1517 "Enables Origin-Signed HTTP Exchanges support which is still in "
1518 "development. Warning: Enabling this may pose a security risk.";
1519
Brett Wilsonecb80982017-07-12 20:34:511520const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1521const char kSimpleCacheBackendDescription[] =
1522 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1523 "disk space allocation.";
1524
Christopher Thompson75ff845d2018-02-01 20:12:461525const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1526const char kSimplifyHttpsIndicatorDescription[] =
1527 "Change the UI treatment for HTTPS pages.";
1528
Brett Wilsonecb80982017-07-12 20:34:511529const char kSingleClickAutofillName[] = "Single-click autofill";
1530const char kSingleClickAutofillDescription[] =
1531 "Make autofill suggestions on initial mouse click on a form element.";
1532
Nick Carter855bc492018-03-10 00:44:571533const char kStrictSiteIsolationName[] = "Strict site isolation";
1534const char kStrictSiteIsolationDescription[] =
1535 "Security mode that enables site isolation for all sites. When enabled, "
1536 "each renderer process will contain pages from at most one site, using "
1537 "out-of-process iframes when needed. When enabled, this flag forces the "
1538 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1539 "isolation mode will be determined by enterprise policy or field trial.";
1540
1541const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1542const char kSiteIsolationTrialOptOutDescription[] =
1543 "Opts out of field trials that enable site isolation modes "
1544 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1545 "may be due to out-of-process iframes. Opt-out has no effect if site "
1546 "isolation is force-enabled via #enable-site-per-process or enterprise "
1547 "policy. Caution: this disables important mitigations for the Spectre CPU "
1548 "vulnerability affecting most computers.";
1549extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1550extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1551 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511552
Pattideade7972018-04-27 02:59:401553const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511554const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401555 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511556
Brett Wilsonecb80982017-07-12 20:34:511557const char kSmoothScrollingName[] = "Smooth Scrolling";
1558const char kSmoothScrollingDescription[] =
1559 "Animate smoothly when scrolling page content.";
1560
1561const char kSoftwareRasterizerName[] = "3D software rasterizer";
1562const char kSoftwareRasterizerDescription[] =
1563 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1564
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201565const char kSoleIntegrationName[] = "Sole integration";
1566const char kSoleIntegrationDescription[] =
1567 "Enable Sole integration for browser customization. You must restart "
1568 "the browser twice for changes to take effect.";
1569
Tommy Steimel77704be2017-08-28 22:14:401570const char kSoundContentSettingName[] = "Sound content setting";
1571const char kSoundContentSettingDescription[] =
1572 "Enable site-wide muting in content settings and tab strip context menu.";
1573
Alexandr Ilinf0500ed32017-09-27 21:12:361574const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1575const char kSpeculativePreconnectDescription[] =
1576 "Enable the new implementation of preconnect and DNS preresolve. "
1577 "\"Learning\" means that only database construction is enabled, "
1578 "\"Preconnect\" enables both learning and preconnect and disables the "
1579 "existing implementation. \"No preconnect\" disables both implementations.";
1580
Brett Wilsonecb80982017-07-12 20:34:511581const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341582const char kSpeculativePrefetchDescription[] =
1583 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1584 R"*(load times, based on a local database (see chrome://predictors). )*"
1585 R"*("Learning" means that only the database construction is enabled, )*"
1586 R"*("Prefetching" that learning and prefetching are enabled.)*";
1587
Justin Donnelly4e448cb2017-07-07 21:32:131588const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1589 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131590const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1591 "If enabled, when the user enters text in the omnibox that looks like a "
1592 "a query, any service worker associated with the search engine the query "
1593 "will be sent to is started early.";
1594
Brett Wilsonecb80982017-07-12 20:34:511595const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1596const char kSpellingFeedbackFieldTrialDescription[] =
1597 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401598
Shubhie Panickerfaf082ed2018-01-03 04:49:151599const char kStopInBackgroundName[] = "Stop in background";
1600const char kStopInBackgroundDescription[] =
1601 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281602 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151603
1604const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1605const char kStopLoadingInBackgroundDescription[] =
1606 "Stop loading tasks and loading "
1607 "resources, in the background, after certain grace time.";
1608
Shubhie Panicker56c99a22018-03-21 00:22:281609const char kStopNonTimersInBackgroundName[] =
1610 "Stop non-timer task queues background";
1611const char kStopNonTimersInBackgroundDescription[] =
1612 "Stop non-timer task queues, in the background, "
1613 "after a grace period.";
1614
Brett Wilsonecb80982017-07-12 20:34:511615const char kSuggestionsWithSubStringMatchName[] =
1616 "Substring matching for Autofill suggestions";
1617const char kSuggestionsWithSubStringMatchDescription[] =
1618 "Match Autofill suggestions based on substrings (token prefixes) rather "
1619 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341620
Brett Wilsonecb80982017-07-12 20:34:511621const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1622const char kSyncSandboxDescription[] =
1623 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341624
Joe Downing8cbbc192018-05-14 17:37:071625const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1626const char kSystemKeyboardLockDescription[] =
1627 "Enables websites to use the keyboard.lock() API to intercept system "
1628 "keyboard shortcuts and have the events routed directly to the website "
1629 "when in fullscreen mode.";
1630
Brett Wilsonecb80982017-07-12 20:34:511631const char kTabAudioMutingName[] = "Tab audio muting UI control";
1632const char kTabAudioMutingDescription[] =
1633 "When enabled, the audio indicators in the tab strip double as tab audio "
1634 "mute controls. This also adds commands in the tab context menu for "
1635 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341636
Christian Dullweberd0d96f02017-09-13 09:22:511637const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1638const char kTabsInCbdDescription[] =
1639 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1640
Becky Zhou99c22802017-10-19 05:09:271641const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1642const char kTabModalJsDialogDescription[] =
1643 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1644 " tab.";
1645
Brett Wilsonecb80982017-07-12 20:34:511646const char kTcpFastOpenName[] = "TCP Fast Open";
1647const char kTcpFastOpenDescription[] =
1648 "Enable the option to send extra authentication information in the initial "
1649 "SYN packet for a previously connected client, allowing faster data send "
1650 "start.";
vabr0215a8e2017-03-28 12:47:341651
Daniele Castagna0fead93e2018-01-10 20:40:291652const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1653const char kTintGlCompositedContentDescription[] =
1654 "Tint contents composited using GL with a shade of red to help debug and "
1655 "study overlay support.";
1656
Brett Wilsonecb80982017-07-12 20:34:511657const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1658const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581659 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401660 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431661 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341662 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541663 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511664const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531665const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461666const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581667const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401668const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431669const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341670
Brett Wilsonecb80982017-07-12 20:34:511671const char kThreadedScrollingName[] = "Threaded scrolling";
1672const char kThreadedScrollingDescription[] =
1673 "Threaded handling of scroll-related input events. Disabling this will "
1674 "force all such scroll events to be handled on the main thread. Note that "
1675 "this can dramatically hurt scrolling performance of most websites and is "
1676 "intended for testing purposes only.";
1677
Steven Valdez4584b2482017-07-14 01:11:571678const char kTLS13VariantName[] = "TLS 1.3";
1679const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1680const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111681const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041682const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381683const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571684
Brett Wilsonecb80982017-07-12 20:34:511685const char kTopDocumentIsolationName[] = "Top document isolation";
1686const char kTopDocumentIsolationDescription[] =
1687 "Highly experimental performance mode where cross-site iframes are kept in "
1688 "a separate process from the top document. In this mode, iframes from "
1689 "different third-party sites will be allowed to share a process.";
1690
Dominick Ng8896b1cd2017-10-17 23:24:361691const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1692const char kTopSitesFromSiteEngagementDescription[] =
1693 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1694 "engagement.";
1695
Brett Wilsonecb80982017-07-12 20:34:511696const char kTouchAdjustmentName[] = "Touch adjustment";
1697const char kTouchAdjustmentDescription[] =
1698 "Refine the position of a touch gesture in order to compensate for touches "
1699 "having poor resolution compared to a mouse.";
1700
Alex Newcomerb3d3c972018-05-03 14:59:401701const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1702const char kTouchableAppContextMenuDescription[] =
1703 "Enable the touchable app context menu, which enlarges app context menus "
1704 "in the Launcher and Shelf to make room for new features.";
1705
Brett Wilsonecb80982017-07-12 20:34:511706const char kTouchDragDropName[] = "Touch initiated drag and drop";
1707const char kTouchDragDropDescription[] =
1708 "Touch drag and drop can be initiated through long press on a draggable "
1709 "element.";
1710
1711const char kTouchEventsName[] = "Touch Events API";
1712const char kTouchEventsDescription[] =
1713 "Force Touch Events API feature detection to always be enabled or "
1714 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291715 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511716
1717const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1718const char kTouchSelectionStrategyDescription[] =
1719 "Controls how text selection granularity changes when touch text selection "
1720 "handles are dragged. Non-default behavior is experimental.";
1721const char kTouchSelectionStrategyCharacter[] = "Character";
1722const char kTouchSelectionStrategyDirection[] = "Direction";
1723
1724const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1725const char kTraceUploadUrlDescription[] =
1726 "This is to be used in conjunction with the enable-navigation-tracing "
1727 "flag. Please select the label that best describes the recorded traces. "
1728 "This will choose the destination the traces are uploaded to. If you are "
1729 "not sure, select other. If left empty, no traces will be uploaded.";
1730const char kTraceUploadUrlChoiceOther[] = "Other";
1731const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1732const char kTraceUploadUrlChoiceQa[] = "QA";
1733const char kTraceUploadUrlChoiceTesting[] = "Testing";
1734
Anthony Vallee-Dubois265c5692018-06-01 15:57:141735const char kTranslateForceTriggerOnEnglishName[] =
1736 "Select which language model to use to trigger translate on English "
1737 "content";
1738const char kTranslateForceTriggerOnEnglishDescription[] =
1739 "Force the Translate Triggering on English pages experiment to be enabled "
1740 "with the selected language model active.";
1741
Philippe Hamel7fdaa452017-09-29 17:22:491742const char kTranslateRankerEnforcementName[] =
1743 "Enforce TranslateRanker decisions";
1744const char kTranslateRankerEnforcementDescription[] =
1745 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1746 "or not Translate UI should be triggered in a given context.";
1747
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051748const char kTreatInsecureOriginAsSecureName[] =
1749 "Insecure origins treated as secure";
1750const char kTreatInsecureOriginAsSecureDescription[] =
1751 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1752 "supplied as a comma-separated list. For the definition of secure "
1753 "contexts, "
1754 "see https://w3c.github.io/webappsec-secure-contexts/";
1755
Brett Wilsonecb80982017-07-12 20:34:511756const char kTrySupportedChannelLayoutsName[] =
1757 "Causes audio output streams to check if channel layouts other than the "
1758 "default hardware layout are available.";
1759const char kTrySupportedChannelLayoutsDescription[] =
1760 "Causes audio output streams to check if channel layouts other than the "
1761 "default hardware layout are available. Turning this on will allow the OS "
1762 "to do stereo to surround expansion if supported. May expose third party "
1763 "driver bugs, use with caution.";
1764
David Roger6762a092018-01-31 15:55:071765const char kUnifiedConsentName[] = "Unified Consent";
1766const char kUnifiedConsentDescription[] =
1767 "Enables a unified management of user consent for privacy-related "
1768 "features. This includes new confirmation screens and improved settings "
1769 "pages.";
1770
Brett Wilsonecb80982017-07-12 20:34:511771const char kUiPartialSwapName[] = "Partial swap";
1772const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1773
Chris Pickel3a227ae62017-08-24 10:47:261774const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1775const char kUseDdljsonApiDescription[] =
1776 "Enables the new ddljson API to fetch Doodles for the NTP.";
1777
Becca Hughes59c05b42017-11-03 13:11:581778const char kUseModernMediaControlsName[] = "New Media Controls";
1779const char kUseModernMediaControlsDescription[] =
1780 "Enables the new style native media controls.";
1781
Wei Li790e7a8572018-03-23 01:31:551782const char kUsePdfCompositorServiceName[] =
1783 "Use PDF compositor service for printing";
1784const char kUsePdfCompositorServiceDescription[] =
1785 "When enabled, use PDF compositor service to composite and generate PDF "
1786 "files for printing. When site isolation is enabled, disabling this will "
1787 "not stop using PDF compositor service since the service is required for "
1788 "printing out-of-process iframes correctly.";
1789
Mustaq Ahmedc646c0a2017-10-20 20:08:301790const char kUserActivationV2Name[] = "User Activation v2";
1791const char kUserActivationV2Description[] =
1792 "Enable simple user activation for APIs that are otherwise controlled by "
1793 "user gesture tokens.";
1794
Brett Wilsonecb80982017-07-12 20:34:511795const char kUserConsentForExtensionScriptsName[] =
1796 "User consent for extension scripts";
1797const char kUserConsentForExtensionScriptsDescription[] =
1798 "Require user consent for an extension running a script on the page, if "
1799 "the extension requested permission to run on all urls.";
1800
1801const char kUseSuggestionsEvenIfFewFeatureName[] =
1802 "Disable minimum for server-side tile suggestions on NTP.";
1803const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1804 "Request server-side suggestions even if there are only very few of them "
1805 "and use them for tiles on the New Tab Page.";
1806
1807const char kV8CacheOptionsName[] = "V8 caching mode.";
1808const char kV8CacheOptionsDescription[] =
1809 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511810const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1811
Hitoshi Yoshida3e5db562017-09-11 02:31:081812const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1813const char kV8ContextSnapshotDescription[] =
1814 "Sets to use a snapshot to create V8 contexts in frame creation.";
1815
Michael Hablich896d52662017-10-23 15:59:571816const char kV8VmFutureName[] = "Future V8 VM features";
1817const char kV8VmFutureDescription[] =
1818 "This enables upcoming and experimental V8 VM features. "
1819 "This flag does not enable experimental JavaScript features.";
1820
Hannes Payer1130d5672018-06-05 07:37:311821const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1822const char kV8OrinocoDescription[] =
1823 "This enables the V8 Orinoco garbage collection features.";
1824
Brett Wilsonecb80982017-07-12 20:34:511825const char kVideoFullscreenOrientationLockName[] =
1826 "Lock screen orientation when playing a video fullscreen.";
1827const char kVideoFullscreenOrientationLockDescription[] =
1828 "Lock the screen orientation of the device to match video orientation when "
1829 "a video goes fullscreen. Only on phones.";
1830
1831const char kVideoRotateToFullscreenName[] =
1832 "Rotate-to-fullscreen gesture for videos.";
1833const char kVideoRotateToFullscreenDescription[] =
1834 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1835 "the video. Only on phones.";
1836
Elly Fong-Jonesf4c79502018-03-23 19:21:531837const char kViewsBrowserWindowsName[] =
1838 "Use Views browser windows instead of Cocoa.";
1839const char kViewsBrowserWindowsDescription[] =
1840 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1841
Brett Wilsonecb80982017-07-12 20:34:511842const char kWalletServiceUseSandboxName[] =
1843 "Use Google Payments sandbox servers";
1844const char kWalletServiceUseSandboxDescription[] =
1845 "For developers: use the sandbox service for Google Payments API calls.";
1846
Brett Wilsonecb80982017-07-12 20:34:511847const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1848const char kWebglDraftExtensionsDescription[] =
1849 "Enabling this option allows web applications to access the WebGL "
1850 "Extensions that are still in draft status.";
1851
1852const char kWebMidiName[] = "Web MIDI API";
1853const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1854
1855const char kWebPaymentsName[] = "Web Payments";
1856const char kWebPaymentsDescription[] =
1857 "Enable Web Payments API integration, a JavaScript API for merchants.";
1858
Mathieu Perreault51339b82017-07-20 17:06:051859const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1860const char kWebPaymentsModifiersDescription[] =
1861 "If the website provides modifiers in the payment request, show the custom "
1862 "total for each payment instrument, update the shopping cart when "
1863 "instruments are switched, and send modified payment method specific data "
1864 "to the payment app.";
1865
Brett Wilsonecb80982017-07-12 20:34:511866const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1867const char kWebrtcEchoCanceller3Description[] =
1868 "Experimental WebRTC echo canceller (AEC3).";
1869
1870const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1871const char kWebrtcHwDecodingDescription[] =
1872 "Support in WebRTC for decoding video streams using platform hardware.";
1873
1874const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1875const char kWebrtcHwEncodingDescription[] =
1876 "Support in WebRTC for encoding video streams using platform hardware.";
1877
1878const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1879const char kWebrtcHwH264EncodingDescription[] =
1880 "Support in WebRTC for encoding h264 video streams using platform "
1881 "hardware.";
1882
1883const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1884const char kWebrtcHwVP8EncodingDescription[] =
1885 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1886
Niels Möller090866a2018-02-13 10:55:031887const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1888 "WebRTC new encode cpu load estimator";
1889const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1890 "Enable new estimator for the encoder cpu load, for evaluation and "
1891 "testing. Intended to improve accuracy when screen casting.";
1892
Brett Wilsonecb80982017-07-12 20:34:511893const char kWebrtcSrtpAesGcmName[] =
1894 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1895const char kWebrtcSrtpAesGcmDescription[] =
1896 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1897
Joachim Bauch4a41d7512017-08-23 14:24:231898const char kWebrtcSrtpEncryptedHeadersName[] =
1899 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1900const char kWebrtcSrtpEncryptedHeadersDescription[] =
1901 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1902 "for SRTP.";
1903
Brett Wilsonecb80982017-07-12 20:34:511904const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1905const char kWebrtcStunOriginDescription[] =
1906 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1907 "header.";
1908
Adam Ricec786ad8a2018-05-22 09:49:151909const char kWebSocketHandshakeReuseConnectionName[] =
1910 "Enable WebSocket connection reuse for authentication";
1911const char kWebSocketHandshakeReuseConnectionDescription[] =
1912 "Permits the WebSocket handshake to keep the connection open after an "
1913 "authentication failure. The connection may be used for further requests "
1914 "to send credentials. This is sometimes needed for Windows authentication.";
1915
Brett Wilsonecb80982017-07-12 20:34:511916const char kWebvrName[] = "WebVR";
1917const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011918 "Enables access to experimental Virtual Reality functionality via the "
1919 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
1920 "Device API. Warning: Enabling this will also allow WebVR content on "
1921 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:221922 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511923
Brandon Jonese9d9b2b2017-12-11 22:20:111924const char kWebXrName[] = "WebXR Device API";
1925const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011926 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
1927 "and Augmented Reality (AR) devices.";
1928
1929const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
1930const char kWebXrGamepadSupportDescription[] =
1931 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:221932 "XRInputSource will have a corresponding Gamepad instance. Requires that "
1933 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:431934
1935const char kWebXrHitTestName[] = "WebXR Hit Test";
1936const char kWebXrHitTestDescription[] =
1937 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:111938
Anna Maria57ecf7592018-01-12 03:10:401939const char kWebXrOrientationSensorDeviceName[] =
1940 "WebXR orientation sensor device";
1941const char kWebXrOrientationSensorDeviceDescription[] =
1942 "When no VR platform device is available, expose a non-presenting device "
1943 "based on the device's orientation sensors, if available.";
1944
Brett Wilsonecb80982017-07-12 20:34:511945const char kWifiCredentialSyncName[] = "WiFi credential sync";
1946const char kWifiCredentialSyncDescription[] =
1947 "Enables synchronizing WiFi network settings across devices. When enabled, "
1948 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1949 "credentials are synchronized subject to user preferences. (See also, "
1950 "chrome://settings/syncSetup.)";
1951
1952const char kZeroCopyName[] = "Zero-copy rasterizer";
1953const char kZeroCopyDescription[] =
1954 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341955
Brett Wilsonff596952017-07-14 01:06:551956// Android ---------------------------------------------------------------------
1957
1958#if defined(OS_ANDROID)
1959
1960const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1961const char kAiaFetchingDescription[] =
1962 "Enable intermediate certificate fetching when a server does not provide "
1963 "sufficient certificates to build a chain to a trusted root.";
1964
1965const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1966const char kAccessibilityTabSwitcherDescription[] =
1967 "Enable the accessibility tab switcher for Android.";
1968
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251969const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1970const char kAllowReaderForAccessibilityDescription[] =
1971 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1972
Brett Wilsonff596952017-07-14 01:06:551973const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1974const char kAndroidAutofillAccessibilityDescription[] =
1975 "Enable accessibility for autofill popup.";
1976
1977const char kAndroidPaymentAppsName[] = "Android payment apps";
1978const char kAndroidPaymentAppsDescription[] =
1979 "Enable third party Android apps to integrate as payment apps";
1980
Miriam Gershenson8cf1397222018-01-23 22:48:291981const char kAsyncDnsName[] = "Async DNS resolver";
1982const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1983
Brett Wilsonff596952017-07-14 01:06:551984const char kAutofillAccessoryViewName[] =
1985 "Autofill suggestions as keyboard accessory view";
1986const char kAutofillAccessoryViewDescription[] =
1987 "Shows Autofill suggestions on top of the keyboard rather than in a "
1988 "dropdown.";
1989
1990const char kBackgroundLoaderForDownloadsName[] =
1991 "Enables background downloading of pages.";
1992const char kBackgroundLoaderForDownloadsDescription[] =
1993 "Enables downloading pages in the background in case page is not yet "
1994 "loaded in current tab.";
1995
Matthew Jones6c1f5e22018-02-06 18:19:531996const char kChromeDuplexName[] = "Chrome Duplex";
1997const char kChromeDuplexDescription[] =
1998 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051999
Brett Wilsonff596952017-07-14 01:06:552000const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2001const char kChromeHomeSwipeLogicDescription[] =
2002 "Various swipe logic options for Chrome Home for sheet expansion.";
2003const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152004const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552005
Matthew Jones5b7f1d62018-01-23 00:37:252006const char kChromeModernDesignName[] = "Chrome Modern Design";
2007const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452008 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2009 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252010
Megan Jablonskic61eb1b82017-10-02 18:03:062011const char kChromeMemexName[] = "Chrome Memex";
2012const char kChromeMemexDescription[] =
2013 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2014 "Googlers.";
2015
Sarath Singapati83aef1c2017-11-16 15:54:522016const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2017const char kClearOldBrowsingDataDescription[] =
2018 "Enables clearing of browsing data which is older than a given time "
2019 "period.";
2020
Brett Wilsonff596952017-07-14 01:06:552021const char kContentSuggestionsCategoryOrderName[] =
2022 "Default content suggestions category order (e.g. on NTP)";
2023const char kContentSuggestionsCategoryOrderDescription[] =
2024 "Set default order of content suggestion categories (e.g. on the NTP).";
2025
2026const char kContentSuggestionsCategoryRankerName[] =
2027 "Content suggestions category ranker (e.g. on NTP)";
2028const char kContentSuggestionsCategoryRankerDescription[] =
2029 "Set category ranker to order categories of content suggestions (e.g. on "
2030 "the NTP).";
2031
Vitalii Iarkof52ff802017-09-14 12:34:242032const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2033const char kContentSuggestionsDebugLogDescription[] =
2034 "Enable content suggestions debug log accessible through "
2035 "snippets-internals.";
2036
Donn Denman8e58ead2017-11-04 01:44:012037const char kContextualSearchMlTapSuppressionName[] =
2038 "Contextual Search ML tap suppression";
2039const char kContextualSearchMlTapSuppressionDescription[] =
2040 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022041 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2042 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552043
2044const char kContextualSearchName[] = "Contextual Search";
2045const char kContextualSearchDescription[] =
2046 "Whether or not Contextual Search is enabled.";
2047
Donn Denman59729812018-01-09 01:27:022048const char kContextualSearchRankerQueryName[] =
2049 "Contextual Search Ranker prediction";
2050const char kContextualSearchRankerQueryDescription[] =
2051 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2052
2053const char kContextualSearchSecondTapName[] =
2054 "Contextual Search second tap triggering";
2055const char kContextualSearchSecondTapDescription[] =
2056 "Enables triggering on a second tap gesture even when Ranker would "
2057 "normally suppress that tap.";
2058
Cathy Li2fb32bf82018-06-06 18:55:402059const char kExploreSitesName[] = "Explore websites";
2060const char kExploreSitesDescription[] =
2061 "Enables portal from new tab page to explore websites.";
2062
Dmitry Skiba9c3efa72017-07-20 22:01:142063const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2064const char kDontPrefetchLibrariesDescription[] =
2065 "Don't prefetch libraries after loading.";
2066
Joy Ming5fd29ca62017-10-02 22:51:222067const char kDownloadsForegroundName[] = "Enable downloads foreground";
2068const char kDownloadsForegroundDescription[] =
2069 "Enable downloads as a foreground service for all versions of Android.";
2070
Joy Ming189b0cc2017-12-08 19:42:432071const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2072const char kDownloadsLocationChangeDescription[] =
2073 "Enable changing default downloads storage location on Android.";
2074
Shakti Sahu32b2ee102018-05-17 00:04:462075const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2076const char kDownloadProgressInfoBarDescription[] =
2077 "Enables an infobar notifying users about status of current downloads.";
2078
Brett Wilsonff596952017-07-14 01:06:552079const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2080const char kEnableAndroidPayIntegrationV1Description[] =
2081 "Enable integration with Android Pay using the first version of the API";
2082
2083const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2084const char kEnableAndroidPayIntegrationV2Description[] =
2085 "Enable integration with Android Pay using the second version of the API";
2086
Vitalii Iarkof4ed32d2017-09-26 13:15:532087const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552088const char kEnableAndroidSpellcheckerDescription[] =
2089 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552090
Lei Tianbd5a3bf2018-02-28 19:01:162091const char kEnableCommandLineOnNonRootedName[] =
2092 "Enable command line on non-rooted devices";
2093const char kEnableCommandLineOnNoRootedDescription[] =
2094 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2095
Vitalii Iarkof4ed32d2017-09-26 13:15:532096const char kEnableContentSuggestionsNewFaviconServerName[] =
2097 "Get favicons for content suggestions from a new server.";
2098const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2099 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2100 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552101
2102const char kEnableContentSuggestionsSettingsName[] =
2103 "Show content suggestions settings.";
2104const char kEnableContentSuggestionsSettingsDescription[] =
2105 "If enabled, the content suggestions settings will be available from the "
2106 "main settings menu.";
2107
Vitalii Iarkof4ed32d2017-09-26 13:15:532108const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2109 "Use content suggestions thumbnail dominant color.";
2110const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2111 "Use content suggestions thumbnail dominant color as a placeholder before "
2112 "the real thumbnail is fetched (requires Chrome Home).";
2113
Brett Wilsonff596952017-07-14 01:06:552114const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2115const char kEnableCustomContextMenuDescription[] =
2116 "Enables a new context menu when a link, image, or video is pressed within "
2117 "Chrome.";
2118
2119const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2120const char kEnableCustomFeedbackUiDescription[] =
2121 "Enables a custom feedback UI when submitting feedback through Google "
2122 "Feedback. Works with Google Play Services v10.2+";
2123
2124const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472125 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552126const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472127 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552128
Brett Wilsonff596952017-07-14 01:06:552129const char kEnableOmniboxClipboardProviderName[] =
2130 "Omnibox clipboard URL suggestions";
2131const char kEnableOmniboxClipboardProviderDescription[] =
2132 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2133 "focus in the omnibox.";
2134
Becky Zhoua7f11d62018-02-01 16:02:532135const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2136 "Show article suggestions expandable header on New Tab Page";
2137const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2138 "If enabled, the article suggestions content on New Tab Page can be "
2139 "toggled shown or hidden by clicking the expandable header.";
2140
Brett Wilsonff596952017-07-14 01:06:552141const char kEnableNtpAssetDownloadSuggestionsName[] =
2142 "Show asset downloads on the New Tab page";
2143const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2144 "If enabled, the list of content suggestions on the New Tab page will "
2145 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2146 "later use.";
2147
2148const char kEnableNtpBookmarkSuggestionsName[] =
2149 "Show recently visited bookmarks on the New Tab page";
2150const char kEnableNtpBookmarkSuggestionsDescription[] =
2151 "If enabled, the list of content suggestions on the New Tab page will "
2152 "contain recently visited bookmarks.";
2153
2154const char kEnableNtpForeignSessionsSuggestionsName[] =
2155 "Show recent foreign tabs on the New Tab page";
2156const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2157 "If enabled, the list of content suggestions on the New Tab page will "
2158 "contain recent foreign tabs.";
2159
Brett Wilsonff596952017-07-14 01:06:552160const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2161 "Show offline page downloads on the New Tab page";
2162const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2163 "If enabled, the list of content suggestions on the New Tab page will "
2164 "contain pages that the user downloaded for later use.";
2165
2166const char kEnableNtpRemoteSuggestionsName[] =
2167 "Show server-side suggestions on the New Tab page";
2168const char kEnableNtpRemoteSuggestionsDescription[] =
2169 "If enabled, the list of content suggestions on the New Tab page will "
2170 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2171 "allows to override the source used to retrieve these server-side "
2172 "suggestions.";
2173
2174const char kEnableNtpSnippetsVisibilityName[] =
2175 "Make New Tab Page Snippets more visible.";
2176const char kEnableNtpSnippetsVisibilityDescription[] =
2177 "If enabled, the NTP snippets will become more discoverable with a larger "
2178 "portion of the first card above the fold.";
2179
2180const char kEnableNtpSuggestionsNotificationsName[] =
2181 "Notify about new content suggestions available at the New Tab page";
2182const char kEnableNtpSuggestionsNotificationsDescription[] =
2183 "If enabled, notifications will inform about new content suggestions on "
2184 "the New Tab page.";
2185
Brett Wilsonff596952017-07-14 01:06:552186const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2187const char kEnableOfflinePreviewsDescription[] =
2188 "Enable showing offline page previews on slow networks.";
2189
2190const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2191const char kEnableOskOverscrollDescription[] =
2192 "Enable OSK overscroll support. With this flag on, the OSK will only "
2193 "resize the visual viewport.";
2194
2195const char kEnableSpecialLocaleName[] =
2196 "Enable custom logic for special locales.";
2197const char kEnableSpecialLocaleDescription[] =
2198 "Enable custom logic for special locales. In this mode, Chrome might "
2199 "behave differently in some locales.";
2200
Brett Wilsonff596952017-07-14 01:06:552201const char kEnableWebNfcName[] = "WebNFC";
2202const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2203
gogeraldf3cbb422017-07-26 14:37:122204const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2205 "Enable Web Payments method section order V2.";
2206const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2207 "Enable this option to display payment method section above address "
2208 "section instead of below it.";
2209
Raymes Khoury582b43132017-12-12 23:54:302210const char kGrantNotificationsToDSEName[] =
2211 "Grant notifications to the Default Search Engine";
2212const char kGrantNotificationsToDSENameDescription[] =
2213 "Automatically grant the notifications permission to the Default Search "
2214 "Engine";
2215
Daniel Parke74fcf862018-03-27 18:05:452216const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512217const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452218
Theresa920e0ed2018-03-07 18:12:442219const char kInterestFeedContentSuggestionsDescription[] =
2220 "Use the interest feed to render content suggestions. Currently content "
2221 "suggestions are shown on the New Tab Page.";
2222const char kInterestFeedContentSuggestionsName[] =
2223 "Interest Feed Content Suggestions";
2224
Brett Wilsonff596952017-07-14 01:06:552225const char kKeepPrefetchedContentSuggestionsName[] =
2226 "Keep prefetched content suggestions";
2227const char kKeepPrefetchedContentSuggestionsDescription[] =
2228 "If enabled, some of prefetched content suggestions are not replaced by "
2229 "the new fetched suggestions.";
2230
Leo Zhang051b75482017-12-20 03:28:302231const char kLanguagesPreferenceName[] = "Language Settings";
2232const char kLanguagesPreferenceDescription[] =
2233 "Enable this option for Language Settings feature on Android.";
2234
Brett Wilsonff596952017-07-14 01:06:552235const char kLsdPermissionPromptName[] =
2236 "Location Settings Dialog Permission Prompt";
2237const char kLsdPermissionPromptDescription[] =
2238 "Whether to use the Google Play Services Location Settings Dialog "
2239 "permission dialog.";
2240
Amirhossein Simjour97b4154f2018-02-20 03:49:592241const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2242const char kModalPermissionDialogViewDescription[] =
2243 "Enable this option to use ModalDialogManager for permission Dialogs.";
2244
Brett Wilsonff596952017-07-14 01:06:552245const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2246const char kMediaScreenCaptureDescription[] =
2247 "Enable this option for experimental ScreenCapture feature on Android.";
2248
2249const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2250const char kModalPermissionPromptsDescription[] =
2251 "Whether to use permission dialogs in place of permission infobars.";
2252
Brett Wilsonff596952017-07-14 01:06:552253const char kNewPhotoPickerName[] = "Enable new Photopicker";
2254const char kNewPhotoPickerDescription[] =
2255 "Activates the new picker for selecting photos.";
2256
2257const char kNoCreditCardAbort[] = "No Credit Card Abort";
2258const char kNoCreditCardAbortDescription[] =
2259 "Whether or not the No Credit Card Abort is enabled.";
2260
Daniel Park990d0992018-05-18 22:12:512261const char kNtpButtonName[] = "Enable NTP Button";
2262const char kNtpButtonDescription[] =
2263 "Displays a New Tab Page button in the toolbar if enabled.";
2264
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062265const char kNtpModernLayoutName[] = "Modern NTP layout";
2266const char kNtpModernLayoutDescription[] =
2267 "Show a modern layout on the New Tab Page.";
2268
Brett Wilsonff596952017-07-14 01:06:552269const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2270const char kNtpGoogleGInOmniboxDescription[] =
2271 "Show a Google G in the omnibox on the New Tab Page.";
2272
Brett Wilsonff596952017-07-14 01:06:552273const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2274const char kOfflineBookmarksDescription[] =
2275 "Enable saving bookmarked pages for offline viewing.";
2276
Brett Wilsonff596952017-07-14 01:06:552277const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2278const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2279
2280const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2281const char kOfflinePagesCtV2Description[] =
2282 "V2 features include attributing pages to the app that initiated the "
2283 "custom tabs, and being able to query for pages by page attribution.";
2284
Cathy Li7311d792018-04-05 00:34:162285const char kOfflinePagesCTSuppressNotificationsName[] =
2286 "Disable download complete notification for whitelisted CCT apps.";
2287const char kOfflinePagesCTSuppressNotificationsDescription[] =
2288 "Disable download complete notification for page downloads originating "
2289 "from a CCT app whitelisted to show their own download complete "
2290 "notification.";
2291
Candice Sy74fa7a352018-03-30 23:46:492292const char kOfflinePagesDescriptiveFailStatusName[] =
2293 "Enables descriptive failed download status text.";
2294const char kOfflinePagesDescriptiveFailStatusDescription[] =
2295 "Enables failed download status text in notifications and Downloads Home "
2296 "to state the reason the request failed if the failure is actionable.";
2297
2298const char kOfflinePagesDescriptivePendingStatusName[] =
2299 "Enables descriptive pending download status text.";
2300const char kOfflinePagesDescriptivePendingStatusDescription[] =
2301 "Enables pending download status text in notifications and Downloads Home "
2302 "to state the reason the request is pending.";
2303
2304const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2305 "Enables offline pages in the downloads home to be opened in CCT.";
2306const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2307 "When enabled offline pages launched from the Downloads Home will be "
2308 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2309
Carlos Knippschild09272ecd2017-12-09 03:29:362310const char kOfflinePagesLimitlessPrefetchingName[] =
2311 "Removes resource usage limits for the prefetching of offline pages.";
2312const char kOfflinePagesLimitlessPrefetchingDescription[] =
2313 "Allows the prefetching of suggested offline pages to ignore resource "
2314 "usage limits. This allows it to completely ignore data usage limitations "
2315 "and allows downloads to happen with any kind of connection.";
2316
Brett Wilsonff596952017-07-14 01:06:552317const char kOfflinePagesLoadSignalCollectingName[] =
2318 "Enables collecting load timing data for offline page snapshots.";
2319const char kOfflinePagesLoadSignalCollectingDescription[] =
2320 "Enables loading completeness data collection while writing an offline "
2321 "page. This data is collected in the snapshotted offline page to allow "
2322 "data analysis to improve deciding when to make the offline snapshot.";
2323
2324const char kOfflinePagesPrefetchingName[] =
2325 "Enables suggested offline pages to be prefetched.";
2326const char kOfflinePagesPrefetchingDescription[] =
2327 "Enables suggested offline pages to be prefetched, so useful content is "
2328 "available while offline.";
2329
Cathy Li3d5379e2017-09-07 00:11:092330const char kOfflinePagesPrefetchingUIName[] =
2331 "Enables prefetched offline pages to be shown in UI.";
2332const char kOfflinePagesPrefetchingUIDescription[] =
2333 "Enables prefetched offline pages to raise notifications and be shown in "
2334 "download home UI.";
2335
Pete Williamson7845dff2017-09-20 11:06:192336const char kOfflinePagesResourceBasedSnapshotName[] =
2337 "Enables offline page snapshots to be based on percentage of page loaded.";
2338const char kOfflinePagesResourceBasedSnapshotDescription[] =
2339 "Enables offline page snapshots to use a resource percentage based "
2340 "approach for determining when the page is loaded as opposed to a time "
2341 "based approach";
2342
Collin Baker17f92a52017-07-19 21:41:252343const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2344const char kOfflinePagesRenovationsDescription[] =
2345 "Enables offline page renovations which correct issues with dynamic "
2346 "content that occur when offlining pages that use JavaScript.";
2347
Brett Wilsonff596952017-07-14 01:06:552348const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2349const char kOfflinePagesSharingDescription[] =
2350 "Enables the saved offline pages to be shared via other applications.";
2351
Cathy Lie0d88762018-04-12 08:03:012352const char kOfflinePagesShowAlternateDinoPageName[] =
2353 "Enable alternate dino page with more user capabilities.";
2354const char kOfflinePagesShowAlternateDinoPageDescription[] =
2355 "Enables the dino page to show more buttons and offer existing offline "
2356 "content.";
2357
Brett Wilsonff596952017-07-14 01:06:552358const char kOfflinePagesSvelteConcurrentLoadingName[] =
2359 "Enables concurrent background loading on svelte.";
2360const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2361 "Enables concurrent background loading (or downloading) of pages on "
2362 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2363 "happen when the svelte device is idle.";
2364
2365const char kOffliningRecentPagesName[] =
2366 "Enable offlining of recently visited pages";
2367const char kOffliningRecentPagesDescription[] =
2368 "Enable storing recently visited pages locally for offline use. Requires "
2369 "Offline Pages to be enabled.";
2370
Lei Zhang2eca9082017-10-17 20:42:502371const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2372const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552373 "Enable Pay with Google integration into Web Payments with API version "
2374 "'1'.";
2375
Matthew Jonesa88b95852017-11-08 23:13:502376const char kProgressBarThrottleName[] = "Android progress update throttling.";
2377const char kProgressBarThrottleDescription[] =
2378 "Limit the maximum progress update to make progress appear smoother.";
2379
Brett Wilsonff596952017-07-14 01:06:552380const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2381const char kPullToRefreshEffectDescription[] =
2382 "Page reloads triggered by vertically overscrolling content.";
2383
Piotr Swigon7c296ef2017-08-29 04:32:002384const char kPwaImprovedSplashScreenName[] =
2385 "Improved Splash Screen for standalone PWAs";
2386const char kPwaImprovedSplashScreenDescription[] =
2387 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2388 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492389const char kPwaPersistentNotificationName[] =
2390 "Persistent notification in standalone PWA";
2391const char kPwaPersistentNotificationDescription[] =
2392 "Enables a persistent Android notification for standalone PWAs";
2393
Brett Wilsonff596952017-07-14 01:06:552394const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2395const char kReaderModeHeuristicsDescription[] =
2396 "Determines what pages the Reader Mode infobar is shown on.";
2397const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2398const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2399const char kReaderModeHeuristicsAllArticles[] = "All articles";
2400const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2401const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2402
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182403const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2404const char kReaderModeInCCTDescription[] =
2405 "Open Reader Mode in Chrome Custom Tabs.";
2406
Brett Wilsonff596952017-07-14 01:06:552407const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2408const char kSetMarketUrlForTestingDescription[] =
2409 "When enabled, sets the market URL for use in testing the update menu "
2410 "item.";
2411
2412const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2413const char kSpannableInlineAutocompleteDescription[] =
2414 "A new type of inline autocomplete for the omnibox that works with "
2415 "keyboards that compose text.";
2416
Theresaeea05a12018-05-09 21:01:592417const char kSimplifiedNtpName[] = "Simplified NTP";
2418const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2419
2420const char kSiteExplorationUiName[] = "Site Exploration UI";
2421const char kSiteExplorationUiDescription[] =
2422 "Show site suggestions in the Exploration UI";
2423
Brett Wilsonff596952017-07-14 01:06:552424const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2425const char kUpdateMenuBadgeDescription[] =
2426 "When enabled, an update badge will be shown on the app menu button.";
2427
2428const char kUpdateMenuItemCustomSummaryDescription[] =
2429 "When this flag and the force show update menu item flag are enabled, a "
2430 "custom summary string will be displayed below the update menu item.";
2431const char kUpdateMenuItemCustomSummaryName[] =
2432 "Update menu item custom summary";
2433
2434const char kUpdateMenuItemName[] = "Force show update menu item";
2435const char kUpdateMenuItemDescription[] =
2436 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2437 R"*(menu.)*";
2438
Amirhossein Simjourd78bbcf2018-02-02 16:23:392439const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2440const char kVrBrowsingNativeAndroidUiDescription[] =
2441 "Enable Android UI elements in VR.";
2442
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462443const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2444const char kVrBrowsingTabsViewDescription[] =
2445 "Enable tab overview (tab switcher) in VR.";
2446
Marc Treib93af46a2017-08-23 13:30:002447const char kThirdPartyDoodlesName[] =
2448 "Enable Doodles for third-party search engines";
2449const char kThirdPartyDoodlesDescription[] =
2450 "Enables fetching and displaying Doodles on the NTP for third-party search "
2451 "engines.";
2452
Klaus Weidneraaf697f2018-01-18 20:07:362453const char kWebXrRenderPathName[] = "WebXR presentation render path";
2454const char kWebXrRenderPathDescription[] =
2455 "Render path to use for WebXR presentation (including WebVR)";
2456const char kWebXrRenderPathChoiceClientWaitDescription[] =
2457 "ClientWait (Baseline)";
2458const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2459 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072460const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2461 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362462
Brett Wilson7b44537e2017-08-18 01:38:282463// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552464
Brett Wilson7b44537e2017-08-18 01:38:282465#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482466
Brett Wilson7b44537e2017-08-18 01:38:282467const char kAccountConsistencyName[] =
2468 "Identity consistency between browser and cookie jar";
2469const char kAccountConsistencyDescription[] =
2470 "When enabled, the browser manages signing in and out of Google accounts.";
2471const char kAccountConsistencyChoiceMirror[] = "Mirror";
2472const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342473
Chris Pickel3a227ae62017-08-24 10:47:262474const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2475const char kDoodlesOnLocalNtpDescription[] =
2476 "Show doodles on the local New Tab page if Google is the default search "
2477 "engine.";
2478
mlamouriff56c092017-05-11 15:31:392479const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392480const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342481 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392482const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392483const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392484const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342485 "Enabled (Flash lowers volume when interrupted by other sound, "
2486 "experimental)";
2487
Brett Wilson7b44537e2017-08-18 01:38:282488const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2489const char kEnableNewAppMenuIconDescription[] =
2490 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342491
Dave Schuyler598a4a42018-01-04 02:15:102492const char kOmniboxRichEntitySuggestionsName[] =
2493 "Omnibox rich entity suggestions";
2494const char kOmniboxRichEntitySuggestionsDescription[] =
2495 "Display entity suggestions using images and an enhanced layout; showing "
2496 "more context and descriptive text about the entity";
2497
Dave Schuyler616273d2018-04-19 03:12:522498const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2499const char kOmniboxNewAnswerLayoutDescription[] =
2500 "Display answers using an enhanced layout with larger images";
2501
Kevin Bailey898669972017-11-06 15:34:492502const char kOmniboxTabSwitchSuggestionsName[] =
2503 "Omnibox tab switch suggestions";
2504const char kOmniboxTabSwitchSuggestionsDescription[] =
2505 "Enable suggestions for switching to open tabs within the Omnibox.";
2506
krbcc621412017-06-01 19:40:282507const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2508const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192509 "Enable receiving tail suggestions, a type of search suggestion based on "
2510 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342511
Brett Wilson7b44537e2017-08-18 01:38:282512const char kOneGoogleBarOnLocalNtpName[] =
2513 "Enable the OneGoogleBar on the local NTP";
2514const char kOneGoogleBarOnLocalNtpDescription[] =
2515 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2516 "search engine.";
2517
Brett Wilson7b44537e2017-08-18 01:38:282518const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2519const char kUseGoogleLocalNtpDescription[] =
2520 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322521
Brett Wilson7b44537e2017-08-18 01:38:282522const char kVoiceSearchOnLocalNtpName[] =
2523 "Enable Voice Search on the local NTP";
2524const char kVoiceSearchOnLocalNtpDescription[] =
2525 "Show a microphone for voice search on the local New Tab page "
2526 "if Google is the default search engine.";
2527
Balazs Engedy00c5cea2018-03-30 15:36:392528const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422529const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392530 "Enable Web Authentication API support";
2531
2532const char kEnableWebAuthenticationTestingAPIName[] =
2533 "Web Authentication Testing API";
2534const char kEnableWebAuthenticationTestingAPIDescription[] =
2535 "Enable Web Authentication Testing API support, which disconnects the API "
2536 "implementation from the real world, and allows configuring virtual "
2537 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422538
Brett Wilson7b44537e2017-08-18 01:38:282539#if defined(GOOGLE_CHROME_BUILD)
2540
2541const char kGoogleBrandedContextMenuName[] =
2542 "Google branding in the context menu";
2543const char kGoogleBrandedContextMenuDescription[] =
2544 "Shows a Google icon next to context menu items powered by Google "
2545 "services.";
2546
2547#endif // !defined(GOOGLE_CHROME_BUILD)
2548
2549#endif // !defined(OS_ANDROID)
2550
2551// Windows ---------------------------------------------------------------------
2552
2553#if defined(OS_WIN)
2554
2555const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2556const char kCloudPrintXpsDescription[] =
2557 "XPS enables advanced options for classic printers connected to the Cloud "
2558 "Print with Chrome. Printers must be re-connected after changing this "
2559 "flag.";
2560
Dave Tapuskadd43469d2017-08-22 22:15:532561const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2562const char kDirectManipulationStylusDescription[] =
2563 "If enabled, Chrome will scroll web pages on stylus drag.";
2564
Brett Wilson7b44537e2017-08-18 01:38:282565const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2566const char kDisablePostscriptPrintingDescription[] =
2567 "Disables PostScript generation when printing to PostScript capable "
2568 "printers, and uses EMF generation in its place.";
2569
2570const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2571const char kEnableAppcontainerDescription[] =
2572 "Enables the use of an AppContainer on sandboxed processes to improve "
2573 "security.";
2574
Brett Wilson7b44537e2017-08-18 01:38:282575const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2576const char kEnableDesktopIosPromotionsDescription[] =
2577 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2578 "eligible.";
2579
James Forshawfd0ce342018-02-14 09:55:392580const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2581const char kEnableGpuAppcontainerDescription[] =
2582 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2583 "improve security.";
2584
Brett Wilson7b44537e2017-08-18 01:38:282585const char kGdiTextPrinting[] = "GDI Text Printing";
2586const char kGdiTextPrintingDescription[] =
2587 "Use GDI to print text as simply text";
2588
Henrik Grunell67e56ef2018-04-10 14:04:092589const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2590const char kIncreaseInputAudioBufferSizeDescription[] =
2591 "Increases the input audio endpoint buffer to 100 ms.";
2592
Brett Wilson7b44537e2017-08-18 01:38:282593const char kTraceExportEventsToEtwName[] =
2594 "Enable exporting of tracing events to ETW.";
2595const char kTraceExportEventsToEtwDesription[] =
2596 "If enabled, trace events will be exported to the Event Tracing for "
2597 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2598 "Xperf.";
2599
2600const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2601const char kUseWinrtMidiApiDescription[] =
2602 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2603 "later).";
2604
2605const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2606const char kWindows10CustomTitlebarDescription[] =
2607 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2608 "deferring to Windows.";
2609
2610#endif // defined(OS_WIN)
2611
2612// Mac -------------------------------------------------------------------------
2613
2614#if defined(OS_MACOSX)
2615
Brett Wilson7b44537e2017-08-18 01:38:282616const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2617const char kAppWindowCyclingDescription[] =
2618 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2619 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2620 "browser window, and browser windows will not be cycled when a Chrome App "
2621 "is active.";
2622
Brett Wilson7b44537e2017-08-18 01:38:282623const char kFullscreenToolbarRevealName[] =
2624 "Enables the toolbar in fullscreen to reveal itself.";
2625const char kFullscreenToolbarRevealDescription[] =
2626 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2627 "has changed.";
2628
2629const char kContentFullscreenName[] = "Improved Content Fullscreen";
2630const char kContentFullscreenDescription[] =
2631 "Fullscreen content window detaches from main browser window and goes to "
2632 "a new space without moving or changing the original browser window.";
2633
Lei Zhang2eca9082017-10-17 20:42:502634const char kDialogTouchBarName[] = "Dialog Touch Bar";
2635const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282636 "Shows Dialog buttons on the Touch Bar.";
2637
2638const char kHostedAppsInWindowsName[] =
2639 "Allow hosted apps to be opened in windows";
2640const char kHostedAppsInWindowsDescription[] =
2641 "Allows hosted apps to be opened in windows instead of being limited to "
2642 "tabs.";
2643
Lei Zhang2eca9082017-10-17 20:42:502644const char kMacRTLName[] = "Enable RTL";
2645const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282646
Lei Zhang2eca9082017-10-17 20:42:502647const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2648const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522649 "Enables sharing via macOS share extensions.";
2650
Lei Zhang2eca9082017-10-17 20:42:502651const char kMacTouchBarName[] = "Hardware Touch Bar";
2652const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282653
2654const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2655const char kMacV2SandboxDescription[] =
2656 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2657 "entire life cycle.";
2658
2659const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2660const char kMacViewsNativeAppWindowsDescription[] =
2661 "Controls whether to use Toolkit-Views based Chrome App windows.";
2662
2663const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2664const char kMacViewsTaskManagerDescription[] =
2665 "Controls whether to use the Toolkit-Views based Task Manager.";
2666
Tessa Nijssen177ab6462018-06-09 00:54:502667const char kSuggestedTextTouchBarName[] = "Suggested Text Touch Bar";
2668const char kSuggestedTextTouchBarDescription[] =
2669 "Enable suggested text touch bar for textfields.";
2670
Brett Wilson7b44537e2017-08-18 01:38:282671const char kTabDetachingInFullscreenName[] =
2672 "Allow tab detaching in fullscreen";
2673const char kTabDetachingInFullscreenDescription[] =
2674 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2675
2676const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2677const char kTabStripKeyboardFocusDescription[] =
2678 "Enable keyboard focus for the tabs in the tab strip.";
2679
Brett Wilson7b44537e2017-08-18 01:38:282680#endif
2681
2682// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342683
2684#if defined(OS_CHROMEOS)
2685
Brett Wilson7b44537e2017-08-18 01:38:282686const char kAcceleratedMjpegDecodeName[] =
2687 "Hardware-accelerated mjpeg decode for captured frame";
2688const char kAcceleratedMjpegDecodeDescription[] =
2689 "Enable hardware-accelerated mjpeg decode for captured frame where "
2690 "available.";
vabr0215a8e2017-03-28 12:47:342691
Brett Wilson7b44537e2017-08-18 01:38:282692const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2693const char kAllowTouchpadThreeFingerClickDescription[] =
2694 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342695
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522696const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2697const char kArcAvailableForChildDescription[] =
2698 "Allow child accounts to start Android apps.";
2699
Brett Wilson7b44537e2017-08-18 01:38:282700const char kArcBootCompleted[] = "Load Android apps automatically";
2701const char kArcBootCompletedDescription[] =
2702 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342703
Lev Rumyantsev7a8544312017-08-18 19:26:512704const char kArcNativeBridgeExperimentName[] =
2705 "Enable native bridge experiment for ARC";
2706const char kArcNativeBridgeExperimentDescription[] =
2707 "Enables experimental native bridge feature.";
2708
lgchengecd1c1a62018-01-09 02:59:462709const char kArcUsbHostName[] = "Enable ARC USB host integration";
2710const char kArcUsbHostDescription[] =
2711 "Allow Android apps to use USB host feature on ChromeOS devices.";
2712
Kevin Cernekeeb7f96a52017-10-25 17:40:182713const char kArcVpnName[] = "Enable ARC VPN integration";
2714const char kArcVpnDescription[] =
2715 "Allow Android VPN clients to tunnel Chrome traffic.";
2716
Qiang Xu045aff222018-05-21 23:21:012717const char kAshDisableLoginDimAndBlurName[] =
2718 "Disable dimming and blur on login screen.";
2719const char kAshDisableLoginDimAndBlurDescription[] =
2720 "Disable dimming and blur on login screen.";
2721
2722const char kAshDisableSmoothScreenRotationName[] =
2723 "Disable smooth rotation animations.";
2724const char kAshDisableSmoothScreenRotationDescription[] =
2725 "Disable smooth rotation animations.";
2726
2727const char kAshEnableDisplayMoveWindowAccelsName[] =
2728 "Enable shortcuts for moving window between displays.";
2729const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2730 "Enable shortcuts for moving window between displays.";
2731
2732const char kAshEnableKeyboardShortcutViewerName[] =
2733 "Enable keyboard shortcut viewer.";
2734const char kAshEnableKeyboardShortcutViewerDescription[] =
2735 "Enable keyboard shortcut viewer.";
2736
2737const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2738const char kAshEnableMirroredScreenDescription[] =
2739 "Enable the mirrored screen mode. This mode flips the screen image "
2740 "horizontally.";
2741
2742const char kAshEnableNewOverviewAnimationsName[] =
2743 "Enable new overview animations.";
2744const char kAshEnableNewOverviewAnimationsDescription[] =
2745 "Enables the new overview mode animations.";
2746
2747const char kAshEnablePersistentWindowBoundsName[] =
2748 "Enable persistent window bounds in multi-displays scenario.";
2749const char kAshEnablePersistentWindowBoundsDescription[] =
2750 "Enable persistent window bounds in multi-displays scenario.";
2751
2752const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2753const char kAshEnableTrilinearFilteringDescription[] =
2754 "Enable trilinear filtering.";
2755
Brett Wilson7b44537e2017-08-18 01:38:282756const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2757const char kAshEnableUnifiedDesktopDescription[] =
2758 "Enable unified desktop mode which allows a window to span multiple "
2759 "displays.";
vabr0215a8e2017-03-28 12:47:342760
Qiang Xu045aff222018-05-21 23:21:012761const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2762const char kAshShelfColorDescription[] =
2763 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2764 "--ash-shelf-color-scheme flag defines how that color is derived.";
2765
2766const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2767const char kAshShelfColorSchemeDescription[] =
2768 "Specify how the color is derived from the wallpaper. This flag is only "
2769 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2770const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2771const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2772const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2773const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2774const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2775const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2776
Sean Kau5e956192017-10-06 22:25:172777const char kBulkPrintersName[] = "Bulk Printers Policy";
2778const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2779
Brett Wilson7b44537e2017-08-18 01:38:282780const char kCaptivePortalBypassProxyName[] =
2781 "Bypass proxy for Captive Portal Authorization";
2782const char kCaptivePortalBypassProxyDescription[] =
2783 "If proxy is configured, it usually prevents from authorization on "
2784 "different captive portals. This enables opening captive portal "
2785 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342786
Brett Wilson7b44537e2017-08-18 01:38:282787const char kCrOSComponentName[] = "Chrome OS Component";
2788const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082789 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342790
Xiaochu Liu51d03fd2017-09-08 23:51:022791const char kCrOSContainerName[] = "Chrome OS Container";
2792const char kCrOSContainerDescription[] =
2793 "Enable the use of Chrome OS Container utility.";
2794
Brett Wilson7b44537e2017-08-18 01:38:282795const char kCrosRegionsModeName[] = "Cros-regions load mode";
2796const char kCrosRegionsModeDescription[] =
2797 "This flag controls cros-regions load mode";
2798const char kCrosRegionsModeDefault[] = "Default";
2799const char kCrosRegionsModeOverride[] = "Override VPD values.";
2800const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342801
Jacob Dufault2becbc482017-08-25 00:36:352802const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2803const char kDisableLockScreenAppsDescription[] =
2804 "Disable new-note action handler apps on the lock screen. The user will "
2805 "not be able to launch the preferred note-taking action from the lock "
2806 "screen, provided that the app supports lock screen note taking.";
2807
Qiang Xu045aff222018-05-21 23:21:012808const char kDisableNetworkSettingsConfigName[] =
2809 "Disable Settings based Network Configuration";
2810const char kDisableNetworkSettingsConfigDescription[] =
2811 "Disables the Settings based network configuration UI and restores the "
2812 "Views based configuration dialog.";
2813
2814const char kDisableSystemTimezoneAutomaticDetectionName[] =
2815 "SystemTimezoneAutomaticDetection policy support";
2816const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2817 "Disable system timezone automatic detection device policy.";
2818
Sammie Quonef6b4882017-09-14 16:50:052819const char kDisableTabletAutohideTitlebarsName[] =
2820 "Disable autohide titlebars in tablet mode";
2821const char kDisableTabletAutohideTitlebarsDescription[] =
2822 "Disable tablet mode autohide titlebars functionality. The user will be "
2823 "able to see the titlebar in tablet mode.";
2824
Xiaoqian Dai24b33eb2018-04-10 21:01:572825const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2826const char kDisableTabletSplitViewDescription[] =
2827 "Disable split view for Chrome OS tablet mode.";
2828
Qiang Xu53d1a5832018-05-24 18:44:192829const char kEnableAppShortcutSearchName[] =
2830 "Enable app shortcut search in launcher";
2831const char kEnableAppShortcutSearchDescription[] =
2832 "Enables app shortcut search in launcher";
2833
Weidong Guo00d0b2b2018-06-07 00:39:302834const char kEnableAppsGridGapFeatureName[] =
2835 "Enable apps grid gap feature in launcher.";
2836const char kEnableAppsGridGapFeatureDescription[] =
2837 "Enables gaps at the end of each page and enables dragging an item to an "
2838 "empty page in launcher.";
2839
Lei Zhang2eca9082017-10-17 20:42:502840const char kEnableBackgroundBlurName[] = "Enable background blur.";
2841const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422842 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392843
Brett Wilson7b44537e2017-08-18 01:38:282844const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2845const char kEnableChromevoxArcSupportDescription[] =
2846 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342847
F#m75862c92018-01-25 19:10:472848const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2849const char kEnableDisplayZoomSettingDescription[] =
2850 "Allows the user to modify the display size or zoom via the chrome display "
2851 "settings page.";
2852
Xiaoqian Dai82d99192018-05-25 18:51:352853const char kEnableDragTabsInTabletModeName[] =
2854 "Enable dragging tabs in tablet mode";
2855const char kEnableDragTabsInTabletModeDescription[] =
2856 "Allows the user to drag the tabs out of a browser window in tablet mode.";
2857
Brett Wilson7b44537e2017-08-18 01:38:282858const char kEnableEhvInputName[] =
2859 "Emoji, handwriting and voice input on opt-in IME menu";
2860const char kEnableEhvInputDescription[] =
2861 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342862
Brett Wilson7b44537e2017-08-18 01:38:282863const char kEnableEncryptionMigrationName[] =
2864 "Enable encryption migration of user data";
2865const char kEnableEncryptionMigrationDescription[] =
2866 "If enabled and the device supports ARC, the user will be asked to update "
2867 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342868
Blake O'Hare9e9317b22017-10-24 02:49:352869const char kEnableFloatingVirtualKeyboardName[] =
2870 "Enable floating virtual keyboard";
2871const char kEnableFloatingVirtualKeyboardDescription[] =
2872 "If enabled, the keyboard will use floating behavior by default.";
2873
Qiang Xu045aff222018-05-21 23:21:012874const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2875 "Enable full screen handwriting virtual keyboard";
2876const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2877 "If enabled, the handwriting virtual keyboard will allow user to write "
2878 "anywhere on the screen";
2879
2880const char kEnableHomeLauncherName[] = "Enable home launcher";
2881const char kEnableHomeLauncherDescription[] =
2882 "Enable home launcher in tablet mode.";
2883
Brett Wilson7b44537e2017-08-18 01:38:282884const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2885const char kEnableImeMenuDescription[] =
2886 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342887
Qiang Xu045aff222018-05-21 23:21:012888const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
2889const char kEnableNewWallpaperPickerDescription[] =
2890 "Enable the redesigned wallpaper picker with new wallpaper collections.";
2891
2892const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2893const char kEnablePerUserTimezoneDescription[] =
2894 "Chrome OS system timezone preference is stored and handled for each user "
2895 "individually.";
2896
2897const char kEnableSettingsShortcutSearchName[] =
2898 "Enable Settings shortcut search";
2899const char kEnableSettingsShortcutSearchDescription[] =
2900 "Enable Settings shortcut search in launcher.";
2901
Darren Shen3e49c63d2018-03-28 04:45:502902const char kEnableStylusVirtualKeyboardName[] =
2903 "Enable stylus virtual keyboard";
2904const char kEnableStylusVirtualKeyboardDescription[] =
2905 "If enabled, tapping with a stylus will show the handwriting virtual "
2906 "keyboard.";
2907
Jordy Greenblatt2f23df22018-02-22 19:49:192908const char kEnableUnifiedMultiDeviceSettingsName[] =
2909 "Enable unified MultiDevice settings";
2910const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2911 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2912 "MultiDevice settings.";
2913
2914const char kEnableUnifiedMultiDeviceSetupName[] =
2915 "Enable unified MultiDevice setup";
2916const char kEnableUnifiedMultiDeviceSetupDescription[] =
2917 "Enable the device to setup all MultiDevice services in a single workflow.";
2918
Klemen Kozjek05fc4512017-10-18 12:51:102919const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2920const char kEnableZipArchiverPackerDescription[] =
2921 "Enable the ability to archive files on Drive in the Files app";
2922
Brett Wilson7b44537e2017-08-18 01:38:282923const char kEolNotificationName[] = "Disable Device End of Life notification.";
2924const char kEolNotificationDescription[] =
2925 "Disable Notifcation when Device is End of Life.";
2926
2927const char kExperimentalAccessibilityFeaturesName[] =
2928 "Experimental accessibility features";
2929const char kExperimentalAccessibilityFeaturesDescription[] =
2930 "Enable additional accessibility features in the Settings page.";
2931
2932const char kExperimentalInputViewFeaturesName[] =
2933 "Experimental input view features";
2934const char kExperimentalInputViewFeaturesDescription[] =
2935 "Enable experimental features for IME input views.";
2936
2937const char kFileManagerTouchModeName[] = "Files App. touch mode";
2938const char kFileManagerTouchModeDescription[] =
2939 "Touchscreen-specific interactions of the Files app.";
2940
2941const char kFirstRunUiTransitionsName[] =
2942 "Animated transitions in the first-run tutorial";
2943const char kFirstRunUiTransitionsDescription[] =
2944 "Transitions during first-run tutorial are animated.";
2945
Brett Wilson7b44537e2017-08-18 01:38:282946const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2947const char kForceEnableStylusToolsDescription[] =
2948 "Forces display of the stylus tools menu in the shelf and the stylus "
2949 "section in settings, even if there is no attached stylus device.";
2950
2951const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2952const char kGestureEditingDescription[] =
2953 "Enable/Disable gesture editing option in the settings page for the "
2954 "virtual keyboard.";
2955
2956const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2957const char kGestureTypingDescription[] =
2958 "Enable/Disable gesture typing option in the settings page for the virtual "
2959 "keyboard.";
2960
2961const char kInputViewName[] = "Input views";
2962const char kInputViewDescription[] =
2963 "Enable IME extensions to supply custom views for user input such as "
2964 "virtual keyboards.";
2965
Megumi Hattori5a0d4182018-03-06 11:09:502966const char kLockScreenNotificationName[] = "Lock screen notification";
2967const char kLockScreenNotificationDescription[] =
2968 "Enable notifications on the lock screen.";
2969
Qiang Xu045aff222018-05-21 23:21:012970const char kMaterialDesignInkDropAnimationSpeedName[] =
2971 "Material design ink drop animation speed";
2972const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2973 "Sets the speed of the experimental visual feedback animations for "
2974 "material design.";
2975const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2976const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2977
Brett Wilson7b44537e2017-08-18 01:38:282978const char kMemoryPressureThresholdName[] =
2979 "Memory discard strategy for advanced pressure handling";
2980const char kMemoryPressureThresholdDescription[] =
2981 "Memory discarding strategy to use";
2982const char kConservativeThresholds[] =
2983 "Conservative memory pressure release strategy";
2984const char kAggressiveCacheDiscardThresholds[] =
2985 "Aggressive cache release strategy";
2986const char kAggressiveTabDiscardThresholds[] =
2987 "Aggressive tab release strategy";
2988const char kAggressiveThresholds[] =
2989 "Aggressive tab and cache release strategy";
2990
2991const char kMtpWriteSupportName[] = "MTP write support";
2992const char kMtpWriteSupportDescription[] =
2993 "MTP write support in File System API (and file manager). In-place editing "
2994 "operations are not supported.";
2995
2996const char kMultideviceName[] = "Enable multidevice features";
2997const char kMultideviceDescription[] =
2998 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342999
Kyle Horimoto027590fb2018-02-13 22:19:483000const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3001const char kMultiDeviceApiDescription[] =
3002 "Enable Mojo-based API which provides synced device metadata and the "
3003 "ability to connect to other devices associated the logged-in Google "
3004 "account.";
3005
Bailey Berrodca8eeca02017-11-18 00:49:123006const char kNativeSmbName[] = "Native Smb Client";
3007const char kNativeSmbDescription[] =
3008 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303009
vabr0215a8e2017-03-28 12:47:343010const char kNetworkPortalNotificationName[] =
3011 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343012const char kNetworkPortalNotificationDescription[] =
3013 "If enabled, notification is displayed when device is connected to a "
3014 "network behind captive portal.";
3015
Brett Wilson7b44537e2017-08-18 01:38:283016const char kNewKoreanImeName[] = "New Korean IME";
3017const char kNewKoreanImeDescription[] =
3018 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343019
Brett Wilson7b44537e2017-08-18 01:38:283020const char kNewZipUnpackerName[] = "New ZIP unpacker";
3021const char kNewZipUnpackerDescription[] =
3022 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343023
Qiang Xu045aff222018-05-21 23:21:013024const char kOfficeEditingComponentAppName[] =
3025 "Office Editing for Docs, Sheets & Slides";
3026const char kOfficeEditingComponentAppDescription[] =
3027 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3028
Brett Wilson7b44537e2017-08-18 01:38:283029const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3030const char kPhysicalKeyboardAutocorrectDescription[] =
3031 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3032 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343033
3034const char kPrinterProviderSearchAppName[] =
3035 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343036const char kPrinterProviderSearchAppDescription[] =
3037 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193038 "searches Chrome Web Store for extensions that support printing to a USB "
3039 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343040
Brett Wilson7b44537e2017-08-18 01:38:283041const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3042const char kQuickUnlockPinDescription[] =
3043 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3044 "device on the lock screen after you have signed into your device.";
3045const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3046const char kQuickUnlockPinSigninDescription[] =
3047 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3048 "device. After changing this flag PIN needs to be set up again.";
3049const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3050const char kQuickUnlockFingerprintDescription[] =
3051 "Enabling fingerprint quick unlock allows you to setup and use a "
3052 "fingerprint to unlock your Chromebook on the lock screen after you have "
3053 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343054
James Cook0ba192bf2017-12-01 20:53:113055const char kShowTapsName[] = "Show taps";
3056const char kShowTapsDescription[] =
3057 "Draws a circle at each touch point, which makes touch points more obvious "
3058 "when projecting or mirroring the display. Similar to the Android OS "
3059 "developer option.";
3060
3061const char kShowTouchHudName[] = "Show HUD for touch points";
3062const char kShowTouchHudDescription[] =
3063 "Shows a trail of colored dots for the last few touch points. Pressing "
3064 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3065 "debug hardware issues that generate spurious touch events.";
3066
Chung-Sheng Wu468b0b32017-09-01 14:41:573067const char kSysInternalsName[] = "Enable Sys-Internals";
3068const char kSysInternalsDescription[] =
3069 "If enabled, user can monitor system information at "
3070 "chrome://sys-internals.";
3071
James Cooka9384092018-05-23 02:54:263072const char kTapVisualizerAppName[] = "Show taps with mojo app";
3073const char kTapVisualizerAppDescription[] =
3074 "Use an out-of-process mojo app to show touch points.";
3075
Brett Wilson7b44537e2017-08-18 01:38:283076const char kTeamDrivesName[] = "Enable Team Drives Integration";
3077const char kTeamDrivesDescription[] =
3078 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:343079
Brett Wilson7b44537e2017-08-18 01:38:283080const char kTetherName[] = "Instant Tethering";
3081const char kTetherDescription[] =
3082 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3083 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373084
Brett Wilson7b44537e2017-08-18 01:38:283085const char kTouchscreenCalibrationName[] =
3086 "Enable/disable touchscreen calibration option in material design settings";
3087const char kTouchscreenCalibrationDescription[] =
3088 "If enabled, the user can calibrate the touch screen displays in "
3089 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093090
Qiang Xu045aff222018-05-21 23:21:013091const char kUiDevToolsName[] = "Enable native UI inspection";
3092const char kUiDevToolsDescription[] =
3093 "Enables inspection of native UI elements. For local inspection use "
3094 "chrome://inspect#other";
3095
3096const char kUiShowCompositedLayerBordersName[] =
3097 "Show UI composited layer borders";
3098const char kUiShowCompositedLayerBordersDescription[] =
3099 "Show border around composited layers created by UI.";
3100const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3101const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3102const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3103const char kUiShowCompositedLayerBordersAll[] = "All";
3104
3105const char kUiSlowAnimationsName[] = "Slow UI animations";
3106const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3107
Mitsuru Oshima63d3f2a2017-08-23 00:12:113108// Force UI Mode
3109const char kUiModeName[] = "Force Ui Mode";
3110const char kUiModeDescription[] =
3111 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3112 R"*(despite its current orientation. "Tablet" means that the )*"
3113 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3114 R"*(means that the chromebook will act as if it were in clamshell )*"
3115 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3116 R"*(the two, based on its orientation.)*";
3117const char kUiModeTablet[] = "TouchView";
3118const char kUiModeClamshell[] = "Clamshell";
3119const char kUiModeAuto[] = "Auto (default)";
3120
James Cooka1bcfa9a2018-01-30 00:18:403121const char kUseMashName[] = "Out-of-process system UI (mash)";
3122const char kUseMashDescription[] =
3123 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3124 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283125
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343126// TODO(mcasas): remove after https://crbug.com/771345.
3127const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3128const char kUseMonitorColorSpaceDescription[] =
3129 "Enables Chrome to use the color space information provided by the monitor"
3130 " instead of the default sRGB color space.";
3131
Brett Wilson7b44537e2017-08-18 01:38:283132const char kVideoPlayerChromecastSupportName[] =
3133 "Experimental Chromecast support for Video Player";
3134const char kVideoPlayerChromecastSupportDescription[] =
3135 "This option enables experimental Chromecast support for Video Player app "
3136 "on ChromeOS.";
3137
3138const char kVirtualKeyboardName[] = "Virtual Keyboard";
3139const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3140
3141const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3142const char kVirtualKeyboardOverscrollDescription[] =
3143 "Enables virtual keyboard overscroll support.";
3144
3145const char kVoiceInputName[] = "Voice input on virtual keyboard";
3146const char kVoiceInputDescription[] =
3147 "Enables voice input on virtual keyboard.";
3148
3149const char kWakeOnPacketsName[] = "Wake On Packets";
3150const char kWakeOnPacketsDescription[] =
3151 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203152
Qiang Xu53d1a5832018-05-24 18:44:193153const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3154const char kZipArchiverUnpackerDescription[] =
3155 "Enable or disable the ability to unpack archives in incognito mode";
3156
yhanadac5bff5b2017-05-18 06:37:093157#endif // defined(OS_CHROMEOS)
3158
Brett Wilson7b44537e2017-08-18 01:38:283159// Random platform combinations -----------------------------------------------
3160
3161#if defined(OS_WIN) || defined(OS_LINUX)
3162
3163const char kEnableInputImeApiName[] = "Enable Input IME API";
3164const char kEnableInputImeApiDescription[] =
3165 "Enable the use of chrome.input.ime API.";
3166
Tom Anderson6cbd5052018-05-03 23:49:543167#if !defined(OS_CHROMEOS)
3168
3169const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3170const char kWarnBeforeQuittingFlagDescription[] =
3171 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3172
3173#endif // !defined(OS_CHROMEOS)
3174
Brett Wilson7b44537e2017-08-18 01:38:283175#endif // defined(OS_WIN) || defined(OS_LINUX)
3176
3177#if defined(OS_WIN) || defined(OS_MACOSX)
3178
3179const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3180const char kAutomaticTabDiscardingDescription[] =
3181 "If enabled, tabs get automatically discarded from memory when the system "
3182 "memory is low. Discarded tabs are still visible on the tab strip and get "
3183 "reloaded when clicked on. Info about discarded tabs can be found at "
3184 "chrome://discards.";
3185
3186#endif // defined(OS_WIN) || defined(OS_MACOSX)
3187
Justin Donnelly110e40c2018-06-01 21:48:433188const char kExperimentalUiName[] = "Use all upcoming UI features";
3189const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483190
Brett Wilson7b44537e2017-08-18 01:38:283191// Feature flags --------------------------------------------------------------
3192
3193#if BUILDFLAG(ENABLE_VR)
3194
David Dorwin5a496c32017-11-17 01:45:053195const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3196const char kWebVrVsyncAlignDescription[] =
3197 "Align WebVR application rendering with VSync for smoother animations.";
3198
Brett Wilson7b44537e2017-08-18 01:38:283199#if defined(OS_ANDROID)
3200
Yash Malikb78e72a72018-02-21 09:14:103201const char kVrWebInputEditingName[] = "VR browsing web input editing";
3202const char kVrWebInputEditingDescription[] =
3203 "Allow editing web input fields while in VR mode.";
3204
David Dorwin5a496c32017-11-17 01:45:053205const char kVrBrowsingExperimentalFeaturesName[] =
3206 "VR browsing experimental features";
3207const char kVrBrowsingExperimentalFeaturesDescription[] =
3208 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283209
David Dorwin5a496c32017-11-17 01:45:053210const char kVrBrowsingExperimentalRenderingName[] =
3211 "VR browsing experimental rendering features";
3212const char kVrBrowsingExperimentalRenderingDescription[] =
3213 "Experimental rendering features for VR browsing (e.g. power-saving "
3214 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103215
David Dorwin5a496c32017-11-17 01:45:053216const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3217const char kVrBrowsingInCustomTabDescription[] =
3218 "Allow browsing within a VR headset while in a Custom Tab.";
3219
Michael Thiessen37895912018-01-19 20:15:543220const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
3221const char kVrIconInDaydreamHomeDescription[] =
3222 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
3223
David Dorwin5a496c32017-11-17 01:45:053224const char kWebVrAutopresentFromIntentName[] =
3225 "WebVR auto presentation from intents";
3226const char kWebVrAutopresentFromIntentDescription[] =
3227 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283228
3229#endif // OS_ANDROID
3230
Bill Orr103ed272018-02-14 21:23:053231#if BUILDFLAG(ENABLE_OCULUS_VR)
3232const char kOculusVRName[] = "Oculus hardware support";
3233const char kOculusVRDescription[] =
3234 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3235 "Windows 10 or later).";
3236#endif // ENABLE_OCULUS_VR
3237
Bill Orr49527562017-11-22 16:58:483238#if BUILDFLAG(ENABLE_OPENVR)
3239const char kOpenVRName[] = "OpenVR hardware support";
3240const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073241 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3242 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483243#endif // ENABLE_OPENVR
3244
Brett Wilson7b44537e2017-08-18 01:38:283245#endif // ENABLE_VR
3246
Nico Weberaf3b00b2017-09-11 17:58:173247#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283248
3249const char kNaclDebugMaskName[] =
3250 "Restrict Native Client GDB-based debugging by pattern";
3251const char kNaclDebugMaskDescription[] =
3252 "Restricts Native Client application GDB-based debugging by URL of "
3253 "manifest file. Native Client GDB-based debugging must be enabled for this "
3254 "option to work.";
3255const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3256const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3257 "Debug everything except secure shell and the PNaCl translator.";
3258const char kNaclDebugMaskChoiceIncludeDebug[] =
3259 "Debug only if manifest URL ends with debug.nmf.";
3260
3261const char kNaclDebugName[] = "Native Client GDB-based debugging";
3262const char kNaclDebugDescription[] =
3263 "Enable GDB debug stub. This will stop a Native Client application on "
3264 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3265
3266const char kNaclName[] = "Native Client";
3267const char kNaclDescription[] =
3268 "Support Native Client for all web applications, even those that were not "
3269 "installed from the Chrome Web Store.";
3270
3271const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3272const char kPnaclSubzeroDescription[] =
3273 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3274
Nico Weberaf3b00b2017-09-11 17:58:173275#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283276
Brett Wilson7b44537e2017-08-18 01:38:283277const char kWebrtcH264WithOpenh264FfmpegName[] =
3278 "WebRTC H.264 software video encoder/decoder";
3279const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3280 "When enabled, an H.264 software video encoder/decoder pair is included. "
3281 "If a hardware encoder/decoder is also available it may be used instead of "
3282 "this encoder/decoder.";
3283
Brett Wilson7b44537e2017-08-18 01:38:283284#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3285
3286const char kAutofillCreditCardUploadName[] =
3287 "Enable offering upload of Autofilled credit cards";
3288const char kAutofillCreditCardUploadDescription[] =
3289 "Enables a new option to upload credit cards to Google Payments for sync "
3290 "to all Chrome devices.";
3291
3292#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3293
Becca Hughesdc96e842018-05-04 22:48:283294#if defined(OS_ANDROID)
3295
3296const char kDisplayCutoutAPIName[] =
3297 "Enable support for the Display Cutout API";
3298const char kDisplayCutoutAPIDescription[] =
3299 "Enables developers to support devices that have a display cutout.";
3300
3301#endif // defined(OS_ANDROID)
3302
Brett Wilson7b44537e2017-08-18 01:38:283303// ============================================================================
3304// Don't just add flags to the end, put them in the right section in
3305// alphabetical order just like the header file.
3306// ============================================================================
3307
vabr0215a8e2017-03-28 12:47:343308} // namespace flag_descriptions