blob: 5eb5d0788542a843dba22a90b858aed087f8c0b3 [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
38const char kAppBannersName[] = "App Banners";
39const char kAppBannersDescription[] =
40 "Enable the display of Progressive Web App banners, which prompt a user to "
41 "add a web app to their shelf, or other platform-specific equivalent.";
42
yoshiki iguchi4a10c5f2017-11-29 20:16:5443const char kAshSidebarName[] = "Sidebar";
44const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
45
Tetsui Ohkubo2852b952018-02-23 04:12:0146const char kSystemTrayUnifiedName[] = "New system menu";
47const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5548 "Enable the experimental system menu.";
49
Sathya Gunasekaranbc706d62018-02-09 21:44:2250const char kArrayPrototypeValuesName[] = "Array.prototype.values ES6 method";
51const char kArrayPrototypeValuesDescription[] =
52 "Enables Array.prototype.values method";
53
Khushalba202212017-07-12 19:53:4954const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
55const char kAsyncImageDecodingDescription[] =
56 "Enables asynchronous decoding of images from raster for web content";
57
sebsge35b762c2018-03-29 20:33:2758const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
59const char kAutofillDynamicFormsDescription[] =
60 "Allows autofill to fill dynamically changing forms";
61
Brett Wilsonf27ff602017-07-07 22:28:4762const char kAutoplayPolicyName[] = "Autoplay policy";
63const char kAutoplayPolicyDescription[] =
64 "Policy used when deciding if audio or video is allowed to autoplay.";
65
66const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
67 "User gesture is required for cross-origin iframes.";
68const char kAutoplayPolicyNoUserGestureRequired[] =
69 "No user gesture is required.";
70const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
71const char kAutoplayPolicyDocumentUserActivation[] =
72 "Document user activation is required.";
73
Johanne0cc6902017-11-16 00:23:5074extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
75extern const char kAv1DecoderDescription[] =
76 "Allow decoding of files with the AV1 video codec.";
77
Brett Wilsonf27ff602017-07-07 22:28:4778const char kBackgroundVideoTrackOptimizationName[] =
79 "Optimize background video playback.";
80const char kBackgroundVideoTrackOptimizationDescription[] =
81 "Disable video tracks when the video is played in the background to "
82 "optimize performance.";
83
84const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
85const char kBleAdvertisingInExtensionsDescription[] =
86 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
87 "with regular use of Bluetooth Low Energy features.";
88
Charles Harrisond629cc62017-10-05 01:39:5489const char kBlockTabUndersName[] = "Block tab-unders";
90const char kBlockTabUndersDescription[] =
91 "Blocks tab-unders in Chrome with some native UI to allow the user to "
92 "proceed.";
93
Brett Wilsonf27ff602017-07-07 22:28:4794const char kBrowserTaskSchedulerName[] = "Task Scheduler";
95const char kBrowserTaskSchedulerDescription[] =
96 "Enables redirection of some task posting APIs to the task scheduler.";
97
Carlos IL766fbc882018-02-16 02:34:5298const char kBundledConnectionHelpName[] = "Bundled Connection Help";
99const char kBundledConnectionHelpDescription[] =
100 "Enables or disables redirecting users who get an interstitial when "
101 "accessing https://support.google.com/chrome/answer/6098869 to local "
102 "connection help content.";
103
Brett Wilsonf27ff602017-07-07 22:28:47104const char kBypassAppBannerEngagementChecksName[] =
105 "Bypass user engagement checks";
106const char kBypassAppBannerEngagementChecksDescription[] =
107 "Bypasses user engagement checks for displaying app banners, such as "
108 "requiring that users have visited the site before and that the banner "
109 "hasn't been shown recently. This allows developers to test that other "
110 "eligibility requirements for showing app banners, such as having a "
111 "manifest, are met.";
112
Lucas Garronb9539b732017-10-31 00:22:09113const char kCommittedInterstitialsName[] = "Committed Interstitials";
114const char kCommittedInterstitialsDescription[] =
115 "Use committed error pages instead of transient navigation entries "
116 "for interstitial error pages (e.g. certificate errors).";
117
Brett Wilsonf27ff602017-07-07 22:28:47118const char kCastStreamingHwEncodingName[] =
119 "Cast Streaming hardware video encoding";
120const char kCastStreamingHwEncodingDescription[] =
121 "This option enables support in Cast Streaming for encoding video streams "
122 "using platform hardware.";
123
Amber Won478561d2017-08-19 01:02:59124const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
125const char kClickToOpenPDFDescription[] =
126 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
127 "embedded PDFs.";
128
Gary Kacmarcikfb69b212017-11-14 03:41:08129const char kClipboardContentSettingName[] = "Clipboard content setting";
130const char kClipboardContentSettingDescription[] =
131 "Enables a site-wide permission in the UI which controls access to the "
132 "asynchronous clipboard web API";
133
Brett Wilsonf27ff602017-07-07 22:28:47134const char kCloudImportName[] = "Cloud Import";
135const char kCloudImportDescription[] = "Allows the cloud-import feature.";
136
Christopher Cameronceb8727d2017-09-07 23:53:16137const char kForceColorProfileSRGB[] = "sRGB";
138const char kForceColorProfileP3[] = "Display P3 D65";
139const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
140const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
141
142const char kForceColorProfileName[] = "Force color profile";
143const char kForceColorProfileDescription[] =
144 "Forces Chrome to use a specific color profile instead of the color "
145 "of the window's current monitor, as specified by the operating system.";
146
Brett Wilsonf27ff602017-07-07 22:28:47147const char kCompositedLayerBordersName[] = "Composited render layer borders";
148const char kCompositedLayerBordersDescription[] =
149 "Renders a border around composited Render Layers to help debug and study "
150 "layer compositing.";
151
Theresaf39c1882018-03-21 18:18:07152const char kContextualSuggestionsBottomSheetName[] =
153 "Enable Contextual Suggestions Bottom Sheet";
154const char kContextualSuggestionsBottomSheetDescription[] =
155 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47156
157const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
158const char kCreditCardAssistDescription[] =
159 "Enable assisted credit card filling on certain sites.";
160
161const char kCrossProcessGuestViewIsolationName[] =
162 "Cross process frames for guests";
163const char kCrossProcessGuestViewIsolationDescription[] =
164 "Highly experimental where guests such as <webview> are implemented on "
165 "the out-of-process iframe infrastructure.";
166
Thanh Le659cb102017-12-20 22:00:19167const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
168const char kDataSaverServerPreviewsDescription[] =
169 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47170
171const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
172const char kDatasaverPromptDescription[] =
173 "Enables a prompt, which appears when a cellular network connection is "
174 "detected, to take the user to the Data Saver extension page on Chrome Web "
175 "Store.";
176const char kDatasaverPromptDemoMode[] = "Demo mode";
177
Wez54dc71b2018-04-17 00:42:34178#if DCHECK_IS_CONFIGURABLE
179const char kDcheckIsFatalName[] = "DCHECKs are fatal";
180const char kDcheckIsFatalDescription[] =
181 "By default Chrome will evaluate in this build, but only log failures, "
182 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
183#endif // DCHECK_IS_CONFIGURABLE
184
Brett Wilsonf27ff602017-07-07 22:28:47185const char kDebugPackedAppName[] = "Debugging for packed apps";
186const char kDebugPackedAppDescription[] =
187 "Enables debugging context menu options such as Inspect Element for packed "
188 "applications.";
189
190const char kDefaultTileHeightName[] = "Default tile height";
191const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
192const char kDefaultTileHeightShort[] = "128";
193const char kDefaultTileHeightTall[] = "256";
194const char kDefaultTileHeightGrande[] = "512";
195const char kDefaultTileHeightVenti[] = "1024";
196
197const char kDefaultTileWidthName[] = "Default tile width";
198const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
199const char kDefaultTileWidthShort[] = "128";
200const char kDefaultTileWidthTall[] = "256";
201const char kDefaultTileWidthGrande[] = "512";
202const char kDefaultTileWidthVenti[] = "1024";
203
204const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
205const char kDebugShortcutsDescription[] =
206 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
207
208const char kDeviceDiscoveryNotificationsName[] =
209 "Device Discovery Notifications";
210const char kDeviceDiscoveryNotificationsDescription[] =
211 "Device discovery notifications on local network.";
212
213const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
214const char kDevtoolsExperimentsDescription[] =
215 "Enables Developer Tools experiments. Use Settings panel in Developer "
216 "Tools to toggle individual experiments.";
217
218const char kDisableAudioForDesktopShareName[] =
219 "Disable Audio For Desktop Share";
220const char kDisableAudioForDesktopShareDescription[] =
221 "With this flag on, desktop share picker window will not let the user "
222 "choose whether to share audio.";
223
Chris Palmer917bc052018-03-14 19:28:31224const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
225const char kDisablePushStateThrottleDescription[] =
226 "Disables throttling of history.pushState and history.replaceState method "
227 "calls.";
228
Brett Wilsonf27ff602017-07-07 22:28:47229const char kDisableTabForDesktopShareName[] =
230 "Disable Desktop Share with tab source";
231const char kDisableTabForDesktopShareDescription[] =
232 "This flag controls whether users can choose a tab for desktop share.";
233
234const char kDisallowDocWrittenScriptsUiName[] =
235 "Block scripts loaded via document.write";
236const char kDisallowDocWrittenScriptsUiDescription[] =
237 "Disallows fetches for third-party parser-blocking scripts inserted into "
238 "the main frame via document.write.";
239
Brett Wilsonf27ff602017-07-07 22:28:47240const char kDriveSearchInChromeLauncherName[] =
241 "Drive Search in Chrome App Launcher";
242const char kDriveSearchInChromeLauncherDescription[] =
243 "Files from Drive will show up when searching the Chrome App Launcher.";
244
Gustavo Sacomotofb11164f2017-07-21 12:56:18245const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
246const char kEasyUnlockPromotionsDescription[] =
247 "Enables Smart Lock promotions. Promotions will be periodically display "
248 "if the user is eligible.";
249
Brett Wilsonf27ff602017-07-07 22:28:47250const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
251const char kEmbeddedExtensionOptionsDescription[] =
252 "Display extension options as an embedded element in chrome://extensions "
253 "rather than opening a new tab.";
254
255const char kEnableAsmWasmName[] =
256 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
257const char kEnableAsmWasmDescription[] =
258 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
259 R"*(WebAssembly.)*";
260
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36261const char kEnableWebPaymentsSingleAppUiSkipName[] =
262 "Enable Web Payments single app UI skip";
263const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
264 "Enable Web Payments to skip showing its UI if the developer specifies a "
265 "single app.";
266
Shanfeng Zhang19c16562017-10-17 02:30:40267const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
268 "Credit card autofill ablation experiment.";
269const char kEnableAutofillCreditCardAblationExperimentDescription[] =
270 "If enabled, credit card autofill suggestions will not display.";
271
Jared Saulae93aa12018-03-23 19:04:39272const char kEnableAutofillCreditCardBankNameDisplayName[] =
273 "Display the issuer bank name of a credit card in autofill.";
274const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
275 "If enabled, displays the issuer bank name of a credit card in autofill.";
276
Brett Wilsonf27ff602017-07-07 22:28:47277const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
278 "Display the last used date of a credit card in autofill.";
279const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
280 "If enabled, display the last used date of a credit card in autofill.";
281
282const char kEnableAutofillCreditCardUploadCvcPromptName[] =
283 "Enable requesting missing CVC during Autofill credit card upload";
284const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
285 "If enabled, requests missing CVC when offering to upload credit cards to "
286 "Google Payments.";
287
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37288const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
289 "Enable Google Pay branding when offering credit card upload on Android";
290const char
291 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
292 "If enabled, shows the Google Pay logo and a shorter header message "
293 "when credit card upload to Google Payments is offered on Android.";
294
Jared Saul1e4786a2017-12-14 01:43:09295const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
296 "Always send metadata on detected form values for Autofill credit card "
297 "upload";
298const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
299 "If enabled, always checks with Google Payments when deciding whether to "
300 "offer credit card upload, even if some data is missing.";
301
Jared Saul5c2a1482017-12-09 00:24:31302const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
303 "Send first six digits of PAN when deciding whether to offer Autofill "
304 "credit card upload";
305const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
306 "If enabled, when deciding whether to offer credit card upload to Google "
307 "Payments, sends the first six digits of the card number to avoid cases "
308 "where card upload is likely to fail.";
309
tmartinocd414732018-02-12 19:01:01310const char kEnableAutofillNativeDropdownViewsName[] =
311 "Display Autofill Dropdown Using Views";
312const char kEnableAutofillNativeDropdownViewsDescription[] =
313 "If enabled, the Autofill Dropdown will be built natively using Views, "
314 "rather than painted directly to a canvas.";
315
Vitalii Iarko4f9834ce2017-08-04 07:05:19316const char kEnableBreakingNewsPushName[] = "Breaking News Push";
317const char kEnableBreakingNewsPushDescription[] =
318 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
319 "through Google Cloud Messaging.";
320
Brett Wilsonf27ff602017-07-07 22:28:47321const char kEnableBrotliName[] = "Brotli Content-Encoding.";
322const char kEnableBrotliDescription[] =
323 "Enable Brotli Content-Encoding support.";
324
Qiang Xu0f602fe62017-12-22 01:31:20325const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
326const char kEnableCaptivePortalRandomUrlDescription[] =
327 "Enable Captive Portal URL randomization.";
328
sclittle50e4bb92017-07-08 02:23:03329const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
330
331const char kEnableClientLoFiDescription[] =
332 "Enable showing low fidelity images on some pages on slow networks.";
333
David Reveman87b4b692018-03-09 21:22:22334const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
335const char kEnableCursorMotionBlurDescription[] =
336 "Enable motion blur effect for the cursor.";
337
Doug Arnett08b4067b2017-10-12 20:14:44338const char kEnableNoScriptPreviewsName[] = "NoScript previews";
339
340const char kEnableNoScriptPreviewsDescription[] =
341 "Enable disabling JavaScript on some pages on slow networks.";
342
Thanh Le2c279fbc2017-11-21 01:25:40343const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
344const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
345const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
346const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
347const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
348const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
349const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
350const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
351const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
352const char kDataReductionProxyServerAlternative10[] =
353 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47354const char kEnableDataReductionProxyServerExperimentName[] =
355 "Use an alternative Data Saver back end configuration.";
356const char kEnableDataReductionProxyServerExperimentDescription[] =
357 "Enable a different approach to saving data by configuring the back end "
358 "server";
359
360const char kEnableDataReductionProxySavingsPromoName[] =
361 "Data Saver 1 MB Savings Promo";
362const char kEnableDataReductionProxySavingsPromoDescription[] =
363 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
364 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
365 "enabled for the promo to be shown.";
366
Matt Giucad4870432017-11-24 01:04:38367const char kEnableDesktopPWAsName[] = "Desktop PWAs";
368const char kEnableDesktopPWAsDescription[] =
369 "Experimental windowing and install banner treatment for Progressive Web "
370 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17371
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59372const char kEnableDesktopPWAsLinkCapturingName[] =
373 "Desktop PWAs Link Capturing";
374const char kEnableDesktopPWAsLinkCapturingDescription[] =
375 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
376 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
377 "#enable-desktop-pwas.";
378
Ahmed Fakhry0037de02018-01-29 19:58:31379const char kEnableDockedMagnifierName[] = "Docked Magnifier";
380const char kEnableDockedMagnifierDescription[] =
381 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
382
Ramya Nagarajan5b41d8d2018-04-02 19:53:02383const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
384const char kEnableEmojiContextMenuDescription[] =
385 "Enables the Emoji picker item in context menus for editable text areas.";
386
Brett Wilsonf27ff602017-07-07 22:28:47387const char kEnableEnumeratingAudioDevicesName[] =
388 "Experimentally enable enumerating audio devices.";
389const char kEnableEnumeratingAudioDevicesDescription[] =
390 "Experimentally enable the use of enumerating audio devices.";
391
392const char kEnableGenericSensorName[] = "Generic Sensor";
393const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25394 "Enables motion sensor classes based on Generic Sensor API, i.e. "
395 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
396 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
397
398const char kEnableGenericSensorExtraClassesName[] =
399 "Generic Sensor Extra Classes";
400const char kEnableGenericSensorExtraClassesDescription[] =
401 "Enables an extra set of sensor classes based on Generic Sensor API, which "
402 "expose previously unavailable platform features, i.e. AmbientLightSensor "
403 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47404
Brett Wilsonf27ff602017-07-07 22:28:47405const char kEnableHDRName[] = "HDR mode";
406const char kEnableHDRDescription[] =
407 "Enables HDR support on compatible displays.";
408
Erik Chen6cf9e9e2018-03-27 23:04:31409const char kEnableHeapProfilingName[] = "Heap profiling";
410const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
411const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
412const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
413const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
414
Brett Wilsonf27ff602017-07-07 22:28:47415const char kEnableHttpFormWarningName[] =
416 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15417 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47418const char kEnableHttpFormWarningDescription[] =
419 "Attaches a warning UI to any password or credit card fields detected when "
420 "the top-level page is not HTTPS";
421
Scott Littled0fd2d002018-04-13 03:37:26422const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
423const char kEnableLazyFrameLoadingDescription[] =
424 "Defers the loading of certain cross-origin frames until the page is "
425 "scrolled down near them.";
426
Sidney San Martín9375b892017-09-09 00:29:54427const char kEnableMacMaterialDesignDownloadShelfName[] =
428 "Enable Material Design download shelf";
429
430const char kEnableMacMaterialDesignDownloadShelfDescription[] =
431 "If enabled, the download shelf uses Material Design.";
432
Tatiana Gornakafb40452017-07-31 13:50:04433const char kEnableManualFallbacksFillingName[] =
434 "Manual fallbacks for password manager forms filling";
435const char kEnableManualFallbacksFillingDescription[] =
436 "If enabled, then if user clicks on the password field on a form, popup "
437 "might contain generation fallbacks or 'Show all saved passwords' "
438 "fallback.";
439
vabr0215a8e2017-03-28 12:47:34440const char kEnableMaterialDesignBookmarksName[] =
441 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34442const char kEnableMaterialDesignBookmarksDescription[] =
443 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
444 "bookmarks page.";
445
vabr0215a8e2017-03-28 12:47:34446const char kEnableMaterialDesignExtensionsName[] =
447 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34448const char kEnableMaterialDesignExtensionsDescription[] =
449 "If enabled, the chrome://extensions/ URL loads the Material Design "
450 "extensions page.";
451
Anton Urusov47cd4932017-09-19 14:41:41452const char kEnablePolicyToolName[] = "Enable policy management page";
453const char kEnablePolicyToolDescription[] =
454 "If enabled, the chrome://policy-tool URL loads a page for managing "
455 "policies.";
456
Tsuyoshi Horoea7edb72017-11-12 04:14:00457const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
458const char kEnablePWAFullCodeCacheDescription[] =
459 "Generate V8 code cache in Cache Storage while installing Service Worker "
460 "for PWAs.";
461
Weidong Guof1e5a892018-01-06 02:26:39462const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28463 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39464const char kDisableMultiMirroringDescription[] =
465 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28466
Brett Wilsonf27ff602017-07-07 22:28:47467const char kEnableNavigationTracingName[] = "Enable navigation tracing";
468const char kEnableNavigationTracingDescription[] =
469 "This is to be used in conjunction with the trace-upload-url flag. "
470 "WARNING: When enabled, Chrome will record performance data for every "
471 "navigation and upload it to the URL specified by the trace-upload-url "
472 "flag. The trace may include personally identifiable information (PII) "
473 "such as the titles and URLs of websites you visit.";
474
Bernhard Bauer5533f9912017-11-06 17:56:02475const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
476const char kEnableNetworkLoggingToFileDescription[] =
477 "Enables network logging to a file named netlog.json in the user data "
478 "directory. The file can be imported into chrome://net-internals.";
479
Brett Wilsonf27ff602017-07-07 22:28:47480const char kEnableNetworkServiceName[] = "Enable network service";
481const char kEnableNetworkServiceDescription[] =
482 "Enables the network service, which makes network requests through a "
483 "separate service. Note: most features don't work with this yet.";
484
John Abd-El-Malek8067cc02017-12-04 23:23:20485const char kEnableNetworkServiceInProcessName[] =
486 "Runs network service in-process";
487const char kEnableNetworkServiceInProcessDescription[] =
488 "Runs the network service in the browser process.";
489
dpapaded8349472017-10-25 03:21:27490const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
491const char kEnableNewPrintPreviewDescription[] =
492 "If enabled, Print Preview will display a newer UI";
493
Ahmed Fakhry2fd8fc82017-07-28 16:31:12494const char kEnableNightLightName[] = "Enable Night Light";
495const char kEnableNightLightDescription[] =
496 "Enable the Night Light feature which controls the color temperature of "
497 "the screen.";
498
xlou8b56f672018-02-09 23:34:30499const char kEnableNupPrintingName[] = "Enable N-up printing";
500const char kEnableNupPrintingDescription[] =
501 "Enable N-up printing in the print preview panel.";
502
Sophie Chang117a3b22017-10-24 22:25:36503const char kEnableOptimizationHintsName[] = "Optimization Hints";
504const char kEnableOptimizationHintsDescription[] =
505 "Enable the Optimization Hints feature which incorporates server hints"
506 "into decisions for what optimizations to perform on some pages on slow "
507 "networks.";
508
Yutaka Hirano98be3272017-08-07 17:55:39509const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
510const char kEnableOutOfBlinkCORSDescription[] =
511 "CORS handling logic is moved out of blink.";
512
kylechar7051c092018-02-05 20:31:39513const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
514const char kVizDisplayCompositorDescription[] =
515 "If enabled, the display compositor runs as part of the viz service in the"
516 "GPU process.";
517
Ria Jiang6a129b982018-03-01 18:30:40518const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
519const char kVizHitTestDrawQuadDescription[] =
520 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
521 "with hit-test data computed from the CompositorFrame.";
522
Erik Chen49bbfa22017-08-18 08:49:56523const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23524 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56525const char kEnableOutOfProcessHeapProfilingDescription[] =
526 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19527 "malloced objects. Heap dumps can be obtained at chrome://tracing "
528 "[category:memory-infra] and chrome://memory-internals. This setting "
529 "controls which processes are profiled. As long as this setting is not "
530 "disabled, users can start profiling any given process in "
531 "chrome://memory-internals.";
532const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
533const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
534const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
535const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
536const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10537const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19538 "None by default. Visit chrome://memory-internals to choose which "
539 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15540const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
541 "Profile a random sampling of renderer processes, ensuring only one is "
542 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19543
Erik Chen8bb76b52017-12-06 19:06:25544const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19545 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25546const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
547 "By default, small allocations are pruned from the heap dump. This reduces "
548 "the size of the compressed trace by 100x. If pruning is disabled, the "
549 "chrome://tracing UI may be unable to take or load the trace. Save the "
550 "trace directly using chrome://memory-internals, and use other mechanisms "
551 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
552 "automatically uploaded traces will always be pruned. This only affects "
553 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56554
erikchen8bc20d82018-02-14 03:21:51555const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
556const char kOutOfProcessHeapProfilingSamplingDescription[] =
557 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22558 "10000. This results in low noise for large and/or frequent allocations ["
559 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
560 "total size of malloc-ed objects] and large and/or frequent allocations "
561 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51562
Erik Chen3303fd0232018-01-11 20:29:05563const char kOOPHPStackModeName[] =
564 "The type of stack to record for memlog heap dumps";
565const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19566 "By default, memlog heap dumps record native stacks, which requires a "
567 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55568 "pointers to work on Android. Native with thread names will add the thread "
569 "name as the first frame of each native stack. It's also possible to "
570 "record a pseudo stack using trace events as identifiers. It's also "
571 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19572const char kOOPHPStackModeMixed[] = "Mixed";
573const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55574const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19575const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05576
François Beaufort2e75f492018-02-08 20:44:46577const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47578const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46579 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47580
F#m59d036e2017-09-13 07:22:17581const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
582const char kEnablePixelCanvasRecordingDescription[] =
583 "Pixel canvas recording allows the compositor to raster contents aligned "
584 "with the pixel and improves text rendering. This should be enabled when a "
585 "device is using fractional scale factor.";
586
Brett Wilsonf27ff602017-07-07 22:28:47587const char kEnableTokenBindingName[] = "Token Binding.";
588const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
589
Sahel Sharifyd732ab12017-11-29 23:03:16590extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
591 "Wheel Scroll Latching.";
592extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
593 "Wheel scroll latching enforces latching to a single element for the "
594 "duration of a scroll sequence.";
595
Brett Wilsonf27ff602017-07-07 22:28:47596const char kEnableUseZoomForDsfName[] =
597 "Use Blink's zoom for device scale factor.";
598const char kEnableUseZoomForDsfDescription[] =
599 "If enabled, Blink uses its zooming mechanism to scale content for device "
600 "scale factor.";
601const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
602const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
603const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
604
605const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
606const char kEnableScrollAnchoringDescription[] =
607 "Adjusts scroll position to prevent visible jumps when offscreen content "
608 "changes.";
609
Patrick Noland8ee016e2018-01-24 11:44:53610const char kEnableScrollAnchorSerializationName[] =
611 "Scroll Anchor Serialization";
612const char kEnableScrollAnchorSerializationDescription[] =
613 "Save the scroll anchor and use it to restore the scroll position when "
614 "navigating.";
615
Brad Nelson5cd500e2018-01-04 00:50:19616const char kEnableSharedArrayBufferName[] =
617 "Experimental enabled SharedArrayBuffer support in JavaScript.";
618const char kEnableSharedArrayBufferDescription[] =
619 "Enable SharedArrayBuffer support in JavaScript.";
620
Brett Wilsonf27ff602017-07-07 22:28:47621const char kEnableWasmName[] = "WebAssembly structured cloning support.";
622const char kEnableWasmDescription[] =
623 "Enable web pages to use WebAssembly structured cloning.";
624
Brett Wilsonf27ff602017-07-07 22:28:47625const char kEnableImageCaptureAPIName[] = "Image Capture API";
626const char kEnableImageCaptureAPIDescription[] =
627 "Enables the Web Platform Image Capture API: takePhoto(), "
628 "getPhotoCapabilities(), etc.";
629
630const char kEnableZeroSuggestRedirectToChromeName[] =
631 "Experimental contextual omnibox suggestion";
632const char kEnableZeroSuggestRedirectToChromeDescription[] =
633 "Change omnibox contextual suggestions to an experimental source. Note "
634 "that this is not an on/off switch for contextual omnibox and it only "
635 "applies to suggestions provided before the user starts typing a URL or a "
636 "search query (i.e. zero suggest).";
637
638const char kEnableWasmStreamingName[] =
639 "WebAssembly streaming compile/instantiate support.";
640const char kEnableWasmStreamingDescription[] =
641 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
642
Brett Wilsonf27ff602017-07-07 22:28:47643const char kExpensiveBackgroundTimerThrottlingName[] =
644 "Throttle expensive background timers";
645const char kExpensiveBackgroundTimerThrottlingDescription[] =
646 "Enables intervention to limit CPU usage of background timers to 1%.";
647
648const char kExperimentalAppBannersName[] = "Experimental app banners";
649const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38650 "Enables a new experimental app banner flow and UI. Implies "
651 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47652
653const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
654const char kExperimentalCanvasFeaturesDescription[] =
655 "Enables the use of experimental canvas features which are still in "
656 "development.";
657
Nicholas Verneccd8259802018-02-22 01:22:04658const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
659const char kExperimentalCrostiniUIDescription[] =
660 "Enables in-development Crostini features.";
661
Brett Wilsonf27ff602017-07-07 22:28:47662const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
663const char kExperimentalExtensionApisDescription[] =
664 "Enables experimental extension APIs. Note that the extension gallery "
665 "doesn't allow you to upload extensions that use experimental APIs.";
666
667const char kExperimentalFullscreenExitUIName[] =
668 "Experimental fullscreen exit UI";
669const char kExperimentalFullscreenExitUIDescription[] =
670 "Displays experimental UI to allow mouse and touch input methods to exit "
671 "fullscreen mode.";
672
Brett Wilsonf27ff602017-07-07 22:28:47673const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
674const char kExperimentalKeyboardLockUiDescription[] =
675 "An experimental full screen with keyboard lock mode requiring users to "
676 "hold Esc to exit.";
677
678const char kExperimentalSecurityFeaturesName[] =
679 "Potentially annoying security features";
680const char kExperimentalSecurityFeaturesDescription[] =
681 "Enables several security features that will likely break one or more "
682 "pages that you visit on a daily basis. Strict mixed content checking, for "
683 "example. And locking powerful features to secure contexts. This flag will "
684 "probably annoy you.";
685
686const char kExperimentalWebPlatformFeaturesName[] =
687 "Experimental Web Platform features";
688const char kExperimentalWebPlatformFeaturesDescription[] =
689 "Enables experimental Web Platform features that are in development.";
690
691const char kExtensionContentVerificationName[] =
692 "Extension Content Verification";
693const char kExtensionContentVerificationDescription[] =
694 "This flag can be used to turn on verification that the contents of the "
695 "files on disk for extensions from the webstore match what they're "
696 "expected to be. This can be used to turn on this feature if it would not "
697 "otherwise have been turned on, but cannot be used to turn it off (because "
698 "this setting can be tampered with by malware).";
699const char kExtensionContentVerificationBootstrap[] =
700 "Bootstrap (get expected hashes, but do not enforce them)";
701const char kExtensionContentVerificationEnforce[] =
702 "Enforce (try to get hashes, and enforce them if successful)";
703const char kExtensionContentVerificationEnforceStrict[] =
704 "Enforce strict (hard fail if we can't get hashes)";
705
706const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
707const char kExtensionsOnChromeUrlsDescription[] =
708 "Enables running extensions on chrome:// URLs, where extensions explicitly "
709 "request this permission.";
galinapae72e152017-05-12 13:12:28710
Brett Wilsonecb80982017-07-12 20:34:51711const char kFastUnloadName[] = "Fast tab/window close";
712const char kFastUnloadDescription[] =
713 "Enables fast tab/window closing - runs a tab's onunload js handler "
714 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34715
Brett Wilsonecb80982017-07-12 20:34:51716const char kFeaturePolicyName[] = "Feature Policy";
717const char kFeaturePolicyDescription[] =
718 "Enables granting and removing access to features through the "
719 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34720
Brett Wilsonecb80982017-07-12 20:34:51721const char kFontCacheScalingName[] = "FontCache scaling";
722const char kFontCacheScalingDescription[] =
723 "Reuse a cached font in the renderer to serve different sizes of font for "
724 "faster layout.";
725
726const char kForceEffectiveConnectionTypeName[] =
727 "Override effective connection type";
728const char kForceEffectiveConnectionTypeDescription[] =
729 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30730 "returned by the network quality estimator. Slow 2G on Cellular returns "
731 "Slow 2G when connected to a cellular network, and the actual estimate "
732 "effective connection type when not on a cellular network. Previews are "
733 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51734const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
735const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
736const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30737const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
738 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51739const char kEffectiveConnectionType2GDescription[] = "2G";
740const char kEffectiveConnectionType3GDescription[] = "3G";
741const char kEffectiveConnectionType4GDescription[] = "4G";
742
743const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
744const char kFillOnAccountSelectDescription[] =
745 "Filling of passwords when an account is explicitly selected by the user "
746 "rather than autofilling credentials on page load.";
747
Brett Wilsonecb80982017-07-12 20:34:51748const char kForceTextDirectionName[] = "Force text direction";
749const char kForceTextDirectionDescription[] =
750 "Explicitly force the per-character directionality of UI text to "
751 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
752 "direction of the character language.";
753const char kForceDirectionLtr[] = "Left-to-right";
754const char kForceDirectionRtl[] = "Right-to-left";
755
756const char kForceUiDirectionName[] = "Force UI direction";
757const char kForceUiDirectionDescription[] =
758 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
759 "mode, overriding the default direction of the UI language.";
760
761const char kFramebustingName[] =
762 "Framebusting requires same-origin or a user gesture";
763const char kFramebustingDescription[] =
764 "Don't permit an iframe to navigate the top level browsing context unless "
765 "they are same-origin or the iframe is processing a user gesture.";
766
767const char kGamepadExtensionsName[] = "Gamepad Extensions";
768const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22769 "Enables experimental extensions to the Gamepad APIs.";
Brett Wilsonecb80982017-07-12 20:34:51770
Brett Wilsonecb80982017-07-12 20:34:51771const char kGpuRasterizationMsaaSampleCountName[] =
772 "GPU rasterization MSAA sample count.";
773const char kGpuRasterizationMsaaSampleCountDescription[] =
774 "Specify the number of MSAA samples for GPU rasterization.";
775const char kGpuRasterizationMsaaSampleCountZero[] = "0";
776const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
777const char kGpuRasterizationMsaaSampleCountFour[] = "4";
778const char kGpuRasterizationMsaaSampleCountEight[] = "8";
779const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
780
781const char kGpuRasterizationName[] = "GPU rasterization";
782const char kGpuRasterizationDescription[] =
783 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28784const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51785
786const char kGoogleProfileInfoName[] = "Google profile name and icon";
787const char kGoogleProfileInfoDescription[] =
788 "Enables using Google information to populate the profile name and icon in "
789 "the avatar menu.";
790
791const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
792const char kHarfbuzzRendertextDescription[] =
793 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
794 "web content.";
795
Takumi Fujimotofb71e332018-03-31 14:04:08796const char kViewsCastDialogName[] = "Views Cast dialog";
797const char kViewsCastDialogDescription[] =
798 "Replace the WebUI Cast dialog with a Views toolkit dialog.";
799
Manu Cornet4a908de2018-04-09 04:32:27800const char kHideActiveAppsFromShelfName[] =
801 "Hide running apps (that are not pinned) from the shelf";
802const char kHideActiveAppsFromShelfDescription[] =
803 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25804
Brett Wilsonecb80982017-07-12 20:34:51805const char kHistoryRequiresUserGestureName[] =
806 "New history entries require a user gesture.";
807const char kHistoryRequiresUserGestureDescription[] =
808 "Require a user gesture to add a history entry.";
809const char kHyperlinkAuditingName[] = "Hyperlink auditing";
810const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
811
Ryan Landay4242dbc22018-04-04 01:47:33812const char kHorizontalTabSwitcherAndroidName[] =
813 "Enable horizontal tab switcher";
814const char kHorizontalTabSwitcherAndroidDescription[] =
815 "Changes the layout of the Android tab switcher so tabs scroll "
816 "horizontally instead of vertically.";
817
Brett Wilsonecb80982017-07-12 20:34:51818const char kHostedAppQuitNotificationName[] =
819 "Quit notification for hosted apps";
820const char kHostedAppQuitNotificationDescription[] =
821 "Display a notification when quitting Chrome if hosted apps are currently "
822 "running.";
823
824const char kHostedAppShimCreationName[] =
825 "Creation of app shims for hosted apps on Mac";
826const char kHostedAppShimCreationDescription[] =
827 "Create app shims on Mac when creating a hosted app.";
828
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48829const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
830const char kHtmlBasedUsernameDetectorDescription[] =
831 "Use HTML-based username detector for the password manager.";
832
Brett Wilsonecb80982017-07-12 20:34:51833const char kIconNtpName[] = "Large icons on the New Tab page";
834const char kIconNtpDescription[] =
835 "Enable the experimental New Tab page using large icons.";
836
837const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
838const char kIgnoreGpuBlacklistDescription[] =
839 "Overrides the built-in software rendering list and enables "
840 "GPU-acceleration on unsupported system configurations.";
841
Thanh Le5f090efa52017-12-27 22:39:44842const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
843const char kIgnorePreviewsBlacklistDescription[] =
844 "Ignore decisions made by the PreviewsBlackList";
845
Brett Wilsonecb80982017-07-12 20:34:51846const char kImportantSitesInCbdName[] =
847 "Important sites options in clear browsing data dialog";
848const char kImportantSitesInCbdDescription[] =
849 "Include the option to whitelist important sites in the clear browsing "
850 "data dialog.";
851
Claudio Magni61c210922017-12-28 00:29:51852const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
853const char kImprovedLanguageSettingsDescription[] =
854 "Set of changes for Language Settings. These changes are intended to fix "
855 "the major bugs related to Language Settings.";
856
Brett Wilsonecb80982017-07-12 20:34:51857const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
858const char kInProductHelpDemoModeChoiceDescription[] =
859 "Selects the In-Product Help demo mode.";
860
861const char kJavascriptHarmonyName[] = "Experimental JavaScript";
862const char kJavascriptHarmonyDescription[] =
863 "Enable web pages to use experimental JavaScript features.";
864
865const char kJavascriptHarmonyShippingName[] =
866 "Latest stable JavaScript features";
867const char kJavascriptHarmonyShippingDescription[] =
868 "Some web pages use legacy or non-standard JavaScript extensions that may "
869 "conflict with the latest JavaScript features. This flag allows disabling "
870 "support of those features for compatibility with such pages.";
871
Yutaka Hiranof7f2f632017-09-06 10:40:08872const char kKeepAliveRendererForKeepaliveRequestsName[] =
873 "Keep a renderer alive for keepalive fetch requests";
874const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
875 "Keep a render process alive when the process has a pending fetch request "
876 "with `keepalive' specified.";
877
Joe Downing095fd6d2018-02-01 18:40:36878const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
879const char kKeyboardLockApiDescription[] =
880 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
881 "specific key events and have them routed directly to the webpage when in "
882 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
883
Brett Wilsonecb80982017-07-12 20:34:51884const char kLcdTextName[] = "LCD text antialiasing";
885const char kLcdTextDescription[] =
886 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
887 "(subpixel) when doing accelerated compositing.";
888
Matt Giucac399982f2017-10-06 07:51:29889const char kLeftToRightUrlsName[] =
890 "Render bidirectional URLs from left to right";
891const char kLeftToRightUrlsDescription[] =
892 "An experimental Bidi URL rendering algorithm where the URL components are "
893 "always shown in order from left to right, regardless of any RTL "
894 "characters. (The contents of each component are still rendered with the "
895 "normal Bidi algorithm.)";
896
Brett Wilsonecb80982017-07-12 20:34:51897const char kLoadMediaRouterComponentExtensionName[] =
898 "Load Media Router Component Extension";
899const char kLoadMediaRouterComponentExtensionDescription[] =
900 "Loads the Media Router component extension at startup.";
901
spqchanb87755692018-04-05 00:46:09902const char kMacViewsAutofillPopupName[] =
903 "Uses the Views Autofill Popup on Mac";
904const char kMacViewsAutofillPopupDescription[] =
905 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:32906
Brett Wilsonecb80982017-07-12 20:34:51907const char kManualPasswordGenerationName[] = "Manual password generation.";
908const char kManualPasswordGenerationDescription[] =
909 "Show a 'Generate Password' option on the context menu for all password "
910 "fields.";
911
912const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
913const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51914
Lei Zhang2eca9082017-10-17 20:42:50915const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
916const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51917 "If enabled, the Incognito New Tab page uses the new material design with "
918 "a better readable text.";
919
920const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
921const char kMediaRemotingDescription[] =
922 "When Casting a tab to a remote device, enabling this turns on an "
923 "optimization that forwards the content bitstream directly to the remote "
924 "device when a video is fullscreened.";
925
spqchanb87755692018-04-05 00:46:09926const char kMediaRouterCastAllowAllIPsName[] =
927 "Connect to Cast devices on all IP addresses";
928const char kMediaRouterCastAllowAllIPsDescription[] =
929 "Have the Media Router connect to Cast devices on all IP addresses, not "
930 "just RFC1918/RFC4913 private addresses.";
931
Brett Wilsonecb80982017-07-12 20:34:51932const char kMemoryAblationName[] = "Memory ablation experiment";
933const char kMemoryAblationDescription[] =
934 "Allocates extra memory in the browser process.";
935
936const char kMemoryCoordinatorName[] = "Memory coordinator";
937const char kMemoryCoordinatorDescription[] =
938 "Enable memory coordinator instead of memory pressure listeners.";
939
940const char kMessageCenterNewStyleNotificationName[] = "New style notification";
941const char kMessageCenterNewStyleNotificationDescription[] =
942 "Enables the experiment style of material-design notification";
943
Brett Wilsonecb80982017-07-12 20:34:51944const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
945const char kMhtmlGeneratorOptionDescription[] =
946 "Provides experimental options for MHTML file generator.";
947const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
948const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
949
Kouhei Ueno08445c22017-09-05 03:58:30950const char kModuleScriptsDynamicImportName[] =
951 "Enable ECMAScript 6 modules dynamic import";
952const char kModuleScriptsDynamicImportDescription[] =
953 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
954 "Blink.";
955
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05956const char kModuleScriptsImportMetaUrlName[] =
957 "Enable ECMAScript 6 modules import.meta.url";
958const char kModuleScriptsImportMetaUrlDescription[] =
959 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
960 "Blink.";
961
Brett Wilsonecb80982017-07-12 20:34:51962const char kNewAudioRenderingMixingStrategyName[] =
963 "New audio rendering mixing strategy";
964const char kNewAudioRenderingMixingStrategyDescription[] =
965 "Use the new audio rendering mixing strategy.";
966
967const char kNewBookmarkAppsName[] = "The new bookmark app system";
968const char kNewBookmarkAppsDescription[] =
969 "Enables the new system for creating bookmark apps.";
970
Vadym Doroshenkof81e8bb2018-04-18 14:35:24971const char kNewPasswordFormParsingName[] = "New password form parsing";
972const char kNewPasswordFormParsingDescription[] =
973 "Replaces existing form parsing in password manager with a new version, "
974 "currently under development. WARNING: when enabled Password Manager might "
975 "stop working";
976
Brett Wilsonecb80982017-07-12 20:34:51977const char kNewRemotePlaybackPipelineName[] =
978 "Enable the new remote playback pipeline.";
979const char kNewRemotePlaybackPipelineDescription[] =
980 "Enable the new pipeline for playing media element remotely via "
981 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50982const char kUseSurfaceLayerForVideoName[] =
983 "Enable the use of SurfaceLayer objects for videos.";
984const char kUseSurfaceLayerForVideoDescription[] =
985 "Enable compositing onto a Surface instead of a VideoLayer "
986 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51987
988const char kNewUsbBackendName[] = "Enable new USB backend";
989const char kNewUsbBackendDescription[] =
990 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34991
Sonny Sasaka2d200432018-03-22 17:43:16992const char kNewblueName[] = "Newblue";
993const char kNewblueDescription[] =
994 "Enables the use of newblue Bluetooth daemon.";
995
brettw5f9c1642017-05-14 17:12:48996const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34997const char kNostatePrefetchDescription[] =
998 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
999 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
1000 R"*(improve load times even more. "Simple Load" does nothing and is )*"
1001 R"*(similar to disabling the feature, but collects more metrics for )*"
1002 R"*(comparison purposes.)*";
1003
Brett Wilsonecb80982017-07-12 20:34:511004const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1005const char kNotificationsNativeFlagDescription[] =
1006 "Enable support for using the native notification toasts and notification "
1007 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341008
Zentaro Kavanaghbad511c2017-10-18 22:29:001009#if defined(OS_POSIX)
1010const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1011const char kNtlmV2EnabledDescription[] =
1012 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1013#endif
1014
Brett Wilsonecb80982017-07-12 20:34:511015const char kNumRasterThreadsName[] = "Number of raster threads";
1016const char kNumRasterThreadsDescription[] =
1017 "Specify the number of raster threads.";
1018const char kNumRasterThreadsOne[] = "1";
1019const char kNumRasterThreadsTwo[] = "2";
1020const char kNumRasterThreadsThree[] = "3";
1021const char kNumRasterThreadsFour[] = "4";
1022
1023const char kOfferStoreUnmaskedWalletCardsName[] =
1024 "Google Payments card saving checkbox";
1025const char kOfferStoreUnmaskedWalletCardsDescription[] =
1026 "Show the checkbox to offer local saving of a credit card downloaded from "
1027 "the server.";
1028
1029const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1030const char kOfflineAutoReloadDescription[] =
1031 "Pages that fail to load while the browser is offline will be "
1032 "auto-reloaded when the browser is online again.";
1033
1034const char kOfflineAutoReloadVisibleOnlyName[] =
1035 "Only Auto-Reload Visible Tabs";
1036const char kOfflineAutoReloadVisibleOnlyDescription[] =
1037 "Pages that fail to load while the browser is offline will only be "
1038 "auto-reloaded if their tab is visible.";
1039
Brett Wilsonecb80982017-07-12 20:34:511040const char kOmniboxDisplayTitleForCurrentUrlName[] =
1041 "Include title for the current URL in the omnibox";
1042const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1043 "In the event that the omnibox provides suggestions on-focus, the URL of "
1044 "the current page is provided as the first suggestion without a title. "
1045 "Enabling this flag causes the title to be displayed.";
1046
Benoit Lizeab08362c2017-07-19 14:50:541047const char kOmniboxSpareRendererName[] =
1048 "Start spare renderer on omnibox focus";
1049const char kOmniboxSpareRendererDescription[] =
1050 "When the omnibox is focused, start an empty spare renderer. This can "
1051 "speed up the load of the navigation from the omnibox.";
1052
Tommy C. Li8875a442017-08-23 00:10:591053const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1054 "Omnibox UI Elide Suggestion URL After Host";
1055const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1056 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1057 "dropdown.";
1058
Tommy C. Lid79d4402017-12-22 22:49:121059const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1060 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1061const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1062 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1063 "displayed URLs. Hidden portions are restored during editing.";
1064
Brett Wilsonecb80982017-07-12 20:34:511065const char kOmniboxUIMaxAutocompleteMatchesName[] =
1066 "Omnibox UI Max Autocomplete Matches";
1067
1068const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1069 "Changes the maximum number of autocomplete matches displayed in the "
1070 "Omnibox UI.";
1071
1072const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
1073const char kOmniboxUINarrowDropdownDescription[] =
1074 "Makes the suggestions dropdown width match the omnibox width.";
1075
Justin Donnelly65c9e8b2017-10-01 05:15:011076const char kOmniboxUIShowSuggestionFaviconsName[] =
1077 "Omnibox UI Show Suggestion Favicons";
1078const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1079 "Shows favicons instead of generic vector icons for URL suggestions in the "
1080 "Omnibox dropdown.";
1081
1082const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1083const char kOmniboxUISwapTitleAndUrlDescription[] =
1084 "In the omnibox dropdown, shows titles before URLs when both are "
1085 "available.";
1086
Brett Wilsonecb80982017-07-12 20:34:511087const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
1088const char kOmniboxUIVerticalLayoutDescription[] =
1089 "Displays Omnibox sugestions in 2 lines - title over origin.";
1090
1091const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1092const char kOmniboxUIVerticalMarginDescription[] =
1093 "Changes the vertical margin in the Omnibox UI.";
1094
Troy Hildebrandtb32637ca2018-02-21 23:25:091095const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1096 "Omnibox Voice Search Always Visible";
1097const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1098 "Always displays voice search icon in focused omnibox as long as voice "
1099 "search is possible";
1100
Brett Wilsonecb80982017-07-12 20:34:511101const char kOriginTrialsName[] = "Origin Trials";
1102const char kOriginTrialsDescription[] =
1103 "Enables origin trials for controlling access to feature/API experiments.";
1104
Becca Hughes930d8cd2017-10-02 11:09:121105const char kOverflowIconsForMediaControlsName[] =
1106 "Icons on Media Controls Overflow Menu";
1107const char kOverflowIconsForMediaControlsDescription[] =
1108 "Displays icons on the overflow menu of the native media controls";
1109
Brett Wilsonecb80982017-07-12 20:34:511110const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1111const char kOverlayScrollbarsDescription[] =
1112 "Enable the experimental overlay scrollbars implementation. You must also "
1113 "enable threaded compositing to have the scrollbars animate.";
1114
chaopenge8aa016b2017-08-24 15:20:191115const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1116 "Flash Overlay Scrollbars After Any Scroll Update";
1117const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1118 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1119 " must also enable Overlay Scrollbars.";
1120
chaopeng343678022017-08-24 18:45:001121const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1122 "Flash Overlay Scrollbars When Mouse Enter";
1123const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1124 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1125 " enable Overlay Scrollbars.";
1126
Claudio Magni81326f92017-09-01 05:21:181127const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1128const char kUseNewAcceptLanguageHeaderDescription[] =
1129 "Adds the base language code after other corresponding language+region "
1130 "codes. This ensures that users receive content in their preferred "
1131 "language.";
1132
Brett Wilsonecb80982017-07-12 20:34:511133const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1134const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481135 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511136const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481137const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511138
1139const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1140const char kOverscrollStartThresholdDescription[] =
1141 "Changes overscroll start threshold relative to the default value.";
1142const char kOverscrollStartThreshold133Percent[] = "133%";
1143const char kOverscrollStartThreshold166Percent[] = "166%";
1144const char kOverscrollStartThreshold200Percent[] = "200%";
1145
Xing Liu5400a002017-09-15 21:48:291146const char kParallelDownloadingName[] = "Parallel downloading";
1147const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061148 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291149
Brett Wilsonecb80982017-07-12 20:34:511150const char kPassiveEventListenerDefaultName[] =
1151 "Passive Event Listener Override";
1152const char kPassiveEventListenerDefaultDescription[] =
1153 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1154 "haven't requested otherwise) to be treated as passive. This will break "
1155 "touch/wheel behavior on some websites but is useful for demonstrating the "
1156 "potential performance benefits of adopting passive event listeners.";
1157const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1158const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1159
1160const char kPassiveEventListenersDueToFlingName[] =
1161 "Touch Event Listeners Passive Default During Fling";
1162const char kPassiveEventListenersDueToFlingDescription[] =
1163 "Forces touchstart, and first touchmove per scroll event listeners during "
1164 "fling to be treated as passive.";
1165
1166const char kPassiveDocumentEventListenersName[] =
1167 "Document Level Event Listeners Passive Default";
1168const char kPassiveDocumentEventListenersDescription[] =
1169 "Forces touchstart, and touchmove event listeners on document level "
1170 "targets (which haven't requested otherwise) to be treated as passive.";
1171
1172const char kPasswordForceSavingName[] = "Force-saving of passwords";
1173const char kPasswordForceSavingDescription[] =
1174 "Allow the user to manually enforce password saving instead of relying on "
1175 "password manager's heuristics.";
1176
1177const char kPasswordGenerationName[] = "Password generation";
1178const char kPasswordGenerationDescription[] =
1179 "Allow the user to have Chrome generate passwords when it detects account "
1180 "creation pages.";
1181
Vaclav Brozekd8a3f542017-11-16 14:21:131182const char kPasswordExportName[] = "Password export";
1183const char kPasswordExportDescription[] =
1184 "Export functionality in password settings.";
1185
1186const char kPasswordImportName[] = "Password import";
1187const char kPasswordImportDescription[] =
1188 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511189
Friedrich Horschig03c91982018-01-25 14:21:281190const char kPasswordSearchMobileName[] = "Password search";
1191const char kPasswordSearchMobileDescription[] =
1192 "Search functionality in password settings.";
1193
Tom Sepez92a2cd242018-03-13 19:23:091194const char kPdfIsolationName[] = "PDF Isolation";
1195const char kPdfIsolationDescription[] =
1196 "Render PDF files from different origins in different plugin processes.";
1197
Brett Wilsonecb80982017-07-12 20:34:511198const char kPinchScaleName[] = "Pinch scale";
1199const char kPinchScaleDescription[] =
1200 "Enables experimental support for scale using pinch.";
1201
Doug Arnett620ff542018-02-06 17:54:221202const char kPreviewsAllowedName[] = "Previews Allowed";
1203const char kPreviewsAllowedDescription[] =
1204 "Allows previews to be shown subject to specific preview types being "
1205 "enabled and the client experiencing specific triggering conditions. "
1206 "May be used as a kill-switch to turn off all potential preview types.";
1207
Brett Wilsonecb80982017-07-12 20:34:511208const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1209const char kPrintPdfAsImageDescription[] =
1210 "If enabled, an option to print PDF files as images will be available in "
1211 "print preview.";
1212
1213const char kPrintPreviewRegisterPromosName[] =
1214 "Print Preview Registration Promos";
1215const char kPrintPreviewRegisterPromosDescription[] =
1216 "Enable registering unregistered cloud printers from print preview.";
1217
1218const char kProtectSyncCredentialName[] = "Autofill sync credential";
1219const char kProtectSyncCredentialDescription[] =
1220 "How the password manager handles autofill for the sync credential.";
1221
1222const char kProtectSyncCredentialOnReauthName[] =
1223 "Autofill sync credential only for transactional reauth pages";
1224const char kProtectSyncCredentialOnReauthDescription[] =
1225 "How the password manager handles autofill for the sync credential only "
1226 "for transactional reauth pages.";
1227
Mohsen Izadi93faac12017-07-29 04:45:151228const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1229const char kPullToRefreshDescription[] =
1230 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011231const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151232
Brett Wilsonecb80982017-07-12 20:34:511233const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1234const char kPushApiBackgroundModeDescription[] =
1235 "Enable background mode for the Push API. This allows Chrome to continue "
1236 "running after the last window is closed, and to launch at OS startup, if "
1237 "the Push API needs it.";
1238
Troy Hildebrandt7228ad12018-02-23 21:18:241239const char kQueryInOmniboxName[] = "Query in Omnibox";
1240const char kQueryInOmniboxDescription[] =
1241 "Only display query terms in the omnibox when viewing a search results "
1242 "page.";
1243
Brett Wilsonecb80982017-07-12 20:34:511244const char kQuicName[] = "Experimental QUIC protocol";
1245const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1246
1247const char kReducedReferrerGranularityName[] =
1248 "Reduce default 'referer' header granularity.";
1249const char kReducedReferrerGranularityDescription[] =
1250 "If a page hasn't set an explicit referrer policy, setting this flag will "
1251 "reduce the amount of information in the 'referer' header for cross-origin "
1252 "requests.";
1253
Claudio Magnie0a80bb2018-01-31 02:52:581254extern const char kRegionalLocalesAsDisplayUIName[] =
1255 "Allow regional locales as display UI";
1256extern const char kRegionalLocalesAsDisplayUIDescription[] =
1257 "This flag allows regional locales to be selected as display UI by the "
1258 "user in Language Settings. The actual locale of the system is derived "
1259 "from the user selection based on some simple fallback logic.";
1260
Christian Dullweber1af31e62018-02-22 11:49:481261const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141262 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481263const char kRemoveNavigationHistoryDescription[] =
1264 "Remove a navigation entry when the corresponding history entry has been "
1265 "deleted.";
1266
Mihai Sardarescu6d0f5b72017-10-30 11:24:381267const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1268 "Remove usage of the deprecated GAIA sign-in endpoint";
1269const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1270 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1271 "This flags controls wheter it should no longer be used during a sign-in "
1272 " flow.";
1273
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351274const char kRendererSideResourceSchedulerName[] =
1275 "Renderer side ResourceScheduler";
1276const char kRendererSideResourceSchedulerDescription[] =
1277 "Migrate some ResourceScheduler functionalities to renderer";
1278
Brett Wilsonecb80982017-07-12 20:34:511279const char kRequestTabletSiteName[] =
1280 "Request tablet site option in the settings menu";
1281const char kRequestTabletSiteDescription[] =
1282 "Allows the user to request tablet site. Web content is often optimized "
1283 "for tablet devices. When this option is selected the user agent string is "
1284 "changed to indicate a tablet device. Web content optimized for tablets is "
1285 "received there after for the current tab.";
1286
1287const char kResetAppListInstallStateName[] =
1288 "Reset the App Launcher install state on every restart.";
1289const char kResetAppListInstallStateDescription[] =
1290 "Reset the App Launcher install state on every restart. While this flag is "
1291 "set, Chrome will forget the launcher has been installed each time it "
1292 "starts. This is used for testing the App Launcher install flow.";
1293
1294const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1295const char kResourceLoadSchedulerDescription[] =
1296 "Uses the resource load scheduler in blink to schedule and throttle "
1297 "resource load requests.";
1298
Brett Wilsonecb80982017-07-12 20:34:511299const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1300const char kSafeSearchUrlReportingDescription[] =
1301 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1302
Alexei Filippov98772752018-01-27 08:26:521303const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1304const char kSamplingHeapProfilerDescription[] =
1305 "Enables native memory sampling profiler with specified rate in KiB. "
1306 "If sampling rate is not provided the default value of 128 KiB is used.";
1307
Brett Wilsonecb80982017-07-12 20:34:511308const char kSaveasMenuLabelExperimentName[] =
1309 "Switch 'Save as' menu labels to 'Download'";
1310const char kSaveasMenuLabelExperimentDescription[] =
1311 "Enables an experiment to switch menu labels that use 'Save as...' to "
1312 "'Download'.";
1313
1314const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1315const char kSavePageAsMhtmlDescription[] =
1316 "Enables saving pages as MHTML: a single text file containing HTML and all "
1317 "sub-resources.";
1318
Nate Chapin9638e7102017-09-20 22:11:011319const char kSavePreviousDocumentResourcesName[] =
1320 "Save Previous Document Resources";
1321const char kSavePreviousDocumentResourcesDescription[] =
1322 "Saves an old document's cached resources until the specified point in the "
1323 "next document's lifecycle.";
1324const char kSavePreviousDocumentResourcesNever[] =
1325 "Don't explicitly save resources";
1326const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1327 "Save resources until onDOMContentLoaded completes";
1328const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1329 "Save resources until onload completes";
1330
Brett Wilsonecb80982017-07-12 20:34:511331const char kScrollPredictionName[] = "Scroll prediction";
1332const char kScrollPredictionDescription[] =
1333 "Predicts the finger's future position during scrolls allowing time to "
1334 "render the frame before the finger is there.";
1335
1336const char kSecondaryUiMd[] =
1337 "Material Design in the rest of the browser's native UI";
1338const char kSecondaryUiMdDescription[] =
1339 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1340 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1341 "browser dialogs.";
1342
1343const char kServiceWorkerNavigationPreloadName[] =
1344 "Service worker navigation preload.";
1345const char kServiceWorkerNavigationPreloadDescription[] =
1346 "Enable web pages to use the experimental service worker navigation "
1347 "preload API.";
1348
gogeraldd5061b592017-09-06 23:39:551349const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1350const char kServiceWorkerPaymentAppsDescription[] =
1351 "Enable Service Worker applications to integrate as payment apps";
1352
Makoto Shimazu22078cc2018-02-21 03:01:441353extern const char kServiceWorkerServicificationName[] =
1354 "Servicified service workers";
1355extern const char kServiceWorkerServicificationDescription[] =
1356 "Enable the servicified service workers. A servicified service worker can "
1357 "have direct connection from its clients, so that fetch events can be "
1358 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171359
Tsuyoshi Horobcb1c642017-11-24 16:32:141360const char kServiceWorkerScriptFullCodeCacheName[] =
1361 "Service worker script full code cache.";
1362const char kServiceWorkerScriptFullCodeCacheDescription[] =
1363 "Generate V8 full code cache of Service Worker scripts while installing.";
1364
Brett Wilsonecb80982017-07-12 20:34:511365const char kSettingsWindowName[] = "Show settings in a window";
1366const char kSettingsWindowDescription[] =
1367 "Settings will be shown in a dedicated window instead of as a browser tab.";
1368
Trent Apted750ba7022017-10-23 13:36:251369const char kShowAllDialogsWithViewsToolkitName[] =
1370 "Show all dialogs with Views toolkit";
1371const char kShowAllDialogsWithViewsToolkitDescription[] =
1372 "All browser dialogs will be shown using the Views toolkit rather than "
1373 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1374
Brett Wilsonecb80982017-07-12 20:34:511375const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1376const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381377 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1378 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511379
1380const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1381const char kShowAutofillTypePredictionsDescription[] =
1382 "Annotates web forms with Autofill field type predictions as placeholder "
1383 "text.";
1384
1385const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1386const char kShowOverdrawFeedbackDescription[] =
1387 "Visualize overdraw by color-coding elements based on if they have other "
1388 "elements drawn underneath.";
1389
Carlos IL89128732018-04-03 17:00:251390const char kSupervisedUserCommittedInterstitialsName[] =
1391 "Enable Supervised User Committed Interstitials";
1392const char kSupervisedUserCommittedInterstitialsDescription[] =
1393 "Use committed error pages instead of transient navigation entries for "
1394 "supervised user interstitials";
1395
yiyixbdfa9a0b2017-10-23 22:21:471396const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1397const char kEnableDrawOcclusionDescription[] =
1398 "Enable the system to use draw occlusion to skip draw quads when they are "
1399 "not shown on the screen.";
1400
Brett Wilsonecb80982017-07-12 20:34:511401const char kShowSavedCopyName[] = "Show Saved Copy Button";
1402const char kShowSavedCopyDescription[] =
1403 "When a page fails to load, if a stale copy of the page exists in the "
1404 "browser cache, a button will be presented to allow the user to load that "
1405 "stale copy. The primary enabling choice puts the button in the most "
1406 "salient position on the error page; the secondary enabling choice puts it "
1407 "secondary to the reload button.";
1408const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1409const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1410const char kDisableShowSavedCopy[] = "Disable";
1411
Brett Wilsonecb80982017-07-12 20:34:511412const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1413const char kSilentDebuggerExtensionApiDescription[] =
1414 "Do not show the infobar when an extension attaches to a page via "
1415 "chrome.debugger API. This is required to debug extension background "
1416 "pages.";
1417
Tsuyoshi Horo53895ba92018-03-14 04:06:481418const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1419const char kSignedHTTPExchangeDescription[] =
1420 "Enables Origin-Signed HTTP Exchanges support which is still in "
1421 "development. Warning: Enabling this may pose a security risk.";
1422
Brett Wilsonecb80982017-07-12 20:34:511423const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1424const char kSimpleCacheBackendDescription[] =
1425 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1426 "disk space allocation.";
1427
1428const char kSimplifiedFullscreenUiName[] =
1429 "Simplified full screen / mouse lock UI.";
1430const char kSimplifiedFullscreenUiDescription[] =
1431 "A simplified new user experience when entering page-triggered full screen "
1432 "or mouse pointer lock states.";
1433
Christopher Thompson75ff845d2018-02-01 20:12:461434const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1435const char kSimplifyHttpsIndicatorDescription[] =
1436 "Change the UI treatment for HTTPS pages.";
1437
Brett Wilsonecb80982017-07-12 20:34:511438const char kSingleClickAutofillName[] = "Single-click autofill";
1439const char kSingleClickAutofillDescription[] =
1440 "Make autofill suggestions on initial mouse click on a form element.";
1441
Nick Carter855bc492018-03-10 00:44:571442const char kStrictSiteIsolationName[] = "Strict site isolation";
1443const char kStrictSiteIsolationDescription[] =
1444 "Security mode that enables site isolation for all sites. When enabled, "
1445 "each renderer process will contain pages from at most one site, using "
1446 "out-of-process iframes when needed. When enabled, this flag forces the "
1447 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1448 "isolation mode will be determined by enterprise policy or field trial.";
1449
1450const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1451const char kSiteIsolationTrialOptOutDescription[] =
1452 "Opts out of field trials that enable site isolation modes "
1453 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1454 "may be due to out-of-process iframes. Opt-out has no effect if site "
1455 "isolation is force-enabled via #enable-site-per-process or enterprise "
1456 "policy. Caution: this disables important mitigations for the Spectre CPU "
1457 "vulnerability affecting most computers.";
1458extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1459extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1460 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511461
1462const char kSiteSettings[] = "Site settings with All sites and Site details";
1463const char kSiteSettingsDescription[] =
1464 "Adds new ways of viewing Site settings.";
1465
Brett Wilsonecb80982017-07-12 20:34:511466const char kSmoothScrollingName[] = "Smooth Scrolling";
1467const char kSmoothScrollingDescription[] =
1468 "Animate smoothly when scrolling page content.";
1469
1470const char kSoftwareRasterizerName[] = "3D software rasterizer";
1471const char kSoftwareRasterizerDescription[] =
1472 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1473
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201474const char kSoleIntegrationName[] = "Sole integration";
1475const char kSoleIntegrationDescription[] =
1476 "Enable Sole integration for browser customization. You must restart "
1477 "the browser twice for changes to take effect.";
1478
Tommy Steimel77704be2017-08-28 22:14:401479const char kSoundContentSettingName[] = "Sound content setting";
1480const char kSoundContentSettingDescription[] =
1481 "Enable site-wide muting in content settings and tab strip context menu.";
1482
Alexandr Ilinf0500ed32017-09-27 21:12:361483const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1484const char kSpeculativePreconnectDescription[] =
1485 "Enable the new implementation of preconnect and DNS preresolve. "
1486 "\"Learning\" means that only database construction is enabled, "
1487 "\"Preconnect\" enables both learning and preconnect and disables the "
1488 "existing implementation. \"No preconnect\" disables both implementations.";
1489
Brett Wilsonecb80982017-07-12 20:34:511490const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341491const char kSpeculativePrefetchDescription[] =
1492 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1493 R"*(load times, based on a local database (see chrome://predictors). )*"
1494 R"*("Learning" means that only the database construction is enabled, )*"
1495 R"*("Prefetching" that learning and prefetching are enabled.)*";
1496
Justin Donnelly4e448cb2017-07-07 21:32:131497const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1498 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131499const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1500 "If enabled, when the user enters text in the omnibox that looks like a "
1501 "a query, any service worker associated with the search engine the query "
1502 "will be sent to is started early.";
1503
Brett Wilsonecb80982017-07-12 20:34:511504const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1505const char kSpellingFeedbackFieldTrialDescription[] =
1506 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401507
Shubhie Panickerfaf082ed2018-01-03 04:49:151508const char kStopInBackgroundName[] = "Stop in background";
1509const char kStopInBackgroundDescription[] =
1510 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281511 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151512
1513const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1514const char kStopLoadingInBackgroundDescription[] =
1515 "Stop loading tasks and loading "
1516 "resources, in the background, after certain grace time.";
1517
Shubhie Panicker56c99a22018-03-21 00:22:281518const char kStopNonTimersInBackgroundName[] =
1519 "Stop non-timer task queues background";
1520const char kStopNonTimersInBackgroundDescription[] =
1521 "Stop non-timer task queues, in the background, "
1522 "after a grace period.";
1523
Brett Wilsonecb80982017-07-12 20:34:511524const char kSuggestionsWithSubStringMatchName[] =
1525 "Substring matching for Autofill suggestions";
1526const char kSuggestionsWithSubStringMatchDescription[] =
1527 "Match Autofill suggestions based on substrings (token prefixes) rather "
1528 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341529
Brett Wilsonecb80982017-07-12 20:34:511530const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1531const char kSyncSandboxDescription[] =
1532 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341533
Brett Wilsonecb80982017-07-12 20:34:511534const char kTabAudioMutingName[] = "Tab audio muting UI control";
1535const char kTabAudioMutingDescription[] =
1536 "When enabled, the audio indicators in the tab strip double as tab audio "
1537 "mute controls. This also adds commands in the tab context menu for "
1538 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341539
Christian Dullweberd0d96f02017-09-13 09:22:511540const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1541const char kTabsInCbdDescription[] =
1542 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1543
Becky Zhou99c22802017-10-19 05:09:271544const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1545const char kTabModalJsDialogDescription[] =
1546 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1547 " tab.";
1548
Brett Wilsonecb80982017-07-12 20:34:511549const char kTcpFastOpenName[] = "TCP Fast Open";
1550const char kTcpFastOpenDescription[] =
1551 "Enable the option to send extra authentication information in the initial "
1552 "SYN packet for a previously connected client, allowing faster data send "
1553 "start.";
vabr0215a8e2017-03-28 12:47:341554
Daniele Castagna0fead93e2018-01-10 20:40:291555const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1556const char kTintGlCompositedContentDescription[] =
1557 "Tint contents composited using GL with a shade of red to help debug and "
1558 "study overlay support.";
1559
Brett Wilsonecb80982017-07-12 20:34:511560const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1561const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581562 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401563 "touch) - middle point for devices with a touch screen, 3) Touchable "
1564 "- new unified interface for touch and convertibles (Chrome OS) and 4) "
1565 "Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511566const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531567const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461568const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581569const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401570const char kTopChromeMdMaterialRefresh[] = "Refresh";
vabr0215a8e2017-03-28 12:47:341571
Brett Wilsonecb80982017-07-12 20:34:511572const char kThreadedScrollingName[] = "Threaded scrolling";
1573const char kThreadedScrollingDescription[] =
1574 "Threaded handling of scroll-related input events. Disabling this will "
1575 "force all such scroll events to be handled on the main thread. Note that "
1576 "this can dramatically hurt scrolling performance of most websites and is "
1577 "intended for testing purposes only.";
1578
Steven Valdez4584b2482017-07-14 01:11:571579const char kTLS13VariantName[] = "TLS 1.3";
1580const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1581const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111582const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041583const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdez4584b2482017-07-14 01:11:571584
Brett Wilsonecb80982017-07-12 20:34:511585const char kTopDocumentIsolationName[] = "Top document isolation";
1586const char kTopDocumentIsolationDescription[] =
1587 "Highly experimental performance mode where cross-site iframes are kept in "
1588 "a separate process from the top document. In this mode, iframes from "
1589 "different third-party sites will be allowed to share a process.";
1590
Dominick Ng8896b1cd2017-10-17 23:24:361591const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1592const char kTopSitesFromSiteEngagementDescription[] =
1593 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1594 "engagement.";
1595
Brett Wilsonecb80982017-07-12 20:34:511596const char kTouchAdjustmentName[] = "Touch adjustment";
1597const char kTouchAdjustmentDescription[] =
1598 "Refine the position of a touch gesture in order to compensate for touches "
1599 "having poor resolution compared to a mouse.";
1600
1601const char kTouchDragDropName[] = "Touch initiated drag and drop";
1602const char kTouchDragDropDescription[] =
1603 "Touch drag and drop can be initiated through long press on a draggable "
1604 "element.";
1605
1606const char kTouchEventsName[] = "Touch Events API";
1607const char kTouchEventsDescription[] =
1608 "Force Touch Events API feature detection to always be enabled or "
1609 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291610 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511611
1612const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1613const char kTouchSelectionStrategyDescription[] =
1614 "Controls how text selection granularity changes when touch text selection "
1615 "handles are dragged. Non-default behavior is experimental.";
1616const char kTouchSelectionStrategyCharacter[] = "Character";
1617const char kTouchSelectionStrategyDirection[] = "Direction";
1618
1619const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1620const char kTraceUploadUrlDescription[] =
1621 "This is to be used in conjunction with the enable-navigation-tracing "
1622 "flag. Please select the label that best describes the recorded traces. "
1623 "This will choose the destination the traces are uploaded to. If you are "
1624 "not sure, select other. If left empty, no traces will be uploaded.";
1625const char kTraceUploadUrlChoiceOther[] = "Other";
1626const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1627const char kTraceUploadUrlChoiceQa[] = "QA";
1628const char kTraceUploadUrlChoiceTesting[] = "Testing";
1629
Philippe Hamel7fdaa452017-09-29 17:22:491630const char kTranslateRankerEnforcementName[] =
1631 "Enforce TranslateRanker decisions";
1632const char kTranslateRankerEnforcementDescription[] =
1633 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1634 "or not Translate UI should be triggered in a given context.";
1635
Brett Wilsonecb80982017-07-12 20:34:511636const char kTrySupportedChannelLayoutsName[] =
1637 "Causes audio output streams to check if channel layouts other than the "
1638 "default hardware layout are available.";
1639const char kTrySupportedChannelLayoutsDescription[] =
1640 "Causes audio output streams to check if channel layouts other than the "
1641 "default hardware layout are available. Turning this on will allow the OS "
1642 "to do stereo to surround expansion if supported. May expose third party "
1643 "driver bugs, use with caution.";
1644
David Roger6762a092018-01-31 15:55:071645const char kUnifiedConsentName[] = "Unified Consent";
1646const char kUnifiedConsentDescription[] =
1647 "Enables a unified management of user consent for privacy-related "
1648 "features. This includes new confirmation screens and improved settings "
1649 "pages.";
1650
Brett Wilsonecb80982017-07-12 20:34:511651const char kUiPartialSwapName[] = "Partial swap";
1652const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1653
Chris Pickel3a227ae62017-08-24 10:47:261654const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1655const char kUseDdljsonApiDescription[] =
1656 "Enables the new ddljson API to fetch Doodles for the NTP.";
1657
Becca Hughes59c05b42017-11-03 13:11:581658const char kUseModernMediaControlsName[] = "New Media Controls";
1659const char kUseModernMediaControlsDescription[] =
1660 "Enables the new style native media controls.";
1661
Wei Li790e7a8572018-03-23 01:31:551662const char kUsePdfCompositorServiceName[] =
1663 "Use PDF compositor service for printing";
1664const char kUsePdfCompositorServiceDescription[] =
1665 "When enabled, use PDF compositor service to composite and generate PDF "
1666 "files for printing. When site isolation is enabled, disabling this will "
1667 "not stop using PDF compositor service since the service is required for "
1668 "printing out-of-process iframes correctly.";
1669
Mustaq Ahmedc646c0a2017-10-20 20:08:301670const char kUserActivationV2Name[] = "User Activation v2";
1671const char kUserActivationV2Description[] =
1672 "Enable simple user activation for APIs that are otherwise controlled by "
1673 "user gesture tokens.";
1674
Brett Wilsonecb80982017-07-12 20:34:511675const char kUserConsentForExtensionScriptsName[] =
1676 "User consent for extension scripts";
1677const char kUserConsentForExtensionScriptsDescription[] =
1678 "Require user consent for an extension running a script on the page, if "
1679 "the extension requested permission to run on all urls.";
1680
1681const char kUseSuggestionsEvenIfFewFeatureName[] =
1682 "Disable minimum for server-side tile suggestions on NTP.";
1683const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1684 "Request server-side suggestions even if there are only very few of them "
1685 "and use them for tiles on the New Tab Page.";
1686
1687const char kV8CacheOptionsName[] = "V8 caching mode.";
1688const char kV8CacheOptionsDescription[] =
1689 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511690const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1691
Hitoshi Yoshida3e5db562017-09-11 02:31:081692const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1693const char kV8ContextSnapshotDescription[] =
1694 "Sets to use a snapshot to create V8 contexts in frame creation.";
1695
Michael Hablich896d52662017-10-23 15:59:571696const char kV8VmFutureName[] = "Future V8 VM features";
1697const char kV8VmFutureDescription[] =
1698 "This enables upcoming and experimental V8 VM features. "
1699 "This flag does not enable experimental JavaScript features.";
1700
Brett Wilsonecb80982017-07-12 20:34:511701const char kVideoFullscreenOrientationLockName[] =
1702 "Lock screen orientation when playing a video fullscreen.";
1703const char kVideoFullscreenOrientationLockDescription[] =
1704 "Lock the screen orientation of the device to match video orientation when "
1705 "a video goes fullscreen. Only on phones.";
1706
1707const char kVideoRotateToFullscreenName[] =
1708 "Rotate-to-fullscreen gesture for videos.";
1709const char kVideoRotateToFullscreenDescription[] =
1710 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1711 "the video. Only on phones.";
1712
Elly Fong-Jonesf4c79502018-03-23 19:21:531713const char kViewsBrowserWindowsName[] =
1714 "Use Views browser windows instead of Cocoa.";
1715const char kViewsBrowserWindowsDescription[] =
1716 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1717
Brett Wilsonecb80982017-07-12 20:34:511718const char kWalletServiceUseSandboxName[] =
1719 "Use Google Payments sandbox servers";
1720const char kWalletServiceUseSandboxDescription[] =
1721 "For developers: use the sandbox service for Google Payments API calls.";
1722
Brett Wilsonecb80982017-07-12 20:34:511723const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1724const char kWebglDraftExtensionsDescription[] =
1725 "Enabling this option allows web applications to access the WebGL "
1726 "Extensions that are still in draft status.";
1727
1728const char kWebMidiName[] = "Web MIDI API";
1729const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1730
1731const char kWebPaymentsName[] = "Web Payments";
1732const char kWebPaymentsDescription[] =
1733 "Enable Web Payments API integration, a JavaScript API for merchants.";
1734
Mathieu Perreault51339b82017-07-20 17:06:051735const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1736const char kWebPaymentsModifiersDescription[] =
1737 "If the website provides modifiers in the payment request, show the custom "
1738 "total for each payment instrument, update the shopping cart when "
1739 "instruments are switched, and send modified payment method specific data "
1740 "to the payment app.";
1741
Brett Wilsonecb80982017-07-12 20:34:511742const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1743const char kWebrtcEchoCanceller3Description[] =
1744 "Experimental WebRTC echo canceller (AEC3).";
1745
1746const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1747const char kWebrtcHwDecodingDescription[] =
1748 "Support in WebRTC for decoding video streams using platform hardware.";
1749
1750const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1751const char kWebrtcHwEncodingDescription[] =
1752 "Support in WebRTC for encoding video streams using platform hardware.";
1753
1754const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1755const char kWebrtcHwH264EncodingDescription[] =
1756 "Support in WebRTC for encoding h264 video streams using platform "
1757 "hardware.";
1758
1759const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1760const char kWebrtcHwVP8EncodingDescription[] =
1761 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1762
Niels Möller090866a2018-02-13 10:55:031763const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1764 "WebRTC new encode cpu load estimator";
1765const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1766 "Enable new estimator for the encoder cpu load, for evaluation and "
1767 "testing. Intended to improve accuracy when screen casting.";
1768
Brett Wilsonecb80982017-07-12 20:34:511769const char kWebrtcSrtpAesGcmName[] =
1770 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1771const char kWebrtcSrtpAesGcmDescription[] =
1772 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1773
Joachim Bauch4a41d7512017-08-23 14:24:231774const char kWebrtcSrtpEncryptedHeadersName[] =
1775 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1776const char kWebrtcSrtpEncryptedHeadersDescription[] =
1777 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1778 "for SRTP.";
1779
Brett Wilsonecb80982017-07-12 20:34:511780const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1781const char kWebrtcStunOriginDescription[] =
1782 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1783 "header.";
1784
1785const char kWebvrName[] = "WebVR";
1786const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011787 "Enables access to experimental Virtual Reality functionality via the "
1788 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
1789 "Device API. Warning: Enabling this will also allow WebVR content on "
1790 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:221791 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511792
Brandon Jonese9d9b2b2017-12-11 22:20:111793const char kWebXrName[] = "WebXR Device API";
1794const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011795 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
1796 "and Augmented Reality (AR) devices.";
1797
1798const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
1799const char kWebXrGamepadSupportDescription[] =
1800 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:221801 "XRInputSource will have a corresponding Gamepad instance. Requires that "
1802 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:431803
1804const char kWebXrHitTestName[] = "WebXR Hit Test";
1805const char kWebXrHitTestDescription[] =
1806 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:111807
Anna Maria57ecf7592018-01-12 03:10:401808const char kWebXrOrientationSensorDeviceName[] =
1809 "WebXR orientation sensor device";
1810const char kWebXrOrientationSensorDeviceDescription[] =
1811 "When no VR platform device is available, expose a non-presenting device "
1812 "based on the device's orientation sensors, if available.";
1813
Brett Wilsonecb80982017-07-12 20:34:511814const char kWifiCredentialSyncName[] = "WiFi credential sync";
1815const char kWifiCredentialSyncDescription[] =
1816 "Enables synchronizing WiFi network settings across devices. When enabled, "
1817 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1818 "credentials are synchronized subject to user preferences. (See also, "
1819 "chrome://settings/syncSetup.)";
1820
1821const char kZeroCopyName[] = "Zero-copy rasterizer";
1822const char kZeroCopyDescription[] =
1823 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341824
Brett Wilsonff596952017-07-14 01:06:551825// Android ---------------------------------------------------------------------
1826
1827#if defined(OS_ANDROID)
1828
1829const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1830const char kAiaFetchingDescription[] =
1831 "Enable intermediate certificate fetching when a server does not provide "
1832 "sufficient certificates to build a chain to a trusted root.";
1833
1834const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1835const char kAccessibilityTabSwitcherDescription[] =
1836 "Enable the accessibility tab switcher for Android.";
1837
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251838const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1839const char kAllowReaderForAccessibilityDescription[] =
1840 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1841
Brett Wilsonff596952017-07-14 01:06:551842const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1843const char kAndroidAutofillAccessibilityDescription[] =
1844 "Enable accessibility for autofill popup.";
1845
1846const char kAndroidPaymentAppsName[] = "Android payment apps";
1847const char kAndroidPaymentAppsDescription[] =
1848 "Enable third party Android apps to integrate as payment apps";
1849
Miriam Gershenson8cf1397222018-01-23 22:48:291850const char kAsyncDnsName[] = "Async DNS resolver";
1851const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1852
Brett Wilsonff596952017-07-14 01:06:551853const char kAutofillAccessoryViewName[] =
1854 "Autofill suggestions as keyboard accessory view";
1855const char kAutofillAccessoryViewDescription[] =
1856 "Shows Autofill suggestions on top of the keyboard rather than in a "
1857 "dropdown.";
1858
1859const char kBackgroundLoaderForDownloadsName[] =
1860 "Enables background downloading of pages.";
1861const char kBackgroundLoaderForDownloadsDescription[] =
1862 "Enables downloading pages in the background in case page is not yet "
1863 "loaded in current tab.";
1864
Matthew Jones6c1f5e22018-02-06 18:19:531865const char kChromeDuplexName[] = "Chrome Duplex";
1866const char kChromeDuplexDescription[] =
1867 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051868
Daniel Park825a16f32017-12-08 00:44:261869const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1870const char kChromeHomeEnableSurveyDescription[] =
1871 "If enabled, the survey process will allow surveys using sample "
1872 "parameters.";
1873
Theresa Wellingtonb9243b22017-12-01 16:23:051874const char kChromeHomeInactivitySheetExpansionName[] =
1875 "Expansion of Chrome Home bottom sheet on startup";
1876const char kChromeHomeInactivitySheetExpansionDescription[] =
1877 "Expand bottom sheet on startup in Chrome Home after a period of"
1878 " inactivity.";
1879
Matthew Joneseab91aa2017-12-19 16:12:421880const char kChromeHomeMenuItemsName[] =
1881 "Show bookmarks, downloads, and history menu items in Chrome Home";
1882const char kChromeHomeMenuItemsDescription[] =
1883 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1884 " when Chrome Home is enabled. These items will open the bottom sheet to"
1885 " show the desired content.";
1886
Theresa Wellingtonc4cff8a12017-11-28 04:13:181887const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1888const char kChromeHomePersistentIphDescription[] =
1889 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1890 "toolbar or a timer expires.";
1891
Theresa Wellington13977c832017-12-13 16:59:111892const char kChromeHomePullToRefreshIphAtTopName[] =
1893 "Chrome Home Pull-To-Refresh Iph At Top";
1894const char kChromeHomePullToRefreshIphAtTopDescription[] =
1895 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1896
Brett Wilsonff596952017-07-14 01:06:551897const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1898const char kChromeHomeSwipeLogicDescription[] =
1899 "Various swipe logic options for Chrome Home for sheet expansion.";
1900const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151901const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551902
Matthew Jones5b7f1d62018-01-23 00:37:251903const char kChromeModernDesignName[] = "Chrome Modern Design";
1904const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451905 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1906 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251907
Megan Jablonskic61eb1b82017-10-02 18:03:061908const char kChromeMemexName[] = "Chrome Memex";
1909const char kChromeMemexDescription[] =
1910 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1911 "Googlers.";
1912
Sarath Singapati83aef1c2017-11-16 15:54:521913const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1914const char kClearOldBrowsingDataDescription[] =
1915 "Enables clearing of browsing data which is older than a given time "
1916 "period.";
1917
Brett Wilsonff596952017-07-14 01:06:551918const char kContentSuggestionsCategoryOrderName[] =
1919 "Default content suggestions category order (e.g. on NTP)";
1920const char kContentSuggestionsCategoryOrderDescription[] =
1921 "Set default order of content suggestion categories (e.g. on the NTP).";
1922
1923const char kContentSuggestionsCategoryRankerName[] =
1924 "Content suggestions category ranker (e.g. on NTP)";
1925const char kContentSuggestionsCategoryRankerDescription[] =
1926 "Set category ranker to order categories of content suggestions (e.g. on "
1927 "the NTP).";
1928
Vitalii Iarkof52ff802017-09-14 12:34:241929const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1930const char kContentSuggestionsDebugLogDescription[] =
1931 "Enable content suggestions debug log accessible through "
1932 "snippets-internals.";
1933
Donn Denman8e58ead2017-11-04 01:44:011934const char kContextualSearchMlTapSuppressionName[] =
1935 "Contextual Search ML tap suppression";
1936const char kContextualSearchMlTapSuppressionDescription[] =
1937 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021938 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1939 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551940
1941const char kContextualSearchName[] = "Contextual Search";
1942const char kContextualSearchDescription[] =
1943 "Whether or not Contextual Search is enabled.";
1944
Donn Denman59729812018-01-09 01:27:021945const char kContextualSearchRankerQueryName[] =
1946 "Contextual Search Ranker prediction";
1947const char kContextualSearchRankerQueryDescription[] =
1948 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1949
1950const char kContextualSearchSecondTapName[] =
1951 "Contextual Search second tap triggering";
1952const char kContextualSearchSecondTapDescription[] =
1953 "Enables triggering on a second tap gesture even when Ranker would "
1954 "normally suppress that tap.";
1955
Dmitry Skiba9c3efa72017-07-20 22:01:141956const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1957const char kDontPrefetchLibrariesDescription[] =
1958 "Don't prefetch libraries after loading.";
1959
Joy Ming5fd29ca62017-10-02 22:51:221960const char kDownloadsForegroundName[] = "Enable downloads foreground";
1961const char kDownloadsForegroundDescription[] =
1962 "Enable downloads as a foreground service for all versions of Android.";
1963
Joy Ming189b0cc2017-12-08 19:42:431964const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1965const char kDownloadsLocationChangeDescription[] =
1966 "Enable changing default downloads storage location on Android.";
1967
Brett Wilsonff596952017-07-14 01:06:551968const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1969const char kEnableAndroidPayIntegrationV1Description[] =
1970 "Enable integration with Android Pay using the first version of the API";
1971
1972const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1973const char kEnableAndroidPayIntegrationV2Description[] =
1974 "Enable integration with Android Pay using the second version of the API";
1975
Vitalii Iarkof4ed32d2017-09-26 13:15:531976const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551977const char kEnableAndroidSpellcheckerDescription[] =
1978 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551979
Lei Tianbd5a3bf2018-02-28 19:01:161980const char kEnableCommandLineOnNonRootedName[] =
1981 "Enable command line on non-rooted devices";
1982const char kEnableCommandLineOnNoRootedDescription[] =
1983 "Enable reading command line file on non-rooted devices (DANGEROUS).";
1984
Vitalii Iarkof4ed32d2017-09-26 13:15:531985const char kEnableContentSuggestionsNewFaviconServerName[] =
1986 "Get favicons for content suggestions from a new server.";
1987const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1988 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1989 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551990
1991const char kEnableContentSuggestionsSettingsName[] =
1992 "Show content suggestions settings.";
1993const char kEnableContentSuggestionsSettingsDescription[] =
1994 "If enabled, the content suggestions settings will be available from the "
1995 "main settings menu.";
1996
Vitalii Iarkof4ed32d2017-09-26 13:15:531997const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1998 "Use content suggestions thumbnail dominant color.";
1999const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2000 "Use content suggestions thumbnail dominant color as a placeholder before "
2001 "the real thumbnail is fetched (requires Chrome Home).";
2002
Brett Wilsonff596952017-07-14 01:06:552003const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2004const char kEnableCustomContextMenuDescription[] =
2005 "Enables a new context menu when a link, image, or video is pressed within "
2006 "Chrome.";
2007
2008const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2009const char kEnableCustomFeedbackUiDescription[] =
2010 "Enables a custom feedback UI when submitting feedback through Google "
2011 "Feedback. Works with Google Play Services v10.2+";
2012
2013const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472014 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552015const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472016 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552017
Brett Wilsonff596952017-07-14 01:06:552018const char kEnableOmniboxClipboardProviderName[] =
2019 "Omnibox clipboard URL suggestions";
2020const char kEnableOmniboxClipboardProviderDescription[] =
2021 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2022 "focus in the omnibox.";
2023
2024const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
2025 "Use expanded autofill credit card popup layout.";
2026const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
2027 "If enabled, displays autofill credit card popup using expanded layout.";
2028
Becky Zhoua7f11d62018-02-01 16:02:532029const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2030 "Show article suggestions expandable header on New Tab Page";
2031const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2032 "If enabled, the article suggestions content on New Tab Page can be "
2033 "toggled shown or hidden by clicking the expandable header.";
2034
Brett Wilsonff596952017-07-14 01:06:552035const char kEnableNtpAssetDownloadSuggestionsName[] =
2036 "Show asset downloads on the New Tab page";
2037const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2038 "If enabled, the list of content suggestions on the New Tab page will "
2039 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2040 "later use.";
2041
2042const char kEnableNtpBookmarkSuggestionsName[] =
2043 "Show recently visited bookmarks on the New Tab page";
2044const char kEnableNtpBookmarkSuggestionsDescription[] =
2045 "If enabled, the list of content suggestions on the New Tab page will "
2046 "contain recently visited bookmarks.";
2047
2048const char kEnableNtpForeignSessionsSuggestionsName[] =
2049 "Show recent foreign tabs on the New Tab page";
2050const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2051 "If enabled, the list of content suggestions on the New Tab page will "
2052 "contain recent foreign tabs.";
2053
Brett Wilsonff596952017-07-14 01:06:552054const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2055 "Show offline page downloads on the New Tab page";
2056const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2057 "If enabled, the list of content suggestions on the New Tab page will "
2058 "contain pages that the user downloaded for later use.";
2059
2060const char kEnableNtpRemoteSuggestionsName[] =
2061 "Show server-side suggestions on the New Tab page";
2062const char kEnableNtpRemoteSuggestionsDescription[] =
2063 "If enabled, the list of content suggestions on the New Tab page will "
2064 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2065 "allows to override the source used to retrieve these server-side "
2066 "suggestions.";
2067
2068const char kEnableNtpSnippetsVisibilityName[] =
2069 "Make New Tab Page Snippets more visible.";
2070const char kEnableNtpSnippetsVisibilityDescription[] =
2071 "If enabled, the NTP snippets will become more discoverable with a larger "
2072 "portion of the first card above the fold.";
2073
2074const char kEnableNtpSuggestionsNotificationsName[] =
2075 "Notify about new content suggestions available at the New Tab page";
2076const char kEnableNtpSuggestionsNotificationsDescription[] =
2077 "If enabled, notifications will inform about new content suggestions on "
2078 "the New Tab page.";
2079
Brett Wilsonff596952017-07-14 01:06:552080const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2081const char kEnableOfflinePreviewsDescription[] =
2082 "Enable showing offline page previews on slow networks.";
2083
2084const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2085const char kEnableOskOverscrollDescription[] =
2086 "Enable OSK overscroll support. With this flag on, the OSK will only "
2087 "resize the visual viewport.";
2088
2089const char kEnableSpecialLocaleName[] =
2090 "Enable custom logic for special locales.";
2091const char kEnableSpecialLocaleDescription[] =
2092 "Enable custom logic for special locales. In this mode, Chrome might "
2093 "behave differently in some locales.";
2094
Brett Wilsonff596952017-07-14 01:06:552095const char kEnableWebNfcName[] = "WebNFC";
2096const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2097
gogeraldf3cbb422017-07-26 14:37:122098const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2099 "Enable Web Payments method section order V2.";
2100const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2101 "Enable this option to display payment method section above address "
2102 "section instead of below it.";
2103
Raymes Khoury582b43132017-12-12 23:54:302104const char kGrantNotificationsToDSEName[] =
2105 "Grant notifications to the Default Search Engine";
2106const char kGrantNotificationsToDSENameDescription[] =
2107 "Automatically grant the notifications permission to the Default Search "
2108 "Engine";
2109
Daniel Parke74fcf862018-03-27 18:05:452110const char kHomePageButtonName[] = "Force Enable Home Page Button";
2111const char kHomePageButtonDescription[] =
2112 "Displays a home button if enabled. "
2113 "Chrome must be restarted twice for this flag to take effect.";
2114
Theresa920e0ed2018-03-07 18:12:442115const char kInterestFeedContentSuggestionsDescription[] =
2116 "Use the interest feed to render content suggestions. Currently content "
2117 "suggestions are shown on the New Tab Page.";
2118const char kInterestFeedContentSuggestionsName[] =
2119 "Interest Feed Content Suggestions";
2120
Brett Wilsonff596952017-07-14 01:06:552121const char kKeepPrefetchedContentSuggestionsName[] =
2122 "Keep prefetched content suggestions";
2123const char kKeepPrefetchedContentSuggestionsDescription[] =
2124 "If enabled, some of prefetched content suggestions are not replaced by "
2125 "the new fetched suggestions.";
2126
Leo Zhang051b75482017-12-20 03:28:302127const char kLanguagesPreferenceName[] = "Language Settings";
2128const char kLanguagesPreferenceDescription[] =
2129 "Enable this option for Language Settings feature on Android.";
2130
Brett Wilsonff596952017-07-14 01:06:552131const char kLsdPermissionPromptName[] =
2132 "Location Settings Dialog Permission Prompt";
2133const char kLsdPermissionPromptDescription[] =
2134 "Whether to use the Google Play Services Location Settings Dialog "
2135 "permission dialog.";
2136
Amirhossein Simjour97b4154f2018-02-20 03:49:592137const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2138const char kModalPermissionDialogViewDescription[] =
2139 "Enable this option to use ModalDialogManager for permission Dialogs.";
2140
Brett Wilsonff596952017-07-14 01:06:552141const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2142const char kMediaScreenCaptureDescription[] =
2143 "Enable this option for experimental ScreenCapture feature on Android.";
2144
2145const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2146const char kModalPermissionPromptsDescription[] =
2147 "Whether to use permission dialogs in place of permission infobars.";
2148
Brett Wilsonff596952017-07-14 01:06:552149const char kNewPhotoPickerName[] = "Enable new Photopicker";
2150const char kNewPhotoPickerDescription[] =
2151 "Activates the new picker for selecting photos.";
2152
2153const char kNoCreditCardAbort[] = "No Credit Card Abort";
2154const char kNoCreditCardAbortDescription[] =
2155 "Whether or not the No Credit Card Abort is enabled.";
2156
2157const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2158const char kNtpCondensedLayoutDescription[] =
2159 "Show a condensed layout on the New Tab Page.";
2160
2161const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2162const char kNtpCondensedTileLayoutDescription[] =
2163 "Show a condensed tile layout on the New Tab Page.";
2164
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062165const char kNtpModernLayoutName[] = "Modern NTP layout";
2166const char kNtpModernLayoutDescription[] =
2167 "Show a modern layout on the New Tab Page.";
2168
Theresa6bd5f282018-03-09 16:40:032169const char kNtpShortcutsName[] = "NTP Shortcuts";
2170const char kNtpShortcutsDescription[] =
2171 "Show shortcuts for bookmarks and downloads on the New Tab Page.";
2172
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042173const char kSiteExplorationUiName[] = "Site Exploration UI";
2174const char kSiteExplorationUiDescription[] =
2175 "Show site suggestions in the Exploration UI";
2176
Brett Wilsonff596952017-07-14 01:06:552177const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2178const char kNtpGoogleGInOmniboxDescription[] =
2179 "Show a Google G in the omnibox on the New Tab Page.";
2180
Brett Wilsonff596952017-07-14 01:06:552181const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2182const char kOfflineBookmarksDescription[] =
2183 "Enable saving bookmarked pages for offline viewing.";
2184
Brett Wilsonff596952017-07-14 01:06:552185const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2186const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2187
2188const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2189const char kOfflinePagesCtV2Description[] =
2190 "V2 features include attributing pages to the app that initiated the "
2191 "custom tabs, and being able to query for pages by page attribution.";
2192
Cathy Li7311d792018-04-05 00:34:162193const char kOfflinePagesCTSuppressNotificationsName[] =
2194 "Disable download complete notification for whitelisted CCT apps.";
2195const char kOfflinePagesCTSuppressNotificationsDescription[] =
2196 "Disable download complete notification for page downloads originating "
2197 "from a CCT app whitelisted to show their own download complete "
2198 "notification.";
2199
Candice Sy74fa7a352018-03-30 23:46:492200const char kOfflinePagesDescriptiveFailStatusName[] =
2201 "Enables descriptive failed download status text.";
2202const char kOfflinePagesDescriptiveFailStatusDescription[] =
2203 "Enables failed download status text in notifications and Downloads Home "
2204 "to state the reason the request failed if the failure is actionable.";
2205
2206const char kOfflinePagesDescriptivePendingStatusName[] =
2207 "Enables descriptive pending download status text.";
2208const char kOfflinePagesDescriptivePendingStatusDescription[] =
2209 "Enables pending download status text in notifications and Downloads Home "
2210 "to state the reason the request is pending.";
2211
2212const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2213 "Enables offline pages in the downloads home to be opened in CCT.";
2214const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2215 "When enabled offline pages launched from the Downloads Home will be "
2216 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2217
Carlos Knippschild09272ecd2017-12-09 03:29:362218const char kOfflinePagesLimitlessPrefetchingName[] =
2219 "Removes resource usage limits for the prefetching of offline pages.";
2220const char kOfflinePagesLimitlessPrefetchingDescription[] =
2221 "Allows the prefetching of suggested offline pages to ignore resource "
2222 "usage limits. This allows it to completely ignore data usage limitations "
2223 "and allows downloads to happen with any kind of connection.";
2224
Brett Wilsonff596952017-07-14 01:06:552225const char kOfflinePagesLoadSignalCollectingName[] =
2226 "Enables collecting load timing data for offline page snapshots.";
2227const char kOfflinePagesLoadSignalCollectingDescription[] =
2228 "Enables loading completeness data collection while writing an offline "
2229 "page. This data is collected in the snapshotted offline page to allow "
2230 "data analysis to improve deciding when to make the offline snapshot.";
2231
2232const char kOfflinePagesPrefetchingName[] =
2233 "Enables suggested offline pages to be prefetched.";
2234const char kOfflinePagesPrefetchingDescription[] =
2235 "Enables suggested offline pages to be prefetched, so useful content is "
2236 "available while offline.";
2237
Cathy Li3d5379e2017-09-07 00:11:092238const char kOfflinePagesPrefetchingUIName[] =
2239 "Enables prefetched offline pages to be shown in UI.";
2240const char kOfflinePagesPrefetchingUIDescription[] =
2241 "Enables prefetched offline pages to raise notifications and be shown in "
2242 "download home UI.";
2243
Pete Williamson7845dff2017-09-20 11:06:192244const char kOfflinePagesResourceBasedSnapshotName[] =
2245 "Enables offline page snapshots to be based on percentage of page loaded.";
2246const char kOfflinePagesResourceBasedSnapshotDescription[] =
2247 "Enables offline page snapshots to use a resource percentage based "
2248 "approach for determining when the page is loaded as opposed to a time "
2249 "based approach";
2250
Collin Baker17f92a52017-07-19 21:41:252251const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2252const char kOfflinePagesRenovationsDescription[] =
2253 "Enables offline page renovations which correct issues with dynamic "
2254 "content that occur when offlining pages that use JavaScript.";
2255
Brett Wilsonff596952017-07-14 01:06:552256const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2257const char kOfflinePagesSharingDescription[] =
2258 "Enables the saved offline pages to be shared via other applications.";
2259
Cathy Lie0d88762018-04-12 08:03:012260const char kOfflinePagesShowAlternateDinoPageName[] =
2261 "Enable alternate dino page with more user capabilities.";
2262const char kOfflinePagesShowAlternateDinoPageDescription[] =
2263 "Enables the dino page to show more buttons and offer existing offline "
2264 "content.";
2265
Brett Wilsonff596952017-07-14 01:06:552266const char kOfflinePagesSvelteConcurrentLoadingName[] =
2267 "Enables concurrent background loading on svelte.";
2268const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2269 "Enables concurrent background loading (or downloading) of pages on "
2270 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2271 "happen when the svelte device is idle.";
2272
2273const char kOffliningRecentPagesName[] =
2274 "Enable offlining of recently visited pages";
2275const char kOffliningRecentPagesDescription[] =
2276 "Enable storing recently visited pages locally for offline use. Requires "
2277 "Offline Pages to be enabled.";
2278
Lei Zhang2eca9082017-10-17 20:42:502279const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2280const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552281 "Enable Pay with Google integration into Web Payments with API version "
2282 "'1'.";
2283
Matthew Jonesa88b95852017-11-08 23:13:502284const char kProgressBarThrottleName[] = "Android progress update throttling.";
2285const char kProgressBarThrottleDescription[] =
2286 "Limit the maximum progress update to make progress appear smoother.";
2287
Brett Wilsonff596952017-07-14 01:06:552288const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2289const char kPullToRefreshEffectDescription[] =
2290 "Page reloads triggered by vertically overscrolling content.";
2291
Piotr Swigon7c296ef2017-08-29 04:32:002292const char kPwaImprovedSplashScreenName[] =
2293 "Improved Splash Screen for standalone PWAs";
2294const char kPwaImprovedSplashScreenDescription[] =
2295 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2296 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492297const char kPwaPersistentNotificationName[] =
2298 "Persistent notification in standalone PWA";
2299const char kPwaPersistentNotificationDescription[] =
2300 "Enables a persistent Android notification for standalone PWAs";
2301
Brett Wilsonff596952017-07-14 01:06:552302const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2303const char kReaderModeHeuristicsDescription[] =
2304 "Determines what pages the Reader Mode infobar is shown on.";
2305const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2306const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2307const char kReaderModeHeuristicsAllArticles[] = "All articles";
2308const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2309const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2310
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182311const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2312const char kReaderModeInCCTDescription[] =
2313 "Open Reader Mode in Chrome Custom Tabs.";
2314
Brett Wilsonff596952017-07-14 01:06:552315const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2316const char kSetMarketUrlForTestingDescription[] =
2317 "When enabled, sets the market URL for use in testing the update menu "
2318 "item.";
2319
2320const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2321const char kSpannableInlineAutocompleteDescription[] =
2322 "A new type of inline autocomplete for the omnibox that works with "
2323 "keyboards that compose text.";
2324
Brett Wilsonff596952017-07-14 01:06:552325const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2326const char kUpdateMenuBadgeDescription[] =
2327 "When enabled, an update badge will be shown on the app menu button.";
2328
2329const char kUpdateMenuItemCustomSummaryDescription[] =
2330 "When this flag and the force show update menu item flag are enabled, a "
2331 "custom summary string will be displayed below the update menu item.";
2332const char kUpdateMenuItemCustomSummaryName[] =
2333 "Update menu item custom summary";
2334
2335const char kUpdateMenuItemName[] = "Force show update menu item";
2336const char kUpdateMenuItemDescription[] =
2337 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2338 R"*(menu.)*";
2339
Amirhossein Simjourd78bbcf2018-02-02 16:23:392340const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2341const char kVrBrowsingNativeAndroidUiDescription[] =
2342 "Enable Android UI elements in VR.";
2343
Marc Treib93af46a2017-08-23 13:30:002344const char kThirdPartyDoodlesName[] =
2345 "Enable Doodles for third-party search engines";
2346const char kThirdPartyDoodlesDescription[] =
2347 "Enables fetching and displaying Doodles on the NTP for third-party search "
2348 "engines.";
2349
Klaus Weidneraaf697f2018-01-18 20:07:362350const char kWebXrRenderPathName[] = "WebXR presentation render path";
2351const char kWebXrRenderPathDescription[] =
2352 "Render path to use for WebXR presentation (including WebVR)";
2353const char kWebXrRenderPathChoiceClientWaitDescription[] =
2354 "ClientWait (Baseline)";
2355const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2356 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072357const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2358 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362359
Brett Wilson7b44537e2017-08-18 01:38:282360// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552361
Brett Wilson7b44537e2017-08-18 01:38:282362#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482363
Brett Wilson7b44537e2017-08-18 01:38:282364const char kAccountConsistencyName[] =
2365 "Identity consistency between browser and cookie jar";
2366const char kAccountConsistencyDescription[] =
2367 "When enabled, the browser manages signing in and out of Google accounts.";
2368const char kAccountConsistencyChoiceMirror[] = "Mirror";
2369const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342370
Chris Pickel3a227ae62017-08-24 10:47:262371const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2372const char kDoodlesOnLocalNtpDescription[] =
2373 "Show doodles on the local New Tab page if Google is the default search "
2374 "engine.";
2375
mlamouriff56c092017-05-11 15:31:392376const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392377const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342378 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392379const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392380const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392381const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342382 "Enabled (Flash lowers volume when interrupted by other sound, "
2383 "experimental)";
2384
Brett Wilson7b44537e2017-08-18 01:38:282385const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2386const char kEnableNewAppMenuIconDescription[] =
2387 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342388
Dave Schuyler598a4a42018-01-04 02:15:102389const char kOmniboxRichEntitySuggestionsName[] =
2390 "Omnibox rich entity suggestions";
2391const char kOmniboxRichEntitySuggestionsDescription[] =
2392 "Display entity suggestions using images and an enhanced layout; showing "
2393 "more context and descriptive text about the entity";
2394
Kevin Bailey898669972017-11-06 15:34:492395const char kOmniboxTabSwitchSuggestionsName[] =
2396 "Omnibox tab switch suggestions";
2397const char kOmniboxTabSwitchSuggestionsDescription[] =
2398 "Enable suggestions for switching to open tabs within the Omnibox.";
2399
krbcc621412017-06-01 19:40:282400const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2401const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192402 "Enable receiving tail suggestions, a type of search suggestion based on "
2403 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342404
Brett Wilson7b44537e2017-08-18 01:38:282405const char kOneGoogleBarOnLocalNtpName[] =
2406 "Enable the OneGoogleBar on the local NTP";
2407const char kOneGoogleBarOnLocalNtpDescription[] =
2408 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2409 "search engine.";
2410
Brett Wilson7b44537e2017-08-18 01:38:282411const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2412const char kUseGoogleLocalNtpDescription[] =
2413 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322414
Brett Wilson7b44537e2017-08-18 01:38:282415const char kVoiceSearchOnLocalNtpName[] =
2416 "Enable Voice Search on the local NTP";
2417const char kVoiceSearchOnLocalNtpDescription[] =
2418 "Show a microphone for voice search on the local New Tab page "
2419 "if Google is the default search engine.";
2420
Balazs Engedy00c5cea2018-03-30 15:36:392421const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422422const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392423 "Enable Web Authentication API support";
2424
2425const char kEnableWebAuthenticationTestingAPIName[] =
2426 "Web Authentication Testing API";
2427const char kEnableWebAuthenticationTestingAPIDescription[] =
2428 "Enable Web Authentication Testing API support, which disconnects the API "
2429 "implementation from the real world, and allows configuring virtual "
2430 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422431
Brett Wilson7b44537e2017-08-18 01:38:282432#if defined(GOOGLE_CHROME_BUILD)
2433
2434const char kGoogleBrandedContextMenuName[] =
2435 "Google branding in the context menu";
2436const char kGoogleBrandedContextMenuDescription[] =
2437 "Shows a Google icon next to context menu items powered by Google "
2438 "services.";
2439
2440#endif // !defined(GOOGLE_CHROME_BUILD)
2441
2442#endif // !defined(OS_ANDROID)
2443
2444// Windows ---------------------------------------------------------------------
2445
2446#if defined(OS_WIN)
2447
2448const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2449const char kCloudPrintXpsDescription[] =
2450 "XPS enables advanced options for classic printers connected to the Cloud "
2451 "Print with Chrome. Printers must be re-connected after changing this "
2452 "flag.";
2453
Dave Tapuskadd43469d2017-08-22 22:15:532454const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2455const char kDirectManipulationStylusDescription[] =
2456 "If enabled, Chrome will scroll web pages on stylus drag.";
2457
Brett Wilson7b44537e2017-08-18 01:38:282458const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2459const char kDisablePostscriptPrintingDescription[] =
2460 "Disables PostScript generation when printing to PostScript capable "
2461 "printers, and uses EMF generation in its place.";
2462
2463const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2464const char kEnableAppcontainerDescription[] =
2465 "Enables the use of an AppContainer on sandboxed processes to improve "
2466 "security.";
2467
2468const char kEnableD3DVsync[] = "D3D v-sync";
2469const char kEnableD3DVsyncDescription[] =
2470 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2471 "to occur.";
2472
2473const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2474const char kEnableDesktopIosPromotionsDescription[] =
2475 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2476 "eligible.";
2477
James Forshawfd0ce342018-02-14 09:55:392478const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2479const char kEnableGpuAppcontainerDescription[] =
2480 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2481 "improve security.";
2482
Brett Wilson7b44537e2017-08-18 01:38:282483const char kGdiTextPrinting[] = "GDI Text Printing";
2484const char kGdiTextPrintingDescription[] =
2485 "Use GDI to print text as simply text";
2486
Henrik Grunell67e56ef2018-04-10 14:04:092487const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2488const char kIncreaseInputAudioBufferSizeDescription[] =
2489 "Increases the input audio endpoint buffer to 100 ms.";
2490
Brett Wilson7b44537e2017-08-18 01:38:282491const char kTraceExportEventsToEtwName[] =
2492 "Enable exporting of tracing events to ETW.";
2493const char kTraceExportEventsToEtwDesription[] =
2494 "If enabled, trace events will be exported to the Event Tracing for "
2495 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2496 "Xperf.";
2497
2498const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2499const char kUseWinrtMidiApiDescription[] =
2500 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2501 "later).";
2502
2503const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2504const char kWindows10CustomTitlebarDescription[] =
2505 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2506 "deferring to Windows.";
2507
2508#endif // defined(OS_WIN)
2509
2510// Mac -------------------------------------------------------------------------
2511
2512#if defined(OS_MACOSX)
2513
Brett Wilson7b44537e2017-08-18 01:38:282514const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2515const char kAppWindowCyclingDescription[] =
2516 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2517 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2518 "browser window, and browser windows will not be cycled when a Chrome App "
2519 "is active.";
2520
Lei Zhang2eca9082017-10-17 20:42:502521const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2522const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282523 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2524
2525const char kFullscreenToolbarRevealName[] =
2526 "Enables the toolbar in fullscreen to reveal itself.";
2527const char kFullscreenToolbarRevealDescription[] =
2528 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2529 "has changed.";
2530
2531const char kContentFullscreenName[] = "Improved Content Fullscreen";
2532const char kContentFullscreenDescription[] =
2533 "Fullscreen content window detaches from main browser window and goes to "
2534 "a new space without moving or changing the original browser window.";
2535
Lei Zhang2eca9082017-10-17 20:42:502536const char kDialogTouchBarName[] = "Dialog Touch Bar";
2537const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282538 "Shows Dialog buttons on the Touch Bar.";
2539
2540const char kHostedAppsInWindowsName[] =
2541 "Allow hosted apps to be opened in windows";
2542const char kHostedAppsInWindowsDescription[] =
2543 "Allows hosted apps to be opened in windows instead of being limited to "
2544 "tabs.";
2545
Lei Zhang2eca9082017-10-17 20:42:502546const char kMacRTLName[] = "Enable RTL";
2547const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282548
Lei Zhang2eca9082017-10-17 20:42:502549const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2550const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522551 "Enables sharing via macOS share extensions.";
2552
Lei Zhang2eca9082017-10-17 20:42:502553const char kMacTouchBarName[] = "Hardware Touch Bar";
2554const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282555
2556const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2557const char kMacV2SandboxDescription[] =
2558 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2559 "entire life cycle.";
2560
2561const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2562const char kMacViewsNativeAppWindowsDescription[] =
2563 "Controls whether to use Toolkit-Views based Chrome App windows.";
2564
2565const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2566const char kMacViewsTaskManagerDescription[] =
2567 "Controls whether to use the Toolkit-Views based Task Manager.";
2568
2569const char kTabDetachingInFullscreenName[] =
2570 "Allow tab detaching in fullscreen";
2571const char kTabDetachingInFullscreenDescription[] =
2572 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2573
2574const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2575const char kTabStripKeyboardFocusDescription[] =
2576 "Enable keyboard focus for the tabs in the tab strip.";
2577
Brett Wilson7b44537e2017-08-18 01:38:282578#endif
2579
2580// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342581
2582#if defined(OS_CHROMEOS)
2583
Brett Wilson7b44537e2017-08-18 01:38:282584const char kAcceleratedMjpegDecodeName[] =
2585 "Hardware-accelerated mjpeg decode for captured frame";
2586const char kAcceleratedMjpegDecodeDescription[] =
2587 "Enable hardware-accelerated mjpeg decode for captured frame where "
2588 "available.";
vabr0215a8e2017-03-28 12:47:342589
Brett Wilson7b44537e2017-08-18 01:38:282590const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2591const char kAllowTouchpadThreeFingerClickDescription[] =
2592 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342593
Brett Wilson7b44537e2017-08-18 01:38:282594const char kArcBootCompleted[] = "Load Android apps automatically";
2595const char kArcBootCompletedDescription[] =
2596 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342597
Lev Rumyantsev7a8544312017-08-18 19:26:512598const char kArcNativeBridgeExperimentName[] =
2599 "Enable native bridge experiment for ARC";
2600const char kArcNativeBridgeExperimentDescription[] =
2601 "Enables experimental native bridge feature.";
2602
lgchengecd1c1a62018-01-09 02:59:462603const char kArcUsbHostName[] = "Enable ARC USB host integration";
2604const char kArcUsbHostDescription[] =
2605 "Allow Android apps to use USB host feature on ChromeOS devices.";
2606
Kevin Cernekeeb7f96a52017-10-25 17:40:182607const char kArcVpnName[] = "Enable ARC VPN integration";
2608const char kArcVpnDescription[] =
2609 "Allow Android VPN clients to tunnel Chrome traffic.";
2610
Brett Wilson7b44537e2017-08-18 01:38:282611const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2612const char kAshEnableUnifiedDesktopDescription[] =
2613 "Enable unified desktop mode which allows a window to span multiple "
2614 "displays.";
vabr0215a8e2017-03-28 12:47:342615
Sean Kau5e956192017-10-06 22:25:172616const char kBulkPrintersName[] = "Bulk Printers Policy";
2617const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2618
Brett Wilson7b44537e2017-08-18 01:38:282619const char kCaptivePortalBypassProxyName[] =
2620 "Bypass proxy for Captive Portal Authorization";
2621const char kCaptivePortalBypassProxyDescription[] =
2622 "If proxy is configured, it usually prevents from authorization on "
2623 "different captive portals. This enables opening captive portal "
2624 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342625
Brett Wilson7b44537e2017-08-18 01:38:282626const char kCrOSComponentName[] = "Chrome OS Component";
2627const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082628 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342629
Xiaochu Liu51d03fd2017-09-08 23:51:022630const char kCrOSContainerName[] = "Chrome OS Container";
2631const char kCrOSContainerDescription[] =
2632 "Enable the use of Chrome OS Container utility.";
2633
Brett Wilson7b44537e2017-08-18 01:38:282634const char kCrosRegionsModeName[] = "Cros-regions load mode";
2635const char kCrosRegionsModeDescription[] =
2636 "This flag controls cros-regions load mode";
2637const char kCrosRegionsModeDefault[] = "Default";
2638const char kCrosRegionsModeOverride[] = "Override VPD values.";
2639const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342640
Jacob Dufault2becbc482017-08-25 00:36:352641const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2642const char kDisableLockScreenAppsDescription[] =
2643 "Disable new-note action handler apps on the lock screen. The user will "
2644 "not be able to launch the preferred note-taking action from the lock "
2645 "screen, provided that the app supports lock screen note taking.";
2646
Sammie Quonef6b4882017-09-14 16:50:052647const char kDisableTabletAutohideTitlebarsName[] =
2648 "Disable autohide titlebars in tablet mode";
2649const char kDisableTabletAutohideTitlebarsDescription[] =
2650 "Disable tablet mode autohide titlebars functionality. The user will be "
2651 "able to see the titlebar in tablet mode.";
2652
Xiaoqian Dai24b33eb2018-04-10 21:01:572653const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2654const char kDisableTabletSplitViewDescription[] =
2655 "Disable split view for Chrome OS tablet mode.";
2656
Brett Wilson7b44537e2017-08-18 01:38:282657const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2658const char kEnablePerUserTimezoneDescription[] =
2659 "Chrome OS system timezone preference is stored and handled for each user "
2660 "individually.";
vabr0215a8e2017-03-28 12:47:342661
Brett Wilson7b44537e2017-08-18 01:38:282662const char kDisableSystemTimezoneAutomaticDetectionName[] =
2663 "SystemTimezoneAutomaticDetection policy support";
2664const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2665 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342666
Lei Zhang2eca9082017-10-17 20:42:502667const char kEnableBackgroundBlurName[] = "Enable background blur.";
2668const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422669 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392670
Brett Wilson7b44537e2017-08-18 01:38:282671const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2672const char kEnableChromevoxArcSupportDescription[] =
2673 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342674
F#m75862c92018-01-25 19:10:472675const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2676const char kEnableDisplayZoomSettingDescription[] =
2677 "Allows the user to modify the display size or zoom via the chrome display "
2678 "settings page.";
2679
Brett Wilson7b44537e2017-08-18 01:38:282680const char kEnableEhvInputName[] =
2681 "Emoji, handwriting and voice input on opt-in IME menu";
2682const char kEnableEhvInputDescription[] =
2683 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342684
Brett Wilson7b44537e2017-08-18 01:38:282685const char kEnableEncryptionMigrationName[] =
2686 "Enable encryption migration of user data";
2687const char kEnableEncryptionMigrationDescription[] =
2688 "If enabled and the device supports ARC, the user will be asked to update "
2689 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342690
Blake O'Hare9e9317b22017-10-24 02:49:352691const char kEnableFloatingVirtualKeyboardName[] =
2692 "Enable floating virtual keyboard";
2693const char kEnableFloatingVirtualKeyboardDescription[] =
2694 "If enabled, the keyboard will use floating behavior by default.";
2695
Brett Wilson7b44537e2017-08-18 01:38:282696const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2697const char kEnableImeMenuDescription[] =
2698 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342699
Darren Shen3e49c63d2018-03-28 04:45:502700const char kEnableStylusVirtualKeyboardName[] =
2701 "Enable stylus virtual keyboard";
2702const char kEnableStylusVirtualKeyboardDescription[] =
2703 "If enabled, tapping with a stylus will show the handwriting virtual "
2704 "keyboard.";
2705
Jianzhou Feng4fb046c2018-03-29 07:38:542706const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2707 "Enable full screen handwriting virtual keyboard";
2708const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2709 "If enabled, the handwriting virtual keyboard will allow user to write "
2710 "anywhere on the screen";
2711
Jordy Greenblatt2f23df22018-02-22 19:49:192712const char kEnableUnifiedMultiDeviceSettingsName[] =
2713 "Enable unified MultiDevice settings";
2714const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2715 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2716 "MultiDevice settings.";
2717
2718const char kEnableUnifiedMultiDeviceSetupName[] =
2719 "Enable unified MultiDevice setup";
2720const char kEnableUnifiedMultiDeviceSetupDescription[] =
2721 "Enable the device to setup all MultiDevice services in a single workflow.";
2722
Klemen Kozjek05fc4512017-10-18 12:51:102723const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2724const char kEnableZipArchiverPackerDescription[] =
2725 "Enable the ability to archive files on Drive in the Files app";
2726
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412727const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2728const char kZipArchiverUnpackerDescription[] =
2729 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282730
2731const char kEolNotificationName[] = "Disable Device End of Life notification.";
2732const char kEolNotificationDescription[] =
2733 "Disable Notifcation when Device is End of Life.";
2734
2735const char kExperimentalAccessibilityFeaturesName[] =
2736 "Experimental accessibility features";
2737const char kExperimentalAccessibilityFeaturesDescription[] =
2738 "Enable additional accessibility features in the Settings page.";
2739
2740const char kExperimentalInputViewFeaturesName[] =
2741 "Experimental input view features";
2742const char kExperimentalInputViewFeaturesDescription[] =
2743 "Enable experimental features for IME input views.";
2744
2745const char kFileManagerTouchModeName[] = "Files App. touch mode";
2746const char kFileManagerTouchModeDescription[] =
2747 "Touchscreen-specific interactions of the Files app.";
2748
2749const char kFirstRunUiTransitionsName[] =
2750 "Animated transitions in the first-run tutorial";
2751const char kFirstRunUiTransitionsDescription[] =
2752 "Transitions during first-run tutorial are animated.";
2753
Brett Wilson7b44537e2017-08-18 01:38:282754const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2755const char kForceEnableStylusToolsDescription[] =
2756 "Forces display of the stylus tools menu in the shelf and the stylus "
2757 "section in settings, even if there is no attached stylus device.";
2758
2759const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2760const char kGestureEditingDescription[] =
2761 "Enable/Disable gesture editing option in the settings page for the "
2762 "virtual keyboard.";
2763
2764const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2765const char kGestureTypingDescription[] =
2766 "Enable/Disable gesture typing option in the settings page for the virtual "
2767 "keyboard.";
2768
2769const char kInputViewName[] = "Input views";
2770const char kInputViewDescription[] =
2771 "Enable IME extensions to supply custom views for user input such as "
2772 "virtual keyboards.";
2773
Megumi Hattori5a0d4182018-03-06 11:09:502774const char kLockScreenNotificationName[] = "Lock screen notification";
2775const char kLockScreenNotificationDescription[] =
2776 "Enable notifications on the lock screen.";
2777
Brett Wilson7b44537e2017-08-18 01:38:282778const char kMemoryPressureThresholdName[] =
2779 "Memory discard strategy for advanced pressure handling";
2780const char kMemoryPressureThresholdDescription[] =
2781 "Memory discarding strategy to use";
2782const char kConservativeThresholds[] =
2783 "Conservative memory pressure release strategy";
2784const char kAggressiveCacheDiscardThresholds[] =
2785 "Aggressive cache release strategy";
2786const char kAggressiveTabDiscardThresholds[] =
2787 "Aggressive tab release strategy";
2788const char kAggressiveThresholds[] =
2789 "Aggressive tab and cache release strategy";
2790
2791const char kMtpWriteSupportName[] = "MTP write support";
2792const char kMtpWriteSupportDescription[] =
2793 "MTP write support in File System API (and file manager). In-place editing "
2794 "operations are not supported.";
2795
2796const char kMultideviceName[] = "Enable multidevice features";
2797const char kMultideviceDescription[] =
2798 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342799
Kyle Horimoto027590fb2018-02-13 22:19:482800const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2801const char kMultiDeviceApiDescription[] =
2802 "Enable Mojo-based API which provides synced device metadata and the "
2803 "ability to connect to other devices associated the logged-in Google "
2804 "account.";
2805
Bailey Berrodca8eeca02017-11-18 00:49:122806const char kNativeSmbName[] = "Native Smb Client";
2807const char kNativeSmbDescription[] =
2808 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302809
vabr0215a8e2017-03-28 12:47:342810const char kNetworkPortalNotificationName[] =
2811 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342812const char kNetworkPortalNotificationDescription[] =
2813 "If enabled, notification is displayed when device is connected to a "
2814 "network behind captive portal.";
2815
Steven Bennetts77b67972017-12-14 19:38:322816const char kDisableNetworkSettingsConfigName[] =
2817 "Disable Settings based Network Configuration";
2818const char kDisableNetworkSettingsConfigDescription[] =
2819 "Disables the Settings based network configuration UI and restores the "
2820 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242821
Brett Wilson7b44537e2017-08-18 01:38:282822const char kNewKoreanImeName[] = "New Korean IME";
2823const char kNewKoreanImeDescription[] =
2824 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342825
Brett Wilson7b44537e2017-08-18 01:38:282826const char kNewZipUnpackerName[] = "New ZIP unpacker";
2827const char kNewZipUnpackerDescription[] =
2828 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342829
Brett Wilson7b44537e2017-08-18 01:38:282830const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2831const char kPhysicalKeyboardAutocorrectDescription[] =
2832 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2833 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342834
2835const char kPrinterProviderSearchAppName[] =
2836 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342837const char kPrinterProviderSearchAppDescription[] =
2838 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192839 "searches Chrome Web Store for extensions that support printing to a USB "
2840 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342841
Brett Wilson7b44537e2017-08-18 01:38:282842const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2843const char kQuickUnlockPinDescription[] =
2844 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2845 "device on the lock screen after you have signed into your device.";
2846const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2847const char kQuickUnlockPinSigninDescription[] =
2848 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2849 "device. After changing this flag PIN needs to be set up again.";
2850const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2851const char kQuickUnlockFingerprintDescription[] =
2852 "Enabling fingerprint quick unlock allows you to setup and use a "
2853 "fingerprint to unlock your Chromebook on the lock screen after you have "
2854 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342855
Brett Wilson7b44537e2017-08-18 01:38:282856const char kOfficeEditingComponentAppName[] =
2857 "Office Editing for Docs, Sheets & Slides";
2858const char kOfficeEditingComponentAppDescription[] =
2859 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072860
James Cook0ba192bf2017-12-01 20:53:112861const char kShowTapsName[] = "Show taps";
2862const char kShowTapsDescription[] =
2863 "Draws a circle at each touch point, which makes touch points more obvious "
2864 "when projecting or mirroring the display. Similar to the Android OS "
2865 "developer option.";
2866
2867const char kShowTouchHudName[] = "Show HUD for touch points";
2868const char kShowTouchHudDescription[] =
2869 "Shows a trail of colored dots for the last few touch points. Pressing "
2870 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2871 "debug hardware issues that generate spurious touch events.";
2872
Chung-Sheng Wu468b0b32017-09-01 14:41:572873const char kSysInternalsName[] = "Enable Sys-Internals";
2874const char kSysInternalsDescription[] =
2875 "If enabled, user can monitor system information at "
2876 "chrome://sys-internals.";
2877
Brett Wilson7b44537e2017-08-18 01:38:282878const char kTeamDrivesName[] = "Enable Team Drives Integration";
2879const char kTeamDrivesDescription[] =
2880 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342881
Brett Wilson7b44537e2017-08-18 01:38:282882const char kTetherName[] = "Instant Tethering";
2883const char kTetherDescription[] =
2884 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2885 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372886
Brett Wilson7b44537e2017-08-18 01:38:282887const char kTouchscreenCalibrationName[] =
2888 "Enable/disable touchscreen calibration option in material design settings";
2889const char kTouchscreenCalibrationDescription[] =
2890 "If enabled, the user can calibrate the touch screen displays in "
2891 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092892
Mitsuru Oshima63d3f2a2017-08-23 00:12:112893// Force UI Mode
2894const char kUiModeName[] = "Force Ui Mode";
2895const char kUiModeDescription[] =
2896 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2897 R"*(despite its current orientation. "Tablet" means that the )*"
2898 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2899 R"*(means that the chromebook will act as if it were in clamshell )*"
2900 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2901 R"*(the two, based on its orientation.)*";
2902const char kUiModeTablet[] = "TouchView";
2903const char kUiModeClamshell[] = "Clamshell";
2904const char kUiModeAuto[] = "Auto (default)";
2905
bruthigeafb0c02017-06-09 13:11:532906const char kUiDevToolsName[] = "Enable native UI inspection";
2907const char kUiDevToolsDescription[] =
2908 "Enables inspection of native UI elements. For local inspection use "
2909 "chrome://inspect#other";
2910
James Cooka1bcfa9a2018-01-30 00:18:402911const char kUseMusName[] = "Mojo UI service (mus)";
2912const char kUseMusDescription[] =
2913 "Handles input events, display configuration, and windowing in a mojo "
2914 "service on a thread in the browser process.";
2915
2916const char kUseMashName[] = "Out-of-process system UI (mash)";
2917const char kUseMashDescription[] =
2918 "Runs the mojo UI service (mus) and the ash window manager and system UI "
2919 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:282920
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342921// TODO(mcasas): remove after https://crbug.com/771345.
2922const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2923const char kUseMonitorColorSpaceDescription[] =
2924 "Enables Chrome to use the color space information provided by the monitor"
2925 " instead of the default sRGB color space.";
2926
Brett Wilson7b44537e2017-08-18 01:38:282927const char kVideoPlayerChromecastSupportName[] =
2928 "Experimental Chromecast support for Video Player";
2929const char kVideoPlayerChromecastSupportDescription[] =
2930 "This option enables experimental Chromecast support for Video Player app "
2931 "on ChromeOS.";
2932
2933const char kVirtualKeyboardName[] = "Virtual Keyboard";
2934const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2935
2936const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2937const char kVirtualKeyboardOverscrollDescription[] =
2938 "Enables virtual keyboard overscroll support.";
2939
2940const char kVoiceInputName[] = "Voice input on virtual keyboard";
2941const char kVoiceInputDescription[] =
2942 "Enables voice input on virtual keyboard.";
2943
2944const char kWakeOnPacketsName[] = "Wake On Packets";
2945const char kWakeOnPacketsDescription[] =
2946 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202947
Weidong Guo7ae47532018-04-05 21:30:372948const char kEnableHomeLauncherName[] = "Enable home launcher";
2949const char kEnableHomeLauncherDescription[] =
2950 "Enable home launcher in tablet mode.";
2951
yhanadac5bff5b2017-05-18 06:37:092952#endif // defined(OS_CHROMEOS)
2953
Brett Wilson7b44537e2017-08-18 01:38:282954// Random platform combinations -----------------------------------------------
2955
2956#if defined(OS_WIN) || defined(OS_LINUX)
2957
2958const char kEnableInputImeApiName[] = "Enable Input IME API";
2959const char kEnableInputImeApiDescription[] =
2960 "Enable the use of chrome.input.ime API.";
2961
2962#endif // defined(OS_WIN) || defined(OS_LINUX)
2963
2964#if defined(OS_WIN) || defined(OS_MACOSX)
2965
2966const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2967const char kAutomaticTabDiscardingDescription[] =
2968 "If enabled, tabs get automatically discarded from memory when the system "
2969 "memory is low. Discarded tabs are still visible on the tab strip and get "
2970 "reloaded when clicked on. Info about discarded tabs can be found at "
2971 "chrome://discards.";
2972
2973#endif // defined(OS_WIN) || defined(OS_MACOSX)
2974
2975// Feature flags --------------------------------------------------------------
2976
2977#if BUILDFLAG(ENABLE_VR)
2978
David Dorwin5a496c32017-11-17 01:45:052979const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2980const char kWebVrVsyncAlignDescription[] =
2981 "Align WebVR application rendering with VSync for smoother animations.";
2982
Brett Wilson7b44537e2017-08-18 01:38:282983#if defined(OS_ANDROID)
2984
Yash Malikb78e72a72018-02-21 09:14:102985const char kVrWebInputEditingName[] = "VR browsing web input editing";
2986const char kVrWebInputEditingDescription[] =
2987 "Allow editing web input fields while in VR mode.";
2988
David Dorwin5a496c32017-11-17 01:45:052989const char kVrBrowsingExperimentalFeaturesName[] =
2990 "VR browsing experimental features";
2991const char kVrBrowsingExperimentalFeaturesDescription[] =
2992 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282993
David Dorwin5a496c32017-11-17 01:45:052994const char kVrBrowsingExperimentalRenderingName[] =
2995 "VR browsing experimental rendering features";
2996const char kVrBrowsingExperimentalRenderingDescription[] =
2997 "Experimental rendering features for VR browsing (e.g. power-saving "
2998 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102999
David Dorwin5a496c32017-11-17 01:45:053000const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3001const char kVrBrowsingInCustomTabDescription[] =
3002 "Allow browsing within a VR headset while in a Custom Tab.";
3003
Michael Thiessen37895912018-01-19 20:15:543004const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
3005const char kVrIconInDaydreamHomeDescription[] =
3006 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
3007
David Dorwin5a496c32017-11-17 01:45:053008const char kWebVrAutopresentFromIntentName[] =
3009 "WebVR auto presentation from intents";
3010const char kWebVrAutopresentFromIntentDescription[] =
3011 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283012
3013#endif // OS_ANDROID
3014
Bill Orr103ed272018-02-14 21:23:053015#if BUILDFLAG(ENABLE_OCULUS_VR)
3016const char kOculusVRName[] = "Oculus hardware support";
3017const char kOculusVRDescription[] =
3018 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3019 "Windows 10 or later).";
3020#endif // ENABLE_OCULUS_VR
3021
Bill Orr49527562017-11-22 16:58:483022#if BUILDFLAG(ENABLE_OPENVR)
3023const char kOpenVRName[] = "OpenVR hardware support";
3024const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073025 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3026 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483027#endif // ENABLE_OPENVR
3028
Brett Wilson7b44537e2017-08-18 01:38:283029#endif // ENABLE_VR
3030
Nico Weberaf3b00b2017-09-11 17:58:173031#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283032
3033const char kNaclDebugMaskName[] =
3034 "Restrict Native Client GDB-based debugging by pattern";
3035const char kNaclDebugMaskDescription[] =
3036 "Restricts Native Client application GDB-based debugging by URL of "
3037 "manifest file. Native Client GDB-based debugging must be enabled for this "
3038 "option to work.";
3039const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3040const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3041 "Debug everything except secure shell and the PNaCl translator.";
3042const char kNaclDebugMaskChoiceIncludeDebug[] =
3043 "Debug only if manifest URL ends with debug.nmf.";
3044
3045const char kNaclDebugName[] = "Native Client GDB-based debugging";
3046const char kNaclDebugDescription[] =
3047 "Enable GDB debug stub. This will stop a Native Client application on "
3048 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3049
3050const char kNaclName[] = "Native Client";
3051const char kNaclDescription[] =
3052 "Support Native Client for all web applications, even those that were not "
3053 "installed from the Chrome Web Store.";
3054
3055const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3056const char kPnaclSubzeroDescription[] =
3057 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3058
Nico Weberaf3b00b2017-09-11 17:58:173059#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283060
Brett Wilson7b44537e2017-08-18 01:38:283061#if BUILDFLAG(ENABLE_WEBRTC)
3062
3063const char kWebrtcH264WithOpenh264FfmpegName[] =
3064 "WebRTC H.264 software video encoder/decoder";
3065const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3066 "When enabled, an H.264 software video encoder/decoder pair is included. "
3067 "If a hardware encoder/decoder is also available it may be used instead of "
3068 "this encoder/decoder.";
3069
3070#endif // BUILDFLAG(ENABLE_WEBRTC)
3071
James Cookf9d34d22017-10-04 16:39:353072#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283073
Wenzhao Zang50fb0b22017-11-07 01:38:423074const char kAshDisableLoginDimAndBlurName[] =
3075 "Disable dimming and blur on login screen.";
3076const char kAshDisableLoginDimAndBlurDescription[] =
3077 "Disable dimming and blur on login screen.";
3078
Brett Wilson7b44537e2017-08-18 01:38:283079const char kAshDisableSmoothScreenRotationName[] =
3080 "Disable smooth rotation animations.";
3081const char kAshDisableSmoothScreenRotationDescription[] =
3082 "Disable smooth rotation animations.";
3083
Qiang Xub7e921072017-12-07 21:02:113084const char kAshEnableDisplayMoveWindowAccelsName[] =
3085 "Enable shortcuts for moving window between displays.";
3086const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3087 "Enable shortcuts for moving window between displays.";
3088
wutaoc70d7b92017-11-01 08:06:013089const char kAshEnableKeyboardShortcutViewerName[] =
3090 "Enable keyboard shortcut viewer.";
3091const char kAshEnableKeyboardShortcutViewerDescription[] =
3092 "Enable keyboard shortcut viewer.";
3093
Brett Wilson7b44537e2017-08-18 01:38:283094const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3095const char kAshEnableMirroredScreenDescription[] =
3096 "Enable the mirrored screen mode. This mode flips the screen image "
3097 "horizontally.";
3098
Sammie Quon4e14214d2018-01-30 22:45:243099const char kAshEnableNewOverviewUiName[] = "Enable new overview UI.";
3100const char kAshEnableNewOverviewUiDescription[] =
3101 "Enables the new overview mode UI.";
3102
wutaod9cbcd32018-02-17 02:31:063103const char kAshEnableNewOverviewAnimationsName[] =
3104 "Enable new overview animations.";
3105const char kAshEnableNewOverviewAnimationsDescription[] =
3106 "Enables the new overview mode animations.";
3107
Qiang Xufa19cfd2018-01-29 19:36:503108const char kAshEnablePersistentWindowBoundsName[] =
3109 "Enable persistent window bounds in multi-displays scenario.";
3110const char kAshEnablePersistentWindowBoundsDescription[] =
3111 "Enable persistent window bounds in multi-displays scenario.";
3112
Daniel Erat9ef89ee2018-03-27 03:46:463113const char kAshEnableModeSpecificPowerButtonName[] =
3114 "Enable mode-specific power button behavior.";
3115const char kAshEnableModeSpecificPowerButtonDescription[] =
3116 "Enable mode-specific power button behavior. While in tablet mode, tapping "
3117 "the power button turns the display off.";
3118
wutaoc5062be2018-03-16 02:16:233119const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3120const char kAshEnableTrilinearFilteringDescription[] =
3121 "Enable trilinear filtering.";
3122
Brett Wilson7b44537e2017-08-18 01:38:283123const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3124const char kAshShelfColorDescription[] =
3125 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3126 "--ash-shelf-color-scheme flag defines how that color is derived.";
3127
3128const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3129const char kAshShelfColorSchemeDescription[] =
3130 "Specify how the color is derived from the wallpaper. This flag is only "
3131 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3132const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3133const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3134const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3135const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3136const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3137const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3138
Wenzhao Zang06a28872018-02-23 04:01:353139const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3140const char kEnableNewWallpaperPickerDescription[] =
3141 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3142
Brett Wilson7b44537e2017-08-18 01:38:283143const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373144 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283145const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3146 "Sets the speed of the experimental visual feedback animations for "
3147 "material design.";
3148const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3149const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3150
3151const char kUiShowCompositedLayerBordersName[] =
3152 "Show UI composited layer borders";
3153const char kUiShowCompositedLayerBordersDescription[] =
3154 "Show border around composited layers created by UI.";
3155const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3156const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3157const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3158const char kUiShowCompositedLayerBordersAll[] = "All";
3159
3160const char kUiSlowAnimationsName[] = "Slow UI animations";
3161const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3162
James Cookf9d34d22017-10-04 16:39:353163#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283164
Brett Wilson7b44537e2017-08-18 01:38:283165#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3166
3167const char kAutofillCreditCardUploadName[] =
3168 "Enable offering upload of Autofilled credit cards";
3169const char kAutofillCreditCardUploadDescription[] =
3170 "Enables a new option to upload credit cards to Google Payments for sync "
3171 "to all Chrome devices.";
3172
3173#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3174
3175// ============================================================================
3176// Don't just add flags to the end, put them in the right section in
3177// alphabetical order just like the header file.
3178// ============================================================================
3179
vabr0215a8e2017-03-28 12:47:343180} // namespace flag_descriptions