blob: bd7e96cb9da9d4a8c61b79715dad6fbab5a65e42 [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
Brett Wilsonf27ff602017-07-07 22:28:4758const char kAutoplayPolicyName[] = "Autoplay policy";
59const char kAutoplayPolicyDescription[] =
60 "Policy used when deciding if audio or video is allowed to autoplay.";
61
62const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
63 "User gesture is required for cross-origin iframes.";
64const char kAutoplayPolicyNoUserGestureRequired[] =
65 "No user gesture is required.";
66const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
67const char kAutoplayPolicyDocumentUserActivation[] =
68 "Document user activation is required.";
69
Johanne0cc6902017-11-16 00:23:5070extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
71extern const char kAv1DecoderDescription[] =
72 "Allow decoding of files with the AV1 video codec.";
73
Brett Wilsonf27ff602017-07-07 22:28:4774const char kBackgroundVideoTrackOptimizationName[] =
75 "Optimize background video playback.";
76const char kBackgroundVideoTrackOptimizationDescription[] =
77 "Disable video tracks when the video is played in the background to "
78 "optimize performance.";
79
80const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
81const char kBleAdvertisingInExtensionsDescription[] =
82 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
83 "with regular use of Bluetooth Low Energy features.";
84
Charles Harrisond629cc62017-10-05 01:39:5485const char kBlockTabUndersName[] = "Block tab-unders";
86const char kBlockTabUndersDescription[] =
87 "Blocks tab-unders in Chrome with some native UI to allow the user to "
88 "proceed.";
89
arthursonzognif2bc2d202017-11-08 11:01:0290const char kNavigationMojoResponseName[] = "Navigation response using Mojo";
91const char kNavigationMojoResponseDescription[] =
92 "Browser side navigation (aka PlzNavigate) is using blob URLs to deliver "
93 "the body of the main resource to the renderer process. This flag replaces "
94 "this mechanism by using a Mojo DataPipe.";
95
Brett Wilsonf27ff602017-07-07 22:28:4796const char kBrowserTaskSchedulerName[] = "Task Scheduler";
97const char kBrowserTaskSchedulerDescription[] =
98 "Enables redirection of some task posting APIs to the task scheduler.";
99
Carlos IL766fbc882018-02-16 02:34:52100const char kBundledConnectionHelpName[] = "Bundled Connection Help";
101const char kBundledConnectionHelpDescription[] =
102 "Enables or disables redirecting users who get an interstitial when "
103 "accessing https://support.google.com/chrome/answer/6098869 to local "
104 "connection help content.";
105
Brett Wilsonf27ff602017-07-07 22:28:47106const char kBypassAppBannerEngagementChecksName[] =
107 "Bypass user engagement checks";
108const char kBypassAppBannerEngagementChecksDescription[] =
109 "Bypasses user engagement checks for displaying app banners, such as "
110 "requiring that users have visited the site before and that the banner "
111 "hasn't been shown recently. This allows developers to test that other "
112 "eligibility requirements for showing app banners, such as having a "
113 "manifest, are met.";
114
Lucas Garronb9539b732017-10-31 00:22:09115const char kCommittedInterstitialsName[] = "Committed Interstitials";
116const char kCommittedInterstitialsDescription[] =
117 "Use committed error pages instead of transient navigation entries "
118 "for interstitial error pages (e.g. certificate errors).";
119
Brett Wilsonf27ff602017-07-07 22:28:47120const char kCastStreamingHwEncodingName[] =
121 "Cast Streaming hardware video encoding";
122const char kCastStreamingHwEncodingDescription[] =
123 "This option enables support in Cast Streaming for encoding video streams "
124 "using platform hardware.";
125
Amber Won478561d2017-08-19 01:02:59126const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
127const char kClickToOpenPDFDescription[] =
128 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
129 "embedded PDFs.";
130
Gary Kacmarcikfb69b212017-11-14 03:41:08131const char kClipboardContentSettingName[] = "Clipboard content setting";
132const char kClipboardContentSettingDescription[] =
133 "Enables a site-wide permission in the UI which controls access to the "
134 "asynchronous clipboard web API";
135
Brett Wilsonf27ff602017-07-07 22:28:47136const char kCloudImportName[] = "Cloud Import";
137const char kCloudImportDescription[] = "Allows the cloud-import feature.";
138
Christopher Cameronceb8727d2017-09-07 23:53:16139const char kForceColorProfileSRGB[] = "sRGB";
140const char kForceColorProfileP3[] = "Display P3 D65";
141const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
142const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
143
144const char kForceColorProfileName[] = "Force color profile";
145const char kForceColorProfileDescription[] =
146 "Forces Chrome to use a specific color profile instead of the color "
147 "of the window's current monitor, as specified by the operating system.";
148
Brett Wilsonf27ff602017-07-07 22:28:47149const char kCompositedLayerBordersName[] = "Composited render layer borders";
150const char kCompositedLayerBordersDescription[] =
151 "Renders a border around composited Render Layers to help debug and study "
152 "layer compositing.";
153
Theresaf39c1882018-03-21 18:18:07154const char kContextualSuggestionsBottomSheetName[] =
155 "Enable Contextual Suggestions Bottom Sheet";
156const char kContextualSuggestionsBottomSheetDescription[] =
157 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47158
159const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
160const char kCreditCardAssistDescription[] =
161 "Enable assisted credit card filling on certain sites.";
162
163const char kCrossProcessGuestViewIsolationName[] =
164 "Cross process frames for guests";
165const char kCrossProcessGuestViewIsolationDescription[] =
166 "Highly experimental where guests such as <webview> are implemented on "
167 "the out-of-process iframe infrastructure.";
168
Thanh Le659cb102017-12-20 22:00:19169const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
170const char kDataSaverServerPreviewsDescription[] =
171 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47172
173const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
174const char kDatasaverPromptDescription[] =
175 "Enables a prompt, which appears when a cellular network connection is "
176 "detected, to take the user to the Data Saver extension page on Chrome Web "
177 "Store.";
178const char kDatasaverPromptDemoMode[] = "Demo mode";
179
180const char kDebugPackedAppName[] = "Debugging for packed apps";
181const char kDebugPackedAppDescription[] =
182 "Enables debugging context menu options such as Inspect Element for packed "
183 "applications.";
184
185const char kDefaultTileHeightName[] = "Default tile height";
186const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
187const char kDefaultTileHeightShort[] = "128";
188const char kDefaultTileHeightTall[] = "256";
189const char kDefaultTileHeightGrande[] = "512";
190const char kDefaultTileHeightVenti[] = "1024";
191
192const char kDefaultTileWidthName[] = "Default tile width";
193const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
194const char kDefaultTileWidthShort[] = "128";
195const char kDefaultTileWidthTall[] = "256";
196const char kDefaultTileWidthGrande[] = "512";
197const char kDefaultTileWidthVenti[] = "1024";
198
199const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
200const char kDebugShortcutsDescription[] =
201 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
202
203const char kDeviceDiscoveryNotificationsName[] =
204 "Device Discovery Notifications";
205const char kDeviceDiscoveryNotificationsDescription[] =
206 "Device discovery notifications on local network.";
207
208const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
209const char kDevtoolsExperimentsDescription[] =
210 "Enables Developer Tools experiments. Use Settings panel in Developer "
211 "Tools to toggle individual experiments.";
212
213const char kDisableAudioForDesktopShareName[] =
214 "Disable Audio For Desktop Share";
215const char kDisableAudioForDesktopShareDescription[] =
216 "With this flag on, desktop share picker window will not let the user "
217 "choose whether to share audio.";
218
Chris Palmer917bc052018-03-14 19:28:31219const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
220const char kDisablePushStateThrottleDescription[] =
221 "Disables throttling of history.pushState and history.replaceState method "
222 "calls.";
223
Brett Wilsonf27ff602017-07-07 22:28:47224const char kDisableTabForDesktopShareName[] =
225 "Disable Desktop Share with tab source";
226const char kDisableTabForDesktopShareDescription[] =
227 "This flag controls whether users can choose a tab for desktop share.";
228
229const char kDisallowDocWrittenScriptsUiName[] =
230 "Block scripts loaded via document.write";
231const char kDisallowDocWrittenScriptsUiDescription[] =
232 "Disallows fetches for third-party parser-blocking scripts inserted into "
233 "the main frame via document.write.";
234
Brett Wilsonf27ff602017-07-07 22:28:47235const char kDriveSearchInChromeLauncherName[] =
236 "Drive Search in Chrome App Launcher";
237const char kDriveSearchInChromeLauncherDescription[] =
238 "Files from Drive will show up when searching the Chrome App Launcher.";
239
Gustavo Sacomotofb11164f2017-07-21 12:56:18240const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
241const char kEasyUnlockPromotionsDescription[] =
242 "Enables Smart Lock promotions. Promotions will be periodically display "
243 "if the user is eligible.";
244
Brett Wilsonf27ff602017-07-07 22:28:47245const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
246const char kEmbeddedExtensionOptionsDescription[] =
247 "Display extension options as an embedded element in chrome://extensions "
248 "rather than opening a new tab.";
249
250const char kEnableAsmWasmName[] =
251 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
252const char kEnableAsmWasmDescription[] =
253 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
254 R"*(WebAssembly.)*";
255
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36256const char kEnableWebPaymentsSingleAppUiSkipName[] =
257 "Enable Web Payments single app UI skip";
258const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
259 "Enable Web Payments to skip showing its UI if the developer specifies a "
260 "single app.";
261
Shanfeng Zhang19c16562017-10-17 02:30:40262const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
263 "Credit card autofill ablation experiment.";
264const char kEnableAutofillCreditCardAblationExperimentDescription[] =
265 "If enabled, credit card autofill suggestions will not display.";
266
Brett Wilsonf27ff602017-07-07 22:28:47267const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
268 "Display the last used date of a credit card in autofill.";
269const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
270 "If enabled, display the last used date of a credit card in autofill.";
271
272const char kEnableAutofillCreditCardUploadCvcPromptName[] =
273 "Enable requesting missing CVC during Autofill credit card upload";
274const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
275 "If enabled, requests missing CVC when offering to upload credit cards to "
276 "Google Payments.";
277
Jared Saul1e4786a2017-12-14 01:43:09278const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
279 "Always send metadata on detected form values for Autofill credit card "
280 "upload";
281const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
282 "If enabled, always checks with Google Payments when deciding whether to "
283 "offer credit card upload, even if some data is missing.";
284
Jared Saul5c2a1482017-12-09 00:24:31285const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
286 "Send first six digits of PAN when deciding whether to offer Autofill "
287 "credit card upload";
288const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
289 "If enabled, when deciding whether to offer credit card upload to Google "
290 "Payments, sends the first six digits of the card number to avoid cases "
291 "where card upload is likely to fail.";
292
Jason Guo71f621e2017-10-13 04:18:53293const char kEnableAutofillSendBillingCustomerNumberName[] =
294 "Enable autofill sending billing customer number when calling Google "
295 "Payments";
296const char kEnableAutofillSendBillingCustomerNumberDescription[] =
297 "If enabled, autofill sends billing customer number when calling Google "
298 "Payments.";
299
tmartinocd414732018-02-12 19:01:01300const char kEnableAutofillNativeDropdownViewsName[] =
301 "Display Autofill Dropdown Using Views";
302const char kEnableAutofillNativeDropdownViewsDescription[] =
303 "If enabled, the Autofill Dropdown will be built natively using Views, "
304 "rather than painted directly to a canvas.";
305
Vitalii Iarko4f9834ce2017-08-04 07:05:19306const char kEnableBreakingNewsPushName[] = "Breaking News Push";
307const char kEnableBreakingNewsPushDescription[] =
308 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
309 "through Google Cloud Messaging.";
310
Brett Wilsonf27ff602017-07-07 22:28:47311const char kEnableBrotliName[] = "Brotli Content-Encoding.";
312const char kEnableBrotliDescription[] =
313 "Enable Brotli Content-Encoding support.";
314
Qiang Xu0f602fe62017-12-22 01:31:20315const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
316const char kEnableCaptivePortalRandomUrlDescription[] =
317 "Enable Captive Portal URL randomization.";
318
sclittle50e4bb92017-07-08 02:23:03319const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
320
321const char kEnableClientLoFiDescription[] =
322 "Enable showing low fidelity images on some pages on slow networks.";
323
David Reveman87b4b692018-03-09 21:22:22324const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
325const char kEnableCursorMotionBlurDescription[] =
326 "Enable motion blur effect for the cursor.";
327
Doug Arnett08b4067b2017-10-12 20:14:44328const char kEnableNoScriptPreviewsName[] = "NoScript previews";
329
330const char kEnableNoScriptPreviewsDescription[] =
331 "Enable disabling JavaScript on some pages on slow networks.";
332
Thanh Le2c279fbc2017-11-21 01:25:40333const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
334const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
335const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
336const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
337const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
338const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
339const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
340const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
341const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
342const char kDataReductionProxyServerAlternative10[] =
343 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47344const char kEnableDataReductionProxyServerExperimentName[] =
345 "Use an alternative Data Saver back end configuration.";
346const char kEnableDataReductionProxyServerExperimentDescription[] =
347 "Enable a different approach to saving data by configuring the back end "
348 "server";
349
350const char kEnableDataReductionProxySavingsPromoName[] =
351 "Data Saver 1 MB Savings Promo";
352const char kEnableDataReductionProxySavingsPromoDescription[] =
353 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
354 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
355 "enabled for the promo to be shown.";
356
Matt Giucad4870432017-11-24 01:04:38357const char kEnableDesktopPWAsName[] = "Desktop PWAs";
358const char kEnableDesktopPWAsDescription[] =
359 "Experimental windowing and install banner treatment for Progressive Web "
360 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17361
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59362const char kEnableDesktopPWAsLinkCapturingName[] =
363 "Desktop PWAs Link Capturing";
364const char kEnableDesktopPWAsLinkCapturingDescription[] =
365 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
366 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
367 "#enable-desktop-pwas.";
368
Ahmed Fakhry0037de02018-01-29 19:58:31369const char kEnableDockedMagnifierName[] = "Docked Magnifier";
370const char kEnableDockedMagnifierDescription[] =
371 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
372
Brett Wilsonf27ff602017-07-07 22:28:47373const char kEnableEnumeratingAudioDevicesName[] =
374 "Experimentally enable enumerating audio devices.";
375const char kEnableEnumeratingAudioDevicesDescription[] =
376 "Experimentally enable the use of enumerating audio devices.";
377
378const char kEnableGenericSensorName[] = "Generic Sensor";
379const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25380 "Enables motion sensor classes based on Generic Sensor API, i.e. "
381 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
382 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
383
384const char kEnableGenericSensorExtraClassesName[] =
385 "Generic Sensor Extra Classes";
386const char kEnableGenericSensorExtraClassesDescription[] =
387 "Enables an extra set of sensor classes based on Generic Sensor API, which "
388 "expose previously unavailable platform features, i.e. AmbientLightSensor "
389 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47390
Brett Wilsonf27ff602017-07-07 22:28:47391const char kEnableHDRName[] = "HDR mode";
392const char kEnableHDRDescription[] =
393 "Enables HDR support on compatible displays.";
394
395const char kEnableHeapProfilingName[] = "Heap profiling";
396const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
397const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
398const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
399const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
400
401const char kEnableHttpFormWarningName[] =
402 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15403 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47404const char kEnableHttpFormWarningDescription[] =
405 "Attaches a warning UI to any password or credit card fields detected when "
406 "the top-level page is not HTTPS";
407
Sidney San Martín9375b892017-09-09 00:29:54408const char kEnableMacMaterialDesignDownloadShelfName[] =
409 "Enable Material Design download shelf";
410
411const char kEnableMacMaterialDesignDownloadShelfDescription[] =
412 "If enabled, the download shelf uses Material Design.";
413
Tatiana Gornakafb40452017-07-31 13:50:04414const char kEnableManualFallbacksFillingName[] =
415 "Manual fallbacks for password manager forms filling";
416const char kEnableManualFallbacksFillingDescription[] =
417 "If enabled, then if user clicks on the password field on a form, popup "
418 "might contain generation fallbacks or 'Show all saved passwords' "
419 "fallback.";
420
vabr0215a8e2017-03-28 12:47:34421const char kEnableMaterialDesignBookmarksName[] =
422 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34423const char kEnableMaterialDesignBookmarksDescription[] =
424 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
425 "bookmarks page.";
426
vabr0215a8e2017-03-28 12:47:34427const char kEnableMaterialDesignExtensionsName[] =
428 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34429const char kEnableMaterialDesignExtensionsDescription[] =
430 "If enabled, the chrome://extensions/ URL loads the Material Design "
431 "extensions page.";
432
Anton Urusov47cd4932017-09-19 14:41:41433const char kEnablePolicyToolName[] = "Enable policy management page";
434const char kEnablePolicyToolDescription[] =
435 "If enabled, the chrome://policy-tool URL loads a page for managing "
436 "policies.";
437
Tsuyoshi Horoea7edb72017-11-12 04:14:00438const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
439const char kEnablePWAFullCodeCacheDescription[] =
440 "Generate V8 code cache in Cache Storage while installing Service Worker "
441 "for PWAs.";
442
Weidong Guof1e5a892018-01-06 02:26:39443const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28444 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39445const char kDisableMultiMirroringDescription[] =
446 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28447
Brett Wilsonf27ff602017-07-07 22:28:47448const char kEnableNavigationTracingName[] = "Enable navigation tracing";
449const char kEnableNavigationTracingDescription[] =
450 "This is to be used in conjunction with the trace-upload-url flag. "
451 "WARNING: When enabled, Chrome will record performance data for every "
452 "navigation and upload it to the URL specified by the trace-upload-url "
453 "flag. The trace may include personally identifiable information (PII) "
454 "such as the titles and URLs of websites you visit.";
455
Bernhard Bauer5533f9912017-11-06 17:56:02456const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
457const char kEnableNetworkLoggingToFileDescription[] =
458 "Enables network logging to a file named netlog.json in the user data "
459 "directory. The file can be imported into chrome://net-internals.";
460
Brett Wilsonf27ff602017-07-07 22:28:47461const char kEnableNetworkServiceName[] = "Enable network service";
462const char kEnableNetworkServiceDescription[] =
463 "Enables the network service, which makes network requests through a "
464 "separate service. Note: most features don't work with this yet.";
465
John Abd-El-Malek8067cc02017-12-04 23:23:20466const char kEnableNetworkServiceInProcessName[] =
467 "Runs network service in-process";
468const char kEnableNetworkServiceInProcessDescription[] =
469 "Runs the network service in the browser process.";
470
dpapaded8349472017-10-25 03:21:27471const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
472const char kEnableNewPrintPreviewDescription[] =
473 "If enabled, Print Preview will display a newer UI";
474
Ahmed Fakhry2fd8fc82017-07-28 16:31:12475const char kEnableNightLightName[] = "Enable Night Light";
476const char kEnableNightLightDescription[] =
477 "Enable the Night Light feature which controls the color temperature of "
478 "the screen.";
479
xlou8b56f672018-02-09 23:34:30480const char kEnableNupPrintingName[] = "Enable N-up printing";
481const char kEnableNupPrintingDescription[] =
482 "Enable N-up printing in the print preview panel.";
483
Sophie Chang117a3b22017-10-24 22:25:36484const char kEnableOptimizationHintsName[] = "Optimization Hints";
485const char kEnableOptimizationHintsDescription[] =
486 "Enable the Optimization Hints feature which incorporates server hints"
487 "into decisions for what optimizations to perform on some pages on slow "
488 "networks.";
489
Yutaka Hirano98be3272017-08-07 17:55:39490const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
491const char kEnableOutOfBlinkCORSDescription[] =
492 "CORS handling logic is moved out of blink.";
493
kylechar7051c092018-02-05 20:31:39494const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
495const char kVizDisplayCompositorDescription[] =
496 "If enabled, the display compositor runs as part of the viz service in the"
497 "GPU process.";
498
Ria Jiang6a129b982018-03-01 18:30:40499const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
500const char kVizHitTestDrawQuadDescription[] =
501 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
502 "with hit-test data computed from the CompositorFrame.";
503
Erik Chen49bbfa22017-08-18 08:49:56504const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23505 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56506const char kEnableOutOfProcessHeapProfilingDescription[] =
507 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19508 "malloced objects. Heap dumps can be obtained at chrome://tracing "
509 "[category:memory-infra] and chrome://memory-internals. This setting "
510 "controls which processes are profiled. As long as this setting is not "
511 "disabled, users can start profiling any given process in "
512 "chrome://memory-internals.";
513const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
514const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
515const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
516const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
517const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10518const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19519 "None by default. Visit chrome://memory-internals to choose which "
520 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15521const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
522 "Profile a random sampling of renderer processes, ensuring only one is "
523 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19524
Erik Chen8bb76b52017-12-06 19:06:25525const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19526 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25527const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
528 "By default, small allocations are pruned from the heap dump. This reduces "
529 "the size of the compressed trace by 100x. If pruning is disabled, the "
530 "chrome://tracing UI may be unable to take or load the trace. Save the "
531 "trace directly using chrome://memory-internals, and use other mechanisms "
532 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
533 "automatically uploaded traces will always be pruned. This only affects "
534 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56535
erikchen8bc20d82018-02-14 03:21:51536const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
537const char kOutOfProcessHeapProfilingSamplingDescription[] =
538 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22539 "10000. This results in low noise for large and/or frequent allocations ["
540 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
541 "total size of malloc-ed objects] and large and/or frequent allocations "
542 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51543
Erik Chen3303fd0232018-01-11 20:29:05544const char kOOPHPStackModeName[] =
545 "The type of stack to record for memlog heap dumps";
546const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19547 "By default, memlog heap dumps record native stacks, which requires a "
548 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55549 "pointers to work on Android. Native with thread names will add the thread "
550 "name as the first frame of each native stack. It's also possible to "
551 "record a pseudo stack using trace events as identifiers. It's also "
552 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19553const char kOOPHPStackModeMixed[] = "Mixed";
554const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55555const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19556const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05557
François Beaufort2e75f492018-02-08 20:44:46558const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47559const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46560 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47561
F#m59d036e2017-09-13 07:22:17562const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
563const char kEnablePixelCanvasRecordingDescription[] =
564 "Pixel canvas recording allows the compositor to raster contents aligned "
565 "with the pixel and improves text rendering. This should be enabled when a "
566 "device is using fractional scale factor.";
567
Brett Wilsonf27ff602017-07-07 22:28:47568const char kEnableTokenBindingName[] = "Token Binding.";
569const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
570
Sahel Sharifyd732ab12017-11-29 23:03:16571extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
572 "Wheel Scroll Latching.";
573extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
574 "Wheel scroll latching enforces latching to a single element for the "
575 "duration of a scroll sequence.";
576
Brett Wilsonf27ff602017-07-07 22:28:47577const char kEnableUseZoomForDsfName[] =
578 "Use Blink's zoom for device scale factor.";
579const char kEnableUseZoomForDsfDescription[] =
580 "If enabled, Blink uses its zooming mechanism to scale content for device "
581 "scale factor.";
582const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
583const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
584const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
585
586const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
587const char kEnableScrollAnchoringDescription[] =
588 "Adjusts scroll position to prevent visible jumps when offscreen content "
589 "changes.";
590
Patrick Noland8ee016e2018-01-24 11:44:53591const char kEnableScrollAnchorSerializationName[] =
592 "Scroll Anchor Serialization";
593const char kEnableScrollAnchorSerializationDescription[] =
594 "Save the scroll anchor and use it to restore the scroll position when "
595 "navigating.";
596
Brad Nelson5cd500e2018-01-04 00:50:19597const char kEnableSharedArrayBufferName[] =
598 "Experimental enabled SharedArrayBuffer support in JavaScript.";
599const char kEnableSharedArrayBufferDescription[] =
600 "Enable SharedArrayBuffer support in JavaScript.";
601
Brett Wilsonf27ff602017-07-07 22:28:47602const char kEnableWasmName[] = "WebAssembly structured cloning support.";
603const char kEnableWasmDescription[] =
604 "Enable web pages to use WebAssembly structured cloning.";
605
Brett Wilsonf27ff602017-07-07 22:28:47606const char kEnableImageCaptureAPIName[] = "Image Capture API";
607const char kEnableImageCaptureAPIDescription[] =
608 "Enables the Web Platform Image Capture API: takePhoto(), "
609 "getPhotoCapabilities(), etc.";
610
611const char kEnableZeroSuggestRedirectToChromeName[] =
612 "Experimental contextual omnibox suggestion";
613const char kEnableZeroSuggestRedirectToChromeDescription[] =
614 "Change omnibox contextual suggestions to an experimental source. Note "
615 "that this is not an on/off switch for contextual omnibox and it only "
616 "applies to suggestions provided before the user starts typing a URL or a "
617 "search query (i.e. zero suggest).";
618
619const char kEnableWasmStreamingName[] =
620 "WebAssembly streaming compile/instantiate support.";
621const char kEnableWasmStreamingDescription[] =
622 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
623
Brett Wilsonf27ff602017-07-07 22:28:47624const char kExpensiveBackgroundTimerThrottlingName[] =
625 "Throttle expensive background timers";
626const char kExpensiveBackgroundTimerThrottlingDescription[] =
627 "Enables intervention to limit CPU usage of background timers to 1%.";
628
629const char kExperimentalAppBannersName[] = "Experimental app banners";
630const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38631 "Enables a new experimental app banner flow and UI. Implies "
632 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47633
634const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
635const char kExperimentalCanvasFeaturesDescription[] =
636 "Enables the use of experimental canvas features which are still in "
637 "development.";
638
Nicholas Verneccd8259802018-02-22 01:22:04639const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
640const char kExperimentalCrostiniUIDescription[] =
641 "Enables in-development Crostini features.";
642
Brett Wilsonf27ff602017-07-07 22:28:47643const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
644const char kExperimentalExtensionApisDescription[] =
645 "Enables experimental extension APIs. Note that the extension gallery "
646 "doesn't allow you to upload extensions that use experimental APIs.";
647
648const char kExperimentalFullscreenExitUIName[] =
649 "Experimental fullscreen exit UI";
650const char kExperimentalFullscreenExitUIDescription[] =
651 "Displays experimental UI to allow mouse and touch input methods to exit "
652 "fullscreen mode.";
653
Brett Wilsonf27ff602017-07-07 22:28:47654const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
655const char kExperimentalKeyboardLockUiDescription[] =
656 "An experimental full screen with keyboard lock mode requiring users to "
657 "hold Esc to exit.";
658
659const char kExperimentalSecurityFeaturesName[] =
660 "Potentially annoying security features";
661const char kExperimentalSecurityFeaturesDescription[] =
662 "Enables several security features that will likely break one or more "
663 "pages that you visit on a daily basis. Strict mixed content checking, for "
664 "example. And locking powerful features to secure contexts. This flag will "
665 "probably annoy you.";
666
667const char kExperimentalWebPlatformFeaturesName[] =
668 "Experimental Web Platform features";
669const char kExperimentalWebPlatformFeaturesDescription[] =
670 "Enables experimental Web Platform features that are in development.";
671
672const char kExtensionContentVerificationName[] =
673 "Extension Content Verification";
674const char kExtensionContentVerificationDescription[] =
675 "This flag can be used to turn on verification that the contents of the "
676 "files on disk for extensions from the webstore match what they're "
677 "expected to be. This can be used to turn on this feature if it would not "
678 "otherwise have been turned on, but cannot be used to turn it off (because "
679 "this setting can be tampered with by malware).";
680const char kExtensionContentVerificationBootstrap[] =
681 "Bootstrap (get expected hashes, but do not enforce them)";
682const char kExtensionContentVerificationEnforce[] =
683 "Enforce (try to get hashes, and enforce them if successful)";
684const char kExtensionContentVerificationEnforceStrict[] =
685 "Enforce strict (hard fail if we can't get hashes)";
686
687const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
688const char kExtensionsOnChromeUrlsDescription[] =
689 "Enables running extensions on chrome:// URLs, where extensions explicitly "
690 "request this permission.";
galinapae72e152017-05-12 13:12:28691
Brett Wilsonecb80982017-07-12 20:34:51692const char kFastUnloadName[] = "Fast tab/window close";
693const char kFastUnloadDescription[] =
694 "Enables fast tab/window closing - runs a tab's onunload js handler "
695 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34696
Brett Wilsonecb80982017-07-12 20:34:51697const char kFeaturePolicyName[] = "Feature Policy";
698const char kFeaturePolicyDescription[] =
699 "Enables granting and removing access to features through the "
700 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34701
Brett Wilsonecb80982017-07-12 20:34:51702const char kFontCacheScalingName[] = "FontCache scaling";
703const char kFontCacheScalingDescription[] =
704 "Reuse a cached font in the renderer to serve different sizes of font for "
705 "faster layout.";
706
707const char kForceEffectiveConnectionTypeName[] =
708 "Override effective connection type";
709const char kForceEffectiveConnectionTypeDescription[] =
710 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30711 "returned by the network quality estimator. Slow 2G on Cellular returns "
712 "Slow 2G when connected to a cellular network, and the actual estimate "
713 "effective connection type when not on a cellular network. Previews are "
714 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51715const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
716const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
717const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30718const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
719 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51720const char kEffectiveConnectionType2GDescription[] = "2G";
721const char kEffectiveConnectionType3GDescription[] = "3G";
722const char kEffectiveConnectionType4GDescription[] = "4G";
723
724const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
725const char kFillOnAccountSelectDescription[] =
726 "Filling of passwords when an account is explicitly selected by the user "
727 "rather than autofilling credentials on page load.";
728
Brett Wilsonecb80982017-07-12 20:34:51729const char kForceTextDirectionName[] = "Force text direction";
730const char kForceTextDirectionDescription[] =
731 "Explicitly force the per-character directionality of UI text to "
732 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
733 "direction of the character language.";
734const char kForceDirectionLtr[] = "Left-to-right";
735const char kForceDirectionRtl[] = "Right-to-left";
736
737const char kForceUiDirectionName[] = "Force UI direction";
738const char kForceUiDirectionDescription[] =
739 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
740 "mode, overriding the default direction of the UI language.";
741
742const char kFramebustingName[] =
743 "Framebusting requires same-origin or a user gesture";
744const char kFramebustingDescription[] =
745 "Don't permit an iframe to navigate the top level browsing context unless "
746 "they are same-origin or the iframe is processing a user gesture.";
747
748const char kGamepadExtensionsName[] = "Gamepad Extensions";
749const char kGamepadExtensionsDescription[] =
750 "Enabling this option allows web applications to access experimental "
751 "extensions to the Gamepad APIs.";
752
Brett Wilsonecb80982017-07-12 20:34:51753const char kGpuRasterizationMsaaSampleCountName[] =
754 "GPU rasterization MSAA sample count.";
755const char kGpuRasterizationMsaaSampleCountDescription[] =
756 "Specify the number of MSAA samples for GPU rasterization.";
757const char kGpuRasterizationMsaaSampleCountZero[] = "0";
758const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
759const char kGpuRasterizationMsaaSampleCountFour[] = "4";
760const char kGpuRasterizationMsaaSampleCountEight[] = "8";
761const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
762
763const char kGpuRasterizationName[] = "GPU rasterization";
764const char kGpuRasterizationDescription[] =
765 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28766const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51767
768const char kGoogleProfileInfoName[] = "Google profile name and icon";
769const char kGoogleProfileInfoDescription[] =
770 "Enables using Google information to populate the profile name and icon in "
771 "the avatar menu.";
772
773const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
774const char kHarfbuzzRendertextDescription[] =
775 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
776 "web content.";
777
Manu Cornete5f855b2018-03-13 03:35:25778const char kHideNonActiveAppsFromShelfName[] =
779 "Hide apps that are not running from the shelf";
780const char kHideNonActiveAppsFromShelfDescription[] =
781 "Save space in the shelf by hiding apps that are not running.";
782
Brett Wilsonecb80982017-07-12 20:34:51783const char kHistoryRequiresUserGestureName[] =
784 "New history entries require a user gesture.";
785const char kHistoryRequiresUserGestureDescription[] =
786 "Require a user gesture to add a history entry.";
787const char kHyperlinkAuditingName[] = "Hyperlink auditing";
788const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
789
790const char kHostedAppQuitNotificationName[] =
791 "Quit notification for hosted apps";
792const char kHostedAppQuitNotificationDescription[] =
793 "Display a notification when quitting Chrome if hosted apps are currently "
794 "running.";
795
796const char kHostedAppShimCreationName[] =
797 "Creation of app shims for hosted apps on Mac";
798const char kHostedAppShimCreationDescription[] =
799 "Create app shims on Mac when creating a hosted app.";
800
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48801const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
802const char kHtmlBasedUsernameDetectorDescription[] =
803 "Use HTML-based username detector for the password manager.";
804
Brett Wilsonecb80982017-07-12 20:34:51805const char kIconNtpName[] = "Large icons on the New Tab page";
806const char kIconNtpDescription[] =
807 "Enable the experimental New Tab page using large icons.";
808
809const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
810const char kIgnoreGpuBlacklistDescription[] =
811 "Overrides the built-in software rendering list and enables "
812 "GPU-acceleration on unsupported system configurations.";
813
Thanh Le5f090efa52017-12-27 22:39:44814const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
815const char kIgnorePreviewsBlacklistDescription[] =
816 "Ignore decisions made by the PreviewsBlackList";
817
Brett Wilsonecb80982017-07-12 20:34:51818const char kImportantSitesInCbdName[] =
819 "Important sites options in clear browsing data dialog";
820const char kImportantSitesInCbdDescription[] =
821 "Include the option to whitelist important sites in the clear browsing "
822 "data dialog.";
823
Claudio Magni61c210922017-12-28 00:29:51824const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
825const char kImprovedLanguageSettingsDescription[] =
826 "Set of changes for Language Settings. These changes are intended to fix "
827 "the major bugs related to Language Settings.";
828
Brett Wilsonecb80982017-07-12 20:34:51829const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
830const char kInProductHelpDemoModeChoiceDescription[] =
831 "Selects the In-Product Help demo mode.";
832
833const char kJavascriptHarmonyName[] = "Experimental JavaScript";
834const char kJavascriptHarmonyDescription[] =
835 "Enable web pages to use experimental JavaScript features.";
836
837const char kJavascriptHarmonyShippingName[] =
838 "Latest stable JavaScript features";
839const char kJavascriptHarmonyShippingDescription[] =
840 "Some web pages use legacy or non-standard JavaScript extensions that may "
841 "conflict with the latest JavaScript features. This flag allows disabling "
842 "support of those features for compatibility with such pages.";
843
Yutaka Hiranof7f2f632017-09-06 10:40:08844const char kKeepAliveRendererForKeepaliveRequestsName[] =
845 "Keep a renderer alive for keepalive fetch requests";
846const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
847 "Keep a render process alive when the process has a pending fetch request "
848 "with `keepalive' specified.";
849
Joe Downing095fd6d2018-02-01 18:40:36850const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
851const char kKeyboardLockApiDescription[] =
852 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
853 "specific key events and have them routed directly to the webpage when in "
854 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
855
Brett Wilsonecb80982017-07-12 20:34:51856const char kLcdTextName[] = "LCD text antialiasing";
857const char kLcdTextDescription[] =
858 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
859 "(subpixel) when doing accelerated compositing.";
860
Matt Giucac399982f2017-10-06 07:51:29861const char kLeftToRightUrlsName[] =
862 "Render bidirectional URLs from left to right";
863const char kLeftToRightUrlsDescription[] =
864 "An experimental Bidi URL rendering algorithm where the URL components are "
865 "always shown in order from left to right, regardless of any RTL "
866 "characters. (The contents of each component are still rendered with the "
867 "normal Bidi algorithm.)";
868
Brett Wilsonecb80982017-07-12 20:34:51869const char kLoadMediaRouterComponentExtensionName[] =
870 "Load Media Router Component Extension";
871const char kLoadMediaRouterComponentExtensionDescription[] =
872 "Loads the Media Router component extension at startup.";
873
Derek Chengd24c68c2018-03-12 19:09:32874const char kMediaRouterCastAllowAllIPsName[] =
875 "Connect to Cast devices on all IP addresses";
876const char kMediaRouterCastAllowAllIPsDescription[] =
877 "Have the Media Router connect to Cast devices on all IP addresses, not "
878 "just RFC1918/RFC4913 private addresses.";
879
Brett Wilsonecb80982017-07-12 20:34:51880const char kManualPasswordGenerationName[] = "Manual password generation.";
881const char kManualPasswordGenerationDescription[] =
882 "Show a 'Generate Password' option on the context menu for all password "
883 "fields.";
884
Dominic Battref27e8762017-08-23 11:16:25885const char kManualPasswordSavingName[] = "Manual password saving.";
886const char kManualPasswordSavingDescription[] =
887 "Show the password manager icon when typing into a password filed. "
888 "Clicking it allows to save the password without submitting the form.";
889
Brett Wilsonecb80982017-07-12 20:34:51890const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
891const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51892
Lei Zhang2eca9082017-10-17 20:42:50893const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
894const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51895 "If enabled, the Incognito New Tab page uses the new material design with "
896 "a better readable text.";
897
898const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
899const char kMediaRemotingDescription[] =
900 "When Casting a tab to a remote device, enabling this turns on an "
901 "optimization that forwards the content bitstream directly to the remote "
902 "device when a video is fullscreened.";
903
904const char kMemoryAblationName[] = "Memory ablation experiment";
905const char kMemoryAblationDescription[] =
906 "Allocates extra memory in the browser process.";
907
908const char kMemoryCoordinatorName[] = "Memory coordinator";
909const char kMemoryCoordinatorDescription[] =
910 "Enable memory coordinator instead of memory pressure listeners.";
911
912const char kMessageCenterNewStyleNotificationName[] = "New style notification";
913const char kMessageCenterNewStyleNotificationDescription[] =
914 "Enables the experiment style of material-design notification";
915
Brett Wilsonecb80982017-07-12 20:34:51916const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
917const char kMhtmlGeneratorOptionDescription[] =
918 "Provides experimental options for MHTML file generator.";
919const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
920const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
921
Kouhei Ueno08445c22017-09-05 03:58:30922const char kModuleScriptsDynamicImportName[] =
923 "Enable ECMAScript 6 modules dynamic import";
924const char kModuleScriptsDynamicImportDescription[] =
925 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
926 "Blink.";
927
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05928const char kModuleScriptsImportMetaUrlName[] =
929 "Enable ECMAScript 6 modules import.meta.url";
930const char kModuleScriptsImportMetaUrlDescription[] =
931 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
932 "Blink.";
933
Brett Wilsonecb80982017-07-12 20:34:51934const char kNewAudioRenderingMixingStrategyName[] =
935 "New audio rendering mixing strategy";
936const char kNewAudioRenderingMixingStrategyDescription[] =
937 "Use the new audio rendering mixing strategy.";
938
939const char kNewBookmarkAppsName[] = "The new bookmark app system";
940const char kNewBookmarkAppsDescription[] =
941 "Enables the new system for creating bookmark apps.";
942
Brett Wilsonecb80982017-07-12 20:34:51943const char kNewRemotePlaybackPipelineName[] =
944 "Enable the new remote playback pipeline.";
945const char kNewRemotePlaybackPipelineDescription[] =
946 "Enable the new pipeline for playing media element remotely via "
947 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50948const char kUseSurfaceLayerForVideoName[] =
949 "Enable the use of SurfaceLayer objects for videos.";
950const char kUseSurfaceLayerForVideoDescription[] =
951 "Enable compositing onto a Surface instead of a VideoLayer "
952 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51953
954const char kNewUsbBackendName[] = "Enable new USB backend";
955const char kNewUsbBackendDescription[] =
956 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34957
Sonny Sasaka2d200432018-03-22 17:43:16958const char kNewblueName[] = "Newblue";
959const char kNewblueDescription[] =
960 "Enables the use of newblue Bluetooth daemon.";
961
brettw5f9c1642017-05-14 17:12:48962const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34963const char kNostatePrefetchDescription[] =
964 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
965 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
966 R"*(improve load times even more. "Simple Load" does nothing and is )*"
967 R"*(similar to disabling the feature, but collects more metrics for )*"
968 R"*(comparison purposes.)*";
969
Brett Wilsonecb80982017-07-12 20:34:51970const char kNotificationsNativeFlagName[] = "Enable native notifications.";
971const char kNotificationsNativeFlagDescription[] =
972 "Enable support for using the native notification toasts and notification "
973 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34974
Zentaro Kavanaghbad511c2017-10-18 22:29:00975#if defined(OS_POSIX)
976const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
977const char kNtlmV2EnabledDescription[] =
978 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
979#endif
980
Brett Wilsonecb80982017-07-12 20:34:51981const char kNumRasterThreadsName[] = "Number of raster threads";
982const char kNumRasterThreadsDescription[] =
983 "Specify the number of raster threads.";
984const char kNumRasterThreadsOne[] = "1";
985const char kNumRasterThreadsTwo[] = "2";
986const char kNumRasterThreadsThree[] = "3";
987const char kNumRasterThreadsFour[] = "4";
988
989const char kOfferStoreUnmaskedWalletCardsName[] =
990 "Google Payments card saving checkbox";
991const char kOfferStoreUnmaskedWalletCardsDescription[] =
992 "Show the checkbox to offer local saving of a credit card downloaded from "
993 "the server.";
994
995const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
996const char kOfflineAutoReloadDescription[] =
997 "Pages that fail to load while the browser is offline will be "
998 "auto-reloaded when the browser is online again.";
999
1000const char kOfflineAutoReloadVisibleOnlyName[] =
1001 "Only Auto-Reload Visible Tabs";
1002const char kOfflineAutoReloadVisibleOnlyDescription[] =
1003 "Pages that fail to load while the browser is offline will only be "
1004 "auto-reloaded if their tab is visible.";
1005
Brett Wilsonecb80982017-07-12 20:34:511006const char kOmniboxDisplayTitleForCurrentUrlName[] =
1007 "Include title for the current URL in the omnibox";
1008const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1009 "In the event that the omnibox provides suggestions on-focus, the URL of "
1010 "the current page is provided as the first suggestion without a title. "
1011 "Enabling this flag causes the title to be displayed.";
1012
Benoit Lizeab08362c2017-07-19 14:50:541013const char kOmniboxSpareRendererName[] =
1014 "Start spare renderer on omnibox focus";
1015const char kOmniboxSpareRendererDescription[] =
1016 "When the omnibox is focused, start an empty spare renderer. This can "
1017 "speed up the load of the navigation from the omnibox.";
1018
Tommy C. Li8875a442017-08-23 00:10:591019const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1020 "Omnibox UI Elide Suggestion URL After Host";
1021const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1022 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1023 "dropdown.";
1024
Tommy C. Lid79d4402017-12-22 22:49:121025const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1026 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1027const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1028 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1029 "displayed URLs. Hidden portions are restored during editing.";
1030
Brett Wilsonecb80982017-07-12 20:34:511031const char kOmniboxUIMaxAutocompleteMatchesName[] =
1032 "Omnibox UI Max Autocomplete Matches";
1033
1034const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1035 "Changes the maximum number of autocomplete matches displayed in the "
1036 "Omnibox UI.";
1037
1038const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
1039const char kOmniboxUINarrowDropdownDescription[] =
1040 "Makes the suggestions dropdown width match the omnibox width.";
1041
Justin Donnelly65c9e8b2017-10-01 05:15:011042const char kOmniboxUIShowSuggestionFaviconsName[] =
1043 "Omnibox UI Show Suggestion Favicons";
1044const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1045 "Shows favicons instead of generic vector icons for URL suggestions in the "
1046 "Omnibox dropdown.";
1047
1048const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1049const char kOmniboxUISwapTitleAndUrlDescription[] =
1050 "In the omnibox dropdown, shows titles before URLs when both are "
1051 "available.";
1052
Brett Wilsonecb80982017-07-12 20:34:511053const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
1054const char kOmniboxUIVerticalLayoutDescription[] =
1055 "Displays Omnibox sugestions in 2 lines - title over origin.";
1056
1057const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1058const char kOmniboxUIVerticalMarginDescription[] =
1059 "Changes the vertical margin in the Omnibox UI.";
1060
Troy Hildebrandtb32637ca2018-02-21 23:25:091061const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1062 "Omnibox Voice Search Always Visible";
1063const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1064 "Always displays voice search icon in focused omnibox as long as voice "
1065 "search is possible";
1066
Brett Wilsonecb80982017-07-12 20:34:511067const char kOriginTrialsName[] = "Origin Trials";
1068const char kOriginTrialsDescription[] =
1069 "Enables origin trials for controlling access to feature/API experiments.";
1070
Becca Hughes930d8cd2017-10-02 11:09:121071const char kOverflowIconsForMediaControlsName[] =
1072 "Icons on Media Controls Overflow Menu";
1073const char kOverflowIconsForMediaControlsDescription[] =
1074 "Displays icons on the overflow menu of the native media controls";
1075
Brett Wilsonecb80982017-07-12 20:34:511076const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1077const char kOverlayScrollbarsDescription[] =
1078 "Enable the experimental overlay scrollbars implementation. You must also "
1079 "enable threaded compositing to have the scrollbars animate.";
1080
chaopenge8aa016b2017-08-24 15:20:191081const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1082 "Flash Overlay Scrollbars After Any Scroll Update";
1083const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1084 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1085 " must also enable Overlay Scrollbars.";
1086
chaopeng343678022017-08-24 18:45:001087const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1088 "Flash Overlay Scrollbars When Mouse Enter";
1089const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1090 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1091 " enable Overlay Scrollbars.";
1092
Claudio Magni81326f92017-09-01 05:21:181093const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1094const char kUseNewAcceptLanguageHeaderDescription[] =
1095 "Adds the base language code after other corresponding language+region "
1096 "codes. This ensures that users receive content in their preferred "
1097 "language.";
1098
Brett Wilsonecb80982017-07-12 20:34:511099const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1100const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481101 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511102const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481103const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511104
1105const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1106const char kOverscrollStartThresholdDescription[] =
1107 "Changes overscroll start threshold relative to the default value.";
1108const char kOverscrollStartThreshold133Percent[] = "133%";
1109const char kOverscrollStartThreshold166Percent[] = "166%";
1110const char kOverscrollStartThreshold200Percent[] = "200%";
1111
Xing Liu5400a002017-09-15 21:48:291112const char kParallelDownloadingName[] = "Parallel downloading";
1113const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061114 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291115
Brett Wilsonecb80982017-07-12 20:34:511116const char kPassiveEventListenerDefaultName[] =
1117 "Passive Event Listener Override";
1118const char kPassiveEventListenerDefaultDescription[] =
1119 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1120 "haven't requested otherwise) to be treated as passive. This will break "
1121 "touch/wheel behavior on some websites but is useful for demonstrating the "
1122 "potential performance benefits of adopting passive event listeners.";
1123const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1124const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1125
1126const char kPassiveEventListenersDueToFlingName[] =
1127 "Touch Event Listeners Passive Default During Fling";
1128const char kPassiveEventListenersDueToFlingDescription[] =
1129 "Forces touchstart, and first touchmove per scroll event listeners during "
1130 "fling to be treated as passive.";
1131
1132const char kPassiveDocumentEventListenersName[] =
1133 "Document Level Event Listeners Passive Default";
1134const char kPassiveDocumentEventListenersDescription[] =
1135 "Forces touchstart, and touchmove event listeners on document level "
1136 "targets (which haven't requested otherwise) to be treated as passive.";
1137
1138const char kPasswordForceSavingName[] = "Force-saving of passwords";
1139const char kPasswordForceSavingDescription[] =
1140 "Allow the user to manually enforce password saving instead of relying on "
1141 "password manager's heuristics.";
1142
1143const char kPasswordGenerationName[] = "Password generation";
1144const char kPasswordGenerationDescription[] =
1145 "Allow the user to have Chrome generate passwords when it detects account "
1146 "creation pages.";
1147
Vaclav Brozekd8a3f542017-11-16 14:21:131148const char kPasswordExportName[] = "Password export";
1149const char kPasswordExportDescription[] =
1150 "Export functionality in password settings.";
1151
1152const char kPasswordImportName[] = "Password import";
1153const char kPasswordImportDescription[] =
1154 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511155
Friedrich Horschig03c91982018-01-25 14:21:281156const char kPasswordSearchMobileName[] = "Password search";
1157const char kPasswordSearchMobileDescription[] =
1158 "Search functionality in password settings.";
1159
Tom Sepez92a2cd242018-03-13 19:23:091160const char kPdfIsolationName[] = "PDF Isolation";
1161const char kPdfIsolationDescription[] =
1162 "Render PDF files from different origins in different plugin processes.";
1163
Brett Wilsonecb80982017-07-12 20:34:511164const char kPinchScaleName[] = "Pinch scale";
1165const char kPinchScaleDescription[] =
1166 "Enables experimental support for scale using pinch.";
1167
Doug Arnett620ff542018-02-06 17:54:221168const char kPreviewsAllowedName[] = "Previews Allowed";
1169const char kPreviewsAllowedDescription[] =
1170 "Allows previews to be shown subject to specific preview types being "
1171 "enabled and the client experiencing specific triggering conditions. "
1172 "May be used as a kill-switch to turn off all potential preview types.";
1173
Brett Wilsonecb80982017-07-12 20:34:511174const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1175const char kPrintPdfAsImageDescription[] =
1176 "If enabled, an option to print PDF files as images will be available in "
1177 "print preview.";
1178
1179const char kPrintPreviewRegisterPromosName[] =
1180 "Print Preview Registration Promos";
1181const char kPrintPreviewRegisterPromosDescription[] =
1182 "Enable registering unregistered cloud printers from print preview.";
1183
1184const char kProtectSyncCredentialName[] = "Autofill sync credential";
1185const char kProtectSyncCredentialDescription[] =
1186 "How the password manager handles autofill for the sync credential.";
1187
1188const char kProtectSyncCredentialOnReauthName[] =
1189 "Autofill sync credential only for transactional reauth pages";
1190const char kProtectSyncCredentialOnReauthDescription[] =
1191 "How the password manager handles autofill for the sync credential only "
1192 "for transactional reauth pages.";
1193
Mohsen Izadi93faac12017-07-29 04:45:151194const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1195const char kPullToRefreshDescription[] =
1196 "Pull-to-refresh gesture in response to vertical overscroll.";
1197
Brett Wilsonecb80982017-07-12 20:34:511198const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1199const char kPushApiBackgroundModeDescription[] =
1200 "Enable background mode for the Push API. This allows Chrome to continue "
1201 "running after the last window is closed, and to launch at OS startup, if "
1202 "the Push API needs it.";
1203
Troy Hildebrandt7228ad12018-02-23 21:18:241204const char kQueryInOmniboxName[] = "Query in Omnibox";
1205const char kQueryInOmniboxDescription[] =
1206 "Only display query terms in the omnibox when viewing a search results "
1207 "page.";
1208
Brett Wilsonecb80982017-07-12 20:34:511209const char kQuicName[] = "Experimental QUIC protocol";
1210const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1211
1212const char kReducedReferrerGranularityName[] =
1213 "Reduce default 'referer' header granularity.";
1214const char kReducedReferrerGranularityDescription[] =
1215 "If a page hasn't set an explicit referrer policy, setting this flag will "
1216 "reduce the amount of information in the 'referer' header for cross-origin "
1217 "requests.";
1218
Claudio Magnie0a80bb2018-01-31 02:52:581219extern const char kRegionalLocalesAsDisplayUIName[] =
1220 "Allow regional locales as display UI";
1221extern const char kRegionalLocalesAsDisplayUIDescription[] =
1222 "This flag allows regional locales to be selected as display UI by the "
1223 "user in Language Settings. The actual locale of the system is derived "
1224 "from the user selection based on some simple fallback logic.";
1225
Christian Dullweber1af31e62018-02-22 11:49:481226const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141227 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481228const char kRemoveNavigationHistoryDescription[] =
1229 "Remove a navigation entry when the corresponding history entry has been "
1230 "deleted.";
1231
Mihai Sardarescu6d0f5b72017-10-30 11:24:381232const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1233 "Remove usage of the deprecated GAIA sign-in endpoint";
1234const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1235 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1236 "This flags controls wheter it should no longer be used during a sign-in "
1237 " flow.";
1238
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351239const char kRendererSideResourceSchedulerName[] =
1240 "Renderer side ResourceScheduler";
1241const char kRendererSideResourceSchedulerDescription[] =
1242 "Migrate some ResourceScheduler functionalities to renderer";
1243
Brett Wilsonecb80982017-07-12 20:34:511244const char kRequestTabletSiteName[] =
1245 "Request tablet site option in the settings menu";
1246const char kRequestTabletSiteDescription[] =
1247 "Allows the user to request tablet site. Web content is often optimized "
1248 "for tablet devices. When this option is selected the user agent string is "
1249 "changed to indicate a tablet device. Web content optimized for tablets is "
1250 "received there after for the current tab.";
1251
1252const char kResetAppListInstallStateName[] =
1253 "Reset the App Launcher install state on every restart.";
1254const char kResetAppListInstallStateDescription[] =
1255 "Reset the App Launcher install state on every restart. While this flag is "
1256 "set, Chrome will forget the launcher has been installed each time it "
1257 "starts. This is used for testing the App Launcher install flow.";
1258
1259const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1260const char kResourceLoadSchedulerDescription[] =
1261 "Uses the resource load scheduler in blink to schedule and throttle "
1262 "resource load requests.";
1263
Brett Wilsonecb80982017-07-12 20:34:511264const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1265const char kSafeSearchUrlReportingDescription[] =
1266 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1267
Alexei Filippov98772752018-01-27 08:26:521268const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1269const char kSamplingHeapProfilerDescription[] =
1270 "Enables native memory sampling profiler with specified rate in KiB. "
1271 "If sampling rate is not provided the default value of 128 KiB is used.";
1272
Brett Wilsonecb80982017-07-12 20:34:511273const char kSaveasMenuLabelExperimentName[] =
1274 "Switch 'Save as' menu labels to 'Download'";
1275const char kSaveasMenuLabelExperimentDescription[] =
1276 "Enables an experiment to switch menu labels that use 'Save as...' to "
1277 "'Download'.";
1278
1279const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1280const char kSavePageAsMhtmlDescription[] =
1281 "Enables saving pages as MHTML: a single text file containing HTML and all "
1282 "sub-resources.";
1283
Nate Chapin9638e7102017-09-20 22:11:011284const char kSavePreviousDocumentResourcesName[] =
1285 "Save Previous Document Resources";
1286const char kSavePreviousDocumentResourcesDescription[] =
1287 "Saves an old document's cached resources until the specified point in the "
1288 "next document's lifecycle.";
1289const char kSavePreviousDocumentResourcesNever[] =
1290 "Don't explicitly save resources";
1291const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1292 "Save resources until onDOMContentLoaded completes";
1293const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1294 "Save resources until onload completes";
1295
Brett Wilsonecb80982017-07-12 20:34:511296const char kScrollPredictionName[] = "Scroll prediction";
1297const char kScrollPredictionDescription[] =
1298 "Predicts the finger's future position during scrolls allowing time to "
1299 "render the frame before the finger is there.";
1300
1301const char kSecondaryUiMd[] =
1302 "Material Design in the rest of the browser's native UI";
1303const char kSecondaryUiMdDescription[] =
1304 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1305 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1306 "browser dialogs.";
1307
1308const char kServiceWorkerNavigationPreloadName[] =
1309 "Service worker navigation preload.";
1310const char kServiceWorkerNavigationPreloadDescription[] =
1311 "Enable web pages to use the experimental service worker navigation "
1312 "preload API.";
1313
gogeraldd5061b592017-09-06 23:39:551314const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1315const char kServiceWorkerPaymentAppsDescription[] =
1316 "Enable Service Worker applications to integrate as payment apps";
1317
Makoto Shimazu22078cc2018-02-21 03:01:441318extern const char kServiceWorkerServicificationName[] =
1319 "Servicified service workers";
1320extern const char kServiceWorkerServicificationDescription[] =
1321 "Enable the servicified service workers. A servicified service worker can "
1322 "have direct connection from its clients, so that fetch events can be "
1323 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171324
Tsuyoshi Horobcb1c642017-11-24 16:32:141325const char kServiceWorkerScriptFullCodeCacheName[] =
1326 "Service worker script full code cache.";
1327const char kServiceWorkerScriptFullCodeCacheDescription[] =
1328 "Generate V8 full code cache of Service Worker scripts while installing.";
1329
Brett Wilsonecb80982017-07-12 20:34:511330const char kSettingsWindowName[] = "Show settings in a window";
1331const char kSettingsWindowDescription[] =
1332 "Settings will be shown in a dedicated window instead of as a browser tab.";
1333
Trent Apted750ba7022017-10-23 13:36:251334const char kShowAllDialogsWithViewsToolkitName[] =
1335 "Show all dialogs with Views toolkit";
1336const char kShowAllDialogsWithViewsToolkitDescription[] =
1337 "All browser dialogs will be shown using the Views toolkit rather than "
1338 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1339
Brett Wilsonecb80982017-07-12 20:34:511340const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1341const char kShowAutofillSignaturesDescription[] =
1342 "Annotates web forms with Autofill signatures as HTML attributes.";
1343
1344const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1345const char kShowAutofillTypePredictionsDescription[] =
1346 "Annotates web forms with Autofill field type predictions as placeholder "
1347 "text.";
1348
1349const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1350const char kShowOverdrawFeedbackDescription[] =
1351 "Visualize overdraw by color-coding elements based on if they have other "
1352 "elements drawn underneath.";
1353
yiyixbdfa9a0b2017-10-23 22:21:471354const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1355const char kEnableDrawOcclusionDescription[] =
1356 "Enable the system to use draw occlusion to skip draw quads when they are "
1357 "not shown on the screen.";
1358
Brett Wilsonecb80982017-07-12 20:34:511359const char kShowSavedCopyName[] = "Show Saved Copy Button";
1360const char kShowSavedCopyDescription[] =
1361 "When a page fails to load, if a stale copy of the page exists in the "
1362 "browser cache, a button will be presented to allow the user to load that "
1363 "stale copy. The primary enabling choice puts the button in the most "
1364 "salient position on the error page; the secondary enabling choice puts it "
1365 "secondary to the reload button.";
1366const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1367const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1368const char kDisableShowSavedCopy[] = "Disable";
1369
Brett Wilsonecb80982017-07-12 20:34:511370const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1371const char kSilentDebuggerExtensionApiDescription[] =
1372 "Do not show the infobar when an extension attaches to a page via "
1373 "chrome.debugger API. This is required to debug extension background "
1374 "pages.";
1375
Tsuyoshi Horo53895ba92018-03-14 04:06:481376const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1377const char kSignedHTTPExchangeDescription[] =
1378 "Enables Origin-Signed HTTP Exchanges support which is still in "
1379 "development. Warning: Enabling this may pose a security risk.";
1380
Brett Wilsonecb80982017-07-12 20:34:511381const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1382const char kSimpleCacheBackendDescription[] =
1383 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1384 "disk space allocation.";
1385
1386const char kSimplifiedFullscreenUiName[] =
1387 "Simplified full screen / mouse lock UI.";
1388const char kSimplifiedFullscreenUiDescription[] =
1389 "A simplified new user experience when entering page-triggered full screen "
1390 "or mouse pointer lock states.";
1391
Christopher Thompson75ff845d2018-02-01 20:12:461392const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1393const char kSimplifyHttpsIndicatorDescription[] =
1394 "Change the UI treatment for HTTPS pages.";
1395
Brett Wilsonecb80982017-07-12 20:34:511396const char kSingleClickAutofillName[] = "Single-click autofill";
1397const char kSingleClickAutofillDescription[] =
1398 "Make autofill suggestions on initial mouse click on a form element.";
1399
Nick Carter855bc492018-03-10 00:44:571400const char kStrictSiteIsolationName[] = "Strict site isolation";
1401const char kStrictSiteIsolationDescription[] =
1402 "Security mode that enables site isolation for all sites. When enabled, "
1403 "each renderer process will contain pages from at most one site, using "
1404 "out-of-process iframes when needed. When enabled, this flag forces the "
1405 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1406 "isolation mode will be determined by enterprise policy or field trial.";
1407
1408const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1409const char kSiteIsolationTrialOptOutDescription[] =
1410 "Opts out of field trials that enable site isolation modes "
1411 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1412 "may be due to out-of-process iframes. Opt-out has no effect if site "
1413 "isolation is force-enabled via #enable-site-per-process or enterprise "
1414 "policy. Caution: this disables important mitigations for the Spectre CPU "
1415 "vulnerability affecting most computers.";
1416extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1417extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1418 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511419
1420const char kSiteSettings[] = "Site settings with All sites and Site details";
1421const char kSiteSettingsDescription[] =
1422 "Adds new ways of viewing Site settings.";
1423
Brett Wilsonecb80982017-07-12 20:34:511424const char kSmoothScrollingName[] = "Smooth Scrolling";
1425const char kSmoothScrollingDescription[] =
1426 "Animate smoothly when scrolling page content.";
1427
1428const char kSoftwareRasterizerName[] = "3D software rasterizer";
1429const char kSoftwareRasterizerDescription[] =
1430 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1431
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201432const char kSoleIntegrationName[] = "Sole integration";
1433const char kSoleIntegrationDescription[] =
1434 "Enable Sole integration for browser customization. You must restart "
1435 "the browser twice for changes to take effect.";
1436
Tommy Steimel77704be2017-08-28 22:14:401437const char kSoundContentSettingName[] = "Sound content setting";
1438const char kSoundContentSettingDescription[] =
1439 "Enable site-wide muting in content settings and tab strip context menu.";
1440
Alexandr Ilinf0500ed32017-09-27 21:12:361441const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1442const char kSpeculativePreconnectDescription[] =
1443 "Enable the new implementation of preconnect and DNS preresolve. "
1444 "\"Learning\" means that only database construction is enabled, "
1445 "\"Preconnect\" enables both learning and preconnect and disables the "
1446 "existing implementation. \"No preconnect\" disables both implementations.";
1447
Brett Wilsonecb80982017-07-12 20:34:511448const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341449const char kSpeculativePrefetchDescription[] =
1450 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1451 R"*(load times, based on a local database (see chrome://predictors). )*"
1452 R"*("Learning" means that only the database construction is enabled, )*"
1453 R"*("Prefetching" that learning and prefetching are enabled.)*";
1454
Justin Donnelly4e448cb2017-07-07 21:32:131455const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1456 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131457const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1458 "If enabled, when the user enters text in the omnibox that looks like a "
1459 "a query, any service worker associated with the search engine the query "
1460 "will be sent to is started early.";
1461
Brett Wilsonecb80982017-07-12 20:34:511462const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1463const char kSpellingFeedbackFieldTrialDescription[] =
1464 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401465
Shubhie Panickerfaf082ed2018-01-03 04:49:151466const char kStopInBackgroundName[] = "Stop in background";
1467const char kStopInBackgroundDescription[] =
1468 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281469 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151470
1471const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1472const char kStopLoadingInBackgroundDescription[] =
1473 "Stop loading tasks and loading "
1474 "resources, in the background, after certain grace time.";
1475
Shubhie Panicker56c99a22018-03-21 00:22:281476const char kStopNonTimersInBackgroundName[] =
1477 "Stop non-timer task queues background";
1478const char kStopNonTimersInBackgroundDescription[] =
1479 "Stop non-timer task queues, in the background, "
1480 "after a grace period.";
1481
Brett Wilsonecb80982017-07-12 20:34:511482const char kSuggestionsWithSubStringMatchName[] =
1483 "Substring matching for Autofill suggestions";
1484const char kSuggestionsWithSubStringMatchDescription[] =
1485 "Match Autofill suggestions based on substrings (token prefixes) rather "
1486 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341487
Brett Wilsonecb80982017-07-12 20:34:511488const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1489const char kSyncSandboxDescription[] =
1490 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341491
Brett Wilsonecb80982017-07-12 20:34:511492const char kTabAudioMutingName[] = "Tab audio muting UI control";
1493const char kTabAudioMutingDescription[] =
1494 "When enabled, the audio indicators in the tab strip double as tab audio "
1495 "mute controls. This also adds commands in the tab context menu for "
1496 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341497
Christian Dullweberd0d96f02017-09-13 09:22:511498const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1499const char kTabsInCbdDescription[] =
1500 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1501
Becky Zhou99c22802017-10-19 05:09:271502const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1503const char kTabModalJsDialogDescription[] =
1504 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1505 " tab.";
1506
Brett Wilsonecb80982017-07-12 20:34:511507const char kTcpFastOpenName[] = "TCP Fast Open";
1508const char kTcpFastOpenDescription[] =
1509 "Enable the option to send extra authentication information in the initial "
1510 "SYN packet for a previously connected client, allowing faster data send "
1511 "start.";
vabr0215a8e2017-03-28 12:47:341512
Daniele Castagna0fead93e2018-01-10 20:40:291513const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1514const char kTintGlCompositedContentDescription[] =
1515 "Tint contents composited using GL with a shade of red to help debug and "
1516 "study overlay support.";
1517
Brett Wilsonecb80982017-07-12 20:34:511518const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1519const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581520 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401521 "touch) - middle point for devices with a touch screen, 3) Touchable "
1522 "- new unified interface for touch and convertibles (Chrome OS) and 4) "
1523 "Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511524const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531525const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461526const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581527const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401528const char kTopChromeMdMaterialRefresh[] = "Refresh";
vabr0215a8e2017-03-28 12:47:341529
Brett Wilsonecb80982017-07-12 20:34:511530const char kThreadedScrollingName[] = "Threaded scrolling";
1531const char kThreadedScrollingDescription[] =
1532 "Threaded handling of scroll-related input events. Disabling this will "
1533 "force all such scroll events to be handled on the main thread. Note that "
1534 "this can dramatically hurt scrolling performance of most websites and is "
1535 "intended for testing purposes only.";
1536
Steven Valdez4584b2482017-07-14 01:11:571537const char kTLS13VariantName[] = "TLS 1.3";
1538const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1539const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111540const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041541const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdez4584b2482017-07-14 01:11:571542
Brett Wilsonecb80982017-07-12 20:34:511543const char kTopDocumentIsolationName[] = "Top document isolation";
1544const char kTopDocumentIsolationDescription[] =
1545 "Highly experimental performance mode where cross-site iframes are kept in "
1546 "a separate process from the top document. In this mode, iframes from "
1547 "different third-party sites will be allowed to share a process.";
1548
Dominick Ng8896b1cd2017-10-17 23:24:361549const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1550const char kTopSitesFromSiteEngagementDescription[] =
1551 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1552 "engagement.";
1553
Brett Wilsonecb80982017-07-12 20:34:511554const char kTouchAdjustmentName[] = "Touch adjustment";
1555const char kTouchAdjustmentDescription[] =
1556 "Refine the position of a touch gesture in order to compensate for touches "
1557 "having poor resolution compared to a mouse.";
1558
1559const char kTouchDragDropName[] = "Touch initiated drag and drop";
1560const char kTouchDragDropDescription[] =
1561 "Touch drag and drop can be initiated through long press on a draggable "
1562 "element.";
1563
1564const char kTouchEventsName[] = "Touch Events API";
1565const char kTouchEventsDescription[] =
1566 "Force Touch Events API feature detection to always be enabled or "
1567 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291568 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511569
1570const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1571const char kTouchSelectionStrategyDescription[] =
1572 "Controls how text selection granularity changes when touch text selection "
1573 "handles are dragged. Non-default behavior is experimental.";
1574const char kTouchSelectionStrategyCharacter[] = "Character";
1575const char kTouchSelectionStrategyDirection[] = "Direction";
1576
1577const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1578const char kTraceUploadUrlDescription[] =
1579 "This is to be used in conjunction with the enable-navigation-tracing "
1580 "flag. Please select the label that best describes the recorded traces. "
1581 "This will choose the destination the traces are uploaded to. If you are "
1582 "not sure, select other. If left empty, no traces will be uploaded.";
1583const char kTraceUploadUrlChoiceOther[] = "Other";
1584const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1585const char kTraceUploadUrlChoiceQa[] = "QA";
1586const char kTraceUploadUrlChoiceTesting[] = "Testing";
1587
Philippe Hamel7fdaa4592017-09-29 17:22:491588const char kTranslateRankerEnforcementName[] =
1589 "Enforce TranslateRanker decisions";
1590const char kTranslateRankerEnforcementDescription[] =
1591 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1592 "or not Translate UI should be triggered in a given context.";
1593
Brett Wilsonecb80982017-07-12 20:34:511594const char kTrySupportedChannelLayoutsName[] =
1595 "Causes audio output streams to check if channel layouts other than the "
1596 "default hardware layout are available.";
1597const char kTrySupportedChannelLayoutsDescription[] =
1598 "Causes audio output streams to check if channel layouts other than the "
1599 "default hardware layout are available. Turning this on will allow the OS "
1600 "to do stereo to surround expansion if supported. May expose third party "
1601 "driver bugs, use with caution.";
1602
David Roger6762a092018-01-31 15:55:071603const char kUnifiedConsentName[] = "Unified Consent";
1604const char kUnifiedConsentDescription[] =
1605 "Enables a unified management of user consent for privacy-related "
1606 "features. This includes new confirmation screens and improved settings "
1607 "pages.";
1608
Brett Wilsonecb80982017-07-12 20:34:511609const char kUiPartialSwapName[] = "Partial swap";
1610const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1611
Chris Pickel3a227ae62017-08-24 10:47:261612const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1613const char kUseDdljsonApiDescription[] =
1614 "Enables the new ddljson API to fetch Doodles for the NTP.";
1615
Becca Hughes59c05b42017-11-03 13:11:581616const char kUseModernMediaControlsName[] = "New Media Controls";
1617const char kUseModernMediaControlsDescription[] =
1618 "Enables the new style native media controls.";
1619
Wei Li790e7a8572018-03-23 01:31:551620const char kUsePdfCompositorServiceName[] =
1621 "Use PDF compositor service for printing";
1622const char kUsePdfCompositorServiceDescription[] =
1623 "When enabled, use PDF compositor service to composite and generate PDF "
1624 "files for printing. When site isolation is enabled, disabling this will "
1625 "not stop using PDF compositor service since the service is required for "
1626 "printing out-of-process iframes correctly.";
1627
Mustaq Ahmedc646c0a2017-10-20 20:08:301628const char kUserActivationV2Name[] = "User Activation v2";
1629const char kUserActivationV2Description[] =
1630 "Enable simple user activation for APIs that are otherwise controlled by "
1631 "user gesture tokens.";
1632
Brett Wilsonecb80982017-07-12 20:34:511633const char kUserConsentForExtensionScriptsName[] =
1634 "User consent for extension scripts";
1635const char kUserConsentForExtensionScriptsDescription[] =
1636 "Require user consent for an extension running a script on the page, if "
1637 "the extension requested permission to run on all urls.";
1638
1639const char kUseSuggestionsEvenIfFewFeatureName[] =
1640 "Disable minimum for server-side tile suggestions on NTP.";
1641const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1642 "Request server-side suggestions even if there are only very few of them "
1643 "and use them for tiles on the New Tab Page.";
1644
1645const char kV8CacheOptionsName[] = "V8 caching mode.";
1646const char kV8CacheOptionsDescription[] =
1647 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511648const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1649
Hitoshi Yoshida3e5db562017-09-11 02:31:081650const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1651const char kV8ContextSnapshotDescription[] =
1652 "Sets to use a snapshot to create V8 contexts in frame creation.";
1653
Michael Hablich896d52662017-10-23 15:59:571654const char kV8VmFutureName[] = "Future V8 VM features";
1655const char kV8VmFutureDescription[] =
1656 "This enables upcoming and experimental V8 VM features. "
1657 "This flag does not enable experimental JavaScript features.";
1658
Brett Wilsonecb80982017-07-12 20:34:511659const char kVideoFullscreenOrientationLockName[] =
1660 "Lock screen orientation when playing a video fullscreen.";
1661const char kVideoFullscreenOrientationLockDescription[] =
1662 "Lock the screen orientation of the device to match video orientation when "
1663 "a video goes fullscreen. Only on phones.";
1664
1665const char kVideoRotateToFullscreenName[] =
1666 "Rotate-to-fullscreen gesture for videos.";
1667const char kVideoRotateToFullscreenDescription[] =
1668 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1669 "the video. Only on phones.";
1670
1671const char kWalletServiceUseSandboxName[] =
1672 "Use Google Payments sandbox servers";
1673const char kWalletServiceUseSandboxDescription[] =
1674 "For developers: use the sandbox service for Google Payments API calls.";
1675
Brett Wilsonecb80982017-07-12 20:34:511676const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1677const char kWebglDraftExtensionsDescription[] =
1678 "Enabling this option allows web applications to access the WebGL "
1679 "Extensions that are still in draft status.";
1680
1681const char kWebMidiName[] = "Web MIDI API";
1682const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1683
1684const char kWebPaymentsName[] = "Web Payments";
1685const char kWebPaymentsDescription[] =
1686 "Enable Web Payments API integration, a JavaScript API for merchants.";
1687
Mathieu Perreault51339b82017-07-20 17:06:051688const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1689const char kWebPaymentsModifiersDescription[] =
1690 "If the website provides modifiers in the payment request, show the custom "
1691 "total for each payment instrument, update the shopping cart when "
1692 "instruments are switched, and send modified payment method specific data "
1693 "to the payment app.";
1694
Brett Wilsonecb80982017-07-12 20:34:511695const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1696const char kWebrtcEchoCanceller3Description[] =
1697 "Experimental WebRTC echo canceller (AEC3).";
1698
1699const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1700const char kWebrtcHwDecodingDescription[] =
1701 "Support in WebRTC for decoding video streams using platform hardware.";
1702
1703const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1704const char kWebrtcHwEncodingDescription[] =
1705 "Support in WebRTC for encoding video streams using platform hardware.";
1706
1707const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1708const char kWebrtcHwH264EncodingDescription[] =
1709 "Support in WebRTC for encoding h264 video streams using platform "
1710 "hardware.";
1711
1712const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1713const char kWebrtcHwVP8EncodingDescription[] =
1714 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1715
Niels Möller090866a2018-02-13 10:55:031716const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1717 "WebRTC new encode cpu load estimator";
1718const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1719 "Enable new estimator for the encoder cpu load, for evaluation and "
1720 "testing. Intended to improve accuracy when screen casting.";
1721
Brett Wilsonecb80982017-07-12 20:34:511722const char kWebrtcSrtpAesGcmName[] =
1723 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1724const char kWebrtcSrtpAesGcmDescription[] =
1725 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1726
Joachim Bauch4a41d7512017-08-23 14:24:231727const char kWebrtcSrtpEncryptedHeadersName[] =
1728 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1729const char kWebrtcSrtpEncryptedHeadersDescription[] =
1730 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1731 "for SRTP.";
1732
Brett Wilsonecb80982017-07-12 20:34:511733const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1734const char kWebrtcStunOriginDescription[] =
1735 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1736 "header.";
1737
1738const char kWebvrName[] = "WebVR";
1739const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051740 "Allow web applications to access experimental "
Brandon Jonese9d9b2b2017-12-11 22:20:111741 "Virtual Reality functionality via the WebVR 1.1 API. This feature will "
1742 "eventually be replaced by the WebXR Device API. Warning: Enabling this "
1743 "will also allow WebVR content on insecure origins to access these "
1744 "powerful APIs, and may pose a security risk.";
Brett Wilsonecb80982017-07-12 20:34:511745
Brandon Jonese9d9b2b2017-12-11 22:20:111746const char kWebXrName[] = "WebXR Device API";
1747const char kWebXrDescription[] =
1748 "Allow web applications to access experimental APIs to interact with "
1749 "Virtual Reality (VR) and Augmented Reality (AR) devices.";
1750
Anna Maria57ecf7592018-01-12 03:10:401751const char kWebXrOrientationSensorDeviceName[] =
1752 "WebXR orientation sensor device";
1753const char kWebXrOrientationSensorDeviceDescription[] =
1754 "When no VR platform device is available, expose a non-presenting device "
1755 "based on the device's orientation sensors, if available.";
1756
Brett Wilsonecb80982017-07-12 20:34:511757const char kWifiCredentialSyncName[] = "WiFi credential sync";
1758const char kWifiCredentialSyncDescription[] =
1759 "Enables synchronizing WiFi network settings across devices. When enabled, "
1760 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1761 "credentials are synchronized subject to user preferences. (See also, "
1762 "chrome://settings/syncSetup.)";
1763
1764const char kZeroCopyName[] = "Zero-copy rasterizer";
1765const char kZeroCopyDescription[] =
1766 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341767
Brett Wilsonff596952017-07-14 01:06:551768// Android ---------------------------------------------------------------------
1769
1770#if defined(OS_ANDROID)
1771
1772const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1773const char kAiaFetchingDescription[] =
1774 "Enable intermediate certificate fetching when a server does not provide "
1775 "sufficient certificates to build a chain to a trusted root.";
1776
1777const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1778const char kAccessibilityTabSwitcherDescription[] =
1779 "Enable the accessibility tab switcher for Android.";
1780
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251781const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1782const char kAllowReaderForAccessibilityDescription[] =
1783 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1784
Brett Wilsonff596952017-07-14 01:06:551785const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1786const char kAndroidAutofillAccessibilityDescription[] =
1787 "Enable accessibility for autofill popup.";
1788
1789const char kAndroidPaymentAppsName[] = "Android payment apps";
1790const char kAndroidPaymentAppsDescription[] =
1791 "Enable third party Android apps to integrate as payment apps";
1792
Miriam Gershenson8cf1397222018-01-23 22:48:291793const char kAsyncDnsName[] = "Async DNS resolver";
1794const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1795
Brett Wilsonff596952017-07-14 01:06:551796const char kAutofillAccessoryViewName[] =
1797 "Autofill suggestions as keyboard accessory view";
1798const char kAutofillAccessoryViewDescription[] =
1799 "Shows Autofill suggestions on top of the keyboard rather than in a "
1800 "dropdown.";
1801
1802const char kBackgroundLoaderForDownloadsName[] =
1803 "Enables background downloading of pages.";
1804const char kBackgroundLoaderForDownloadsDescription[] =
1805 "Enables downloading pages in the background in case page is not yet "
1806 "loaded in current tab.";
1807
Matthew Jones6c1f5e22018-02-06 18:19:531808const char kChromeDuplexName[] = "Chrome Duplex";
1809const char kChromeDuplexDescription[] =
1810 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051811
Daniel Park825a16f32017-12-08 00:44:261812const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1813const char kChromeHomeEnableSurveyDescription[] =
1814 "If enabled, the survey process will allow surveys using sample "
1815 "parameters.";
1816
Theresa Wellingtonb9243b22017-12-01 16:23:051817const char kChromeHomeInactivitySheetExpansionName[] =
1818 "Expansion of Chrome Home bottom sheet on startup";
1819const char kChromeHomeInactivitySheetExpansionDescription[] =
1820 "Expand bottom sheet on startup in Chrome Home after a period of"
1821 " inactivity.";
1822
Matthew Joneseab91aa2017-12-19 16:12:421823const char kChromeHomeMenuItemsName[] =
1824 "Show bookmarks, downloads, and history menu items in Chrome Home";
1825const char kChromeHomeMenuItemsDescription[] =
1826 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1827 " when Chrome Home is enabled. These items will open the bottom sheet to"
1828 " show the desired content.";
1829
Theresa Wellingtonc4cff8a12017-11-28 04:13:181830const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1831const char kChromeHomePersistentIphDescription[] =
1832 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1833 "toolbar or a timer expires.";
1834
Theresa Wellington13977c832017-12-13 16:59:111835const char kChromeHomePullToRefreshIphAtTopName[] =
1836 "Chrome Home Pull-To-Refresh Iph At Top";
1837const char kChromeHomePullToRefreshIphAtTopDescription[] =
1838 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1839
Brett Wilsonff596952017-07-14 01:06:551840const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1841const char kChromeHomeSwipeLogicDescription[] =
1842 "Various swipe logic options for Chrome Home for sheet expansion.";
1843const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151844const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551845
Matthew Jones5b7f1d62018-01-23 00:37:251846const char kChromeModernDesignName[] = "Chrome Modern Design";
1847const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451848 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1849 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251850
Megan Jablonskic61eb1b82017-10-02 18:03:061851const char kChromeMemexName[] = "Chrome Memex";
1852const char kChromeMemexDescription[] =
1853 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1854 "Googlers.";
1855
Sarath Singapati83aef1c2017-11-16 15:54:521856const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1857const char kClearOldBrowsingDataDescription[] =
1858 "Enables clearing of browsing data which is older than a given time "
1859 "period.";
1860
Brett Wilsonff596952017-07-14 01:06:551861const char kContentSuggestionsCategoryOrderName[] =
1862 "Default content suggestions category order (e.g. on NTP)";
1863const char kContentSuggestionsCategoryOrderDescription[] =
1864 "Set default order of content suggestion categories (e.g. on the NTP).";
1865
1866const char kContentSuggestionsCategoryRankerName[] =
1867 "Content suggestions category ranker (e.g. on NTP)";
1868const char kContentSuggestionsCategoryRankerDescription[] =
1869 "Set category ranker to order categories of content suggestions (e.g. on "
1870 "the NTP).";
1871
Vitalii Iarkof52ff802017-09-14 12:34:241872const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1873const char kContentSuggestionsDebugLogDescription[] =
1874 "Enable content suggestions debug log accessible through "
1875 "snippets-internals.";
1876
Donn Denman8e58ead2017-11-04 01:44:011877const char kContextualSearchMlTapSuppressionName[] =
1878 "Contextual Search ML tap suppression";
1879const char kContextualSearchMlTapSuppressionDescription[] =
1880 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021881 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1882 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551883
1884const char kContextualSearchName[] = "Contextual Search";
1885const char kContextualSearchDescription[] =
1886 "Whether or not Contextual Search is enabled.";
1887
Donn Denman59729812018-01-09 01:27:021888const char kContextualSearchRankerQueryName[] =
1889 "Contextual Search Ranker prediction";
1890const char kContextualSearchRankerQueryDescription[] =
1891 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1892
1893const char kContextualSearchSecondTapName[] =
1894 "Contextual Search second tap triggering";
1895const char kContextualSearchSecondTapDescription[] =
1896 "Enables triggering on a second tap gesture even when Ranker would "
1897 "normally suppress that tap.";
1898
Dmitry Skiba9c3efa72017-07-20 22:01:141899const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1900const char kDontPrefetchLibrariesDescription[] =
1901 "Don't prefetch libraries after loading.";
1902
Joy Ming5fd29ca62017-10-02 22:51:221903const char kDownloadsForegroundName[] = "Enable downloads foreground";
1904const char kDownloadsForegroundDescription[] =
1905 "Enable downloads as a foreground service for all versions of Android.";
1906
Joy Ming189b0cc2017-12-08 19:42:431907const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1908const char kDownloadsLocationChangeDescription[] =
1909 "Enable changing default downloads storage location on Android.";
1910
Brett Wilsonff596952017-07-14 01:06:551911const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1912const char kEnableAndroidPayIntegrationV1Description[] =
1913 "Enable integration with Android Pay using the first version of the API";
1914
1915const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1916const char kEnableAndroidPayIntegrationV2Description[] =
1917 "Enable integration with Android Pay using the second version of the API";
1918
Vitalii Iarkof4ed32d2017-09-26 13:15:531919const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551920const char kEnableAndroidSpellcheckerDescription[] =
1921 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551922
Lei Tianbd5a3bf2018-02-28 19:01:161923const char kEnableCommandLineOnNonRootedName[] =
1924 "Enable command line on non-rooted devices";
1925const char kEnableCommandLineOnNoRootedDescription[] =
1926 "Enable reading command line file on non-rooted devices (DANGEROUS).";
1927
Vitalii Iarkof4ed32d2017-09-26 13:15:531928const char kEnableContentSuggestionsNewFaviconServerName[] =
1929 "Get favicons for content suggestions from a new server.";
1930const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1931 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1932 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551933
1934const char kEnableContentSuggestionsSettingsName[] =
1935 "Show content suggestions settings.";
1936const char kEnableContentSuggestionsSettingsDescription[] =
1937 "If enabled, the content suggestions settings will be available from the "
1938 "main settings menu.";
1939
Vitalii Iarkof4ed32d2017-09-26 13:15:531940const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1941 "Use content suggestions thumbnail dominant color.";
1942const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1943 "Use content suggestions thumbnail dominant color as a placeholder before "
1944 "the real thumbnail is fetched (requires Chrome Home).";
1945
Brett Wilsonff596952017-07-14 01:06:551946const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1947const char kEnableCustomContextMenuDescription[] =
1948 "Enables a new context menu when a link, image, or video is pressed within "
1949 "Chrome.";
1950
1951const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1952const char kEnableCustomFeedbackUiDescription[] =
1953 "Enables a custom feedback UI when submitting feedback through Google "
1954 "Feedback. Works with Google Play Services v10.2+";
1955
1956const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471957 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551958const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471959 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551960
Brett Wilsonff596952017-07-14 01:06:551961const char kEnableOmniboxClipboardProviderName[] =
1962 "Omnibox clipboard URL suggestions";
1963const char kEnableOmniboxClipboardProviderDescription[] =
1964 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1965 "focus in the omnibox.";
1966
1967const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1968 "Use expanded autofill credit card popup layout.";
1969const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1970 "If enabled, displays autofill credit card popup using expanded layout.";
1971
Becky Zhoua7f11d62018-02-01 16:02:531972const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
1973 "Show article suggestions expandable header on New Tab Page";
1974const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
1975 "If enabled, the article suggestions content on New Tab Page can be "
1976 "toggled shown or hidden by clicking the expandable header.";
1977
Brett Wilsonff596952017-07-14 01:06:551978const char kEnableNtpAssetDownloadSuggestionsName[] =
1979 "Show asset downloads on the New Tab page";
1980const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1981 "If enabled, the list of content suggestions on the New Tab page will "
1982 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1983 "later use.";
1984
1985const char kEnableNtpBookmarkSuggestionsName[] =
1986 "Show recently visited bookmarks on the New Tab page";
1987const char kEnableNtpBookmarkSuggestionsDescription[] =
1988 "If enabled, the list of content suggestions on the New Tab page will "
1989 "contain recently visited bookmarks.";
1990
1991const char kEnableNtpForeignSessionsSuggestionsName[] =
1992 "Show recent foreign tabs on the New Tab page";
1993const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1994 "If enabled, the list of content suggestions on the New Tab page will "
1995 "contain recent foreign tabs.";
1996
Brett Wilsonff596952017-07-14 01:06:551997const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1998 "Show offline page downloads on the New Tab page";
1999const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2000 "If enabled, the list of content suggestions on the New Tab page will "
2001 "contain pages that the user downloaded for later use.";
2002
2003const char kEnableNtpRemoteSuggestionsName[] =
2004 "Show server-side suggestions on the New Tab page";
2005const char kEnableNtpRemoteSuggestionsDescription[] =
2006 "If enabled, the list of content suggestions on the New Tab page will "
2007 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2008 "allows to override the source used to retrieve these server-side "
2009 "suggestions.";
2010
2011const char kEnableNtpSnippetsVisibilityName[] =
2012 "Make New Tab Page Snippets more visible.";
2013const char kEnableNtpSnippetsVisibilityDescription[] =
2014 "If enabled, the NTP snippets will become more discoverable with a larger "
2015 "portion of the first card above the fold.";
2016
2017const char kEnableNtpSuggestionsNotificationsName[] =
2018 "Notify about new content suggestions available at the New Tab page";
2019const char kEnableNtpSuggestionsNotificationsDescription[] =
2020 "If enabled, notifications will inform about new content suggestions on "
2021 "the New Tab page.";
2022
2023const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
2024const char kEnablePhysicalWebDescription[] =
2025 "Enable scanning for URLs from Physical Web objects.";
2026
2027const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2028const char kEnableOfflinePreviewsDescription[] =
2029 "Enable showing offline page previews on slow networks.";
2030
2031const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2032const char kEnableOskOverscrollDescription[] =
2033 "Enable OSK overscroll support. With this flag on, the OSK will only "
2034 "resize the visual viewport.";
2035
2036const char kEnableSpecialLocaleName[] =
2037 "Enable custom logic for special locales.";
2038const char kEnableSpecialLocaleDescription[] =
2039 "Enable custom logic for special locales. In this mode, Chrome might "
2040 "behave differently in some locales.";
2041
Brett Wilsonff596952017-07-14 01:06:552042const char kEnableWebNfcName[] = "WebNFC";
2043const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2044
gogeraldf3cbb422017-07-26 14:37:122045const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2046 "Enable Web Payments method section order V2.";
2047const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2048 "Enable this option to display payment method section above address "
2049 "section instead of below it.";
2050
Raymes Khoury582b43132017-12-12 23:54:302051const char kGrantNotificationsToDSEName[] =
2052 "Grant notifications to the Default Search Engine";
2053const char kGrantNotificationsToDSENameDescription[] =
2054 "Automatically grant the notifications permission to the Default Search "
2055 "Engine";
2056
Theresa920e0ed2018-03-07 18:12:442057const char kInterestFeedContentSuggestionsDescription[] =
2058 "Use the interest feed to render content suggestions. Currently content "
2059 "suggestions are shown on the New Tab Page.";
2060const char kInterestFeedContentSuggestionsName[] =
2061 "Interest Feed Content Suggestions";
2062
Brett Wilsonff596952017-07-14 01:06:552063const char kKeepPrefetchedContentSuggestionsName[] =
2064 "Keep prefetched content suggestions";
2065const char kKeepPrefetchedContentSuggestionsDescription[] =
2066 "If enabled, some of prefetched content suggestions are not replaced by "
2067 "the new fetched suggestions.";
2068
Leo Zhang051b75482017-12-20 03:28:302069const char kLanguagesPreferenceName[] = "Language Settings";
2070const char kLanguagesPreferenceDescription[] =
2071 "Enable this option for Language Settings feature on Android.";
2072
Brett Wilsonff596952017-07-14 01:06:552073const char kLsdPermissionPromptName[] =
2074 "Location Settings Dialog Permission Prompt";
2075const char kLsdPermissionPromptDescription[] =
2076 "Whether to use the Google Play Services Location Settings Dialog "
2077 "permission dialog.";
2078
Amirhossein Simjour97b4154f2018-02-20 03:49:592079const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2080const char kModalPermissionDialogViewDescription[] =
2081 "Enable this option to use ModalDialogManager for permission Dialogs.";
2082
Brett Wilsonff596952017-07-14 01:06:552083const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2084const char kMediaScreenCaptureDescription[] =
2085 "Enable this option for experimental ScreenCapture feature on Android.";
2086
2087const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2088const char kModalPermissionPromptsDescription[] =
2089 "Whether to use permission dialogs in place of permission infobars.";
2090
Brett Wilsonff596952017-07-14 01:06:552091const char kNewPhotoPickerName[] = "Enable new Photopicker";
2092const char kNewPhotoPickerDescription[] =
2093 "Activates the new picker for selecting photos.";
2094
2095const char kNoCreditCardAbort[] = "No Credit Card Abort";
2096const char kNoCreditCardAbortDescription[] =
2097 "Whether or not the No Credit Card Abort is enabled.";
2098
2099const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2100const char kNtpCondensedLayoutDescription[] =
2101 "Show a condensed layout on the New Tab Page.";
2102
2103const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2104const char kNtpCondensedTileLayoutDescription[] =
2105 "Show a condensed tile layout on the New Tab Page.";
2106
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062107const char kNtpModernLayoutName[] = "Modern NTP layout";
2108const char kNtpModernLayoutDescription[] =
2109 "Show a modern layout on the New Tab Page.";
2110
Theresa6bd5f282018-03-09 16:40:032111const char kNtpShortcutsName[] = "NTP Shortcuts";
2112const char kNtpShortcutsDescription[] =
2113 "Show shortcuts for bookmarks and downloads on the New Tab Page.";
2114
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042115const char kSiteExplorationUiName[] = "Site Exploration UI";
2116const char kSiteExplorationUiDescription[] =
2117 "Show site suggestions in the Exploration UI";
2118
Brett Wilsonff596952017-07-14 01:06:552119const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2120const char kNtpGoogleGInOmniboxDescription[] =
2121 "Show a Google G in the omnibox on the New Tab Page.";
2122
Brett Wilsonff596952017-07-14 01:06:552123const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2124const char kOfflineBookmarksDescription[] =
2125 "Enable saving bookmarked pages for offline viewing.";
2126
Brett Wilsonff596952017-07-14 01:06:552127const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2128const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2129
2130const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2131const char kOfflinePagesCtV2Description[] =
2132 "V2 features include attributing pages to the app that initiated the "
2133 "custom tabs, and being able to query for pages by page attribution.";
2134
Carlos Knippschild09272ecd2017-12-09 03:29:362135const char kOfflinePagesLimitlessPrefetchingName[] =
2136 "Removes resource usage limits for the prefetching of offline pages.";
2137const char kOfflinePagesLimitlessPrefetchingDescription[] =
2138 "Allows the prefetching of suggested offline pages to ignore resource "
2139 "usage limits. This allows it to completely ignore data usage limitations "
2140 "and allows downloads to happen with any kind of connection.";
2141
Brett Wilsonff596952017-07-14 01:06:552142const char kOfflinePagesLoadSignalCollectingName[] =
2143 "Enables collecting load timing data for offline page snapshots.";
2144const char kOfflinePagesLoadSignalCollectingDescription[] =
2145 "Enables loading completeness data collection while writing an offline "
2146 "page. This data is collected in the snapshotted offline page to allow "
2147 "data analysis to improve deciding when to make the offline snapshot.";
2148
Candice Sy229768e02017-12-21 00:19:222149const char kOfflinePagesDescriptivePendingStatusName[] =
2150 "Enables descriptive pending download status text.";
2151const char kOfflinePagesDescriptivePendingStatusDescription[] =
2152 "Enables pending download status text in notifications and Downloads Home "
2153 "to state the reason the request is pending.";
2154
Carlos Knippschild7ebb82302018-03-22 20:59:422155const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2156 "Enables offline pages in the downloads home to be opened in CCT.";
2157const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2158 "When enabled offline pages launched from the Downloads Home will be "
2159 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2160
Brett Wilsonff596952017-07-14 01:06:552161const char kOfflinePagesPrefetchingName[] =
2162 "Enables suggested offline pages to be prefetched.";
2163const char kOfflinePagesPrefetchingDescription[] =
2164 "Enables suggested offline pages to be prefetched, so useful content is "
2165 "available while offline.";
2166
Cathy Li3d5379e2017-09-07 00:11:092167const char kOfflinePagesPrefetchingUIName[] =
2168 "Enables prefetched offline pages to be shown in UI.";
2169const char kOfflinePagesPrefetchingUIDescription[] =
2170 "Enables prefetched offline pages to raise notifications and be shown in "
2171 "download home UI.";
2172
Pete Williamson7845dff2017-09-20 11:06:192173const char kOfflinePagesResourceBasedSnapshotName[] =
2174 "Enables offline page snapshots to be based on percentage of page loaded.";
2175const char kOfflinePagesResourceBasedSnapshotDescription[] =
2176 "Enables offline page snapshots to use a resource percentage based "
2177 "approach for determining when the page is loaded as opposed to a time "
2178 "based approach";
2179
Collin Baker17f92a52017-07-19 21:41:252180const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2181const char kOfflinePagesRenovationsDescription[] =
2182 "Enables offline page renovations which correct issues with dynamic "
2183 "content that occur when offlining pages that use JavaScript.";
2184
Brett Wilsonff596952017-07-14 01:06:552185const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2186const char kOfflinePagesSharingDescription[] =
2187 "Enables the saved offline pages to be shared via other applications.";
2188
2189const char kOfflinePagesSvelteConcurrentLoadingName[] =
2190 "Enables concurrent background loading on svelte.";
2191const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2192 "Enables concurrent background loading (or downloading) of pages on "
2193 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2194 "happen when the svelte device is idle.";
2195
2196const char kOffliningRecentPagesName[] =
2197 "Enable offlining of recently visited pages";
2198const char kOffliningRecentPagesDescription[] =
2199 "Enable storing recently visited pages locally for offline use. Requires "
2200 "Offline Pages to be enabled.";
2201
Lei Zhang2eca9082017-10-17 20:42:502202const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2203const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552204 "Enable Pay with Google integration into Web Payments with API version "
2205 "'1'.";
2206
Matthew Jonesa88b95852017-11-08 23:13:502207const char kProgressBarThrottleName[] = "Android progress update throttling.";
2208const char kProgressBarThrottleDescription[] =
2209 "Limit the maximum progress update to make progress appear smoother.";
2210
Brett Wilsonff596952017-07-14 01:06:552211const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2212const char kPullToRefreshEffectDescription[] =
2213 "Page reloads triggered by vertically overscrolling content.";
2214
Piotr Swigon7c296ef2017-08-29 04:32:002215const char kPwaImprovedSplashScreenName[] =
2216 "Improved Splash Screen for standalone PWAs";
2217const char kPwaImprovedSplashScreenDescription[] =
2218 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2219 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492220const char kPwaPersistentNotificationName[] =
2221 "Persistent notification in standalone PWA";
2222const char kPwaPersistentNotificationDescription[] =
2223 "Enables a persistent Android notification for standalone PWAs";
2224
Brett Wilsonff596952017-07-14 01:06:552225const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2226const char kReaderModeHeuristicsDescription[] =
2227 "Determines what pages the Reader Mode infobar is shown on.";
2228const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2229const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2230const char kReaderModeHeuristicsAllArticles[] = "All articles";
2231const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2232const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2233
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182234const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2235const char kReaderModeInCCTDescription[] =
2236 "Open Reader Mode in Chrome Custom Tabs.";
2237
Brett Wilsonff596952017-07-14 01:06:552238const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2239const char kSetMarketUrlForTestingDescription[] =
2240 "When enabled, sets the market URL for use in testing the update menu "
2241 "item.";
2242
2243const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2244const char kSpannableInlineAutocompleteDescription[] =
2245 "A new type of inline autocomplete for the omnibox that works with "
2246 "keyboards that compose text.";
2247
Brett Wilsonff596952017-07-14 01:06:552248const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2249const char kUpdateMenuBadgeDescription[] =
2250 "When enabled, an update badge will be shown on the app menu button.";
2251
2252const char kUpdateMenuItemCustomSummaryDescription[] =
2253 "When this flag and the force show update menu item flag are enabled, a "
2254 "custom summary string will be displayed below the update menu item.";
2255const char kUpdateMenuItemCustomSummaryName[] =
2256 "Update menu item custom summary";
2257
2258const char kUpdateMenuItemName[] = "Force show update menu item";
2259const char kUpdateMenuItemDescription[] =
2260 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2261 R"*(menu.)*";
2262
Amirhossein Simjourd78bbcf2018-02-02 16:23:392263const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2264const char kVrBrowsingNativeAndroidUiDescription[] =
2265 "Enable Android UI elements in VR.";
2266
Marc Treib93af46a2017-08-23 13:30:002267const char kThirdPartyDoodlesName[] =
2268 "Enable Doodles for third-party search engines";
2269const char kThirdPartyDoodlesDescription[] =
2270 "Enables fetching and displaying Doodles on the NTP for third-party search "
2271 "engines.";
2272
Klaus Weidneraaf697f2018-01-18 20:07:362273const char kWebXrRenderPathName[] = "WebXR presentation render path";
2274const char kWebXrRenderPathDescription[] =
2275 "Render path to use for WebXR presentation (including WebVR)";
2276const char kWebXrRenderPathChoiceClientWaitDescription[] =
2277 "ClientWait (Baseline)";
2278const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2279 "GpuFence (Android N+)";
2280
Brett Wilson7b44537e2017-08-18 01:38:282281// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552282
Brett Wilson7b44537e2017-08-18 01:38:282283#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482284
Brett Wilson7b44537e2017-08-18 01:38:282285const char kAccountConsistencyName[] =
2286 "Identity consistency between browser and cookie jar";
2287const char kAccountConsistencyDescription[] =
2288 "When enabled, the browser manages signing in and out of Google accounts.";
2289const char kAccountConsistencyChoiceMirror[] = "Mirror";
2290const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342291
Chris Pickel3a227ae62017-08-24 10:47:262292const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2293const char kDoodlesOnLocalNtpDescription[] =
2294 "Show doodles on the local New Tab page if Google is the default search "
2295 "engine.";
2296
mlamouriff56c092017-05-11 15:31:392297const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392298const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342299 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392300const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392301const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392302const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342303 "Enabled (Flash lowers volume when interrupted by other sound, "
2304 "experimental)";
2305
Brett Wilson7b44537e2017-08-18 01:38:282306const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2307const char kEnableNewAppMenuIconDescription[] =
2308 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342309
2310const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342311const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282312 "Enable receiving entity suggestions - disambiguation descriptions - for "
2313 "Omnibox suggestions.";
2314
Dave Schuyler598a4a42018-01-04 02:15:102315const char kOmniboxRichEntitySuggestionsName[] =
2316 "Omnibox rich entity suggestions";
2317const char kOmniboxRichEntitySuggestionsDescription[] =
2318 "Display entity suggestions using images and an enhanced layout; showing "
2319 "more context and descriptive text about the entity";
2320
Kevin Bailey898669972017-11-06 15:34:492321const char kOmniboxTabSwitchSuggestionsName[] =
2322 "Omnibox tab switch suggestions";
2323const char kOmniboxTabSwitchSuggestionsDescription[] =
2324 "Enable suggestions for switching to open tabs within the Omnibox.";
2325
krbcc621412017-06-01 19:40:282326const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2327const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192328 "Enable receiving tail suggestions, a type of search suggestion based on "
2329 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342330
Brett Wilson7b44537e2017-08-18 01:38:282331const char kOneGoogleBarOnLocalNtpName[] =
2332 "Enable the OneGoogleBar on the local NTP";
2333const char kOneGoogleBarOnLocalNtpDescription[] =
2334 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2335 "search engine.";
2336
Brett Wilson7b44537e2017-08-18 01:38:282337const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2338const char kUseGoogleLocalNtpDescription[] =
2339 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322340
Brett Wilson7b44537e2017-08-18 01:38:282341const char kVoiceSearchOnLocalNtpName[] =
2342 "Enable Voice Search on the local NTP";
2343const char kVoiceSearchOnLocalNtpDescription[] =
2344 "Show a microphone for voice search on the local New Tab page "
2345 "if Google is the default search engine.";
2346
Kim Paulhamus33f87b12018-01-18 22:00:422347const char kEnableWebAuthenticationAPIName[] = "Web Authentication API.";
2348const char kEnableWebAuthenticationAPIDescription[] =
2349 "Enable Web Authentication API support.";
2350
Brett Wilson7b44537e2017-08-18 01:38:282351#if defined(GOOGLE_CHROME_BUILD)
2352
2353const char kGoogleBrandedContextMenuName[] =
2354 "Google branding in the context menu";
2355const char kGoogleBrandedContextMenuDescription[] =
2356 "Shows a Google icon next to context menu items powered by Google "
2357 "services.";
2358
2359#endif // !defined(GOOGLE_CHROME_BUILD)
2360
2361#endif // !defined(OS_ANDROID)
2362
2363// Windows ---------------------------------------------------------------------
2364
2365#if defined(OS_WIN)
2366
2367const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2368const char kCloudPrintXpsDescription[] =
2369 "XPS enables advanced options for classic printers connected to the Cloud "
2370 "Print with Chrome. Printers must be re-connected after changing this "
2371 "flag.";
2372
Dave Tapuskadd43469d2017-08-22 22:15:532373const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2374const char kDirectManipulationStylusDescription[] =
2375 "If enabled, Chrome will scroll web pages on stylus drag.";
2376
Brett Wilson7b44537e2017-08-18 01:38:282377const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2378const char kDisablePostscriptPrintingDescription[] =
2379 "Disables PostScript generation when printing to PostScript capable "
2380 "printers, and uses EMF generation in its place.";
2381
2382const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2383const char kEnableAppcontainerDescription[] =
2384 "Enables the use of an AppContainer on sandboxed processes to improve "
2385 "security.";
2386
2387const char kEnableD3DVsync[] = "D3D v-sync";
2388const char kEnableD3DVsyncDescription[] =
2389 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2390 "to occur.";
2391
2392const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2393const char kEnableDesktopIosPromotionsDescription[] =
2394 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2395 "eligible.";
2396
James Forshawfd0ce342018-02-14 09:55:392397const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2398const char kEnableGpuAppcontainerDescription[] =
2399 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2400 "improve security.";
2401
Brett Wilson7b44537e2017-08-18 01:38:282402const char kGdiTextPrinting[] = "GDI Text Printing";
2403const char kGdiTextPrintingDescription[] =
2404 "Use GDI to print text as simply text";
2405
Brett Wilson7b44537e2017-08-18 01:38:282406const char kTraceExportEventsToEtwName[] =
2407 "Enable exporting of tracing events to ETW.";
2408const char kTraceExportEventsToEtwDesription[] =
2409 "If enabled, trace events will be exported to the Event Tracing for "
2410 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2411 "Xperf.";
2412
2413const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2414const char kUseWinrtMidiApiDescription[] =
2415 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2416 "later).";
2417
2418const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2419const char kWindows10CustomTitlebarDescription[] =
2420 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2421 "deferring to Windows.";
2422
Wez6656c572017-08-29 22:29:582423#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502424const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2425const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582426 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2427 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2428#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2429
Brett Wilson7b44537e2017-08-18 01:38:282430#endif // defined(OS_WIN)
2431
2432// Mac -------------------------------------------------------------------------
2433
2434#if defined(OS_MACOSX)
2435
2436const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2437const char kAppInfoDialogDescription[] =
2438 "Makes the Toolkit-Views based App Info dialog accessible from "
2439 "chrome://apps or chrome://extensions in place of the native extension "
2440 "permissions dialog, or the details link (which is a link to the Web "
2441 "Store).";
2442
2443const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2444const char kAppWindowCyclingDescription[] =
2445 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2446 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2447 "browser window, and browser windows will not be cycled when a Chrome App "
2448 "is active.";
2449
Lei Zhang2eca9082017-10-17 20:42:502450const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2451const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282452 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2453
2454const char kFullscreenToolbarRevealName[] =
2455 "Enables the toolbar in fullscreen to reveal itself.";
2456const char kFullscreenToolbarRevealDescription[] =
2457 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2458 "has changed.";
2459
2460const char kContentFullscreenName[] = "Improved Content Fullscreen";
2461const char kContentFullscreenDescription[] =
2462 "Fullscreen content window detaches from main browser window and goes to "
2463 "a new space without moving or changing the original browser window.";
2464
Lei Zhang2eca9082017-10-17 20:42:502465const char kDialogTouchBarName[] = "Dialog Touch Bar";
2466const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282467 "Shows Dialog buttons on the Touch Bar.";
2468
2469const char kHostedAppsInWindowsName[] =
2470 "Allow hosted apps to be opened in windows";
2471const char kHostedAppsInWindowsDescription[] =
2472 "Allows hosted apps to be opened in windows instead of being limited to "
2473 "tabs.";
2474
Lei Zhang2eca9082017-10-17 20:42:502475const char kMacRTLName[] = "Enable RTL";
2476const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282477
Lei Zhang2eca9082017-10-17 20:42:502478const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2479const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522480 "Enables sharing via macOS share extensions.";
2481
Lei Zhang2eca9082017-10-17 20:42:502482const char kMacTouchBarName[] = "Hardware Touch Bar";
2483const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282484
2485const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2486const char kMacV2SandboxDescription[] =
2487 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2488 "entire life cycle.";
2489
2490const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2491const char kMacViewsNativeAppWindowsDescription[] =
2492 "Controls whether to use Toolkit-Views based Chrome App windows.";
2493
2494const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2495const char kMacViewsTaskManagerDescription[] =
2496 "Controls whether to use the Toolkit-Views based Task Manager.";
2497
2498const char kTabDetachingInFullscreenName[] =
2499 "Allow tab detaching in fullscreen";
2500const char kTabDetachingInFullscreenDescription[] =
2501 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2502
2503const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2504const char kTabStripKeyboardFocusDescription[] =
2505 "Enable keyboard focus for the tabs in the tab strip.";
2506
Brett Wilson7b44537e2017-08-18 01:38:282507#endif
2508
2509// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342510
2511#if defined(OS_CHROMEOS)
2512
Brett Wilson7b44537e2017-08-18 01:38:282513const char kAcceleratedMjpegDecodeName[] =
2514 "Hardware-accelerated mjpeg decode for captured frame";
2515const char kAcceleratedMjpegDecodeDescription[] =
2516 "Enable hardware-accelerated mjpeg decode for captured frame where "
2517 "available.";
vabr0215a8e2017-03-28 12:47:342518
Brett Wilson7b44537e2017-08-18 01:38:282519const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2520const char kAllowTouchpadThreeFingerClickDescription[] =
2521 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342522
Brett Wilson7b44537e2017-08-18 01:38:282523const char kArcBootCompleted[] = "Load Android apps automatically";
2524const char kArcBootCompletedDescription[] =
2525 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342526
Lev Rumyantsev7a8544312017-08-18 19:26:512527const char kArcNativeBridgeExperimentName[] =
2528 "Enable native bridge experiment for ARC";
2529const char kArcNativeBridgeExperimentDescription[] =
2530 "Enables experimental native bridge feature.";
2531
lgchengecd1c1a62018-01-09 02:59:462532const char kArcUsbHostName[] = "Enable ARC USB host integration";
2533const char kArcUsbHostDescription[] =
2534 "Allow Android apps to use USB host feature on ChromeOS devices.";
2535
Kevin Cernekeeb7f96a52017-10-25 17:40:182536const char kArcVpnName[] = "Enable ARC VPN integration";
2537const char kArcVpnDescription[] =
2538 "Allow Android VPN clients to tunnel Chrome traffic.";
2539
Brett Wilson7b44537e2017-08-18 01:38:282540const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2541const char kAshEnableUnifiedDesktopDescription[] =
2542 "Enable unified desktop mode which allows a window to span multiple "
2543 "displays.";
vabr0215a8e2017-03-28 12:47:342544
Sean Kau5e956192017-10-06 22:25:172545const char kBulkPrintersName[] = "Bulk Printers Policy";
2546const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2547
Brett Wilson7b44537e2017-08-18 01:38:282548const char kCaptivePortalBypassProxyName[] =
2549 "Bypass proxy for Captive Portal Authorization";
2550const char kCaptivePortalBypassProxyDescription[] =
2551 "If proxy is configured, it usually prevents from authorization on "
2552 "different captive portals. This enables opening captive portal "
2553 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342554
Brett Wilson7b44537e2017-08-18 01:38:282555const char kCrOSComponentName[] = "Chrome OS Component";
2556const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082557 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342558
Xiaochu Liu51d03fd2017-09-08 23:51:022559const char kCrOSContainerName[] = "Chrome OS Container";
2560const char kCrOSContainerDescription[] =
2561 "Enable the use of Chrome OS Container utility.";
2562
Brett Wilson7b44537e2017-08-18 01:38:282563const char kCrosRegionsModeName[] = "Cros-regions load mode";
2564const char kCrosRegionsModeDescription[] =
2565 "This flag controls cros-regions load mode";
2566const char kCrosRegionsModeDefault[] = "Default";
2567const char kCrosRegionsModeOverride[] = "Override VPD values.";
2568const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342569
Jacob Dufault2becbc482017-08-25 00:36:352570const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2571const char kDisableLockScreenAppsDescription[] =
2572 "Disable new-note action handler apps on the lock screen. The user will "
2573 "not be able to launch the preferred note-taking action from the lock "
2574 "screen, provided that the app supports lock screen note taking.";
2575
Sammie Quonef6b4882017-09-14 16:50:052576const char kDisableTabletAutohideTitlebarsName[] =
2577 "Disable autohide titlebars in tablet mode";
2578const char kDisableTabletAutohideTitlebarsDescription[] =
2579 "Disable tablet mode autohide titlebars functionality. The user will be "
2580 "able to see the titlebar in tablet mode.";
2581
xdaid45327d2018-01-29 18:57:072582const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2583const char kDisableTabletSplitViewDescription[] =
2584 "Disable split view for Chrome OS tablet mode.";
2585
Brett Wilson7b44537e2017-08-18 01:38:282586const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2587const char kEnablePerUserTimezoneDescription[] =
2588 "Chrome OS system timezone preference is stored and handled for each user "
2589 "individually.";
vabr0215a8e2017-03-28 12:47:342590
Brett Wilson7b44537e2017-08-18 01:38:282591const char kDisableSystemTimezoneAutomaticDetectionName[] =
2592 "SystemTimezoneAutomaticDetection policy support";
2593const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2594 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342595
Lei Zhang2eca9082017-10-17 20:42:502596const char kEnableBackgroundBlurName[] = "Enable background blur.";
2597const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422598 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392599
Brett Wilson7b44537e2017-08-18 01:38:282600const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2601const char kEnableChromevoxArcSupportDescription[] =
2602 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342603
F#m75862c92018-01-25 19:10:472604const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2605const char kEnableDisplayZoomSettingDescription[] =
2606 "Allows the user to modify the display size or zoom via the chrome display "
2607 "settings page.";
2608
Brett Wilson7b44537e2017-08-18 01:38:282609const char kEnableEhvInputName[] =
2610 "Emoji, handwriting and voice input on opt-in IME menu";
2611const char kEnableEhvInputDescription[] =
2612 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342613
Brett Wilson7b44537e2017-08-18 01:38:282614const char kEnableEncryptionMigrationName[] =
2615 "Enable encryption migration of user data";
2616const char kEnableEncryptionMigrationDescription[] =
2617 "If enabled and the device supports ARC, the user will be asked to update "
2618 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342619
Blake O'Hare9e9317b22017-10-24 02:49:352620const char kEnableFloatingVirtualKeyboardName[] =
2621 "Enable floating virtual keyboard";
2622const char kEnableFloatingVirtualKeyboardDescription[] =
2623 "If enabled, the keyboard will use floating behavior by default.";
2624
Brett Wilson7b44537e2017-08-18 01:38:282625const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2626const char kEnableImeMenuDescription[] =
2627 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342628
Jordy Greenblatt2f23df22018-02-22 19:49:192629const char kEnableUnifiedMultiDeviceSettingsName[] =
2630 "Enable unified MultiDevice settings";
2631const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2632 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2633 "MultiDevice settings.";
2634
2635const char kEnableUnifiedMultiDeviceSetupName[] =
2636 "Enable unified MultiDevice setup";
2637const char kEnableUnifiedMultiDeviceSetupDescription[] =
2638 "Enable the device to setup all MultiDevice services in a single workflow.";
2639
Klemen Kozjek05fc4512017-10-18 12:51:102640const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2641const char kEnableZipArchiverPackerDescription[] =
2642 "Enable the ability to archive files on Drive in the Files app";
2643
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412644const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2645const char kZipArchiverUnpackerDescription[] =
2646 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282647
2648const char kEolNotificationName[] = "Disable Device End of Life notification.";
2649const char kEolNotificationDescription[] =
2650 "Disable Notifcation when Device is End of Life.";
2651
2652const char kExperimentalAccessibilityFeaturesName[] =
2653 "Experimental accessibility features";
2654const char kExperimentalAccessibilityFeaturesDescription[] =
2655 "Enable additional accessibility features in the Settings page.";
2656
2657const char kExperimentalInputViewFeaturesName[] =
2658 "Experimental input view features";
2659const char kExperimentalInputViewFeaturesDescription[] =
2660 "Enable experimental features for IME input views.";
2661
2662const char kFileManagerTouchModeName[] = "Files App. touch mode";
2663const char kFileManagerTouchModeDescription[] =
2664 "Touchscreen-specific interactions of the Files app.";
2665
2666const char kFirstRunUiTransitionsName[] =
2667 "Animated transitions in the first-run tutorial";
2668const char kFirstRunUiTransitionsDescription[] =
2669 "Transitions during first-run tutorial are animated.";
2670
Brett Wilson7b44537e2017-08-18 01:38:282671const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2672const char kForceEnableStylusToolsDescription[] =
2673 "Forces display of the stylus tools menu in the shelf and the stylus "
2674 "section in settings, even if there is no attached stylus device.";
2675
2676const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2677const char kGestureEditingDescription[] =
2678 "Enable/Disable gesture editing option in the settings page for the "
2679 "virtual keyboard.";
2680
2681const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2682const char kGestureTypingDescription[] =
2683 "Enable/Disable gesture typing option in the settings page for the virtual "
2684 "keyboard.";
2685
2686const char kInputViewName[] = "Input views";
2687const char kInputViewDescription[] =
2688 "Enable IME extensions to supply custom views for user input such as "
2689 "virtual keyboards.";
2690
Megumi Hattori5a0d4182018-03-06 11:09:502691const char kLockScreenNotificationName[] = "Lock screen notification";
2692const char kLockScreenNotificationDescription[] =
2693 "Enable notifications on the lock screen.";
2694
Brett Wilson7b44537e2017-08-18 01:38:282695const char kMemoryPressureThresholdName[] =
2696 "Memory discard strategy for advanced pressure handling";
2697const char kMemoryPressureThresholdDescription[] =
2698 "Memory discarding strategy to use";
2699const char kConservativeThresholds[] =
2700 "Conservative memory pressure release strategy";
2701const char kAggressiveCacheDiscardThresholds[] =
2702 "Aggressive cache release strategy";
2703const char kAggressiveTabDiscardThresholds[] =
2704 "Aggressive tab release strategy";
2705const char kAggressiveThresholds[] =
2706 "Aggressive tab and cache release strategy";
2707
2708const char kMtpWriteSupportName[] = "MTP write support";
2709const char kMtpWriteSupportDescription[] =
2710 "MTP write support in File System API (and file manager). In-place editing "
2711 "operations are not supported.";
2712
2713const char kMultideviceName[] = "Enable multidevice features";
2714const char kMultideviceDescription[] =
2715 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342716
Kyle Horimoto027590fb2018-02-13 22:19:482717const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2718const char kMultiDeviceApiDescription[] =
2719 "Enable Mojo-based API which provides synced device metadata and the "
2720 "ability to connect to other devices associated the logged-in Google "
2721 "account.";
2722
Bailey Berrodca8eeca02017-11-18 00:49:122723const char kNativeSmbName[] = "Native Smb Client";
2724const char kNativeSmbDescription[] =
2725 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302726
vabr0215a8e2017-03-28 12:47:342727const char kNetworkPortalNotificationName[] =
2728 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342729const char kNetworkPortalNotificationDescription[] =
2730 "If enabled, notification is displayed when device is connected to a "
2731 "network behind captive portal.";
2732
Steven Bennetts77b67972017-12-14 19:38:322733const char kDisableNetworkSettingsConfigName[] =
2734 "Disable Settings based Network Configuration";
2735const char kDisableNetworkSettingsConfigDescription[] =
2736 "Disables the Settings based network configuration UI and restores the "
2737 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242738
Brett Wilson7b44537e2017-08-18 01:38:282739const char kNewKoreanImeName[] = "New Korean IME";
2740const char kNewKoreanImeDescription[] =
2741 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342742
Brett Wilson7b44537e2017-08-18 01:38:282743const char kNewZipUnpackerName[] = "New ZIP unpacker";
2744const char kNewZipUnpackerDescription[] =
2745 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342746
Brett Wilson7b44537e2017-08-18 01:38:282747const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2748const char kPhysicalKeyboardAutocorrectDescription[] =
2749 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2750 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342751
2752const char kPrinterProviderSearchAppName[] =
2753 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342754const char kPrinterProviderSearchAppDescription[] =
2755 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192756 "searches Chrome Web Store for extensions that support printing to a USB "
2757 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342758
Brett Wilson7b44537e2017-08-18 01:38:282759const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2760const char kQuickUnlockPinDescription[] =
2761 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2762 "device on the lock screen after you have signed into your device.";
2763const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2764const char kQuickUnlockPinSigninDescription[] =
2765 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2766 "device. After changing this flag PIN needs to be set up again.";
2767const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2768const char kQuickUnlockFingerprintDescription[] =
2769 "Enabling fingerprint quick unlock allows you to setup and use a "
2770 "fingerprint to unlock your Chromebook on the lock screen after you have "
2771 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342772
Brett Wilson7b44537e2017-08-18 01:38:282773const char kOfficeEditingComponentAppName[] =
2774 "Office Editing for Docs, Sheets & Slides";
2775const char kOfficeEditingComponentAppDescription[] =
2776 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072777
James Cook0ba192bf2017-12-01 20:53:112778const char kShowTapsName[] = "Show taps";
2779const char kShowTapsDescription[] =
2780 "Draws a circle at each touch point, which makes touch points more obvious "
2781 "when projecting or mirroring the display. Similar to the Android OS "
2782 "developer option.";
2783
2784const char kShowTouchHudName[] = "Show HUD for touch points";
2785const char kShowTouchHudDescription[] =
2786 "Shows a trail of colored dots for the last few touch points. Pressing "
2787 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2788 "debug hardware issues that generate spurious touch events.";
2789
Chung-Sheng Wu468b0b32017-09-01 14:41:572790const char kSysInternalsName[] = "Enable Sys-Internals";
2791const char kSysInternalsDescription[] =
2792 "If enabled, user can monitor system information at "
2793 "chrome://sys-internals.";
2794
Evan Stadecbac7cb2018-03-13 18:19:382795const char kSkipExtraAshWindowPositioningName[] =
2796 "Simplified browser window positioning";
2797const char kSkipExtraAshWindowPositioningDescription[] =
2798 "Skips over Ash-specific positioning logic for new browser windows.";
2799
Brett Wilson7b44537e2017-08-18 01:38:282800const char kTeamDrivesName[] = "Enable Team Drives Integration";
2801const char kTeamDrivesDescription[] =
2802 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342803
Brett Wilson7b44537e2017-08-18 01:38:282804const char kTetherName[] = "Instant Tethering";
2805const char kTetherDescription[] =
2806 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2807 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372808
Brett Wilson7b44537e2017-08-18 01:38:282809const char kTouchscreenCalibrationName[] =
2810 "Enable/disable touchscreen calibration option in material design settings";
2811const char kTouchscreenCalibrationDescription[] =
2812 "If enabled, the user can calibrate the touch screen displays in "
2813 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092814
Mitsuru Oshima63d3f2a2017-08-23 00:12:112815// Force UI Mode
2816const char kUiModeName[] = "Force Ui Mode";
2817const char kUiModeDescription[] =
2818 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2819 R"*(despite its current orientation. "Tablet" means that the )*"
2820 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2821 R"*(means that the chromebook will act as if it were in clamshell )*"
2822 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2823 R"*(the two, based on its orientation.)*";
2824const char kUiModeTablet[] = "TouchView";
2825const char kUiModeClamshell[] = "Clamshell";
2826const char kUiModeAuto[] = "Auto (default)";
2827
bruthigeafb0c02017-06-09 13:11:532828const char kUiDevToolsName[] = "Enable native UI inspection";
2829const char kUiDevToolsDescription[] =
2830 "Enables inspection of native UI elements. For local inspection use "
2831 "chrome://inspect#other";
2832
James Cooka1bcfa9a2018-01-30 00:18:402833const char kUseMusName[] = "Mojo UI service (mus)";
2834const char kUseMusDescription[] =
2835 "Handles input events, display configuration, and windowing in a mojo "
2836 "service on a thread in the browser process.";
2837
2838const char kUseMashName[] = "Out-of-process system UI (mash)";
2839const char kUseMashDescription[] =
2840 "Runs the mojo UI service (mus) and the ash window manager and system UI "
2841 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:282842
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342843// TODO(mcasas): remove after https://crbug.com/771345.
2844const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2845const char kUseMonitorColorSpaceDescription[] =
2846 "Enables Chrome to use the color space information provided by the monitor"
2847 " instead of the default sRGB color space.";
2848
Brett Wilson7b44537e2017-08-18 01:38:282849const char kVideoPlayerChromecastSupportName[] =
2850 "Experimental Chromecast support for Video Player";
2851const char kVideoPlayerChromecastSupportDescription[] =
2852 "This option enables experimental Chromecast support for Video Player app "
2853 "on ChromeOS.";
2854
2855const char kVirtualKeyboardName[] = "Virtual Keyboard";
2856const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2857
2858const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2859const char kVirtualKeyboardOverscrollDescription[] =
2860 "Enables virtual keyboard overscroll support.";
2861
2862const char kVoiceInputName[] = "Voice input on virtual keyboard";
2863const char kVoiceInputDescription[] =
2864 "Enables voice input on virtual keyboard.";
2865
2866const char kWakeOnPacketsName[] = "Wake On Packets";
2867const char kWakeOnPacketsDescription[] =
2868 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202869
yhanadac5bff5b2017-05-18 06:37:092870#endif // defined(OS_CHROMEOS)
2871
Brett Wilson7b44537e2017-08-18 01:38:282872// Random platform combinations -----------------------------------------------
2873
2874#if defined(OS_WIN) || defined(OS_LINUX)
2875
2876const char kEnableInputImeApiName[] = "Enable Input IME API";
2877const char kEnableInputImeApiDescription[] =
2878 "Enable the use of chrome.input.ime API.";
2879
2880#endif // defined(OS_WIN) || defined(OS_LINUX)
2881
2882#if defined(OS_WIN) || defined(OS_MACOSX)
2883
2884const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2885const char kAutomaticTabDiscardingDescription[] =
2886 "If enabled, tabs get automatically discarded from memory when the system "
2887 "memory is low. Discarded tabs are still visible on the tab strip and get "
2888 "reloaded when clicked on. Info about discarded tabs can be found at "
2889 "chrome://discards.";
2890
2891#endif // defined(OS_WIN) || defined(OS_MACOSX)
2892
2893// Feature flags --------------------------------------------------------------
2894
2895#if BUILDFLAG(ENABLE_VR)
2896
David Dorwin5a496c32017-11-17 01:45:052897const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2898const char kWebVrVsyncAlignDescription[] =
2899 "Align WebVR application rendering with VSync for smoother animations.";
2900
Brett Wilson7b44537e2017-08-18 01:38:282901#if defined(OS_ANDROID)
2902
Yash Malik50bcfc12017-11-18 00:47:592903const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2904const char kVrBrowserKeyboardDescription[] =
2905 "Enable a virtual keyboard for Chrome VR.";
2906
Yash Malikb78e72a72018-02-21 09:14:102907const char kVrWebInputEditingName[] = "VR browsing web input editing";
2908const char kVrWebInputEditingDescription[] =
2909 "Allow editing web input fields while in VR mode.";
2910
David Dorwin5a496c32017-11-17 01:45:052911const char kVrBrowsingExperimentalFeaturesName[] =
2912 "VR browsing experimental features";
2913const char kVrBrowsingExperimentalFeaturesDescription[] =
2914 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282915
David Dorwin5a496c32017-11-17 01:45:052916const char kVrBrowsingExperimentalRenderingName[] =
2917 "VR browsing experimental rendering features";
2918const char kVrBrowsingExperimentalRenderingDescription[] =
2919 "Experimental rendering features for VR browsing (e.g. power-saving "
2920 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102921
David Dorwin5a496c32017-11-17 01:45:052922const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2923const char kVrBrowsingInCustomTabDescription[] =
2924 "Allow browsing within a VR headset while in a Custom Tab.";
2925
Michael Thiessen37895912018-01-19 20:15:542926const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
2927const char kVrIconInDaydreamHomeDescription[] =
2928 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
2929
David Dorwin5a496c32017-11-17 01:45:052930const char kWebVrAutopresentFromIntentName[] =
2931 "WebVR auto presentation from intents";
2932const char kWebVrAutopresentFromIntentDescription[] =
2933 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282934
2935#endif // OS_ANDROID
2936
Bill Orr103ed272018-02-14 21:23:052937#if BUILDFLAG(ENABLE_OCULUS_VR)
2938const char kOculusVRName[] = "Oculus hardware support";
2939const char kOculusVRDescription[] =
2940 "If enabled, Chrome will use Oculus devices for VR (supported only on "
2941 "Windows 10 or later).";
2942#endif // ENABLE_OCULUS_VR
2943
Bill Orr49527562017-11-22 16:58:482944#if BUILDFLAG(ENABLE_OPENVR)
2945const char kOpenVRName[] = "OpenVR hardware support";
2946const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:072947 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
2948 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:482949#endif // ENABLE_OPENVR
2950
Brett Wilson7b44537e2017-08-18 01:38:282951#endif // ENABLE_VR
2952
Nico Weberaf3b00b2017-09-11 17:58:172953#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282954
2955const char kNaclDebugMaskName[] =
2956 "Restrict Native Client GDB-based debugging by pattern";
2957const char kNaclDebugMaskDescription[] =
2958 "Restricts Native Client application GDB-based debugging by URL of "
2959 "manifest file. Native Client GDB-based debugging must be enabled for this "
2960 "option to work.";
2961const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2962const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2963 "Debug everything except secure shell and the PNaCl translator.";
2964const char kNaclDebugMaskChoiceIncludeDebug[] =
2965 "Debug only if manifest URL ends with debug.nmf.";
2966
2967const char kNaclDebugName[] = "Native Client GDB-based debugging";
2968const char kNaclDebugDescription[] =
2969 "Enable GDB debug stub. This will stop a Native Client application on "
2970 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2971
2972const char kNaclName[] = "Native Client";
2973const char kNaclDescription[] =
2974 "Support Native Client for all web applications, even those that were not "
2975 "installed from the Chrome Web Store.";
2976
2977const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2978const char kPnaclSubzeroDescription[] =
2979 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2980
Nico Weberaf3b00b2017-09-11 17:58:172981#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282982
Brett Wilson7b44537e2017-08-18 01:38:282983#if BUILDFLAG(ENABLE_WEBRTC)
2984
2985const char kWebrtcH264WithOpenh264FfmpegName[] =
2986 "WebRTC H.264 software video encoder/decoder";
2987const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2988 "When enabled, an H.264 software video encoder/decoder pair is included. "
2989 "If a hardware encoder/decoder is also available it may be used instead of "
2990 "this encoder/decoder.";
2991
2992#endif // BUILDFLAG(ENABLE_WEBRTC)
2993
James Cookf9d34d22017-10-04 16:39:352994#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282995
Wenzhao Zang50fb0b22017-11-07 01:38:422996const char kAshDisableLoginDimAndBlurName[] =
2997 "Disable dimming and blur on login screen.";
2998const char kAshDisableLoginDimAndBlurDescription[] =
2999 "Disable dimming and blur on login screen.";
3000
Brett Wilson7b44537e2017-08-18 01:38:283001const char kAshDisableSmoothScreenRotationName[] =
3002 "Disable smooth rotation animations.";
3003const char kAshDisableSmoothScreenRotationDescription[] =
3004 "Disable smooth rotation animations.";
3005
Qiang Xub7e921072017-12-07 21:02:113006const char kAshEnableDisplayMoveWindowAccelsName[] =
3007 "Enable shortcuts for moving window between displays.";
3008const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3009 "Enable shortcuts for moving window between displays.";
3010
wutaoc70d7b92017-11-01 08:06:013011const char kAshEnableKeyboardShortcutViewerName[] =
3012 "Enable keyboard shortcut viewer.";
3013const char kAshEnableKeyboardShortcutViewerDescription[] =
3014 "Enable keyboard shortcut viewer.";
3015
Brett Wilson7b44537e2017-08-18 01:38:283016const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3017const char kAshEnableMirroredScreenDescription[] =
3018 "Enable the mirrored screen mode. This mode flips the screen image "
3019 "horizontally.";
3020
Sammie Quon4e14214d2018-01-30 22:45:243021const char kAshEnableNewOverviewUiName[] = "Enable new overview UI.";
3022const char kAshEnableNewOverviewUiDescription[] =
3023 "Enables the new overview mode UI.";
3024
wutaod9cbcd32018-02-17 02:31:063025const char kAshEnableNewOverviewAnimationsName[] =
3026 "Enable new overview animations.";
3027const char kAshEnableNewOverviewAnimationsDescription[] =
3028 "Enables the new overview mode animations.";
3029
Qiang Xufa19cfd2018-01-29 19:36:503030const char kAshEnablePersistentWindowBoundsName[] =
3031 "Enable persistent window bounds in multi-displays scenario.";
3032const char kAshEnablePersistentWindowBoundsDescription[] =
3033 "Enable persistent window bounds in multi-displays scenario.";
3034
wutaoc5062be2018-03-16 02:16:233035const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3036const char kAshEnableTrilinearFilteringDescription[] =
3037 "Enable trilinear filtering.";
3038
Brett Wilson7b44537e2017-08-18 01:38:283039const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3040const char kAshShelfColorDescription[] =
3041 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3042 "--ash-shelf-color-scheme flag defines how that color is derived.";
3043
3044const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3045const char kAshShelfColorSchemeDescription[] =
3046 "Specify how the color is derived from the wallpaper. This flag is only "
3047 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3048const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3049const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3050const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3051const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3052const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3053const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3054
Wenzhao Zang06a28872018-02-23 04:01:353055const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3056const char kEnableNewWallpaperPickerDescription[] =
3057 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3058
Brett Wilson7b44537e2017-08-18 01:38:283059const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373060 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283061const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3062 "Sets the speed of the experimental visual feedback animations for "
3063 "material design.";
3064const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3065const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3066
3067const char kUiShowCompositedLayerBordersName[] =
3068 "Show UI composited layer borders";
3069const char kUiShowCompositedLayerBordersDescription[] =
3070 "Show border around composited layers created by UI.";
3071const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3072const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3073const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3074const char kUiShowCompositedLayerBordersAll[] = "All";
3075
3076const char kUiSlowAnimationsName[] = "Slow UI animations";
3077const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3078
James Cookf9d34d22017-10-04 16:39:353079#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283080
Brett Wilson7b44537e2017-08-18 01:38:283081#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3082
3083const char kAutofillCreditCardUploadName[] =
3084 "Enable offering upload of Autofilled credit cards";
3085const char kAutofillCreditCardUploadDescription[] =
3086 "Enables a new option to upload credit cards to Google Payments for sync "
3087 "to all Chrome devices.";
3088
3089#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3090
3091// ============================================================================
3092// Don't just add flags to the end, put them in the right section in
3093// alphabetical order just like the header file.
3094// ============================================================================
3095
vabr0215a8e2017-03-28 12:47:343096} // namespace flag_descriptions