blob: a3480e2bf22bb7aa46a2c991244a8190ead0e2a9 [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
Jared Saulae93aa12018-03-23 19:04:39267const char kEnableAutofillCreditCardBankNameDisplayName[] =
268 "Display the issuer bank name of a credit card in autofill.";
269const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
270 "If enabled, displays the issuer bank name of a credit card in autofill.";
271
Brett Wilsonf27ff602017-07-07 22:28:47272const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
273 "Display the last used date of a credit card in autofill.";
274const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
275 "If enabled, display the last used date of a credit card in autofill.";
276
277const char kEnableAutofillCreditCardUploadCvcPromptName[] =
278 "Enable requesting missing CVC during Autofill credit card upload";
279const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
280 "If enabled, requests missing CVC when offering to upload credit cards to "
281 "Google Payments.";
282
Jared Saul1e4786a2017-12-14 01:43:09283const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
284 "Always send metadata on detected form values for Autofill credit card "
285 "upload";
286const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
287 "If enabled, always checks with Google Payments when deciding whether to "
288 "offer credit card upload, even if some data is missing.";
289
Jared Saul5c2a1482017-12-09 00:24:31290const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
291 "Send first six digits of PAN when deciding whether to offer Autofill "
292 "credit card upload";
293const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
294 "If enabled, when deciding whether to offer credit card upload to Google "
295 "Payments, sends the first six digits of the card number to avoid cases "
296 "where card upload is likely to fail.";
297
Jason Guo71f621e2017-10-13 04:18:53298const char kEnableAutofillSendBillingCustomerNumberName[] =
299 "Enable autofill sending billing customer number when calling Google "
300 "Payments";
301const char kEnableAutofillSendBillingCustomerNumberDescription[] =
302 "If enabled, autofill sends billing customer number when calling Google "
303 "Payments.";
304
tmartinocd414732018-02-12 19:01:01305const char kEnableAutofillNativeDropdownViewsName[] =
306 "Display Autofill Dropdown Using Views";
307const char kEnableAutofillNativeDropdownViewsDescription[] =
308 "If enabled, the Autofill Dropdown will be built natively using Views, "
309 "rather than painted directly to a canvas.";
310
Vitalii Iarko4f9834ce2017-08-04 07:05:19311const char kEnableBreakingNewsPushName[] = "Breaking News Push";
312const char kEnableBreakingNewsPushDescription[] =
313 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
314 "through Google Cloud Messaging.";
315
Brett Wilsonf27ff602017-07-07 22:28:47316const char kEnableBrotliName[] = "Brotli Content-Encoding.";
317const char kEnableBrotliDescription[] =
318 "Enable Brotli Content-Encoding support.";
319
Qiang Xu0f602fe62017-12-22 01:31:20320const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
321const char kEnableCaptivePortalRandomUrlDescription[] =
322 "Enable Captive Portal URL randomization.";
323
sclittle50e4bb92017-07-08 02:23:03324const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
325
326const char kEnableClientLoFiDescription[] =
327 "Enable showing low fidelity images on some pages on slow networks.";
328
David Reveman87b4b692018-03-09 21:22:22329const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
330const char kEnableCursorMotionBlurDescription[] =
331 "Enable motion blur effect for the cursor.";
332
Doug Arnett08b4067b2017-10-12 20:14:44333const char kEnableNoScriptPreviewsName[] = "NoScript previews";
334
335const char kEnableNoScriptPreviewsDescription[] =
336 "Enable disabling JavaScript on some pages on slow networks.";
337
Thanh Le2c279fbc2017-11-21 01:25:40338const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
339const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
340const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
341const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
342const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
343const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
344const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
345const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
346const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
347const char kDataReductionProxyServerAlternative10[] =
348 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47349const char kEnableDataReductionProxyServerExperimentName[] =
350 "Use an alternative Data Saver back end configuration.";
351const char kEnableDataReductionProxyServerExperimentDescription[] =
352 "Enable a different approach to saving data by configuring the back end "
353 "server";
354
355const char kEnableDataReductionProxySavingsPromoName[] =
356 "Data Saver 1 MB Savings Promo";
357const char kEnableDataReductionProxySavingsPromoDescription[] =
358 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
359 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
360 "enabled for the promo to be shown.";
361
Matt Giucad4870432017-11-24 01:04:38362const char kEnableDesktopPWAsName[] = "Desktop PWAs";
363const char kEnableDesktopPWAsDescription[] =
364 "Experimental windowing and install banner treatment for Progressive Web "
365 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17366
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59367const char kEnableDesktopPWAsLinkCapturingName[] =
368 "Desktop PWAs Link Capturing";
369const char kEnableDesktopPWAsLinkCapturingDescription[] =
370 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
371 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
372 "#enable-desktop-pwas.";
373
Ahmed Fakhry0037de02018-01-29 19:58:31374const char kEnableDockedMagnifierName[] = "Docked Magnifier";
375const char kEnableDockedMagnifierDescription[] =
376 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
377
Brett Wilsonf27ff602017-07-07 22:28:47378const char kEnableEnumeratingAudioDevicesName[] =
379 "Experimentally enable enumerating audio devices.";
380const char kEnableEnumeratingAudioDevicesDescription[] =
381 "Experimentally enable the use of enumerating audio devices.";
382
383const char kEnableGenericSensorName[] = "Generic Sensor";
384const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25385 "Enables motion sensor classes based on Generic Sensor API, i.e. "
386 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
387 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
388
389const char kEnableGenericSensorExtraClassesName[] =
390 "Generic Sensor Extra Classes";
391const char kEnableGenericSensorExtraClassesDescription[] =
392 "Enables an extra set of sensor classes based on Generic Sensor API, which "
393 "expose previously unavailable platform features, i.e. AmbientLightSensor "
394 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47395
Brett Wilsonf27ff602017-07-07 22:28:47396const char kEnableHDRName[] = "HDR mode";
397const char kEnableHDRDescription[] =
398 "Enables HDR support on compatible displays.";
399
400const char kEnableHeapProfilingName[] = "Heap profiling";
401const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
402const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
403const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
404const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
405
406const char kEnableHttpFormWarningName[] =
407 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15408 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47409const char kEnableHttpFormWarningDescription[] =
410 "Attaches a warning UI to any password or credit card fields detected when "
411 "the top-level page is not HTTPS";
412
Sidney San Martín9375b892017-09-09 00:29:54413const char kEnableMacMaterialDesignDownloadShelfName[] =
414 "Enable Material Design download shelf";
415
416const char kEnableMacMaterialDesignDownloadShelfDescription[] =
417 "If enabled, the download shelf uses Material Design.";
418
Tatiana Gornakafb40452017-07-31 13:50:04419const char kEnableManualFallbacksFillingName[] =
420 "Manual fallbacks for password manager forms filling";
421const char kEnableManualFallbacksFillingDescription[] =
422 "If enabled, then if user clicks on the password field on a form, popup "
423 "might contain generation fallbacks or 'Show all saved passwords' "
424 "fallback.";
425
vabr0215a8e2017-03-28 12:47:34426const char kEnableMaterialDesignBookmarksName[] =
427 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34428const char kEnableMaterialDesignBookmarksDescription[] =
429 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
430 "bookmarks page.";
431
vabr0215a8e2017-03-28 12:47:34432const char kEnableMaterialDesignExtensionsName[] =
433 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34434const char kEnableMaterialDesignExtensionsDescription[] =
435 "If enabled, the chrome://extensions/ URL loads the Material Design "
436 "extensions page.";
437
Anton Urusov47cd4932017-09-19 14:41:41438const char kEnablePolicyToolName[] = "Enable policy management page";
439const char kEnablePolicyToolDescription[] =
440 "If enabled, the chrome://policy-tool URL loads a page for managing "
441 "policies.";
442
Tsuyoshi Horoea7edb72017-11-12 04:14:00443const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
444const char kEnablePWAFullCodeCacheDescription[] =
445 "Generate V8 code cache in Cache Storage while installing Service Worker "
446 "for PWAs.";
447
Weidong Guof1e5a892018-01-06 02:26:39448const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28449 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39450const char kDisableMultiMirroringDescription[] =
451 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28452
Brett Wilsonf27ff602017-07-07 22:28:47453const char kEnableNavigationTracingName[] = "Enable navigation tracing";
454const char kEnableNavigationTracingDescription[] =
455 "This is to be used in conjunction with the trace-upload-url flag. "
456 "WARNING: When enabled, Chrome will record performance data for every "
457 "navigation and upload it to the URL specified by the trace-upload-url "
458 "flag. The trace may include personally identifiable information (PII) "
459 "such as the titles and URLs of websites you visit.";
460
Bernhard Bauer5533f9912017-11-06 17:56:02461const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
462const char kEnableNetworkLoggingToFileDescription[] =
463 "Enables network logging to a file named netlog.json in the user data "
464 "directory. The file can be imported into chrome://net-internals.";
465
Brett Wilsonf27ff602017-07-07 22:28:47466const char kEnableNetworkServiceName[] = "Enable network service";
467const char kEnableNetworkServiceDescription[] =
468 "Enables the network service, which makes network requests through a "
469 "separate service. Note: most features don't work with this yet.";
470
John Abd-El-Malek8067cc02017-12-04 23:23:20471const char kEnableNetworkServiceInProcessName[] =
472 "Runs network service in-process";
473const char kEnableNetworkServiceInProcessDescription[] =
474 "Runs the network service in the browser process.";
475
dpapaded8349472017-10-25 03:21:27476const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
477const char kEnableNewPrintPreviewDescription[] =
478 "If enabled, Print Preview will display a newer UI";
479
Ahmed Fakhry2fd8fc82017-07-28 16:31:12480const char kEnableNightLightName[] = "Enable Night Light";
481const char kEnableNightLightDescription[] =
482 "Enable the Night Light feature which controls the color temperature of "
483 "the screen.";
484
xlou8b56f672018-02-09 23:34:30485const char kEnableNupPrintingName[] = "Enable N-up printing";
486const char kEnableNupPrintingDescription[] =
487 "Enable N-up printing in the print preview panel.";
488
Sophie Chang117a3b22017-10-24 22:25:36489const char kEnableOptimizationHintsName[] = "Optimization Hints";
490const char kEnableOptimizationHintsDescription[] =
491 "Enable the Optimization Hints feature which incorporates server hints"
492 "into decisions for what optimizations to perform on some pages on slow "
493 "networks.";
494
Yutaka Hirano98be3272017-08-07 17:55:39495const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
496const char kEnableOutOfBlinkCORSDescription[] =
497 "CORS handling logic is moved out of blink.";
498
kylechar7051c092018-02-05 20:31:39499const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
500const char kVizDisplayCompositorDescription[] =
501 "If enabled, the display compositor runs as part of the viz service in the"
502 "GPU process.";
503
Ria Jiang6a129b982018-03-01 18:30:40504const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
505const char kVizHitTestDrawQuadDescription[] =
506 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
507 "with hit-test data computed from the CompositorFrame.";
508
Erik Chen49bbfa22017-08-18 08:49:56509const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23510 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56511const char kEnableOutOfProcessHeapProfilingDescription[] =
512 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19513 "malloced objects. Heap dumps can be obtained at chrome://tracing "
514 "[category:memory-infra] and chrome://memory-internals. This setting "
515 "controls which processes are profiled. As long as this setting is not "
516 "disabled, users can start profiling any given process in "
517 "chrome://memory-internals.";
518const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
519const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
520const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
521const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
522const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10523const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19524 "None by default. Visit chrome://memory-internals to choose which "
525 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15526const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
527 "Profile a random sampling of renderer processes, ensuring only one is "
528 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19529
Erik Chen8bb76b52017-12-06 19:06:25530const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19531 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25532const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
533 "By default, small allocations are pruned from the heap dump. This reduces "
534 "the size of the compressed trace by 100x. If pruning is disabled, the "
535 "chrome://tracing UI may be unable to take or load the trace. Save the "
536 "trace directly using chrome://memory-internals, and use other mechanisms "
537 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
538 "automatically uploaded traces will always be pruned. This only affects "
539 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56540
erikchen8bc20d82018-02-14 03:21:51541const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
542const char kOutOfProcessHeapProfilingSamplingDescription[] =
543 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22544 "10000. This results in low noise for large and/or frequent allocations ["
545 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
546 "total size of malloc-ed objects] and large and/or frequent allocations "
547 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51548
Erik Chen3303fd0232018-01-11 20:29:05549const char kOOPHPStackModeName[] =
550 "The type of stack to record for memlog heap dumps";
551const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19552 "By default, memlog heap dumps record native stacks, which requires a "
553 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55554 "pointers to work on Android. Native with thread names will add the thread "
555 "name as the first frame of each native stack. It's also possible to "
556 "record a pseudo stack using trace events as identifiers. It's also "
557 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19558const char kOOPHPStackModeMixed[] = "Mixed";
559const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55560const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19561const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05562
François Beaufort2e75f492018-02-08 20:44:46563const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47564const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46565 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47566
F#m59d036e2017-09-13 07:22:17567const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
568const char kEnablePixelCanvasRecordingDescription[] =
569 "Pixel canvas recording allows the compositor to raster contents aligned "
570 "with the pixel and improves text rendering. This should be enabled when a "
571 "device is using fractional scale factor.";
572
Brett Wilsonf27ff602017-07-07 22:28:47573const char kEnableTokenBindingName[] = "Token Binding.";
574const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
575
Sahel Sharifyd732ab12017-11-29 23:03:16576extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
577 "Wheel Scroll Latching.";
578extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
579 "Wheel scroll latching enforces latching to a single element for the "
580 "duration of a scroll sequence.";
581
Brett Wilsonf27ff602017-07-07 22:28:47582const char kEnableUseZoomForDsfName[] =
583 "Use Blink's zoom for device scale factor.";
584const char kEnableUseZoomForDsfDescription[] =
585 "If enabled, Blink uses its zooming mechanism to scale content for device "
586 "scale factor.";
587const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
588const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
589const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
590
591const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
592const char kEnableScrollAnchoringDescription[] =
593 "Adjusts scroll position to prevent visible jumps when offscreen content "
594 "changes.";
595
Patrick Noland8ee016e2018-01-24 11:44:53596const char kEnableScrollAnchorSerializationName[] =
597 "Scroll Anchor Serialization";
598const char kEnableScrollAnchorSerializationDescription[] =
599 "Save the scroll anchor and use it to restore the scroll position when "
600 "navigating.";
601
Brad Nelson5cd500e2018-01-04 00:50:19602const char kEnableSharedArrayBufferName[] =
603 "Experimental enabled SharedArrayBuffer support in JavaScript.";
604const char kEnableSharedArrayBufferDescription[] =
605 "Enable SharedArrayBuffer support in JavaScript.";
606
Brett Wilsonf27ff602017-07-07 22:28:47607const char kEnableWasmName[] = "WebAssembly structured cloning support.";
608const char kEnableWasmDescription[] =
609 "Enable web pages to use WebAssembly structured cloning.";
610
Brett Wilsonf27ff602017-07-07 22:28:47611const char kEnableImageCaptureAPIName[] = "Image Capture API";
612const char kEnableImageCaptureAPIDescription[] =
613 "Enables the Web Platform Image Capture API: takePhoto(), "
614 "getPhotoCapabilities(), etc.";
615
616const char kEnableZeroSuggestRedirectToChromeName[] =
617 "Experimental contextual omnibox suggestion";
618const char kEnableZeroSuggestRedirectToChromeDescription[] =
619 "Change omnibox contextual suggestions to an experimental source. Note "
620 "that this is not an on/off switch for contextual omnibox and it only "
621 "applies to suggestions provided before the user starts typing a URL or a "
622 "search query (i.e. zero suggest).";
623
624const char kEnableWasmStreamingName[] =
625 "WebAssembly streaming compile/instantiate support.";
626const char kEnableWasmStreamingDescription[] =
627 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
628
Brett Wilsonf27ff602017-07-07 22:28:47629const char kExpensiveBackgroundTimerThrottlingName[] =
630 "Throttle expensive background timers";
631const char kExpensiveBackgroundTimerThrottlingDescription[] =
632 "Enables intervention to limit CPU usage of background timers to 1%.";
633
634const char kExperimentalAppBannersName[] = "Experimental app banners";
635const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38636 "Enables a new experimental app banner flow and UI. Implies "
637 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47638
639const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
640const char kExperimentalCanvasFeaturesDescription[] =
641 "Enables the use of experimental canvas features which are still in "
642 "development.";
643
Nicholas Verneccd8259802018-02-22 01:22:04644const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
645const char kExperimentalCrostiniUIDescription[] =
646 "Enables in-development Crostini features.";
647
Brett Wilsonf27ff602017-07-07 22:28:47648const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
649const char kExperimentalExtensionApisDescription[] =
650 "Enables experimental extension APIs. Note that the extension gallery "
651 "doesn't allow you to upload extensions that use experimental APIs.";
652
653const char kExperimentalFullscreenExitUIName[] =
654 "Experimental fullscreen exit UI";
655const char kExperimentalFullscreenExitUIDescription[] =
656 "Displays experimental UI to allow mouse and touch input methods to exit "
657 "fullscreen mode.";
658
Brett Wilsonf27ff602017-07-07 22:28:47659const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
660const char kExperimentalKeyboardLockUiDescription[] =
661 "An experimental full screen with keyboard lock mode requiring users to "
662 "hold Esc to exit.";
663
664const char kExperimentalSecurityFeaturesName[] =
665 "Potentially annoying security features";
666const char kExperimentalSecurityFeaturesDescription[] =
667 "Enables several security features that will likely break one or more "
668 "pages that you visit on a daily basis. Strict mixed content checking, for "
669 "example. And locking powerful features to secure contexts. This flag will "
670 "probably annoy you.";
671
672const char kExperimentalWebPlatformFeaturesName[] =
673 "Experimental Web Platform features";
674const char kExperimentalWebPlatformFeaturesDescription[] =
675 "Enables experimental Web Platform features that are in development.";
676
677const char kExtensionContentVerificationName[] =
678 "Extension Content Verification";
679const char kExtensionContentVerificationDescription[] =
680 "This flag can be used to turn on verification that the contents of the "
681 "files on disk for extensions from the webstore match what they're "
682 "expected to be. This can be used to turn on this feature if it would not "
683 "otherwise have been turned on, but cannot be used to turn it off (because "
684 "this setting can be tampered with by malware).";
685const char kExtensionContentVerificationBootstrap[] =
686 "Bootstrap (get expected hashes, but do not enforce them)";
687const char kExtensionContentVerificationEnforce[] =
688 "Enforce (try to get hashes, and enforce them if successful)";
689const char kExtensionContentVerificationEnforceStrict[] =
690 "Enforce strict (hard fail if we can't get hashes)";
691
692const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
693const char kExtensionsOnChromeUrlsDescription[] =
694 "Enables running extensions on chrome:// URLs, where extensions explicitly "
695 "request this permission.";
galinapae72e152017-05-12 13:12:28696
Brett Wilsonecb80982017-07-12 20:34:51697const char kFastUnloadName[] = "Fast tab/window close";
698const char kFastUnloadDescription[] =
699 "Enables fast tab/window closing - runs a tab's onunload js handler "
700 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34701
Brett Wilsonecb80982017-07-12 20:34:51702const char kFeaturePolicyName[] = "Feature Policy";
703const char kFeaturePolicyDescription[] =
704 "Enables granting and removing access to features through the "
705 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34706
Brett Wilsonecb80982017-07-12 20:34:51707const char kFontCacheScalingName[] = "FontCache scaling";
708const char kFontCacheScalingDescription[] =
709 "Reuse a cached font in the renderer to serve different sizes of font for "
710 "faster layout.";
711
712const char kForceEffectiveConnectionTypeName[] =
713 "Override effective connection type";
714const char kForceEffectiveConnectionTypeDescription[] =
715 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30716 "returned by the network quality estimator. Slow 2G on Cellular returns "
717 "Slow 2G when connected to a cellular network, and the actual estimate "
718 "effective connection type when not on a cellular network. Previews are "
719 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51720const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
721const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
722const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30723const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
724 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51725const char kEffectiveConnectionType2GDescription[] = "2G";
726const char kEffectiveConnectionType3GDescription[] = "3G";
727const char kEffectiveConnectionType4GDescription[] = "4G";
728
729const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
730const char kFillOnAccountSelectDescription[] =
731 "Filling of passwords when an account is explicitly selected by the user "
732 "rather than autofilling credentials on page load.";
733
Brett Wilsonecb80982017-07-12 20:34:51734const char kForceTextDirectionName[] = "Force text direction";
735const char kForceTextDirectionDescription[] =
736 "Explicitly force the per-character directionality of UI text to "
737 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
738 "direction of the character language.";
739const char kForceDirectionLtr[] = "Left-to-right";
740const char kForceDirectionRtl[] = "Right-to-left";
741
742const char kForceUiDirectionName[] = "Force UI direction";
743const char kForceUiDirectionDescription[] =
744 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
745 "mode, overriding the default direction of the UI language.";
746
747const char kFramebustingName[] =
748 "Framebusting requires same-origin or a user gesture";
749const char kFramebustingDescription[] =
750 "Don't permit an iframe to navigate the top level browsing context unless "
751 "they are same-origin or the iframe is processing a user gesture.";
752
753const char kGamepadExtensionsName[] = "Gamepad Extensions";
754const char kGamepadExtensionsDescription[] =
755 "Enabling this option allows web applications to access experimental "
756 "extensions to the Gamepad APIs.";
757
Brett Wilsonecb80982017-07-12 20:34:51758const char kGpuRasterizationMsaaSampleCountName[] =
759 "GPU rasterization MSAA sample count.";
760const char kGpuRasterizationMsaaSampleCountDescription[] =
761 "Specify the number of MSAA samples for GPU rasterization.";
762const char kGpuRasterizationMsaaSampleCountZero[] = "0";
763const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
764const char kGpuRasterizationMsaaSampleCountFour[] = "4";
765const char kGpuRasterizationMsaaSampleCountEight[] = "8";
766const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
767
768const char kGpuRasterizationName[] = "GPU rasterization";
769const char kGpuRasterizationDescription[] =
770 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28771const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51772
773const char kGoogleProfileInfoName[] = "Google profile name and icon";
774const char kGoogleProfileInfoDescription[] =
775 "Enables using Google information to populate the profile name and icon in "
776 "the avatar menu.";
777
778const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
779const char kHarfbuzzRendertextDescription[] =
780 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
781 "web content.";
782
Manu Cornete5f855b2018-03-13 03:35:25783const char kHideNonActiveAppsFromShelfName[] =
784 "Hide apps that are not running from the shelf";
785const char kHideNonActiveAppsFromShelfDescription[] =
786 "Save space in the shelf by hiding apps that are not running.";
787
Brett Wilsonecb80982017-07-12 20:34:51788const char kHistoryRequiresUserGestureName[] =
789 "New history entries require a user gesture.";
790const char kHistoryRequiresUserGestureDescription[] =
791 "Require a user gesture to add a history entry.";
792const char kHyperlinkAuditingName[] = "Hyperlink auditing";
793const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
794
795const char kHostedAppQuitNotificationName[] =
796 "Quit notification for hosted apps";
797const char kHostedAppQuitNotificationDescription[] =
798 "Display a notification when quitting Chrome if hosted apps are currently "
799 "running.";
800
801const char kHostedAppShimCreationName[] =
802 "Creation of app shims for hosted apps on Mac";
803const char kHostedAppShimCreationDescription[] =
804 "Create app shims on Mac when creating a hosted app.";
805
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48806const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
807const char kHtmlBasedUsernameDetectorDescription[] =
808 "Use HTML-based username detector for the password manager.";
809
Brett Wilsonecb80982017-07-12 20:34:51810const char kIconNtpName[] = "Large icons on the New Tab page";
811const char kIconNtpDescription[] =
812 "Enable the experimental New Tab page using large icons.";
813
814const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
815const char kIgnoreGpuBlacklistDescription[] =
816 "Overrides the built-in software rendering list and enables "
817 "GPU-acceleration on unsupported system configurations.";
818
Thanh Le5f090efa52017-12-27 22:39:44819const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
820const char kIgnorePreviewsBlacklistDescription[] =
821 "Ignore decisions made by the PreviewsBlackList";
822
Brett Wilsonecb80982017-07-12 20:34:51823const char kImportantSitesInCbdName[] =
824 "Important sites options in clear browsing data dialog";
825const char kImportantSitesInCbdDescription[] =
826 "Include the option to whitelist important sites in the clear browsing "
827 "data dialog.";
828
Claudio Magni61c210922017-12-28 00:29:51829const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
830const char kImprovedLanguageSettingsDescription[] =
831 "Set of changes for Language Settings. These changes are intended to fix "
832 "the major bugs related to Language Settings.";
833
Brett Wilsonecb80982017-07-12 20:34:51834const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
835const char kInProductHelpDemoModeChoiceDescription[] =
836 "Selects the In-Product Help demo mode.";
837
838const char kJavascriptHarmonyName[] = "Experimental JavaScript";
839const char kJavascriptHarmonyDescription[] =
840 "Enable web pages to use experimental JavaScript features.";
841
842const char kJavascriptHarmonyShippingName[] =
843 "Latest stable JavaScript features";
844const char kJavascriptHarmonyShippingDescription[] =
845 "Some web pages use legacy or non-standard JavaScript extensions that may "
846 "conflict with the latest JavaScript features. This flag allows disabling "
847 "support of those features for compatibility with such pages.";
848
Yutaka Hiranof7f2f632017-09-06 10:40:08849const char kKeepAliveRendererForKeepaliveRequestsName[] =
850 "Keep a renderer alive for keepalive fetch requests";
851const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
852 "Keep a render process alive when the process has a pending fetch request "
853 "with `keepalive' specified.";
854
Joe Downing095fd6d2018-02-01 18:40:36855const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
856const char kKeyboardLockApiDescription[] =
857 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
858 "specific key events and have them routed directly to the webpage when in "
859 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
860
Brett Wilsonecb80982017-07-12 20:34:51861const char kLcdTextName[] = "LCD text antialiasing";
862const char kLcdTextDescription[] =
863 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
864 "(subpixel) when doing accelerated compositing.";
865
Matt Giucac399982f2017-10-06 07:51:29866const char kLeftToRightUrlsName[] =
867 "Render bidirectional URLs from left to right";
868const char kLeftToRightUrlsDescription[] =
869 "An experimental Bidi URL rendering algorithm where the URL components are "
870 "always shown in order from left to right, regardless of any RTL "
871 "characters. (The contents of each component are still rendered with the "
872 "normal Bidi algorithm.)";
873
Brett Wilsonecb80982017-07-12 20:34:51874const char kLoadMediaRouterComponentExtensionName[] =
875 "Load Media Router Component Extension";
876const char kLoadMediaRouterComponentExtensionDescription[] =
877 "Loads the Media Router component extension at startup.";
878
Derek Chengd24c68c2018-03-12 19:09:32879const char kMediaRouterCastAllowAllIPsName[] =
880 "Connect to Cast devices on all IP addresses";
881const char kMediaRouterCastAllowAllIPsDescription[] =
882 "Have the Media Router connect to Cast devices on all IP addresses, not "
883 "just RFC1918/RFC4913 private addresses.";
884
Brett Wilsonecb80982017-07-12 20:34:51885const char kManualPasswordGenerationName[] = "Manual password generation.";
886const char kManualPasswordGenerationDescription[] =
887 "Show a 'Generate Password' option on the context menu for all password "
888 "fields.";
889
Dominic Battref27e8762017-08-23 11:16:25890const char kManualPasswordSavingName[] = "Manual password saving.";
891const char kManualPasswordSavingDescription[] =
892 "Show the password manager icon when typing into a password filed. "
893 "Clicking it allows to save the password without submitting the form.";
894
Brett Wilsonecb80982017-07-12 20:34:51895const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
896const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51897
Lei Zhang2eca9082017-10-17 20:42:50898const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
899const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51900 "If enabled, the Incognito New Tab page uses the new material design with "
901 "a better readable text.";
902
903const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
904const char kMediaRemotingDescription[] =
905 "When Casting a tab to a remote device, enabling this turns on an "
906 "optimization that forwards the content bitstream directly to the remote "
907 "device when a video is fullscreened.";
908
909const char kMemoryAblationName[] = "Memory ablation experiment";
910const char kMemoryAblationDescription[] =
911 "Allocates extra memory in the browser process.";
912
913const char kMemoryCoordinatorName[] = "Memory coordinator";
914const char kMemoryCoordinatorDescription[] =
915 "Enable memory coordinator instead of memory pressure listeners.";
916
917const char kMessageCenterNewStyleNotificationName[] = "New style notification";
918const char kMessageCenterNewStyleNotificationDescription[] =
919 "Enables the experiment style of material-design notification";
920
Brett Wilsonecb80982017-07-12 20:34:51921const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
922const char kMhtmlGeneratorOptionDescription[] =
923 "Provides experimental options for MHTML file generator.";
924const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
925const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
926
Kouhei Ueno08445c22017-09-05 03:58:30927const char kModuleScriptsDynamicImportName[] =
928 "Enable ECMAScript 6 modules dynamic import";
929const char kModuleScriptsDynamicImportDescription[] =
930 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
931 "Blink.";
932
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05933const char kModuleScriptsImportMetaUrlName[] =
934 "Enable ECMAScript 6 modules import.meta.url";
935const char kModuleScriptsImportMetaUrlDescription[] =
936 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
937 "Blink.";
938
Brett Wilsonecb80982017-07-12 20:34:51939const char kNewAudioRenderingMixingStrategyName[] =
940 "New audio rendering mixing strategy";
941const char kNewAudioRenderingMixingStrategyDescription[] =
942 "Use the new audio rendering mixing strategy.";
943
944const char kNewBookmarkAppsName[] = "The new bookmark app system";
945const char kNewBookmarkAppsDescription[] =
946 "Enables the new system for creating bookmark apps.";
947
Brett Wilsonecb80982017-07-12 20:34:51948const char kNewRemotePlaybackPipelineName[] =
949 "Enable the new remote playback pipeline.";
950const char kNewRemotePlaybackPipelineDescription[] =
951 "Enable the new pipeline for playing media element remotely via "
952 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50953const char kUseSurfaceLayerForVideoName[] =
954 "Enable the use of SurfaceLayer objects for videos.";
955const char kUseSurfaceLayerForVideoDescription[] =
956 "Enable compositing onto a Surface instead of a VideoLayer "
957 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51958
959const char kNewUsbBackendName[] = "Enable new USB backend";
960const char kNewUsbBackendDescription[] =
961 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34962
Sonny Sasaka2d200432018-03-22 17:43:16963const char kNewblueName[] = "Newblue";
964const char kNewblueDescription[] =
965 "Enables the use of newblue Bluetooth daemon.";
966
brettw5f9c1642017-05-14 17:12:48967const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34968const char kNostatePrefetchDescription[] =
969 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
970 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
971 R"*(improve load times even more. "Simple Load" does nothing and is )*"
972 R"*(similar to disabling the feature, but collects more metrics for )*"
973 R"*(comparison purposes.)*";
974
Brett Wilsonecb80982017-07-12 20:34:51975const char kNotificationsNativeFlagName[] = "Enable native notifications.";
976const char kNotificationsNativeFlagDescription[] =
977 "Enable support for using the native notification toasts and notification "
978 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34979
Zentaro Kavanaghbad511c2017-10-18 22:29:00980#if defined(OS_POSIX)
981const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
982const char kNtlmV2EnabledDescription[] =
983 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
984#endif
985
Brett Wilsonecb80982017-07-12 20:34:51986const char kNumRasterThreadsName[] = "Number of raster threads";
987const char kNumRasterThreadsDescription[] =
988 "Specify the number of raster threads.";
989const char kNumRasterThreadsOne[] = "1";
990const char kNumRasterThreadsTwo[] = "2";
991const char kNumRasterThreadsThree[] = "3";
992const char kNumRasterThreadsFour[] = "4";
993
994const char kOfferStoreUnmaskedWalletCardsName[] =
995 "Google Payments card saving checkbox";
996const char kOfferStoreUnmaskedWalletCardsDescription[] =
997 "Show the checkbox to offer local saving of a credit card downloaded from "
998 "the server.";
999
1000const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1001const char kOfflineAutoReloadDescription[] =
1002 "Pages that fail to load while the browser is offline will be "
1003 "auto-reloaded when the browser is online again.";
1004
1005const char kOfflineAutoReloadVisibleOnlyName[] =
1006 "Only Auto-Reload Visible Tabs";
1007const char kOfflineAutoReloadVisibleOnlyDescription[] =
1008 "Pages that fail to load while the browser is offline will only be "
1009 "auto-reloaded if their tab is visible.";
1010
Brett Wilsonecb80982017-07-12 20:34:511011const char kOmniboxDisplayTitleForCurrentUrlName[] =
1012 "Include title for the current URL in the omnibox";
1013const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1014 "In the event that the omnibox provides suggestions on-focus, the URL of "
1015 "the current page is provided as the first suggestion without a title. "
1016 "Enabling this flag causes the title to be displayed.";
1017
Benoit Lizeab08362c2017-07-19 14:50:541018const char kOmniboxSpareRendererName[] =
1019 "Start spare renderer on omnibox focus";
1020const char kOmniboxSpareRendererDescription[] =
1021 "When the omnibox is focused, start an empty spare renderer. This can "
1022 "speed up the load of the navigation from the omnibox.";
1023
Tommy C. Li8875a442017-08-23 00:10:591024const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1025 "Omnibox UI Elide Suggestion URL After Host";
1026const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1027 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1028 "dropdown.";
1029
Tommy C. Lid79d4402017-12-22 22:49:121030const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1031 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1032const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1033 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1034 "displayed URLs. Hidden portions are restored during editing.";
1035
Brett Wilsonecb80982017-07-12 20:34:511036const char kOmniboxUIMaxAutocompleteMatchesName[] =
1037 "Omnibox UI Max Autocomplete Matches";
1038
1039const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1040 "Changes the maximum number of autocomplete matches displayed in the "
1041 "Omnibox UI.";
1042
1043const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
1044const char kOmniboxUINarrowDropdownDescription[] =
1045 "Makes the suggestions dropdown width match the omnibox width.";
1046
Justin Donnelly65c9e8b2017-10-01 05:15:011047const char kOmniboxUIShowSuggestionFaviconsName[] =
1048 "Omnibox UI Show Suggestion Favicons";
1049const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1050 "Shows favicons instead of generic vector icons for URL suggestions in the "
1051 "Omnibox dropdown.";
1052
1053const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1054const char kOmniboxUISwapTitleAndUrlDescription[] =
1055 "In the omnibox dropdown, shows titles before URLs when both are "
1056 "available.";
1057
Brett Wilsonecb80982017-07-12 20:34:511058const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
1059const char kOmniboxUIVerticalLayoutDescription[] =
1060 "Displays Omnibox sugestions in 2 lines - title over origin.";
1061
1062const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1063const char kOmniboxUIVerticalMarginDescription[] =
1064 "Changes the vertical margin in the Omnibox UI.";
1065
Troy Hildebrandtb32637ca2018-02-21 23:25:091066const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1067 "Omnibox Voice Search Always Visible";
1068const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1069 "Always displays voice search icon in focused omnibox as long as voice "
1070 "search is possible";
1071
Brett Wilsonecb80982017-07-12 20:34:511072const char kOriginTrialsName[] = "Origin Trials";
1073const char kOriginTrialsDescription[] =
1074 "Enables origin trials for controlling access to feature/API experiments.";
1075
Becca Hughes930d8cd2017-10-02 11:09:121076const char kOverflowIconsForMediaControlsName[] =
1077 "Icons on Media Controls Overflow Menu";
1078const char kOverflowIconsForMediaControlsDescription[] =
1079 "Displays icons on the overflow menu of the native media controls";
1080
Brett Wilsonecb80982017-07-12 20:34:511081const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1082const char kOverlayScrollbarsDescription[] =
1083 "Enable the experimental overlay scrollbars implementation. You must also "
1084 "enable threaded compositing to have the scrollbars animate.";
1085
chaopenge8aa016b2017-08-24 15:20:191086const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1087 "Flash Overlay Scrollbars After Any Scroll Update";
1088const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1089 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1090 " must also enable Overlay Scrollbars.";
1091
chaopeng343678022017-08-24 18:45:001092const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1093 "Flash Overlay Scrollbars When Mouse Enter";
1094const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1095 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1096 " enable Overlay Scrollbars.";
1097
Claudio Magni81326f92017-09-01 05:21:181098const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1099const char kUseNewAcceptLanguageHeaderDescription[] =
1100 "Adds the base language code after other corresponding language+region "
1101 "codes. This ensures that users receive content in their preferred "
1102 "language.";
1103
Brett Wilsonecb80982017-07-12 20:34:511104const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1105const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481106 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511107const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481108const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511109
1110const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1111const char kOverscrollStartThresholdDescription[] =
1112 "Changes overscroll start threshold relative to the default value.";
1113const char kOverscrollStartThreshold133Percent[] = "133%";
1114const char kOverscrollStartThreshold166Percent[] = "166%";
1115const char kOverscrollStartThreshold200Percent[] = "200%";
1116
Xing Liu5400a002017-09-15 21:48:291117const char kParallelDownloadingName[] = "Parallel downloading";
1118const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061119 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291120
Brett Wilsonecb80982017-07-12 20:34:511121const char kPassiveEventListenerDefaultName[] =
1122 "Passive Event Listener Override";
1123const char kPassiveEventListenerDefaultDescription[] =
1124 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1125 "haven't requested otherwise) to be treated as passive. This will break "
1126 "touch/wheel behavior on some websites but is useful for demonstrating the "
1127 "potential performance benefits of adopting passive event listeners.";
1128const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1129const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1130
1131const char kPassiveEventListenersDueToFlingName[] =
1132 "Touch Event Listeners Passive Default During Fling";
1133const char kPassiveEventListenersDueToFlingDescription[] =
1134 "Forces touchstart, and first touchmove per scroll event listeners during "
1135 "fling to be treated as passive.";
1136
1137const char kPassiveDocumentEventListenersName[] =
1138 "Document Level Event Listeners Passive Default";
1139const char kPassiveDocumentEventListenersDescription[] =
1140 "Forces touchstart, and touchmove event listeners on document level "
1141 "targets (which haven't requested otherwise) to be treated as passive.";
1142
1143const char kPasswordForceSavingName[] = "Force-saving of passwords";
1144const char kPasswordForceSavingDescription[] =
1145 "Allow the user to manually enforce password saving instead of relying on "
1146 "password manager's heuristics.";
1147
1148const char kPasswordGenerationName[] = "Password generation";
1149const char kPasswordGenerationDescription[] =
1150 "Allow the user to have Chrome generate passwords when it detects account "
1151 "creation pages.";
1152
Vaclav Brozekd8a3f542017-11-16 14:21:131153const char kPasswordExportName[] = "Password export";
1154const char kPasswordExportDescription[] =
1155 "Export functionality in password settings.";
1156
1157const char kPasswordImportName[] = "Password import";
1158const char kPasswordImportDescription[] =
1159 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511160
Friedrich Horschig03c91982018-01-25 14:21:281161const char kPasswordSearchMobileName[] = "Password search";
1162const char kPasswordSearchMobileDescription[] =
1163 "Search functionality in password settings.";
1164
Tom Sepez92a2cd242018-03-13 19:23:091165const char kPdfIsolationName[] = "PDF Isolation";
1166const char kPdfIsolationDescription[] =
1167 "Render PDF files from different origins in different plugin processes.";
1168
Brett Wilsonecb80982017-07-12 20:34:511169const char kPinchScaleName[] = "Pinch scale";
1170const char kPinchScaleDescription[] =
1171 "Enables experimental support for scale using pinch.";
1172
Doug Arnett620ff542018-02-06 17:54:221173const char kPreviewsAllowedName[] = "Previews Allowed";
1174const char kPreviewsAllowedDescription[] =
1175 "Allows previews to be shown subject to specific preview types being "
1176 "enabled and the client experiencing specific triggering conditions. "
1177 "May be used as a kill-switch to turn off all potential preview types.";
1178
Brett Wilsonecb80982017-07-12 20:34:511179const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1180const char kPrintPdfAsImageDescription[] =
1181 "If enabled, an option to print PDF files as images will be available in "
1182 "print preview.";
1183
1184const char kPrintPreviewRegisterPromosName[] =
1185 "Print Preview Registration Promos";
1186const char kPrintPreviewRegisterPromosDescription[] =
1187 "Enable registering unregistered cloud printers from print preview.";
1188
1189const char kProtectSyncCredentialName[] = "Autofill sync credential";
1190const char kProtectSyncCredentialDescription[] =
1191 "How the password manager handles autofill for the sync credential.";
1192
1193const char kProtectSyncCredentialOnReauthName[] =
1194 "Autofill sync credential only for transactional reauth pages";
1195const char kProtectSyncCredentialOnReauthDescription[] =
1196 "How the password manager handles autofill for the sync credential only "
1197 "for transactional reauth pages.";
1198
Mohsen Izadi93faac12017-07-29 04:45:151199const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1200const char kPullToRefreshDescription[] =
1201 "Pull-to-refresh gesture in response to vertical overscroll.";
1202
Brett Wilsonecb80982017-07-12 20:34:511203const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1204const char kPushApiBackgroundModeDescription[] =
1205 "Enable background mode for the Push API. This allows Chrome to continue "
1206 "running after the last window is closed, and to launch at OS startup, if "
1207 "the Push API needs it.";
1208
Troy Hildebrandt7228ad12018-02-23 21:18:241209const char kQueryInOmniboxName[] = "Query in Omnibox";
1210const char kQueryInOmniboxDescription[] =
1211 "Only display query terms in the omnibox when viewing a search results "
1212 "page.";
1213
Brett Wilsonecb80982017-07-12 20:34:511214const char kQuicName[] = "Experimental QUIC protocol";
1215const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1216
1217const char kReducedReferrerGranularityName[] =
1218 "Reduce default 'referer' header granularity.";
1219const char kReducedReferrerGranularityDescription[] =
1220 "If a page hasn't set an explicit referrer policy, setting this flag will "
1221 "reduce the amount of information in the 'referer' header for cross-origin "
1222 "requests.";
1223
Claudio Magnie0a80bb2018-01-31 02:52:581224extern const char kRegionalLocalesAsDisplayUIName[] =
1225 "Allow regional locales as display UI";
1226extern const char kRegionalLocalesAsDisplayUIDescription[] =
1227 "This flag allows regional locales to be selected as display UI by the "
1228 "user in Language Settings. The actual locale of the system is derived "
1229 "from the user selection based on some simple fallback logic.";
1230
Christian Dullweber1af31e62018-02-22 11:49:481231const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141232 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481233const char kRemoveNavigationHistoryDescription[] =
1234 "Remove a navigation entry when the corresponding history entry has been "
1235 "deleted.";
1236
Mihai Sardarescu6d0f5b72017-10-30 11:24:381237const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1238 "Remove usage of the deprecated GAIA sign-in endpoint";
1239const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1240 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1241 "This flags controls wheter it should no longer be used during a sign-in "
1242 " flow.";
1243
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351244const char kRendererSideResourceSchedulerName[] =
1245 "Renderer side ResourceScheduler";
1246const char kRendererSideResourceSchedulerDescription[] =
1247 "Migrate some ResourceScheduler functionalities to renderer";
1248
Brett Wilsonecb80982017-07-12 20:34:511249const char kRequestTabletSiteName[] =
1250 "Request tablet site option in the settings menu";
1251const char kRequestTabletSiteDescription[] =
1252 "Allows the user to request tablet site. Web content is often optimized "
1253 "for tablet devices. When this option is selected the user agent string is "
1254 "changed to indicate a tablet device. Web content optimized for tablets is "
1255 "received there after for the current tab.";
1256
1257const char kResetAppListInstallStateName[] =
1258 "Reset the App Launcher install state on every restart.";
1259const char kResetAppListInstallStateDescription[] =
1260 "Reset the App Launcher install state on every restart. While this flag is "
1261 "set, Chrome will forget the launcher has been installed each time it "
1262 "starts. This is used for testing the App Launcher install flow.";
1263
1264const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1265const char kResourceLoadSchedulerDescription[] =
1266 "Uses the resource load scheduler in blink to schedule and throttle "
1267 "resource load requests.";
1268
Brett Wilsonecb80982017-07-12 20:34:511269const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1270const char kSafeSearchUrlReportingDescription[] =
1271 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1272
Alexei Filippov98772752018-01-27 08:26:521273const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1274const char kSamplingHeapProfilerDescription[] =
1275 "Enables native memory sampling profiler with specified rate in KiB. "
1276 "If sampling rate is not provided the default value of 128 KiB is used.";
1277
Brett Wilsonecb80982017-07-12 20:34:511278const char kSaveasMenuLabelExperimentName[] =
1279 "Switch 'Save as' menu labels to 'Download'";
1280const char kSaveasMenuLabelExperimentDescription[] =
1281 "Enables an experiment to switch menu labels that use 'Save as...' to "
1282 "'Download'.";
1283
1284const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1285const char kSavePageAsMhtmlDescription[] =
1286 "Enables saving pages as MHTML: a single text file containing HTML and all "
1287 "sub-resources.";
1288
Nate Chapin9638e7102017-09-20 22:11:011289const char kSavePreviousDocumentResourcesName[] =
1290 "Save Previous Document Resources";
1291const char kSavePreviousDocumentResourcesDescription[] =
1292 "Saves an old document's cached resources until the specified point in the "
1293 "next document's lifecycle.";
1294const char kSavePreviousDocumentResourcesNever[] =
1295 "Don't explicitly save resources";
1296const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1297 "Save resources until onDOMContentLoaded completes";
1298const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1299 "Save resources until onload completes";
1300
Brett Wilsonecb80982017-07-12 20:34:511301const char kScrollPredictionName[] = "Scroll prediction";
1302const char kScrollPredictionDescription[] =
1303 "Predicts the finger's future position during scrolls allowing time to "
1304 "render the frame before the finger is there.";
1305
1306const char kSecondaryUiMd[] =
1307 "Material Design in the rest of the browser's native UI";
1308const char kSecondaryUiMdDescription[] =
1309 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1310 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1311 "browser dialogs.";
1312
1313const char kServiceWorkerNavigationPreloadName[] =
1314 "Service worker navigation preload.";
1315const char kServiceWorkerNavigationPreloadDescription[] =
1316 "Enable web pages to use the experimental service worker navigation "
1317 "preload API.";
1318
gogeraldd5061b592017-09-06 23:39:551319const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1320const char kServiceWorkerPaymentAppsDescription[] =
1321 "Enable Service Worker applications to integrate as payment apps";
1322
Makoto Shimazu22078cc2018-02-21 03:01:441323extern const char kServiceWorkerServicificationName[] =
1324 "Servicified service workers";
1325extern const char kServiceWorkerServicificationDescription[] =
1326 "Enable the servicified service workers. A servicified service worker can "
1327 "have direct connection from its clients, so that fetch events can be "
1328 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171329
Tsuyoshi Horobcb1c642017-11-24 16:32:141330const char kServiceWorkerScriptFullCodeCacheName[] =
1331 "Service worker script full code cache.";
1332const char kServiceWorkerScriptFullCodeCacheDescription[] =
1333 "Generate V8 full code cache of Service Worker scripts while installing.";
1334
Brett Wilsonecb80982017-07-12 20:34:511335const char kSettingsWindowName[] = "Show settings in a window";
1336const char kSettingsWindowDescription[] =
1337 "Settings will be shown in a dedicated window instead of as a browser tab.";
1338
Trent Apted750ba7022017-10-23 13:36:251339const char kShowAllDialogsWithViewsToolkitName[] =
1340 "Show all dialogs with Views toolkit";
1341const char kShowAllDialogsWithViewsToolkitDescription[] =
1342 "All browser dialogs will be shown using the Views toolkit rather than "
1343 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1344
Brett Wilsonecb80982017-07-12 20:34:511345const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1346const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381347 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1348 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511349
1350const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1351const char kShowAutofillTypePredictionsDescription[] =
1352 "Annotates web forms with Autofill field type predictions as placeholder "
1353 "text.";
1354
1355const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1356const char kShowOverdrawFeedbackDescription[] =
1357 "Visualize overdraw by color-coding elements based on if they have other "
1358 "elements drawn underneath.";
1359
yiyixbdfa9a0b2017-10-23 22:21:471360const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1361const char kEnableDrawOcclusionDescription[] =
1362 "Enable the system to use draw occlusion to skip draw quads when they are "
1363 "not shown on the screen.";
1364
Brett Wilsonecb80982017-07-12 20:34:511365const char kShowSavedCopyName[] = "Show Saved Copy Button";
1366const char kShowSavedCopyDescription[] =
1367 "When a page fails to load, if a stale copy of the page exists in the "
1368 "browser cache, a button will be presented to allow the user to load that "
1369 "stale copy. The primary enabling choice puts the button in the most "
1370 "salient position on the error page; the secondary enabling choice puts it "
1371 "secondary to the reload button.";
1372const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1373const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1374const char kDisableShowSavedCopy[] = "Disable";
1375
Brett Wilsonecb80982017-07-12 20:34:511376const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1377const char kSilentDebuggerExtensionApiDescription[] =
1378 "Do not show the infobar when an extension attaches to a page via "
1379 "chrome.debugger API. This is required to debug extension background "
1380 "pages.";
1381
Tsuyoshi Horo53895ba92018-03-14 04:06:481382const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1383const char kSignedHTTPExchangeDescription[] =
1384 "Enables Origin-Signed HTTP Exchanges support which is still in "
1385 "development. Warning: Enabling this may pose a security risk.";
1386
Brett Wilsonecb80982017-07-12 20:34:511387const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1388const char kSimpleCacheBackendDescription[] =
1389 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1390 "disk space allocation.";
1391
1392const char kSimplifiedFullscreenUiName[] =
1393 "Simplified full screen / mouse lock UI.";
1394const char kSimplifiedFullscreenUiDescription[] =
1395 "A simplified new user experience when entering page-triggered full screen "
1396 "or mouse pointer lock states.";
1397
Christopher Thompson75ff845d2018-02-01 20:12:461398const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1399const char kSimplifyHttpsIndicatorDescription[] =
1400 "Change the UI treatment for HTTPS pages.";
1401
Brett Wilsonecb80982017-07-12 20:34:511402const char kSingleClickAutofillName[] = "Single-click autofill";
1403const char kSingleClickAutofillDescription[] =
1404 "Make autofill suggestions on initial mouse click on a form element.";
1405
Nick Carter855bc492018-03-10 00:44:571406const char kStrictSiteIsolationName[] = "Strict site isolation";
1407const char kStrictSiteIsolationDescription[] =
1408 "Security mode that enables site isolation for all sites. When enabled, "
1409 "each renderer process will contain pages from at most one site, using "
1410 "out-of-process iframes when needed. When enabled, this flag forces the "
1411 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1412 "isolation mode will be determined by enterprise policy or field trial.";
1413
1414const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1415const char kSiteIsolationTrialOptOutDescription[] =
1416 "Opts out of field trials that enable site isolation modes "
1417 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1418 "may be due to out-of-process iframes. Opt-out has no effect if site "
1419 "isolation is force-enabled via #enable-site-per-process or enterprise "
1420 "policy. Caution: this disables important mitigations for the Spectre CPU "
1421 "vulnerability affecting most computers.";
1422extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1423extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1424 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511425
1426const char kSiteSettings[] = "Site settings with All sites and Site details";
1427const char kSiteSettingsDescription[] =
1428 "Adds new ways of viewing Site settings.";
1429
Brett Wilsonecb80982017-07-12 20:34:511430const char kSmoothScrollingName[] = "Smooth Scrolling";
1431const char kSmoothScrollingDescription[] =
1432 "Animate smoothly when scrolling page content.";
1433
1434const char kSoftwareRasterizerName[] = "3D software rasterizer";
1435const char kSoftwareRasterizerDescription[] =
1436 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1437
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201438const char kSoleIntegrationName[] = "Sole integration";
1439const char kSoleIntegrationDescription[] =
1440 "Enable Sole integration for browser customization. You must restart "
1441 "the browser twice for changes to take effect.";
1442
Tommy Steimel77704be2017-08-28 22:14:401443const char kSoundContentSettingName[] = "Sound content setting";
1444const char kSoundContentSettingDescription[] =
1445 "Enable site-wide muting in content settings and tab strip context menu.";
1446
Alexandr Ilinf0500ed32017-09-27 21:12:361447const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1448const char kSpeculativePreconnectDescription[] =
1449 "Enable the new implementation of preconnect and DNS preresolve. "
1450 "\"Learning\" means that only database construction is enabled, "
1451 "\"Preconnect\" enables both learning and preconnect and disables the "
1452 "existing implementation. \"No preconnect\" disables both implementations.";
1453
Brett Wilsonecb80982017-07-12 20:34:511454const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341455const char kSpeculativePrefetchDescription[] =
1456 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1457 R"*(load times, based on a local database (see chrome://predictors). )*"
1458 R"*("Learning" means that only the database construction is enabled, )*"
1459 R"*("Prefetching" that learning and prefetching are enabled.)*";
1460
Justin Donnelly4e448cb2017-07-07 21:32:131461const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1462 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131463const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1464 "If enabled, when the user enters text in the omnibox that looks like a "
1465 "a query, any service worker associated with the search engine the query "
1466 "will be sent to is started early.";
1467
Brett Wilsonecb80982017-07-12 20:34:511468const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1469const char kSpellingFeedbackFieldTrialDescription[] =
1470 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401471
Shubhie Panickerfaf082ed2018-01-03 04:49:151472const char kStopInBackgroundName[] = "Stop in background";
1473const char kStopInBackgroundDescription[] =
1474 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281475 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151476
1477const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1478const char kStopLoadingInBackgroundDescription[] =
1479 "Stop loading tasks and loading "
1480 "resources, in the background, after certain grace time.";
1481
Shubhie Panicker56c99a22018-03-21 00:22:281482const char kStopNonTimersInBackgroundName[] =
1483 "Stop non-timer task queues background";
1484const char kStopNonTimersInBackgroundDescription[] =
1485 "Stop non-timer task queues, in the background, "
1486 "after a grace period.";
1487
Brett Wilsonecb80982017-07-12 20:34:511488const char kSuggestionsWithSubStringMatchName[] =
1489 "Substring matching for Autofill suggestions";
1490const char kSuggestionsWithSubStringMatchDescription[] =
1491 "Match Autofill suggestions based on substrings (token prefixes) rather "
1492 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341493
Brett Wilsonecb80982017-07-12 20:34:511494const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1495const char kSyncSandboxDescription[] =
1496 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341497
Brett Wilsonecb80982017-07-12 20:34:511498const char kTabAudioMutingName[] = "Tab audio muting UI control";
1499const char kTabAudioMutingDescription[] =
1500 "When enabled, the audio indicators in the tab strip double as tab audio "
1501 "mute controls. This also adds commands in the tab context menu for "
1502 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341503
Christian Dullweberd0d96f02017-09-13 09:22:511504const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1505const char kTabsInCbdDescription[] =
1506 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1507
Becky Zhou99c22802017-10-19 05:09:271508const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1509const char kTabModalJsDialogDescription[] =
1510 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1511 " tab.";
1512
Brett Wilsonecb80982017-07-12 20:34:511513const char kTcpFastOpenName[] = "TCP Fast Open";
1514const char kTcpFastOpenDescription[] =
1515 "Enable the option to send extra authentication information in the initial "
1516 "SYN packet for a previously connected client, allowing faster data send "
1517 "start.";
vabr0215a8e2017-03-28 12:47:341518
Daniele Castagna0fead93e2018-01-10 20:40:291519const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1520const char kTintGlCompositedContentDescription[] =
1521 "Tint contents composited using GL with a shade of red to help debug and "
1522 "study overlay support.";
1523
Brett Wilsonecb80982017-07-12 20:34:511524const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1525const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581526 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401527 "touch) - middle point for devices with a touch screen, 3) Touchable "
1528 "- new unified interface for touch and convertibles (Chrome OS) and 4) "
1529 "Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511530const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531531const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461532const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581533const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401534const char kTopChromeMdMaterialRefresh[] = "Refresh";
vabr0215a8e2017-03-28 12:47:341535
Brett Wilsonecb80982017-07-12 20:34:511536const char kThreadedScrollingName[] = "Threaded scrolling";
1537const char kThreadedScrollingDescription[] =
1538 "Threaded handling of scroll-related input events. Disabling this will "
1539 "force all such scroll events to be handled on the main thread. Note that "
1540 "this can dramatically hurt scrolling performance of most websites and is "
1541 "intended for testing purposes only.";
1542
Steven Valdez4584b2482017-07-14 01:11:571543const char kTLS13VariantName[] = "TLS 1.3";
1544const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1545const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111546const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041547const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdez4584b2482017-07-14 01:11:571548
Brett Wilsonecb80982017-07-12 20:34:511549const char kTopDocumentIsolationName[] = "Top document isolation";
1550const char kTopDocumentIsolationDescription[] =
1551 "Highly experimental performance mode where cross-site iframes are kept in "
1552 "a separate process from the top document. In this mode, iframes from "
1553 "different third-party sites will be allowed to share a process.";
1554
Dominick Ng8896b1cd2017-10-17 23:24:361555const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1556const char kTopSitesFromSiteEngagementDescription[] =
1557 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1558 "engagement.";
1559
Brett Wilsonecb80982017-07-12 20:34:511560const char kTouchAdjustmentName[] = "Touch adjustment";
1561const char kTouchAdjustmentDescription[] =
1562 "Refine the position of a touch gesture in order to compensate for touches "
1563 "having poor resolution compared to a mouse.";
1564
1565const char kTouchDragDropName[] = "Touch initiated drag and drop";
1566const char kTouchDragDropDescription[] =
1567 "Touch drag and drop can be initiated through long press on a draggable "
1568 "element.";
1569
1570const char kTouchEventsName[] = "Touch Events API";
1571const char kTouchEventsDescription[] =
1572 "Force Touch Events API feature detection to always be enabled or "
1573 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291574 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511575
1576const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1577const char kTouchSelectionStrategyDescription[] =
1578 "Controls how text selection granularity changes when touch text selection "
1579 "handles are dragged. Non-default behavior is experimental.";
1580const char kTouchSelectionStrategyCharacter[] = "Character";
1581const char kTouchSelectionStrategyDirection[] = "Direction";
1582
1583const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1584const char kTraceUploadUrlDescription[] =
1585 "This is to be used in conjunction with the enable-navigation-tracing "
1586 "flag. Please select the label that best describes the recorded traces. "
1587 "This will choose the destination the traces are uploaded to. If you are "
1588 "not sure, select other. If left empty, no traces will be uploaded.";
1589const char kTraceUploadUrlChoiceOther[] = "Other";
1590const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1591const char kTraceUploadUrlChoiceQa[] = "QA";
1592const char kTraceUploadUrlChoiceTesting[] = "Testing";
1593
Philippe Hamel7fdaa452017-09-29 17:22:491594const char kTranslateRankerEnforcementName[] =
1595 "Enforce TranslateRanker decisions";
1596const char kTranslateRankerEnforcementDescription[] =
1597 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1598 "or not Translate UI should be triggered in a given context.";
1599
Brett Wilsonecb80982017-07-12 20:34:511600const char kTrySupportedChannelLayoutsName[] =
1601 "Causes audio output streams to check if channel layouts other than the "
1602 "default hardware layout are available.";
1603const char kTrySupportedChannelLayoutsDescription[] =
1604 "Causes audio output streams to check if channel layouts other than the "
1605 "default hardware layout are available. Turning this on will allow the OS "
1606 "to do stereo to surround expansion if supported. May expose third party "
1607 "driver bugs, use with caution.";
1608
David Roger6762a092018-01-31 15:55:071609const char kUnifiedConsentName[] = "Unified Consent";
1610const char kUnifiedConsentDescription[] =
1611 "Enables a unified management of user consent for privacy-related "
1612 "features. This includes new confirmation screens and improved settings "
1613 "pages.";
1614
Brett Wilsonecb80982017-07-12 20:34:511615const char kUiPartialSwapName[] = "Partial swap";
1616const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1617
Chris Pickel3a227ae62017-08-24 10:47:261618const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1619const char kUseDdljsonApiDescription[] =
1620 "Enables the new ddljson API to fetch Doodles for the NTP.";
1621
Becca Hughes59c05b42017-11-03 13:11:581622const char kUseModernMediaControlsName[] = "New Media Controls";
1623const char kUseModernMediaControlsDescription[] =
1624 "Enables the new style native media controls.";
1625
Wei Li790e7a8572018-03-23 01:31:551626const char kUsePdfCompositorServiceName[] =
1627 "Use PDF compositor service for printing";
1628const char kUsePdfCompositorServiceDescription[] =
1629 "When enabled, use PDF compositor service to composite and generate PDF "
1630 "files for printing. When site isolation is enabled, disabling this will "
1631 "not stop using PDF compositor service since the service is required for "
1632 "printing out-of-process iframes correctly.";
1633
Mustaq Ahmedc646c0a2017-10-20 20:08:301634const char kUserActivationV2Name[] = "User Activation v2";
1635const char kUserActivationV2Description[] =
1636 "Enable simple user activation for APIs that are otherwise controlled by "
1637 "user gesture tokens.";
1638
Brett Wilsonecb80982017-07-12 20:34:511639const char kUserConsentForExtensionScriptsName[] =
1640 "User consent for extension scripts";
1641const char kUserConsentForExtensionScriptsDescription[] =
1642 "Require user consent for an extension running a script on the page, if "
1643 "the extension requested permission to run on all urls.";
1644
1645const char kUseSuggestionsEvenIfFewFeatureName[] =
1646 "Disable minimum for server-side tile suggestions on NTP.";
1647const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1648 "Request server-side suggestions even if there are only very few of them "
1649 "and use them for tiles on the New Tab Page.";
1650
1651const char kV8CacheOptionsName[] = "V8 caching mode.";
1652const char kV8CacheOptionsDescription[] =
1653 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511654const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1655
Hitoshi Yoshida3e5db562017-09-11 02:31:081656const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1657const char kV8ContextSnapshotDescription[] =
1658 "Sets to use a snapshot to create V8 contexts in frame creation.";
1659
Michael Hablich896d52662017-10-23 15:59:571660const char kV8VmFutureName[] = "Future V8 VM features";
1661const char kV8VmFutureDescription[] =
1662 "This enables upcoming and experimental V8 VM features. "
1663 "This flag does not enable experimental JavaScript features.";
1664
Brett Wilsonecb80982017-07-12 20:34:511665const char kVideoFullscreenOrientationLockName[] =
1666 "Lock screen orientation when playing a video fullscreen.";
1667const char kVideoFullscreenOrientationLockDescription[] =
1668 "Lock the screen orientation of the device to match video orientation when "
1669 "a video goes fullscreen. Only on phones.";
1670
1671const char kVideoRotateToFullscreenName[] =
1672 "Rotate-to-fullscreen gesture for videos.";
1673const char kVideoRotateToFullscreenDescription[] =
1674 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1675 "the video. Only on phones.";
1676
Elly Fong-Jonesf4c79502018-03-23 19:21:531677const char kViewsBrowserWindowsName[] =
1678 "Use Views browser windows instead of Cocoa.";
1679const char kViewsBrowserWindowsDescription[] =
1680 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1681
Brett Wilsonecb80982017-07-12 20:34:511682const char kWalletServiceUseSandboxName[] =
1683 "Use Google Payments sandbox servers";
1684const char kWalletServiceUseSandboxDescription[] =
1685 "For developers: use the sandbox service for Google Payments API calls.";
1686
Brett Wilsonecb80982017-07-12 20:34:511687const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1688const char kWebglDraftExtensionsDescription[] =
1689 "Enabling this option allows web applications to access the WebGL "
1690 "Extensions that are still in draft status.";
1691
1692const char kWebMidiName[] = "Web MIDI API";
1693const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1694
1695const char kWebPaymentsName[] = "Web Payments";
1696const char kWebPaymentsDescription[] =
1697 "Enable Web Payments API integration, a JavaScript API for merchants.";
1698
Mathieu Perreault51339b82017-07-20 17:06:051699const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1700const char kWebPaymentsModifiersDescription[] =
1701 "If the website provides modifiers in the payment request, show the custom "
1702 "total for each payment instrument, update the shopping cart when "
1703 "instruments are switched, and send modified payment method specific data "
1704 "to the payment app.";
1705
Brett Wilsonecb80982017-07-12 20:34:511706const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1707const char kWebrtcEchoCanceller3Description[] =
1708 "Experimental WebRTC echo canceller (AEC3).";
1709
1710const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1711const char kWebrtcHwDecodingDescription[] =
1712 "Support in WebRTC for decoding video streams using platform hardware.";
1713
1714const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1715const char kWebrtcHwEncodingDescription[] =
1716 "Support in WebRTC for encoding video streams using platform hardware.";
1717
1718const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1719const char kWebrtcHwH264EncodingDescription[] =
1720 "Support in WebRTC for encoding h264 video streams using platform "
1721 "hardware.";
1722
1723const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1724const char kWebrtcHwVP8EncodingDescription[] =
1725 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1726
Niels Möller090866a2018-02-13 10:55:031727const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1728 "WebRTC new encode cpu load estimator";
1729const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1730 "Enable new estimator for the encoder cpu load, for evaluation and "
1731 "testing. Intended to improve accuracy when screen casting.";
1732
Brett Wilsonecb80982017-07-12 20:34:511733const char kWebrtcSrtpAesGcmName[] =
1734 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1735const char kWebrtcSrtpAesGcmDescription[] =
1736 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1737
Joachim Bauch4a41d7512017-08-23 14:24:231738const char kWebrtcSrtpEncryptedHeadersName[] =
1739 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1740const char kWebrtcSrtpEncryptedHeadersDescription[] =
1741 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1742 "for SRTP.";
1743
Brett Wilsonecb80982017-07-12 20:34:511744const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1745const char kWebrtcStunOriginDescription[] =
1746 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1747 "header.";
1748
1749const char kWebvrName[] = "WebVR";
1750const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051751 "Allow web applications to access experimental "
Brandon Jonese9d9b2b2017-12-11 22:20:111752 "Virtual Reality functionality via the WebVR 1.1 API. This feature will "
1753 "eventually be replaced by the WebXR Device API. Warning: Enabling this "
1754 "will also allow WebVR content on insecure origins to access these "
1755 "powerful APIs, and may pose a security risk.";
Brett Wilsonecb80982017-07-12 20:34:511756
Brandon Jonese9d9b2b2017-12-11 22:20:111757const char kWebXrName[] = "WebXR Device API";
1758const char kWebXrDescription[] =
1759 "Allow web applications to access experimental APIs to interact with "
1760 "Virtual Reality (VR) and Augmented Reality (AR) devices.";
1761
Anna Maria57ecf7592018-01-12 03:10:401762const char kWebXrOrientationSensorDeviceName[] =
1763 "WebXR orientation sensor device";
1764const char kWebXrOrientationSensorDeviceDescription[] =
1765 "When no VR platform device is available, expose a non-presenting device "
1766 "based on the device's orientation sensors, if available.";
1767
Brett Wilsonecb80982017-07-12 20:34:511768const char kWifiCredentialSyncName[] = "WiFi credential sync";
1769const char kWifiCredentialSyncDescription[] =
1770 "Enables synchronizing WiFi network settings across devices. When enabled, "
1771 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1772 "credentials are synchronized subject to user preferences. (See also, "
1773 "chrome://settings/syncSetup.)";
1774
1775const char kZeroCopyName[] = "Zero-copy rasterizer";
1776const char kZeroCopyDescription[] =
1777 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341778
Brett Wilsonff596952017-07-14 01:06:551779// Android ---------------------------------------------------------------------
1780
1781#if defined(OS_ANDROID)
1782
1783const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1784const char kAiaFetchingDescription[] =
1785 "Enable intermediate certificate fetching when a server does not provide "
1786 "sufficient certificates to build a chain to a trusted root.";
1787
1788const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1789const char kAccessibilityTabSwitcherDescription[] =
1790 "Enable the accessibility tab switcher for Android.";
1791
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251792const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1793const char kAllowReaderForAccessibilityDescription[] =
1794 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1795
Brett Wilsonff596952017-07-14 01:06:551796const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1797const char kAndroidAutofillAccessibilityDescription[] =
1798 "Enable accessibility for autofill popup.";
1799
1800const char kAndroidPaymentAppsName[] = "Android payment apps";
1801const char kAndroidPaymentAppsDescription[] =
1802 "Enable third party Android apps to integrate as payment apps";
1803
Miriam Gershenson8cf1397222018-01-23 22:48:291804const char kAsyncDnsName[] = "Async DNS resolver";
1805const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1806
Brett Wilsonff596952017-07-14 01:06:551807const char kAutofillAccessoryViewName[] =
1808 "Autofill suggestions as keyboard accessory view";
1809const char kAutofillAccessoryViewDescription[] =
1810 "Shows Autofill suggestions on top of the keyboard rather than in a "
1811 "dropdown.";
1812
1813const char kBackgroundLoaderForDownloadsName[] =
1814 "Enables background downloading of pages.";
1815const char kBackgroundLoaderForDownloadsDescription[] =
1816 "Enables downloading pages in the background in case page is not yet "
1817 "loaded in current tab.";
1818
Matthew Jones6c1f5e22018-02-06 18:19:531819const char kChromeDuplexName[] = "Chrome Duplex";
1820const char kChromeDuplexDescription[] =
1821 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051822
Daniel Park825a16f32017-12-08 00:44:261823const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1824const char kChromeHomeEnableSurveyDescription[] =
1825 "If enabled, the survey process will allow surveys using sample "
1826 "parameters.";
1827
Theresa Wellingtonb9243b22017-12-01 16:23:051828const char kChromeHomeInactivitySheetExpansionName[] =
1829 "Expansion of Chrome Home bottom sheet on startup";
1830const char kChromeHomeInactivitySheetExpansionDescription[] =
1831 "Expand bottom sheet on startup in Chrome Home after a period of"
1832 " inactivity.";
1833
Matthew Joneseab91aa2017-12-19 16:12:421834const char kChromeHomeMenuItemsName[] =
1835 "Show bookmarks, downloads, and history menu items in Chrome Home";
1836const char kChromeHomeMenuItemsDescription[] =
1837 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1838 " when Chrome Home is enabled. These items will open the bottom sheet to"
1839 " show the desired content.";
1840
Theresa Wellingtonc4cff8a12017-11-28 04:13:181841const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1842const char kChromeHomePersistentIphDescription[] =
1843 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1844 "toolbar or a timer expires.";
1845
Theresa Wellington13977c832017-12-13 16:59:111846const char kChromeHomePullToRefreshIphAtTopName[] =
1847 "Chrome Home Pull-To-Refresh Iph At Top";
1848const char kChromeHomePullToRefreshIphAtTopDescription[] =
1849 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1850
Brett Wilsonff596952017-07-14 01:06:551851const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1852const char kChromeHomeSwipeLogicDescription[] =
1853 "Various swipe logic options for Chrome Home for sheet expansion.";
1854const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151855const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551856
Matthew Jones5b7f1d62018-01-23 00:37:251857const char kChromeModernDesignName[] = "Chrome Modern Design";
1858const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451859 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1860 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251861
Megan Jablonskic61eb1b82017-10-02 18:03:061862const char kChromeMemexName[] = "Chrome Memex";
1863const char kChromeMemexDescription[] =
1864 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1865 "Googlers.";
1866
Sarath Singapati83aef1c2017-11-16 15:54:521867const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1868const char kClearOldBrowsingDataDescription[] =
1869 "Enables clearing of browsing data which is older than a given time "
1870 "period.";
1871
Brett Wilsonff596952017-07-14 01:06:551872const char kContentSuggestionsCategoryOrderName[] =
1873 "Default content suggestions category order (e.g. on NTP)";
1874const char kContentSuggestionsCategoryOrderDescription[] =
1875 "Set default order of content suggestion categories (e.g. on the NTP).";
1876
1877const char kContentSuggestionsCategoryRankerName[] =
1878 "Content suggestions category ranker (e.g. on NTP)";
1879const char kContentSuggestionsCategoryRankerDescription[] =
1880 "Set category ranker to order categories of content suggestions (e.g. on "
1881 "the NTP).";
1882
Vitalii Iarkof52ff802017-09-14 12:34:241883const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1884const char kContentSuggestionsDebugLogDescription[] =
1885 "Enable content suggestions debug log accessible through "
1886 "snippets-internals.";
1887
Donn Denman8e58ead2017-11-04 01:44:011888const char kContextualSearchMlTapSuppressionName[] =
1889 "Contextual Search ML tap suppression";
1890const char kContextualSearchMlTapSuppressionDescription[] =
1891 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021892 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1893 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551894
1895const char kContextualSearchName[] = "Contextual Search";
1896const char kContextualSearchDescription[] =
1897 "Whether or not Contextual Search is enabled.";
1898
Donn Denman59729812018-01-09 01:27:021899const char kContextualSearchRankerQueryName[] =
1900 "Contextual Search Ranker prediction";
1901const char kContextualSearchRankerQueryDescription[] =
1902 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1903
1904const char kContextualSearchSecondTapName[] =
1905 "Contextual Search second tap triggering";
1906const char kContextualSearchSecondTapDescription[] =
1907 "Enables triggering on a second tap gesture even when Ranker would "
1908 "normally suppress that tap.";
1909
Dmitry Skiba9c3efa72017-07-20 22:01:141910const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1911const char kDontPrefetchLibrariesDescription[] =
1912 "Don't prefetch libraries after loading.";
1913
Joy Ming5fd29ca62017-10-02 22:51:221914const char kDownloadsForegroundName[] = "Enable downloads foreground";
1915const char kDownloadsForegroundDescription[] =
1916 "Enable downloads as a foreground service for all versions of Android.";
1917
Joy Ming189b0cc2017-12-08 19:42:431918const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1919const char kDownloadsLocationChangeDescription[] =
1920 "Enable changing default downloads storage location on Android.";
1921
Brett Wilsonff596952017-07-14 01:06:551922const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1923const char kEnableAndroidPayIntegrationV1Description[] =
1924 "Enable integration with Android Pay using the first version of the API";
1925
1926const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1927const char kEnableAndroidPayIntegrationV2Description[] =
1928 "Enable integration with Android Pay using the second version of the API";
1929
Vitalii Iarkof4ed32d2017-09-26 13:15:531930const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551931const char kEnableAndroidSpellcheckerDescription[] =
1932 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551933
Lei Tianbd5a3bf2018-02-28 19:01:161934const char kEnableCommandLineOnNonRootedName[] =
1935 "Enable command line on non-rooted devices";
1936const char kEnableCommandLineOnNoRootedDescription[] =
1937 "Enable reading command line file on non-rooted devices (DANGEROUS).";
1938
Vitalii Iarkof4ed32d2017-09-26 13:15:531939const char kEnableContentSuggestionsNewFaviconServerName[] =
1940 "Get favicons for content suggestions from a new server.";
1941const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1942 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1943 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551944
1945const char kEnableContentSuggestionsSettingsName[] =
1946 "Show content suggestions settings.";
1947const char kEnableContentSuggestionsSettingsDescription[] =
1948 "If enabled, the content suggestions settings will be available from the "
1949 "main settings menu.";
1950
Vitalii Iarkof4ed32d2017-09-26 13:15:531951const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1952 "Use content suggestions thumbnail dominant color.";
1953const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1954 "Use content suggestions thumbnail dominant color as a placeholder before "
1955 "the real thumbnail is fetched (requires Chrome Home).";
1956
Brett Wilsonff596952017-07-14 01:06:551957const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1958const char kEnableCustomContextMenuDescription[] =
1959 "Enables a new context menu when a link, image, or video is pressed within "
1960 "Chrome.";
1961
1962const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1963const char kEnableCustomFeedbackUiDescription[] =
1964 "Enables a custom feedback UI when submitting feedback through Google "
1965 "Feedback. Works with Google Play Services v10.2+";
1966
1967const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471968 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551969const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471970 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551971
Brett Wilsonff596952017-07-14 01:06:551972const char kEnableOmniboxClipboardProviderName[] =
1973 "Omnibox clipboard URL suggestions";
1974const char kEnableOmniboxClipboardProviderDescription[] =
1975 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1976 "focus in the omnibox.";
1977
1978const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1979 "Use expanded autofill credit card popup layout.";
1980const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1981 "If enabled, displays autofill credit card popup using expanded layout.";
1982
Becky Zhoua7f11d62018-02-01 16:02:531983const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
1984 "Show article suggestions expandable header on New Tab Page";
1985const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
1986 "If enabled, the article suggestions content on New Tab Page can be "
1987 "toggled shown or hidden by clicking the expandable header.";
1988
Brett Wilsonff596952017-07-14 01:06:551989const char kEnableNtpAssetDownloadSuggestionsName[] =
1990 "Show asset downloads on the New Tab page";
1991const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1992 "If enabled, the list of content suggestions on the New Tab page will "
1993 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1994 "later use.";
1995
1996const char kEnableNtpBookmarkSuggestionsName[] =
1997 "Show recently visited bookmarks on the New Tab page";
1998const char kEnableNtpBookmarkSuggestionsDescription[] =
1999 "If enabled, the list of content suggestions on the New Tab page will "
2000 "contain recently visited bookmarks.";
2001
2002const char kEnableNtpForeignSessionsSuggestionsName[] =
2003 "Show recent foreign tabs on the New Tab page";
2004const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2005 "If enabled, the list of content suggestions on the New Tab page will "
2006 "contain recent foreign tabs.";
2007
Brett Wilsonff596952017-07-14 01:06:552008const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2009 "Show offline page downloads on the New Tab page";
2010const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2011 "If enabled, the list of content suggestions on the New Tab page will "
2012 "contain pages that the user downloaded for later use.";
2013
2014const char kEnableNtpRemoteSuggestionsName[] =
2015 "Show server-side suggestions on the New Tab page";
2016const char kEnableNtpRemoteSuggestionsDescription[] =
2017 "If enabled, the list of content suggestions on the New Tab page will "
2018 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2019 "allows to override the source used to retrieve these server-side "
2020 "suggestions.";
2021
2022const char kEnableNtpSnippetsVisibilityName[] =
2023 "Make New Tab Page Snippets more visible.";
2024const char kEnableNtpSnippetsVisibilityDescription[] =
2025 "If enabled, the NTP snippets will become more discoverable with a larger "
2026 "portion of the first card above the fold.";
2027
2028const char kEnableNtpSuggestionsNotificationsName[] =
2029 "Notify about new content suggestions available at the New Tab page";
2030const char kEnableNtpSuggestionsNotificationsDescription[] =
2031 "If enabled, notifications will inform about new content suggestions on "
2032 "the New Tab page.";
2033
2034const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
2035const char kEnablePhysicalWebDescription[] =
2036 "Enable scanning for URLs from Physical Web objects.";
2037
2038const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2039const char kEnableOfflinePreviewsDescription[] =
2040 "Enable showing offline page previews on slow networks.";
2041
2042const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2043const char kEnableOskOverscrollDescription[] =
2044 "Enable OSK overscroll support. With this flag on, the OSK will only "
2045 "resize the visual viewport.";
2046
2047const char kEnableSpecialLocaleName[] =
2048 "Enable custom logic for special locales.";
2049const char kEnableSpecialLocaleDescription[] =
2050 "Enable custom logic for special locales. In this mode, Chrome might "
2051 "behave differently in some locales.";
2052
Brett Wilsonff596952017-07-14 01:06:552053const char kEnableWebNfcName[] = "WebNFC";
2054const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2055
gogeraldf3cbb422017-07-26 14:37:122056const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2057 "Enable Web Payments method section order V2.";
2058const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2059 "Enable this option to display payment method section above address "
2060 "section instead of below it.";
2061
Raymes Khoury582b43132017-12-12 23:54:302062const char kGrantNotificationsToDSEName[] =
2063 "Grant notifications to the Default Search Engine";
2064const char kGrantNotificationsToDSENameDescription[] =
2065 "Automatically grant the notifications permission to the Default Search "
2066 "Engine";
2067
Theresa920e0ed2018-03-07 18:12:442068const char kInterestFeedContentSuggestionsDescription[] =
2069 "Use the interest feed to render content suggestions. Currently content "
2070 "suggestions are shown on the New Tab Page.";
2071const char kInterestFeedContentSuggestionsName[] =
2072 "Interest Feed Content Suggestions";
2073
Brett Wilsonff596952017-07-14 01:06:552074const char kKeepPrefetchedContentSuggestionsName[] =
2075 "Keep prefetched content suggestions";
2076const char kKeepPrefetchedContentSuggestionsDescription[] =
2077 "If enabled, some of prefetched content suggestions are not replaced by "
2078 "the new fetched suggestions.";
2079
Leo Zhang051b75482017-12-20 03:28:302080const char kLanguagesPreferenceName[] = "Language Settings";
2081const char kLanguagesPreferenceDescription[] =
2082 "Enable this option for Language Settings feature on Android.";
2083
Brett Wilsonff596952017-07-14 01:06:552084const char kLsdPermissionPromptName[] =
2085 "Location Settings Dialog Permission Prompt";
2086const char kLsdPermissionPromptDescription[] =
2087 "Whether to use the Google Play Services Location Settings Dialog "
2088 "permission dialog.";
2089
Amirhossein Simjour97b4154f2018-02-20 03:49:592090const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2091const char kModalPermissionDialogViewDescription[] =
2092 "Enable this option to use ModalDialogManager for permission Dialogs.";
2093
Brett Wilsonff596952017-07-14 01:06:552094const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2095const char kMediaScreenCaptureDescription[] =
2096 "Enable this option for experimental ScreenCapture feature on Android.";
2097
2098const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2099const char kModalPermissionPromptsDescription[] =
2100 "Whether to use permission dialogs in place of permission infobars.";
2101
Brett Wilsonff596952017-07-14 01:06:552102const char kNewPhotoPickerName[] = "Enable new Photopicker";
2103const char kNewPhotoPickerDescription[] =
2104 "Activates the new picker for selecting photos.";
2105
2106const char kNoCreditCardAbort[] = "No Credit Card Abort";
2107const char kNoCreditCardAbortDescription[] =
2108 "Whether or not the No Credit Card Abort is enabled.";
2109
2110const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2111const char kNtpCondensedLayoutDescription[] =
2112 "Show a condensed layout on the New Tab Page.";
2113
2114const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2115const char kNtpCondensedTileLayoutDescription[] =
2116 "Show a condensed tile layout on the New Tab Page.";
2117
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062118const char kNtpModernLayoutName[] = "Modern NTP layout";
2119const char kNtpModernLayoutDescription[] =
2120 "Show a modern layout on the New Tab Page.";
2121
Theresa6bd5f282018-03-09 16:40:032122const char kNtpShortcutsName[] = "NTP Shortcuts";
2123const char kNtpShortcutsDescription[] =
2124 "Show shortcuts for bookmarks and downloads on the New Tab Page.";
2125
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042126const char kSiteExplorationUiName[] = "Site Exploration UI";
2127const char kSiteExplorationUiDescription[] =
2128 "Show site suggestions in the Exploration UI";
2129
Brett Wilsonff596952017-07-14 01:06:552130const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2131const char kNtpGoogleGInOmniboxDescription[] =
2132 "Show a Google G in the omnibox on the New Tab Page.";
2133
Brett Wilsonff596952017-07-14 01:06:552134const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2135const char kOfflineBookmarksDescription[] =
2136 "Enable saving bookmarked pages for offline viewing.";
2137
Brett Wilsonff596952017-07-14 01:06:552138const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2139const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2140
2141const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2142const char kOfflinePagesCtV2Description[] =
2143 "V2 features include attributing pages to the app that initiated the "
2144 "custom tabs, and being able to query for pages by page attribution.";
2145
Carlos Knippschild09272ecd2017-12-09 03:29:362146const char kOfflinePagesLimitlessPrefetchingName[] =
2147 "Removes resource usage limits for the prefetching of offline pages.";
2148const char kOfflinePagesLimitlessPrefetchingDescription[] =
2149 "Allows the prefetching of suggested offline pages to ignore resource "
2150 "usage limits. This allows it to completely ignore data usage limitations "
2151 "and allows downloads to happen with any kind of connection.";
2152
Brett Wilsonff596952017-07-14 01:06:552153const char kOfflinePagesLoadSignalCollectingName[] =
2154 "Enables collecting load timing data for offline page snapshots.";
2155const char kOfflinePagesLoadSignalCollectingDescription[] =
2156 "Enables loading completeness data collection while writing an offline "
2157 "page. This data is collected in the snapshotted offline page to allow "
2158 "data analysis to improve deciding when to make the offline snapshot.";
2159
Candice Sy229768e02017-12-21 00:19:222160const char kOfflinePagesDescriptivePendingStatusName[] =
2161 "Enables descriptive pending download status text.";
2162const char kOfflinePagesDescriptivePendingStatusDescription[] =
2163 "Enables pending download status text in notifications and Downloads Home "
2164 "to state the reason the request is pending.";
2165
Carlos Knippschild7ebb82302018-03-22 20:59:422166const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2167 "Enables offline pages in the downloads home to be opened in CCT.";
2168const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2169 "When enabled offline pages launched from the Downloads Home will be "
2170 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2171
Brett Wilsonff596952017-07-14 01:06:552172const char kOfflinePagesPrefetchingName[] =
2173 "Enables suggested offline pages to be prefetched.";
2174const char kOfflinePagesPrefetchingDescription[] =
2175 "Enables suggested offline pages to be prefetched, so useful content is "
2176 "available while offline.";
2177
Cathy Li3d5379e2017-09-07 00:11:092178const char kOfflinePagesPrefetchingUIName[] =
2179 "Enables prefetched offline pages to be shown in UI.";
2180const char kOfflinePagesPrefetchingUIDescription[] =
2181 "Enables prefetched offline pages to raise notifications and be shown in "
2182 "download home UI.";
2183
Pete Williamson7845dff2017-09-20 11:06:192184const char kOfflinePagesResourceBasedSnapshotName[] =
2185 "Enables offline page snapshots to be based on percentage of page loaded.";
2186const char kOfflinePagesResourceBasedSnapshotDescription[] =
2187 "Enables offline page snapshots to use a resource percentage based "
2188 "approach for determining when the page is loaded as opposed to a time "
2189 "based approach";
2190
Collin Baker17f92a52017-07-19 21:41:252191const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2192const char kOfflinePagesRenovationsDescription[] =
2193 "Enables offline page renovations which correct issues with dynamic "
2194 "content that occur when offlining pages that use JavaScript.";
2195
Brett Wilsonff596952017-07-14 01:06:552196const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2197const char kOfflinePagesSharingDescription[] =
2198 "Enables the saved offline pages to be shared via other applications.";
2199
2200const char kOfflinePagesSvelteConcurrentLoadingName[] =
2201 "Enables concurrent background loading on svelte.";
2202const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2203 "Enables concurrent background loading (or downloading) of pages on "
2204 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2205 "happen when the svelte device is idle.";
2206
2207const char kOffliningRecentPagesName[] =
2208 "Enable offlining of recently visited pages";
2209const char kOffliningRecentPagesDescription[] =
2210 "Enable storing recently visited pages locally for offline use. Requires "
2211 "Offline Pages to be enabled.";
2212
Lei Zhang2eca9082017-10-17 20:42:502213const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2214const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552215 "Enable Pay with Google integration into Web Payments with API version "
2216 "'1'.";
2217
Matthew Jonesa88b95852017-11-08 23:13:502218const char kProgressBarThrottleName[] = "Android progress update throttling.";
2219const char kProgressBarThrottleDescription[] =
2220 "Limit the maximum progress update to make progress appear smoother.";
2221
Brett Wilsonff596952017-07-14 01:06:552222const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2223const char kPullToRefreshEffectDescription[] =
2224 "Page reloads triggered by vertically overscrolling content.";
2225
Piotr Swigon7c296ef2017-08-29 04:32:002226const char kPwaImprovedSplashScreenName[] =
2227 "Improved Splash Screen for standalone PWAs";
2228const char kPwaImprovedSplashScreenDescription[] =
2229 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2230 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492231const char kPwaPersistentNotificationName[] =
2232 "Persistent notification in standalone PWA";
2233const char kPwaPersistentNotificationDescription[] =
2234 "Enables a persistent Android notification for standalone PWAs";
2235
Brett Wilsonff596952017-07-14 01:06:552236const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2237const char kReaderModeHeuristicsDescription[] =
2238 "Determines what pages the Reader Mode infobar is shown on.";
2239const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2240const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2241const char kReaderModeHeuristicsAllArticles[] = "All articles";
2242const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2243const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2244
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182245const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2246const char kReaderModeInCCTDescription[] =
2247 "Open Reader Mode in Chrome Custom Tabs.";
2248
Brett Wilsonff596952017-07-14 01:06:552249const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2250const char kSetMarketUrlForTestingDescription[] =
2251 "When enabled, sets the market URL for use in testing the update menu "
2252 "item.";
2253
2254const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2255const char kSpannableInlineAutocompleteDescription[] =
2256 "A new type of inline autocomplete for the omnibox that works with "
2257 "keyboards that compose text.";
2258
Brett Wilsonff596952017-07-14 01:06:552259const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2260const char kUpdateMenuBadgeDescription[] =
2261 "When enabled, an update badge will be shown on the app menu button.";
2262
2263const char kUpdateMenuItemCustomSummaryDescription[] =
2264 "When this flag and the force show update menu item flag are enabled, a "
2265 "custom summary string will be displayed below the update menu item.";
2266const char kUpdateMenuItemCustomSummaryName[] =
2267 "Update menu item custom summary";
2268
2269const char kUpdateMenuItemName[] = "Force show update menu item";
2270const char kUpdateMenuItemDescription[] =
2271 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2272 R"*(menu.)*";
2273
Amirhossein Simjourd78bbcf2018-02-02 16:23:392274const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2275const char kVrBrowsingNativeAndroidUiDescription[] =
2276 "Enable Android UI elements in VR.";
2277
Marc Treib93af46a2017-08-23 13:30:002278const char kThirdPartyDoodlesName[] =
2279 "Enable Doodles for third-party search engines";
2280const char kThirdPartyDoodlesDescription[] =
2281 "Enables fetching and displaying Doodles on the NTP for third-party search "
2282 "engines.";
2283
Klaus Weidneraaf697f2018-01-18 20:07:362284const char kWebXrRenderPathName[] = "WebXR presentation render path";
2285const char kWebXrRenderPathDescription[] =
2286 "Render path to use for WebXR presentation (including WebVR)";
2287const char kWebXrRenderPathChoiceClientWaitDescription[] =
2288 "ClientWait (Baseline)";
2289const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2290 "GpuFence (Android N+)";
2291
Brett Wilson7b44537e2017-08-18 01:38:282292// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552293
Brett Wilson7b44537e2017-08-18 01:38:282294#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482295
Brett Wilson7b44537e2017-08-18 01:38:282296const char kAccountConsistencyName[] =
2297 "Identity consistency between browser and cookie jar";
2298const char kAccountConsistencyDescription[] =
2299 "When enabled, the browser manages signing in and out of Google accounts.";
2300const char kAccountConsistencyChoiceMirror[] = "Mirror";
2301const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342302
Chris Pickel3a227ae62017-08-24 10:47:262303const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2304const char kDoodlesOnLocalNtpDescription[] =
2305 "Show doodles on the local New Tab page if Google is the default search "
2306 "engine.";
2307
mlamouriff56c092017-05-11 15:31:392308const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392309const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342310 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392311const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392312const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392313const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342314 "Enabled (Flash lowers volume when interrupted by other sound, "
2315 "experimental)";
2316
Brett Wilson7b44537e2017-08-18 01:38:282317const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2318const char kEnableNewAppMenuIconDescription[] =
2319 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342320
2321const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342322const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282323 "Enable receiving entity suggestions - disambiguation descriptions - for "
2324 "Omnibox suggestions.";
2325
Dave Schuyler598a4a42018-01-04 02:15:102326const char kOmniboxRichEntitySuggestionsName[] =
2327 "Omnibox rich entity suggestions";
2328const char kOmniboxRichEntitySuggestionsDescription[] =
2329 "Display entity suggestions using images and an enhanced layout; showing "
2330 "more context and descriptive text about the entity";
2331
Kevin Bailey898669972017-11-06 15:34:492332const char kOmniboxTabSwitchSuggestionsName[] =
2333 "Omnibox tab switch suggestions";
2334const char kOmniboxTabSwitchSuggestionsDescription[] =
2335 "Enable suggestions for switching to open tabs within the Omnibox.";
2336
krbcc621412017-06-01 19:40:282337const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2338const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192339 "Enable receiving tail suggestions, a type of search suggestion based on "
2340 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342341
Brett Wilson7b44537e2017-08-18 01:38:282342const char kOneGoogleBarOnLocalNtpName[] =
2343 "Enable the OneGoogleBar on the local NTP";
2344const char kOneGoogleBarOnLocalNtpDescription[] =
2345 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2346 "search engine.";
2347
Brett Wilson7b44537e2017-08-18 01:38:282348const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2349const char kUseGoogleLocalNtpDescription[] =
2350 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322351
Brett Wilson7b44537e2017-08-18 01:38:282352const char kVoiceSearchOnLocalNtpName[] =
2353 "Enable Voice Search on the local NTP";
2354const char kVoiceSearchOnLocalNtpDescription[] =
2355 "Show a microphone for voice search on the local New Tab page "
2356 "if Google is the default search engine.";
2357
Kim Paulhamus33f87b12018-01-18 22:00:422358const char kEnableWebAuthenticationAPIName[] = "Web Authentication API.";
2359const char kEnableWebAuthenticationAPIDescription[] =
2360 "Enable Web Authentication API support.";
2361
Brett Wilson7b44537e2017-08-18 01:38:282362#if defined(GOOGLE_CHROME_BUILD)
2363
2364const char kGoogleBrandedContextMenuName[] =
2365 "Google branding in the context menu";
2366const char kGoogleBrandedContextMenuDescription[] =
2367 "Shows a Google icon next to context menu items powered by Google "
2368 "services.";
2369
2370#endif // !defined(GOOGLE_CHROME_BUILD)
2371
2372#endif // !defined(OS_ANDROID)
2373
2374// Windows ---------------------------------------------------------------------
2375
2376#if defined(OS_WIN)
2377
2378const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2379const char kCloudPrintXpsDescription[] =
2380 "XPS enables advanced options for classic printers connected to the Cloud "
2381 "Print with Chrome. Printers must be re-connected after changing this "
2382 "flag.";
2383
Dave Tapuskadd43469d2017-08-22 22:15:532384const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2385const char kDirectManipulationStylusDescription[] =
2386 "If enabled, Chrome will scroll web pages on stylus drag.";
2387
Brett Wilson7b44537e2017-08-18 01:38:282388const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2389const char kDisablePostscriptPrintingDescription[] =
2390 "Disables PostScript generation when printing to PostScript capable "
2391 "printers, and uses EMF generation in its place.";
2392
2393const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2394const char kEnableAppcontainerDescription[] =
2395 "Enables the use of an AppContainer on sandboxed processes to improve "
2396 "security.";
2397
2398const char kEnableD3DVsync[] = "D3D v-sync";
2399const char kEnableD3DVsyncDescription[] =
2400 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2401 "to occur.";
2402
2403const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2404const char kEnableDesktopIosPromotionsDescription[] =
2405 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2406 "eligible.";
2407
James Forshawfd0ce342018-02-14 09:55:392408const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2409const char kEnableGpuAppcontainerDescription[] =
2410 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2411 "improve security.";
2412
Brett Wilson7b44537e2017-08-18 01:38:282413const char kGdiTextPrinting[] = "GDI Text Printing";
2414const char kGdiTextPrintingDescription[] =
2415 "Use GDI to print text as simply text";
2416
Brett Wilson7b44537e2017-08-18 01:38:282417const char kTraceExportEventsToEtwName[] =
2418 "Enable exporting of tracing events to ETW.";
2419const char kTraceExportEventsToEtwDesription[] =
2420 "If enabled, trace events will be exported to the Event Tracing for "
2421 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2422 "Xperf.";
2423
2424const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2425const char kUseWinrtMidiApiDescription[] =
2426 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2427 "later).";
2428
2429const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2430const char kWindows10CustomTitlebarDescription[] =
2431 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2432 "deferring to Windows.";
2433
Weza6ca5b92018-03-23 19:03:072434#if DCHECK_IS_CONFIGURABLE
2435const char kDcheckIsFatalName[] = "DCHECKs are fatal";
2436const char kDcheckIsFatalDescription[] =
2437 "By default Chrome will evaluate DCHECKs in some Canary builds, but only "
2438 "log failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2439#endif // DCHECK_IS_CONFIGURABLE
Wez6656c572017-08-29 22:29:582440
Brett Wilson7b44537e2017-08-18 01:38:282441#endif // defined(OS_WIN)
2442
2443// Mac -------------------------------------------------------------------------
2444
2445#if defined(OS_MACOSX)
2446
2447const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2448const char kAppInfoDialogDescription[] =
2449 "Makes the Toolkit-Views based App Info dialog accessible from "
2450 "chrome://apps or chrome://extensions in place of the native extension "
2451 "permissions dialog, or the details link (which is a link to the Web "
2452 "Store).";
2453
2454const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2455const char kAppWindowCyclingDescription[] =
2456 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2457 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2458 "browser window, and browser windows will not be cycled when a Chrome App "
2459 "is active.";
2460
Lei Zhang2eca9082017-10-17 20:42:502461const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2462const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282463 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2464
2465const char kFullscreenToolbarRevealName[] =
2466 "Enables the toolbar in fullscreen to reveal itself.";
2467const char kFullscreenToolbarRevealDescription[] =
2468 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2469 "has changed.";
2470
2471const char kContentFullscreenName[] = "Improved Content Fullscreen";
2472const char kContentFullscreenDescription[] =
2473 "Fullscreen content window detaches from main browser window and goes to "
2474 "a new space without moving or changing the original browser window.";
2475
Lei Zhang2eca9082017-10-17 20:42:502476const char kDialogTouchBarName[] = "Dialog Touch Bar";
2477const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282478 "Shows Dialog buttons on the Touch Bar.";
2479
2480const char kHostedAppsInWindowsName[] =
2481 "Allow hosted apps to be opened in windows";
2482const char kHostedAppsInWindowsDescription[] =
2483 "Allows hosted apps to be opened in windows instead of being limited to "
2484 "tabs.";
2485
Lei Zhang2eca9082017-10-17 20:42:502486const char kMacRTLName[] = "Enable RTL";
2487const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282488
Lei Zhang2eca9082017-10-17 20:42:502489const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2490const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522491 "Enables sharing via macOS share extensions.";
2492
Lei Zhang2eca9082017-10-17 20:42:502493const char kMacTouchBarName[] = "Hardware Touch Bar";
2494const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282495
2496const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2497const char kMacV2SandboxDescription[] =
2498 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2499 "entire life cycle.";
2500
2501const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2502const char kMacViewsNativeAppWindowsDescription[] =
2503 "Controls whether to use Toolkit-Views based Chrome App windows.";
2504
2505const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2506const char kMacViewsTaskManagerDescription[] =
2507 "Controls whether to use the Toolkit-Views based Task Manager.";
2508
2509const char kTabDetachingInFullscreenName[] =
2510 "Allow tab detaching in fullscreen";
2511const char kTabDetachingInFullscreenDescription[] =
2512 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2513
2514const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2515const char kTabStripKeyboardFocusDescription[] =
2516 "Enable keyboard focus for the tabs in the tab strip.";
2517
Brett Wilson7b44537e2017-08-18 01:38:282518#endif
2519
2520// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342521
2522#if defined(OS_CHROMEOS)
2523
Brett Wilson7b44537e2017-08-18 01:38:282524const char kAcceleratedMjpegDecodeName[] =
2525 "Hardware-accelerated mjpeg decode for captured frame";
2526const char kAcceleratedMjpegDecodeDescription[] =
2527 "Enable hardware-accelerated mjpeg decode for captured frame where "
2528 "available.";
vabr0215a8e2017-03-28 12:47:342529
Brett Wilson7b44537e2017-08-18 01:38:282530const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2531const char kAllowTouchpadThreeFingerClickDescription[] =
2532 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342533
Brett Wilson7b44537e2017-08-18 01:38:282534const char kArcBootCompleted[] = "Load Android apps automatically";
2535const char kArcBootCompletedDescription[] =
2536 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342537
Lev Rumyantsev7a8544312017-08-18 19:26:512538const char kArcNativeBridgeExperimentName[] =
2539 "Enable native bridge experiment for ARC";
2540const char kArcNativeBridgeExperimentDescription[] =
2541 "Enables experimental native bridge feature.";
2542
lgchengecd1c1a62018-01-09 02:59:462543const char kArcUsbHostName[] = "Enable ARC USB host integration";
2544const char kArcUsbHostDescription[] =
2545 "Allow Android apps to use USB host feature on ChromeOS devices.";
2546
Kevin Cernekeeb7f96a52017-10-25 17:40:182547const char kArcVpnName[] = "Enable ARC VPN integration";
2548const char kArcVpnDescription[] =
2549 "Allow Android VPN clients to tunnel Chrome traffic.";
2550
Brett Wilson7b44537e2017-08-18 01:38:282551const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2552const char kAshEnableUnifiedDesktopDescription[] =
2553 "Enable unified desktop mode which allows a window to span multiple "
2554 "displays.";
vabr0215a8e2017-03-28 12:47:342555
Sean Kau5e956192017-10-06 22:25:172556const char kBulkPrintersName[] = "Bulk Printers Policy";
2557const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2558
Brett Wilson7b44537e2017-08-18 01:38:282559const char kCaptivePortalBypassProxyName[] =
2560 "Bypass proxy for Captive Portal Authorization";
2561const char kCaptivePortalBypassProxyDescription[] =
2562 "If proxy is configured, it usually prevents from authorization on "
2563 "different captive portals. This enables opening captive portal "
2564 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342565
Brett Wilson7b44537e2017-08-18 01:38:282566const char kCrOSComponentName[] = "Chrome OS Component";
2567const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082568 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342569
Xiaochu Liu51d03fd2017-09-08 23:51:022570const char kCrOSContainerName[] = "Chrome OS Container";
2571const char kCrOSContainerDescription[] =
2572 "Enable the use of Chrome OS Container utility.";
2573
Brett Wilson7b44537e2017-08-18 01:38:282574const char kCrosRegionsModeName[] = "Cros-regions load mode";
2575const char kCrosRegionsModeDescription[] =
2576 "This flag controls cros-regions load mode";
2577const char kCrosRegionsModeDefault[] = "Default";
2578const char kCrosRegionsModeOverride[] = "Override VPD values.";
2579const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342580
Jacob Dufault2becbc482017-08-25 00:36:352581const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2582const char kDisableLockScreenAppsDescription[] =
2583 "Disable new-note action handler apps on the lock screen. The user will "
2584 "not be able to launch the preferred note-taking action from the lock "
2585 "screen, provided that the app supports lock screen note taking.";
2586
Sammie Quonef6b4882017-09-14 16:50:052587const char kDisableTabletAutohideTitlebarsName[] =
2588 "Disable autohide titlebars in tablet mode";
2589const char kDisableTabletAutohideTitlebarsDescription[] =
2590 "Disable tablet mode autohide titlebars functionality. The user will be "
2591 "able to see the titlebar in tablet mode.";
2592
xdaid45327d2018-01-29 18:57:072593const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2594const char kDisableTabletSplitViewDescription[] =
2595 "Disable split view for Chrome OS tablet mode.";
2596
Brett Wilson7b44537e2017-08-18 01:38:282597const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2598const char kEnablePerUserTimezoneDescription[] =
2599 "Chrome OS system timezone preference is stored and handled for each user "
2600 "individually.";
vabr0215a8e2017-03-28 12:47:342601
Brett Wilson7b44537e2017-08-18 01:38:282602const char kDisableSystemTimezoneAutomaticDetectionName[] =
2603 "SystemTimezoneAutomaticDetection policy support";
2604const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2605 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342606
Lei Zhang2eca9082017-10-17 20:42:502607const char kEnableBackgroundBlurName[] = "Enable background blur.";
2608const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422609 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392610
Brett Wilson7b44537e2017-08-18 01:38:282611const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2612const char kEnableChromevoxArcSupportDescription[] =
2613 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342614
F#m75862c92018-01-25 19:10:472615const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2616const char kEnableDisplayZoomSettingDescription[] =
2617 "Allows the user to modify the display size or zoom via the chrome display "
2618 "settings page.";
2619
Brett Wilson7b44537e2017-08-18 01:38:282620const char kEnableEhvInputName[] =
2621 "Emoji, handwriting and voice input on opt-in IME menu";
2622const char kEnableEhvInputDescription[] =
2623 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342624
Brett Wilson7b44537e2017-08-18 01:38:282625const char kEnableEncryptionMigrationName[] =
2626 "Enable encryption migration of user data";
2627const char kEnableEncryptionMigrationDescription[] =
2628 "If enabled and the device supports ARC, the user will be asked to update "
2629 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342630
Blake O'Hare9e9317b22017-10-24 02:49:352631const char kEnableFloatingVirtualKeyboardName[] =
2632 "Enable floating virtual keyboard";
2633const char kEnableFloatingVirtualKeyboardDescription[] =
2634 "If enabled, the keyboard will use floating behavior by default.";
2635
Brett Wilson7b44537e2017-08-18 01:38:282636const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2637const char kEnableImeMenuDescription[] =
2638 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342639
Jordy Greenblatt2f23df22018-02-22 19:49:192640const char kEnableUnifiedMultiDeviceSettingsName[] =
2641 "Enable unified MultiDevice settings";
2642const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2643 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2644 "MultiDevice settings.";
2645
2646const char kEnableUnifiedMultiDeviceSetupName[] =
2647 "Enable unified MultiDevice setup";
2648const char kEnableUnifiedMultiDeviceSetupDescription[] =
2649 "Enable the device to setup all MultiDevice services in a single workflow.";
2650
Klemen Kozjek05fc4512017-10-18 12:51:102651const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2652const char kEnableZipArchiverPackerDescription[] =
2653 "Enable the ability to archive files on Drive in the Files app";
2654
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412655const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2656const char kZipArchiverUnpackerDescription[] =
2657 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282658
2659const char kEolNotificationName[] = "Disable Device End of Life notification.";
2660const char kEolNotificationDescription[] =
2661 "Disable Notifcation when Device is End of Life.";
2662
2663const char kExperimentalAccessibilityFeaturesName[] =
2664 "Experimental accessibility features";
2665const char kExperimentalAccessibilityFeaturesDescription[] =
2666 "Enable additional accessibility features in the Settings page.";
2667
2668const char kExperimentalInputViewFeaturesName[] =
2669 "Experimental input view features";
2670const char kExperimentalInputViewFeaturesDescription[] =
2671 "Enable experimental features for IME input views.";
2672
2673const char kFileManagerTouchModeName[] = "Files App. touch mode";
2674const char kFileManagerTouchModeDescription[] =
2675 "Touchscreen-specific interactions of the Files app.";
2676
2677const char kFirstRunUiTransitionsName[] =
2678 "Animated transitions in the first-run tutorial";
2679const char kFirstRunUiTransitionsDescription[] =
2680 "Transitions during first-run tutorial are animated.";
2681
Brett Wilson7b44537e2017-08-18 01:38:282682const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2683const char kForceEnableStylusToolsDescription[] =
2684 "Forces display of the stylus tools menu in the shelf and the stylus "
2685 "section in settings, even if there is no attached stylus device.";
2686
2687const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2688const char kGestureEditingDescription[] =
2689 "Enable/Disable gesture editing option in the settings page for the "
2690 "virtual keyboard.";
2691
2692const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2693const char kGestureTypingDescription[] =
2694 "Enable/Disable gesture typing option in the settings page for the virtual "
2695 "keyboard.";
2696
2697const char kInputViewName[] = "Input views";
2698const char kInputViewDescription[] =
2699 "Enable IME extensions to supply custom views for user input such as "
2700 "virtual keyboards.";
2701
Megumi Hattori5a0d4182018-03-06 11:09:502702const char kLockScreenNotificationName[] = "Lock screen notification";
2703const char kLockScreenNotificationDescription[] =
2704 "Enable notifications on the lock screen.";
2705
Brett Wilson7b44537e2017-08-18 01:38:282706const char kMemoryPressureThresholdName[] =
2707 "Memory discard strategy for advanced pressure handling";
2708const char kMemoryPressureThresholdDescription[] =
2709 "Memory discarding strategy to use";
2710const char kConservativeThresholds[] =
2711 "Conservative memory pressure release strategy";
2712const char kAggressiveCacheDiscardThresholds[] =
2713 "Aggressive cache release strategy";
2714const char kAggressiveTabDiscardThresholds[] =
2715 "Aggressive tab release strategy";
2716const char kAggressiveThresholds[] =
2717 "Aggressive tab and cache release strategy";
2718
2719const char kMtpWriteSupportName[] = "MTP write support";
2720const char kMtpWriteSupportDescription[] =
2721 "MTP write support in File System API (and file manager). In-place editing "
2722 "operations are not supported.";
2723
2724const char kMultideviceName[] = "Enable multidevice features";
2725const char kMultideviceDescription[] =
2726 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342727
Kyle Horimoto027590fb2018-02-13 22:19:482728const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2729const char kMultiDeviceApiDescription[] =
2730 "Enable Mojo-based API which provides synced device metadata and the "
2731 "ability to connect to other devices associated the logged-in Google "
2732 "account.";
2733
Bailey Berrodca8eeca02017-11-18 00:49:122734const char kNativeSmbName[] = "Native Smb Client";
2735const char kNativeSmbDescription[] =
2736 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302737
vabr0215a8e2017-03-28 12:47:342738const char kNetworkPortalNotificationName[] =
2739 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342740const char kNetworkPortalNotificationDescription[] =
2741 "If enabled, notification is displayed when device is connected to a "
2742 "network behind captive portal.";
2743
Steven Bennetts77b67972017-12-14 19:38:322744const char kDisableNetworkSettingsConfigName[] =
2745 "Disable Settings based Network Configuration";
2746const char kDisableNetworkSettingsConfigDescription[] =
2747 "Disables the Settings based network configuration UI and restores the "
2748 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242749
Brett Wilson7b44537e2017-08-18 01:38:282750const char kNewKoreanImeName[] = "New Korean IME";
2751const char kNewKoreanImeDescription[] =
2752 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342753
Brett Wilson7b44537e2017-08-18 01:38:282754const char kNewZipUnpackerName[] = "New ZIP unpacker";
2755const char kNewZipUnpackerDescription[] =
2756 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342757
Brett Wilson7b44537e2017-08-18 01:38:282758const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2759const char kPhysicalKeyboardAutocorrectDescription[] =
2760 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2761 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342762
2763const char kPrinterProviderSearchAppName[] =
2764 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342765const char kPrinterProviderSearchAppDescription[] =
2766 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192767 "searches Chrome Web Store for extensions that support printing to a USB "
2768 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342769
Brett Wilson7b44537e2017-08-18 01:38:282770const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2771const char kQuickUnlockPinDescription[] =
2772 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2773 "device on the lock screen after you have signed into your device.";
2774const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2775const char kQuickUnlockPinSigninDescription[] =
2776 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2777 "device. After changing this flag PIN needs to be set up again.";
2778const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2779const char kQuickUnlockFingerprintDescription[] =
2780 "Enabling fingerprint quick unlock allows you to setup and use a "
2781 "fingerprint to unlock your Chromebook on the lock screen after you have "
2782 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342783
Brett Wilson7b44537e2017-08-18 01:38:282784const char kOfficeEditingComponentAppName[] =
2785 "Office Editing for Docs, Sheets & Slides";
2786const char kOfficeEditingComponentAppDescription[] =
2787 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072788
James Cook0ba192bf2017-12-01 20:53:112789const char kShowTapsName[] = "Show taps";
2790const char kShowTapsDescription[] =
2791 "Draws a circle at each touch point, which makes touch points more obvious "
2792 "when projecting or mirroring the display. Similar to the Android OS "
2793 "developer option.";
2794
2795const char kShowTouchHudName[] = "Show HUD for touch points";
2796const char kShowTouchHudDescription[] =
2797 "Shows a trail of colored dots for the last few touch points. Pressing "
2798 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2799 "debug hardware issues that generate spurious touch events.";
2800
Chung-Sheng Wu468b0b32017-09-01 14:41:572801const char kSysInternalsName[] = "Enable Sys-Internals";
2802const char kSysInternalsDescription[] =
2803 "If enabled, user can monitor system information at "
2804 "chrome://sys-internals.";
2805
Evan Stadecbac7cb2018-03-13 18:19:382806const char kSkipExtraAshWindowPositioningName[] =
2807 "Simplified browser window positioning";
2808const char kSkipExtraAshWindowPositioningDescription[] =
2809 "Skips over Ash-specific positioning logic for new browser windows.";
2810
Brett Wilson7b44537e2017-08-18 01:38:282811const char kTeamDrivesName[] = "Enable Team Drives Integration";
2812const char kTeamDrivesDescription[] =
2813 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342814
Brett Wilson7b44537e2017-08-18 01:38:282815const char kTetherName[] = "Instant Tethering";
2816const char kTetherDescription[] =
2817 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2818 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372819
Brett Wilson7b44537e2017-08-18 01:38:282820const char kTouchscreenCalibrationName[] =
2821 "Enable/disable touchscreen calibration option in material design settings";
2822const char kTouchscreenCalibrationDescription[] =
2823 "If enabled, the user can calibrate the touch screen displays in "
2824 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092825
Mitsuru Oshima63d3f2a2017-08-23 00:12:112826// Force UI Mode
2827const char kUiModeName[] = "Force Ui Mode";
2828const char kUiModeDescription[] =
2829 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2830 R"*(despite its current orientation. "Tablet" means that the )*"
2831 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2832 R"*(means that the chromebook will act as if it were in clamshell )*"
2833 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2834 R"*(the two, based on its orientation.)*";
2835const char kUiModeTablet[] = "TouchView";
2836const char kUiModeClamshell[] = "Clamshell";
2837const char kUiModeAuto[] = "Auto (default)";
2838
bruthigeafb0c02017-06-09 13:11:532839const char kUiDevToolsName[] = "Enable native UI inspection";
2840const char kUiDevToolsDescription[] =
2841 "Enables inspection of native UI elements. For local inspection use "
2842 "chrome://inspect#other";
2843
James Cooka1bcfa9a2018-01-30 00:18:402844const char kUseMusName[] = "Mojo UI service (mus)";
2845const char kUseMusDescription[] =
2846 "Handles input events, display configuration, and windowing in a mojo "
2847 "service on a thread in the browser process.";
2848
2849const char kUseMashName[] = "Out-of-process system UI (mash)";
2850const char kUseMashDescription[] =
2851 "Runs the mojo UI service (mus) and the ash window manager and system UI "
2852 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:282853
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342854// TODO(mcasas): remove after https://crbug.com/771345.
2855const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2856const char kUseMonitorColorSpaceDescription[] =
2857 "Enables Chrome to use the color space information provided by the monitor"
2858 " instead of the default sRGB color space.";
2859
Brett Wilson7b44537e2017-08-18 01:38:282860const char kVideoPlayerChromecastSupportName[] =
2861 "Experimental Chromecast support for Video Player";
2862const char kVideoPlayerChromecastSupportDescription[] =
2863 "This option enables experimental Chromecast support for Video Player app "
2864 "on ChromeOS.";
2865
2866const char kVirtualKeyboardName[] = "Virtual Keyboard";
2867const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2868
2869const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2870const char kVirtualKeyboardOverscrollDescription[] =
2871 "Enables virtual keyboard overscroll support.";
2872
2873const char kVoiceInputName[] = "Voice input on virtual keyboard";
2874const char kVoiceInputDescription[] =
2875 "Enables voice input on virtual keyboard.";
2876
2877const char kWakeOnPacketsName[] = "Wake On Packets";
2878const char kWakeOnPacketsDescription[] =
2879 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202880
yhanadac5bff5b2017-05-18 06:37:092881#endif // defined(OS_CHROMEOS)
2882
Brett Wilson7b44537e2017-08-18 01:38:282883// Random platform combinations -----------------------------------------------
2884
2885#if defined(OS_WIN) || defined(OS_LINUX)
2886
2887const char kEnableInputImeApiName[] = "Enable Input IME API";
2888const char kEnableInputImeApiDescription[] =
2889 "Enable the use of chrome.input.ime API.";
2890
2891#endif // defined(OS_WIN) || defined(OS_LINUX)
2892
2893#if defined(OS_WIN) || defined(OS_MACOSX)
2894
2895const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2896const char kAutomaticTabDiscardingDescription[] =
2897 "If enabled, tabs get automatically discarded from memory when the system "
2898 "memory is low. Discarded tabs are still visible on the tab strip and get "
2899 "reloaded when clicked on. Info about discarded tabs can be found at "
2900 "chrome://discards.";
2901
2902#endif // defined(OS_WIN) || defined(OS_MACOSX)
2903
2904// Feature flags --------------------------------------------------------------
2905
2906#if BUILDFLAG(ENABLE_VR)
2907
David Dorwin5a496c32017-11-17 01:45:052908const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2909const char kWebVrVsyncAlignDescription[] =
2910 "Align WebVR application rendering with VSync for smoother animations.";
2911
Brett Wilson7b44537e2017-08-18 01:38:282912#if defined(OS_ANDROID)
2913
Yash Malik50bcfc12017-11-18 00:47:592914const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2915const char kVrBrowserKeyboardDescription[] =
2916 "Enable a virtual keyboard for Chrome VR.";
2917
Yash Malikb78e72a72018-02-21 09:14:102918const char kVrWebInputEditingName[] = "VR browsing web input editing";
2919const char kVrWebInputEditingDescription[] =
2920 "Allow editing web input fields while in VR mode.";
2921
David Dorwin5a496c32017-11-17 01:45:052922const char kVrBrowsingExperimentalFeaturesName[] =
2923 "VR browsing experimental features";
2924const char kVrBrowsingExperimentalFeaturesDescription[] =
2925 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282926
David Dorwin5a496c32017-11-17 01:45:052927const char kVrBrowsingExperimentalRenderingName[] =
2928 "VR browsing experimental rendering features";
2929const char kVrBrowsingExperimentalRenderingDescription[] =
2930 "Experimental rendering features for VR browsing (e.g. power-saving "
2931 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102932
David Dorwin5a496c32017-11-17 01:45:052933const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2934const char kVrBrowsingInCustomTabDescription[] =
2935 "Allow browsing within a VR headset while in a Custom Tab.";
2936
Michael Thiessen37895912018-01-19 20:15:542937const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
2938const char kVrIconInDaydreamHomeDescription[] =
2939 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
2940
David Dorwin5a496c32017-11-17 01:45:052941const char kWebVrAutopresentFromIntentName[] =
2942 "WebVR auto presentation from intents";
2943const char kWebVrAutopresentFromIntentDescription[] =
2944 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282945
2946#endif // OS_ANDROID
2947
Bill Orr103ed272018-02-14 21:23:052948#if BUILDFLAG(ENABLE_OCULUS_VR)
2949const char kOculusVRName[] = "Oculus hardware support";
2950const char kOculusVRDescription[] =
2951 "If enabled, Chrome will use Oculus devices for VR (supported only on "
2952 "Windows 10 or later).";
2953#endif // ENABLE_OCULUS_VR
2954
Bill Orr49527562017-11-22 16:58:482955#if BUILDFLAG(ENABLE_OPENVR)
2956const char kOpenVRName[] = "OpenVR hardware support";
2957const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:072958 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
2959 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:482960#endif // ENABLE_OPENVR
2961
Brett Wilson7b44537e2017-08-18 01:38:282962#endif // ENABLE_VR
2963
Nico Weberaf3b00b2017-09-11 17:58:172964#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282965
2966const char kNaclDebugMaskName[] =
2967 "Restrict Native Client GDB-based debugging by pattern";
2968const char kNaclDebugMaskDescription[] =
2969 "Restricts Native Client application GDB-based debugging by URL of "
2970 "manifest file. Native Client GDB-based debugging must be enabled for this "
2971 "option to work.";
2972const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2973const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2974 "Debug everything except secure shell and the PNaCl translator.";
2975const char kNaclDebugMaskChoiceIncludeDebug[] =
2976 "Debug only if manifest URL ends with debug.nmf.";
2977
2978const char kNaclDebugName[] = "Native Client GDB-based debugging";
2979const char kNaclDebugDescription[] =
2980 "Enable GDB debug stub. This will stop a Native Client application on "
2981 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2982
2983const char kNaclName[] = "Native Client";
2984const char kNaclDescription[] =
2985 "Support Native Client for all web applications, even those that were not "
2986 "installed from the Chrome Web Store.";
2987
2988const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2989const char kPnaclSubzeroDescription[] =
2990 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2991
Nico Weberaf3b00b2017-09-11 17:58:172992#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282993
Brett Wilson7b44537e2017-08-18 01:38:282994#if BUILDFLAG(ENABLE_WEBRTC)
2995
2996const char kWebrtcH264WithOpenh264FfmpegName[] =
2997 "WebRTC H.264 software video encoder/decoder";
2998const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2999 "When enabled, an H.264 software video encoder/decoder pair is included. "
3000 "If a hardware encoder/decoder is also available it may be used instead of "
3001 "this encoder/decoder.";
3002
3003#endif // BUILDFLAG(ENABLE_WEBRTC)
3004
James Cookf9d34d22017-10-04 16:39:353005#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283006
Wenzhao Zang50fb0b22017-11-07 01:38:423007const char kAshDisableLoginDimAndBlurName[] =
3008 "Disable dimming and blur on login screen.";
3009const char kAshDisableLoginDimAndBlurDescription[] =
3010 "Disable dimming and blur on login screen.";
3011
Brett Wilson7b44537e2017-08-18 01:38:283012const char kAshDisableSmoothScreenRotationName[] =
3013 "Disable smooth rotation animations.";
3014const char kAshDisableSmoothScreenRotationDescription[] =
3015 "Disable smooth rotation animations.";
3016
Qiang Xub7e921072017-12-07 21:02:113017const char kAshEnableDisplayMoveWindowAccelsName[] =
3018 "Enable shortcuts for moving window between displays.";
3019const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3020 "Enable shortcuts for moving window between displays.";
3021
wutaoc70d7b92017-11-01 08:06:013022const char kAshEnableKeyboardShortcutViewerName[] =
3023 "Enable keyboard shortcut viewer.";
3024const char kAshEnableKeyboardShortcutViewerDescription[] =
3025 "Enable keyboard shortcut viewer.";
3026
Brett Wilson7b44537e2017-08-18 01:38:283027const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3028const char kAshEnableMirroredScreenDescription[] =
3029 "Enable the mirrored screen mode. This mode flips the screen image "
3030 "horizontally.";
3031
Sammie Quon4e14214d2018-01-30 22:45:243032const char kAshEnableNewOverviewUiName[] = "Enable new overview UI.";
3033const char kAshEnableNewOverviewUiDescription[] =
3034 "Enables the new overview mode UI.";
3035
wutaod9cbcd32018-02-17 02:31:063036const char kAshEnableNewOverviewAnimationsName[] =
3037 "Enable new overview animations.";
3038const char kAshEnableNewOverviewAnimationsDescription[] =
3039 "Enables the new overview mode animations.";
3040
Qiang Xufa19cfd2018-01-29 19:36:503041const char kAshEnablePersistentWindowBoundsName[] =
3042 "Enable persistent window bounds in multi-displays scenario.";
3043const char kAshEnablePersistentWindowBoundsDescription[] =
3044 "Enable persistent window bounds in multi-displays scenario.";
3045
wutaoc5062be2018-03-16 02:16:233046const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3047const char kAshEnableTrilinearFilteringDescription[] =
3048 "Enable trilinear filtering.";
3049
Brett Wilson7b44537e2017-08-18 01:38:283050const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3051const char kAshShelfColorDescription[] =
3052 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3053 "--ash-shelf-color-scheme flag defines how that color is derived.";
3054
3055const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3056const char kAshShelfColorSchemeDescription[] =
3057 "Specify how the color is derived from the wallpaper. This flag is only "
3058 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3059const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3060const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3061const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3062const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3063const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3064const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3065
Wenzhao Zang06a28872018-02-23 04:01:353066const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3067const char kEnableNewWallpaperPickerDescription[] =
3068 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3069
Brett Wilson7b44537e2017-08-18 01:38:283070const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373071 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283072const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3073 "Sets the speed of the experimental visual feedback animations for "
3074 "material design.";
3075const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3076const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3077
3078const char kUiShowCompositedLayerBordersName[] =
3079 "Show UI composited layer borders";
3080const char kUiShowCompositedLayerBordersDescription[] =
3081 "Show border around composited layers created by UI.";
3082const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3083const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3084const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3085const char kUiShowCompositedLayerBordersAll[] = "All";
3086
3087const char kUiSlowAnimationsName[] = "Slow UI animations";
3088const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3089
James Cookf9d34d22017-10-04 16:39:353090#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283091
Brett Wilson7b44537e2017-08-18 01:38:283092#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3093
3094const char kAutofillCreditCardUploadName[] =
3095 "Enable offering upload of Autofilled credit cards";
3096const char kAutofillCreditCardUploadDescription[] =
3097 "Enables a new option to upload credit cards to Google Payments for sync "
3098 "to all Chrome devices.";
3099
3100#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3101
3102// ============================================================================
3103// Don't just add flags to the end, put them in the right section in
3104// alphabetical order just like the header file.
3105// ============================================================================
3106
vabr0215a8e2017-03-28 12:47:343107} // namespace flag_descriptions