blob: d6979d9e2ccbe14b951f406a090e3876513fc30a [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
tmartinocd414732018-02-12 19:01:01298const char kEnableAutofillNativeDropdownViewsName[] =
299 "Display Autofill Dropdown Using Views";
300const char kEnableAutofillNativeDropdownViewsDescription[] =
301 "If enabled, the Autofill Dropdown will be built natively using Views, "
302 "rather than painted directly to a canvas.";
303
Vitalii Iarko4f9834ce2017-08-04 07:05:19304const char kEnableBreakingNewsPushName[] = "Breaking News Push";
305const char kEnableBreakingNewsPushDescription[] =
306 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
307 "through Google Cloud Messaging.";
308
Brett Wilsonf27ff602017-07-07 22:28:47309const char kEnableBrotliName[] = "Brotli Content-Encoding.";
310const char kEnableBrotliDescription[] =
311 "Enable Brotli Content-Encoding support.";
312
Qiang Xu0f602fe62017-12-22 01:31:20313const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
314const char kEnableCaptivePortalRandomUrlDescription[] =
315 "Enable Captive Portal URL randomization.";
316
sclittle50e4bb92017-07-08 02:23:03317const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
318
319const char kEnableClientLoFiDescription[] =
320 "Enable showing low fidelity images on some pages on slow networks.";
321
David Reveman87b4b692018-03-09 21:22:22322const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
323const char kEnableCursorMotionBlurDescription[] =
324 "Enable motion blur effect for the cursor.";
325
Doug Arnett08b4067b2017-10-12 20:14:44326const char kEnableNoScriptPreviewsName[] = "NoScript previews";
327
328const char kEnableNoScriptPreviewsDescription[] =
329 "Enable disabling JavaScript on some pages on slow networks.";
330
Thanh Le2c279fbc2017-11-21 01:25:40331const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
332const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
333const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
334const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
335const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
336const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
337const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
338const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
339const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
340const char kDataReductionProxyServerAlternative10[] =
341 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47342const char kEnableDataReductionProxyServerExperimentName[] =
343 "Use an alternative Data Saver back end configuration.";
344const char kEnableDataReductionProxyServerExperimentDescription[] =
345 "Enable a different approach to saving data by configuring the back end "
346 "server";
347
348const char kEnableDataReductionProxySavingsPromoName[] =
349 "Data Saver 1 MB Savings Promo";
350const char kEnableDataReductionProxySavingsPromoDescription[] =
351 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
352 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
353 "enabled for the promo to be shown.";
354
Matt Giucad4870432017-11-24 01:04:38355const char kEnableDesktopPWAsName[] = "Desktop PWAs";
356const char kEnableDesktopPWAsDescription[] =
357 "Experimental windowing and install banner treatment for Progressive Web "
358 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17359
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59360const char kEnableDesktopPWAsLinkCapturingName[] =
361 "Desktop PWAs Link Capturing";
362const char kEnableDesktopPWAsLinkCapturingDescription[] =
363 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
364 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
365 "#enable-desktop-pwas.";
366
Ahmed Fakhry0037de02018-01-29 19:58:31367const char kEnableDockedMagnifierName[] = "Docked Magnifier";
368const char kEnableDockedMagnifierDescription[] =
369 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
370
Brett Wilsonf27ff602017-07-07 22:28:47371const char kEnableEnumeratingAudioDevicesName[] =
372 "Experimentally enable enumerating audio devices.";
373const char kEnableEnumeratingAudioDevicesDescription[] =
374 "Experimentally enable the use of enumerating audio devices.";
375
376const char kEnableGenericSensorName[] = "Generic Sensor";
377const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25378 "Enables motion sensor classes based on Generic Sensor API, i.e. "
379 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
380 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
381
382const char kEnableGenericSensorExtraClassesName[] =
383 "Generic Sensor Extra Classes";
384const char kEnableGenericSensorExtraClassesDescription[] =
385 "Enables an extra set of sensor classes based on Generic Sensor API, which "
386 "expose previously unavailable platform features, i.e. AmbientLightSensor "
387 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47388
Brett Wilsonf27ff602017-07-07 22:28:47389const char kEnableHDRName[] = "HDR mode";
390const char kEnableHDRDescription[] =
391 "Enables HDR support on compatible displays.";
392
Erik Chen6cf9e9e2018-03-27 23:04:31393const char kEnableHeapProfilingName[] = "Heap profiling";
394const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
395const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
396const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
397const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
398
Brett Wilsonf27ff602017-07-07 22:28:47399const char kEnableHttpFormWarningName[] =
400 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15401 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47402const char kEnableHttpFormWarningDescription[] =
403 "Attaches a warning UI to any password or credit card fields detected when "
404 "the top-level page is not HTTPS";
405
Sidney San Martín9375b892017-09-09 00:29:54406const char kEnableMacMaterialDesignDownloadShelfName[] =
407 "Enable Material Design download shelf";
408
409const char kEnableMacMaterialDesignDownloadShelfDescription[] =
410 "If enabled, the download shelf uses Material Design.";
411
Tatiana Gornakafb40452017-07-31 13:50:04412const char kEnableManualFallbacksFillingName[] =
413 "Manual fallbacks for password manager forms filling";
414const char kEnableManualFallbacksFillingDescription[] =
415 "If enabled, then if user clicks on the password field on a form, popup "
416 "might contain generation fallbacks or 'Show all saved passwords' "
417 "fallback.";
418
vabr0215a8e2017-03-28 12:47:34419const char kEnableMaterialDesignBookmarksName[] =
420 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34421const char kEnableMaterialDesignBookmarksDescription[] =
422 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
423 "bookmarks page.";
424
vabr0215a8e2017-03-28 12:47:34425const char kEnableMaterialDesignExtensionsName[] =
426 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34427const char kEnableMaterialDesignExtensionsDescription[] =
428 "If enabled, the chrome://extensions/ URL loads the Material Design "
429 "extensions page.";
430
Anton Urusov47cd4932017-09-19 14:41:41431const char kEnablePolicyToolName[] = "Enable policy management page";
432const char kEnablePolicyToolDescription[] =
433 "If enabled, the chrome://policy-tool URL loads a page for managing "
434 "policies.";
435
Tsuyoshi Horoea7edb72017-11-12 04:14:00436const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
437const char kEnablePWAFullCodeCacheDescription[] =
438 "Generate V8 code cache in Cache Storage while installing Service Worker "
439 "for PWAs.";
440
Weidong Guof1e5a892018-01-06 02:26:39441const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28442 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39443const char kDisableMultiMirroringDescription[] =
444 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28445
Brett Wilsonf27ff602017-07-07 22:28:47446const char kEnableNavigationTracingName[] = "Enable navigation tracing";
447const char kEnableNavigationTracingDescription[] =
448 "This is to be used in conjunction with the trace-upload-url flag. "
449 "WARNING: When enabled, Chrome will record performance data for every "
450 "navigation and upload it to the URL specified by the trace-upload-url "
451 "flag. The trace may include personally identifiable information (PII) "
452 "such as the titles and URLs of websites you visit.";
453
Bernhard Bauer5533f9912017-11-06 17:56:02454const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
455const char kEnableNetworkLoggingToFileDescription[] =
456 "Enables network logging to a file named netlog.json in the user data "
457 "directory. The file can be imported into chrome://net-internals.";
458
Brett Wilsonf27ff602017-07-07 22:28:47459const char kEnableNetworkServiceName[] = "Enable network service";
460const char kEnableNetworkServiceDescription[] =
461 "Enables the network service, which makes network requests through a "
462 "separate service. Note: most features don't work with this yet.";
463
John Abd-El-Malek8067cc02017-12-04 23:23:20464const char kEnableNetworkServiceInProcessName[] =
465 "Runs network service in-process";
466const char kEnableNetworkServiceInProcessDescription[] =
467 "Runs the network service in the browser process.";
468
dpapaded8349472017-10-25 03:21:27469const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
470const char kEnableNewPrintPreviewDescription[] =
471 "If enabled, Print Preview will display a newer UI";
472
Ahmed Fakhry2fd8fc82017-07-28 16:31:12473const char kEnableNightLightName[] = "Enable Night Light";
474const char kEnableNightLightDescription[] =
475 "Enable the Night Light feature which controls the color temperature of "
476 "the screen.";
477
xlou8b56f672018-02-09 23:34:30478const char kEnableNupPrintingName[] = "Enable N-up printing";
479const char kEnableNupPrintingDescription[] =
480 "Enable N-up printing in the print preview panel.";
481
Sophie Chang117a3b22017-10-24 22:25:36482const char kEnableOptimizationHintsName[] = "Optimization Hints";
483const char kEnableOptimizationHintsDescription[] =
484 "Enable the Optimization Hints feature which incorporates server hints"
485 "into decisions for what optimizations to perform on some pages on slow "
486 "networks.";
487
Yutaka Hirano98be3272017-08-07 17:55:39488const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
489const char kEnableOutOfBlinkCORSDescription[] =
490 "CORS handling logic is moved out of blink.";
491
kylechar7051c092018-02-05 20:31:39492const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
493const char kVizDisplayCompositorDescription[] =
494 "If enabled, the display compositor runs as part of the viz service in the"
495 "GPU process.";
496
Ria Jiang6a129b982018-03-01 18:30:40497const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
498const char kVizHitTestDrawQuadDescription[] =
499 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
500 "with hit-test data computed from the CompositorFrame.";
501
Erik Chen49bbfa22017-08-18 08:49:56502const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23503 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56504const char kEnableOutOfProcessHeapProfilingDescription[] =
505 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19506 "malloced objects. Heap dumps can be obtained at chrome://tracing "
507 "[category:memory-infra] and chrome://memory-internals. This setting "
508 "controls which processes are profiled. As long as this setting is not "
509 "disabled, users can start profiling any given process in "
510 "chrome://memory-internals.";
511const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
512const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
513const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
514const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
515const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10516const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19517 "None by default. Visit chrome://memory-internals to choose which "
518 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15519const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
520 "Profile a random sampling of renderer processes, ensuring only one is "
521 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19522
Erik Chen8bb76b52017-12-06 19:06:25523const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19524 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25525const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
526 "By default, small allocations are pruned from the heap dump. This reduces "
527 "the size of the compressed trace by 100x. If pruning is disabled, the "
528 "chrome://tracing UI may be unable to take or load the trace. Save the "
529 "trace directly using chrome://memory-internals, and use other mechanisms "
530 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
531 "automatically uploaded traces will always be pruned. This only affects "
532 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56533
erikchen8bc20d82018-02-14 03:21:51534const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
535const char kOutOfProcessHeapProfilingSamplingDescription[] =
536 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22537 "10000. This results in low noise for large and/or frequent allocations ["
538 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
539 "total size of malloc-ed objects] and large and/or frequent allocations "
540 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51541
Erik Chen3303fd0232018-01-11 20:29:05542const char kOOPHPStackModeName[] =
543 "The type of stack to record for memlog heap dumps";
544const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19545 "By default, memlog heap dumps record native stacks, which requires a "
546 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55547 "pointers to work on Android. Native with thread names will add the thread "
548 "name as the first frame of each native stack. It's also possible to "
549 "record a pseudo stack using trace events as identifiers. It's also "
550 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19551const char kOOPHPStackModeMixed[] = "Mixed";
552const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55553const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19554const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05555
François Beaufort2e75f492018-02-08 20:44:46556const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47557const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46558 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47559
F#m59d036e2017-09-13 07:22:17560const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
561const char kEnablePixelCanvasRecordingDescription[] =
562 "Pixel canvas recording allows the compositor to raster contents aligned "
563 "with the pixel and improves text rendering. This should be enabled when a "
564 "device is using fractional scale factor.";
565
Brett Wilsonf27ff602017-07-07 22:28:47566const char kEnableTokenBindingName[] = "Token Binding.";
567const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
568
Sahel Sharifyd732ab12017-11-29 23:03:16569extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
570 "Wheel Scroll Latching.";
571extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
572 "Wheel scroll latching enforces latching to a single element for the "
573 "duration of a scroll sequence.";
574
Brett Wilsonf27ff602017-07-07 22:28:47575const char kEnableUseZoomForDsfName[] =
576 "Use Blink's zoom for device scale factor.";
577const char kEnableUseZoomForDsfDescription[] =
578 "If enabled, Blink uses its zooming mechanism to scale content for device "
579 "scale factor.";
580const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
581const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
582const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
583
584const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
585const char kEnableScrollAnchoringDescription[] =
586 "Adjusts scroll position to prevent visible jumps when offscreen content "
587 "changes.";
588
Patrick Noland8ee016e2018-01-24 11:44:53589const char kEnableScrollAnchorSerializationName[] =
590 "Scroll Anchor Serialization";
591const char kEnableScrollAnchorSerializationDescription[] =
592 "Save the scroll anchor and use it to restore the scroll position when "
593 "navigating.";
594
Brad Nelson5cd500e2018-01-04 00:50:19595const char kEnableSharedArrayBufferName[] =
596 "Experimental enabled SharedArrayBuffer support in JavaScript.";
597const char kEnableSharedArrayBufferDescription[] =
598 "Enable SharedArrayBuffer support in JavaScript.";
599
Brett Wilsonf27ff602017-07-07 22:28:47600const char kEnableWasmName[] = "WebAssembly structured cloning support.";
601const char kEnableWasmDescription[] =
602 "Enable web pages to use WebAssembly structured cloning.";
603
Brett Wilsonf27ff602017-07-07 22:28:47604const char kEnableImageCaptureAPIName[] = "Image Capture API";
605const char kEnableImageCaptureAPIDescription[] =
606 "Enables the Web Platform Image Capture API: takePhoto(), "
607 "getPhotoCapabilities(), etc.";
608
609const char kEnableZeroSuggestRedirectToChromeName[] =
610 "Experimental contextual omnibox suggestion";
611const char kEnableZeroSuggestRedirectToChromeDescription[] =
612 "Change omnibox contextual suggestions to an experimental source. Note "
613 "that this is not an on/off switch for contextual omnibox and it only "
614 "applies to suggestions provided before the user starts typing a URL or a "
615 "search query (i.e. zero suggest).";
616
617const char kEnableWasmStreamingName[] =
618 "WebAssembly streaming compile/instantiate support.";
619const char kEnableWasmStreamingDescription[] =
620 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
621
Brett Wilsonf27ff602017-07-07 22:28:47622const char kExpensiveBackgroundTimerThrottlingName[] =
623 "Throttle expensive background timers";
624const char kExpensiveBackgroundTimerThrottlingDescription[] =
625 "Enables intervention to limit CPU usage of background timers to 1%.";
626
627const char kExperimentalAppBannersName[] = "Experimental app banners";
628const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38629 "Enables a new experimental app banner flow and UI. Implies "
630 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47631
632const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
633const char kExperimentalCanvasFeaturesDescription[] =
634 "Enables the use of experimental canvas features which are still in "
635 "development.";
636
Nicholas Verneccd8259802018-02-22 01:22:04637const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
638const char kExperimentalCrostiniUIDescription[] =
639 "Enables in-development Crostini features.";
640
Brett Wilsonf27ff602017-07-07 22:28:47641const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
642const char kExperimentalExtensionApisDescription[] =
643 "Enables experimental extension APIs. Note that the extension gallery "
644 "doesn't allow you to upload extensions that use experimental APIs.";
645
646const char kExperimentalFullscreenExitUIName[] =
647 "Experimental fullscreen exit UI";
648const char kExperimentalFullscreenExitUIDescription[] =
649 "Displays experimental UI to allow mouse and touch input methods to exit "
650 "fullscreen mode.";
651
Brett Wilsonf27ff602017-07-07 22:28:47652const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
653const char kExperimentalKeyboardLockUiDescription[] =
654 "An experimental full screen with keyboard lock mode requiring users to "
655 "hold Esc to exit.";
656
657const char kExperimentalSecurityFeaturesName[] =
658 "Potentially annoying security features";
659const char kExperimentalSecurityFeaturesDescription[] =
660 "Enables several security features that will likely break one or more "
661 "pages that you visit on a daily basis. Strict mixed content checking, for "
662 "example. And locking powerful features to secure contexts. This flag will "
663 "probably annoy you.";
664
665const char kExperimentalWebPlatformFeaturesName[] =
666 "Experimental Web Platform features";
667const char kExperimentalWebPlatformFeaturesDescription[] =
668 "Enables experimental Web Platform features that are in development.";
669
670const char kExtensionContentVerificationName[] =
671 "Extension Content Verification";
672const char kExtensionContentVerificationDescription[] =
673 "This flag can be used to turn on verification that the contents of the "
674 "files on disk for extensions from the webstore match what they're "
675 "expected to be. This can be used to turn on this feature if it would not "
676 "otherwise have been turned on, but cannot be used to turn it off (because "
677 "this setting can be tampered with by malware).";
678const char kExtensionContentVerificationBootstrap[] =
679 "Bootstrap (get expected hashes, but do not enforce them)";
680const char kExtensionContentVerificationEnforce[] =
681 "Enforce (try to get hashes, and enforce them if successful)";
682const char kExtensionContentVerificationEnforceStrict[] =
683 "Enforce strict (hard fail if we can't get hashes)";
684
685const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
686const char kExtensionsOnChromeUrlsDescription[] =
687 "Enables running extensions on chrome:// URLs, where extensions explicitly "
688 "request this permission.";
galinapae72e152017-05-12 13:12:28689
Brett Wilsonecb80982017-07-12 20:34:51690const char kFastUnloadName[] = "Fast tab/window close";
691const char kFastUnloadDescription[] =
692 "Enables fast tab/window closing - runs a tab's onunload js handler "
693 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34694
Brett Wilsonecb80982017-07-12 20:34:51695const char kFeaturePolicyName[] = "Feature Policy";
696const char kFeaturePolicyDescription[] =
697 "Enables granting and removing access to features through the "
698 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34699
Brett Wilsonecb80982017-07-12 20:34:51700const char kFontCacheScalingName[] = "FontCache scaling";
701const char kFontCacheScalingDescription[] =
702 "Reuse a cached font in the renderer to serve different sizes of font for "
703 "faster layout.";
704
705const char kForceEffectiveConnectionTypeName[] =
706 "Override effective connection type";
707const char kForceEffectiveConnectionTypeDescription[] =
708 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30709 "returned by the network quality estimator. Slow 2G on Cellular returns "
710 "Slow 2G when connected to a cellular network, and the actual estimate "
711 "effective connection type when not on a cellular network. Previews are "
712 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51713const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
714const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
715const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30716const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
717 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51718const char kEffectiveConnectionType2GDescription[] = "2G";
719const char kEffectiveConnectionType3GDescription[] = "3G";
720const char kEffectiveConnectionType4GDescription[] = "4G";
721
722const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
723const char kFillOnAccountSelectDescription[] =
724 "Filling of passwords when an account is explicitly selected by the user "
725 "rather than autofilling credentials on page load.";
726
Brett Wilsonecb80982017-07-12 20:34:51727const char kForceTextDirectionName[] = "Force text direction";
728const char kForceTextDirectionDescription[] =
729 "Explicitly force the per-character directionality of UI text to "
730 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
731 "direction of the character language.";
732const char kForceDirectionLtr[] = "Left-to-right";
733const char kForceDirectionRtl[] = "Right-to-left";
734
735const char kForceUiDirectionName[] = "Force UI direction";
736const char kForceUiDirectionDescription[] =
737 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
738 "mode, overriding the default direction of the UI language.";
739
740const char kFramebustingName[] =
741 "Framebusting requires same-origin or a user gesture";
742const char kFramebustingDescription[] =
743 "Don't permit an iframe to navigate the top level browsing context unless "
744 "they are same-origin or the iframe is processing a user gesture.";
745
746const char kGamepadExtensionsName[] = "Gamepad Extensions";
747const char kGamepadExtensionsDescription[] =
748 "Enabling this option allows web applications to access experimental "
749 "extensions to the Gamepad APIs.";
750
Brett Wilsonecb80982017-07-12 20:34:51751const char kGpuRasterizationMsaaSampleCountName[] =
752 "GPU rasterization MSAA sample count.";
753const char kGpuRasterizationMsaaSampleCountDescription[] =
754 "Specify the number of MSAA samples for GPU rasterization.";
755const char kGpuRasterizationMsaaSampleCountZero[] = "0";
756const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
757const char kGpuRasterizationMsaaSampleCountFour[] = "4";
758const char kGpuRasterizationMsaaSampleCountEight[] = "8";
759const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
760
761const char kGpuRasterizationName[] = "GPU rasterization";
762const char kGpuRasterizationDescription[] =
763 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28764const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51765
766const char kGoogleProfileInfoName[] = "Google profile name and icon";
767const char kGoogleProfileInfoDescription[] =
768 "Enables using Google information to populate the profile name and icon in "
769 "the avatar menu.";
770
771const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
772const char kHarfbuzzRendertextDescription[] =
773 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
774 "web content.";
775
Manu Cornete5f855b2018-03-13 03:35:25776const char kHideNonActiveAppsFromShelfName[] =
777 "Hide apps that are not running from the shelf";
778const char kHideNonActiveAppsFromShelfDescription[] =
779 "Save space in the shelf by hiding apps that are not running.";
780
Brett Wilsonecb80982017-07-12 20:34:51781const char kHistoryRequiresUserGestureName[] =
782 "New history entries require a user gesture.";
783const char kHistoryRequiresUserGestureDescription[] =
784 "Require a user gesture to add a history entry.";
785const char kHyperlinkAuditingName[] = "Hyperlink auditing";
786const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
787
788const char kHostedAppQuitNotificationName[] =
789 "Quit notification for hosted apps";
790const char kHostedAppQuitNotificationDescription[] =
791 "Display a notification when quitting Chrome if hosted apps are currently "
792 "running.";
793
794const char kHostedAppShimCreationName[] =
795 "Creation of app shims for hosted apps on Mac";
796const char kHostedAppShimCreationDescription[] =
797 "Create app shims on Mac when creating a hosted app.";
798
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48799const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
800const char kHtmlBasedUsernameDetectorDescription[] =
801 "Use HTML-based username detector for the password manager.";
802
Brett Wilsonecb80982017-07-12 20:34:51803const char kIconNtpName[] = "Large icons on the New Tab page";
804const char kIconNtpDescription[] =
805 "Enable the experimental New Tab page using large icons.";
806
807const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
808const char kIgnoreGpuBlacklistDescription[] =
809 "Overrides the built-in software rendering list and enables "
810 "GPU-acceleration on unsupported system configurations.";
811
Thanh Le5f090efa52017-12-27 22:39:44812const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
813const char kIgnorePreviewsBlacklistDescription[] =
814 "Ignore decisions made by the PreviewsBlackList";
815
Brett Wilsonecb80982017-07-12 20:34:51816const char kImportantSitesInCbdName[] =
817 "Important sites options in clear browsing data dialog";
818const char kImportantSitesInCbdDescription[] =
819 "Include the option to whitelist important sites in the clear browsing "
820 "data dialog.";
821
Claudio Magni61c210922017-12-28 00:29:51822const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
823const char kImprovedLanguageSettingsDescription[] =
824 "Set of changes for Language Settings. These changes are intended to fix "
825 "the major bugs related to Language Settings.";
826
Brett Wilsonecb80982017-07-12 20:34:51827const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
828const char kInProductHelpDemoModeChoiceDescription[] =
829 "Selects the In-Product Help demo mode.";
830
831const char kJavascriptHarmonyName[] = "Experimental JavaScript";
832const char kJavascriptHarmonyDescription[] =
833 "Enable web pages to use experimental JavaScript features.";
834
835const char kJavascriptHarmonyShippingName[] =
836 "Latest stable JavaScript features";
837const char kJavascriptHarmonyShippingDescription[] =
838 "Some web pages use legacy or non-standard JavaScript extensions that may "
839 "conflict with the latest JavaScript features. This flag allows disabling "
840 "support of those features for compatibility with such pages.";
841
Yutaka Hiranof7f2f632017-09-06 10:40:08842const char kKeepAliveRendererForKeepaliveRequestsName[] =
843 "Keep a renderer alive for keepalive fetch requests";
844const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
845 "Keep a render process alive when the process has a pending fetch request "
846 "with `keepalive' specified.";
847
Joe Downing095fd6d2018-02-01 18:40:36848const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
849const char kKeyboardLockApiDescription[] =
850 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
851 "specific key events and have them routed directly to the webpage when in "
852 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
853
Brett Wilsonecb80982017-07-12 20:34:51854const char kLcdTextName[] = "LCD text antialiasing";
855const char kLcdTextDescription[] =
856 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
857 "(subpixel) when doing accelerated compositing.";
858
Matt Giucac399982f2017-10-06 07:51:29859const char kLeftToRightUrlsName[] =
860 "Render bidirectional URLs from left to right";
861const char kLeftToRightUrlsDescription[] =
862 "An experimental Bidi URL rendering algorithm where the URL components are "
863 "always shown in order from left to right, regardless of any RTL "
864 "characters. (The contents of each component are still rendered with the "
865 "normal Bidi algorithm.)";
866
Brett Wilsonecb80982017-07-12 20:34:51867const char kLoadMediaRouterComponentExtensionName[] =
868 "Load Media Router Component Extension";
869const char kLoadMediaRouterComponentExtensionDescription[] =
870 "Loads the Media Router component extension at startup.";
871
Derek Chengd24c68c2018-03-12 19:09:32872const char kMediaRouterCastAllowAllIPsName[] =
873 "Connect to Cast devices on all IP addresses";
874const char kMediaRouterCastAllowAllIPsDescription[] =
875 "Have the Media Router connect to Cast devices on all IP addresses, not "
876 "just RFC1918/RFC4913 private addresses.";
877
Brett Wilsonecb80982017-07-12 20:34:51878const char kManualPasswordGenerationName[] = "Manual password generation.";
879const char kManualPasswordGenerationDescription[] =
880 "Show a 'Generate Password' option on the context menu for all password "
881 "fields.";
882
Dominic Battref27e8762017-08-23 11:16:25883const char kManualPasswordSavingName[] = "Manual password saving.";
884const char kManualPasswordSavingDescription[] =
885 "Show the password manager icon when typing into a password filed. "
886 "Clicking it allows to save the password without submitting the form.";
887
Brett Wilsonecb80982017-07-12 20:34:51888const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
889const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51890
Lei Zhang2eca9082017-10-17 20:42:50891const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
892const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51893 "If enabled, the Incognito New Tab page uses the new material design with "
894 "a better readable text.";
895
896const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
897const char kMediaRemotingDescription[] =
898 "When Casting a tab to a remote device, enabling this turns on an "
899 "optimization that forwards the content bitstream directly to the remote "
900 "device when a video is fullscreened.";
901
902const char kMemoryAblationName[] = "Memory ablation experiment";
903const char kMemoryAblationDescription[] =
904 "Allocates extra memory in the browser process.";
905
906const char kMemoryCoordinatorName[] = "Memory coordinator";
907const char kMemoryCoordinatorDescription[] =
908 "Enable memory coordinator instead of memory pressure listeners.";
909
910const char kMessageCenterNewStyleNotificationName[] = "New style notification";
911const char kMessageCenterNewStyleNotificationDescription[] =
912 "Enables the experiment style of material-design notification";
913
Brett Wilsonecb80982017-07-12 20:34:51914const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
915const char kMhtmlGeneratorOptionDescription[] =
916 "Provides experimental options for MHTML file generator.";
917const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
918const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
919
Kouhei Ueno08445c22017-09-05 03:58:30920const char kModuleScriptsDynamicImportName[] =
921 "Enable ECMAScript 6 modules dynamic import";
922const char kModuleScriptsDynamicImportDescription[] =
923 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
924 "Blink.";
925
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05926const char kModuleScriptsImportMetaUrlName[] =
927 "Enable ECMAScript 6 modules import.meta.url";
928const char kModuleScriptsImportMetaUrlDescription[] =
929 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
930 "Blink.";
931
Brett Wilsonecb80982017-07-12 20:34:51932const char kNewAudioRenderingMixingStrategyName[] =
933 "New audio rendering mixing strategy";
934const char kNewAudioRenderingMixingStrategyDescription[] =
935 "Use the new audio rendering mixing strategy.";
936
937const char kNewBookmarkAppsName[] = "The new bookmark app system";
938const char kNewBookmarkAppsDescription[] =
939 "Enables the new system for creating bookmark apps.";
940
Brett Wilsonecb80982017-07-12 20:34:51941const char kNewRemotePlaybackPipelineName[] =
942 "Enable the new remote playback pipeline.";
943const char kNewRemotePlaybackPipelineDescription[] =
944 "Enable the new pipeline for playing media element remotely via "
945 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50946const char kUseSurfaceLayerForVideoName[] =
947 "Enable the use of SurfaceLayer objects for videos.";
948const char kUseSurfaceLayerForVideoDescription[] =
949 "Enable compositing onto a Surface instead of a VideoLayer "
950 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51951
952const char kNewUsbBackendName[] = "Enable new USB backend";
953const char kNewUsbBackendDescription[] =
954 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34955
Sonny Sasaka2d200432018-03-22 17:43:16956const char kNewblueName[] = "Newblue";
957const char kNewblueDescription[] =
958 "Enables the use of newblue Bluetooth daemon.";
959
brettw5f9c1642017-05-14 17:12:48960const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34961const char kNostatePrefetchDescription[] =
962 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
963 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
964 R"*(improve load times even more. "Simple Load" does nothing and is )*"
965 R"*(similar to disabling the feature, but collects more metrics for )*"
966 R"*(comparison purposes.)*";
967
Brett Wilsonecb80982017-07-12 20:34:51968const char kNotificationsNativeFlagName[] = "Enable native notifications.";
969const char kNotificationsNativeFlagDescription[] =
970 "Enable support for using the native notification toasts and notification "
971 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34972
Zentaro Kavanaghbad511c2017-10-18 22:29:00973#if defined(OS_POSIX)
974const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
975const char kNtlmV2EnabledDescription[] =
976 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
977#endif
978
Brett Wilsonecb80982017-07-12 20:34:51979const char kNumRasterThreadsName[] = "Number of raster threads";
980const char kNumRasterThreadsDescription[] =
981 "Specify the number of raster threads.";
982const char kNumRasterThreadsOne[] = "1";
983const char kNumRasterThreadsTwo[] = "2";
984const char kNumRasterThreadsThree[] = "3";
985const char kNumRasterThreadsFour[] = "4";
986
987const char kOfferStoreUnmaskedWalletCardsName[] =
988 "Google Payments card saving checkbox";
989const char kOfferStoreUnmaskedWalletCardsDescription[] =
990 "Show the checkbox to offer local saving of a credit card downloaded from "
991 "the server.";
992
993const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
994const char kOfflineAutoReloadDescription[] =
995 "Pages that fail to load while the browser is offline will be "
996 "auto-reloaded when the browser is online again.";
997
998const char kOfflineAutoReloadVisibleOnlyName[] =
999 "Only Auto-Reload Visible Tabs";
1000const char kOfflineAutoReloadVisibleOnlyDescription[] =
1001 "Pages that fail to load while the browser is offline will only be "
1002 "auto-reloaded if their tab is visible.";
1003
Brett Wilsonecb80982017-07-12 20:34:511004const char kOmniboxDisplayTitleForCurrentUrlName[] =
1005 "Include title for the current URL in the omnibox";
1006const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1007 "In the event that the omnibox provides suggestions on-focus, the URL of "
1008 "the current page is provided as the first suggestion without a title. "
1009 "Enabling this flag causes the title to be displayed.";
1010
Benoit Lizeab08362c2017-07-19 14:50:541011const char kOmniboxSpareRendererName[] =
1012 "Start spare renderer on omnibox focus";
1013const char kOmniboxSpareRendererDescription[] =
1014 "When the omnibox is focused, start an empty spare renderer. This can "
1015 "speed up the load of the navigation from the omnibox.";
1016
Tommy C. Li8875a442017-08-23 00:10:591017const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1018 "Omnibox UI Elide Suggestion URL After Host";
1019const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1020 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1021 "dropdown.";
1022
Tommy C. Lid79d4402017-12-22 22:49:121023const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1024 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1025const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1026 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1027 "displayed URLs. Hidden portions are restored during editing.";
1028
Brett Wilsonecb80982017-07-12 20:34:511029const char kOmniboxUIMaxAutocompleteMatchesName[] =
1030 "Omnibox UI Max Autocomplete Matches";
1031
1032const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1033 "Changes the maximum number of autocomplete matches displayed in the "
1034 "Omnibox UI.";
1035
1036const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
1037const char kOmniboxUINarrowDropdownDescription[] =
1038 "Makes the suggestions dropdown width match the omnibox width.";
1039
Justin Donnelly65c9e8b2017-10-01 05:15:011040const char kOmniboxUIShowSuggestionFaviconsName[] =
1041 "Omnibox UI Show Suggestion Favicons";
1042const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1043 "Shows favicons instead of generic vector icons for URL suggestions in the "
1044 "Omnibox dropdown.";
1045
1046const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1047const char kOmniboxUISwapTitleAndUrlDescription[] =
1048 "In the omnibox dropdown, shows titles before URLs when both are "
1049 "available.";
1050
Brett Wilsonecb80982017-07-12 20:34:511051const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
1052const char kOmniboxUIVerticalLayoutDescription[] =
1053 "Displays Omnibox sugestions in 2 lines - title over origin.";
1054
1055const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1056const char kOmniboxUIVerticalMarginDescription[] =
1057 "Changes the vertical margin in the Omnibox UI.";
1058
Troy Hildebrandtb32637ca2018-02-21 23:25:091059const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1060 "Omnibox Voice Search Always Visible";
1061const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1062 "Always displays voice search icon in focused omnibox as long as voice "
1063 "search is possible";
1064
Brett Wilsonecb80982017-07-12 20:34:511065const char kOriginTrialsName[] = "Origin Trials";
1066const char kOriginTrialsDescription[] =
1067 "Enables origin trials for controlling access to feature/API experiments.";
1068
Becca Hughes930d8cd2017-10-02 11:09:121069const char kOverflowIconsForMediaControlsName[] =
1070 "Icons on Media Controls Overflow Menu";
1071const char kOverflowIconsForMediaControlsDescription[] =
1072 "Displays icons on the overflow menu of the native media controls";
1073
Brett Wilsonecb80982017-07-12 20:34:511074const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1075const char kOverlayScrollbarsDescription[] =
1076 "Enable the experimental overlay scrollbars implementation. You must also "
1077 "enable threaded compositing to have the scrollbars animate.";
1078
chaopenge8aa016b2017-08-24 15:20:191079const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1080 "Flash Overlay Scrollbars After Any Scroll Update";
1081const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1082 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1083 " must also enable Overlay Scrollbars.";
1084
chaopeng343678022017-08-24 18:45:001085const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1086 "Flash Overlay Scrollbars When Mouse Enter";
1087const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1088 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1089 " enable Overlay Scrollbars.";
1090
Claudio Magni81326f92017-09-01 05:21:181091const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1092const char kUseNewAcceptLanguageHeaderDescription[] =
1093 "Adds the base language code after other corresponding language+region "
1094 "codes. This ensures that users receive content in their preferred "
1095 "language.";
1096
Brett Wilsonecb80982017-07-12 20:34:511097const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1098const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481099 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511100const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481101const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511102
1103const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1104const char kOverscrollStartThresholdDescription[] =
1105 "Changes overscroll start threshold relative to the default value.";
1106const char kOverscrollStartThreshold133Percent[] = "133%";
1107const char kOverscrollStartThreshold166Percent[] = "166%";
1108const char kOverscrollStartThreshold200Percent[] = "200%";
1109
Xing Liu5400a002017-09-15 21:48:291110const char kParallelDownloadingName[] = "Parallel downloading";
1111const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061112 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291113
Brett Wilsonecb80982017-07-12 20:34:511114const char kPassiveEventListenerDefaultName[] =
1115 "Passive Event Listener Override";
1116const char kPassiveEventListenerDefaultDescription[] =
1117 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1118 "haven't requested otherwise) to be treated as passive. This will break "
1119 "touch/wheel behavior on some websites but is useful for demonstrating the "
1120 "potential performance benefits of adopting passive event listeners.";
1121const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1122const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1123
1124const char kPassiveEventListenersDueToFlingName[] =
1125 "Touch Event Listeners Passive Default During Fling";
1126const char kPassiveEventListenersDueToFlingDescription[] =
1127 "Forces touchstart, and first touchmove per scroll event listeners during "
1128 "fling to be treated as passive.";
1129
1130const char kPassiveDocumentEventListenersName[] =
1131 "Document Level Event Listeners Passive Default";
1132const char kPassiveDocumentEventListenersDescription[] =
1133 "Forces touchstart, and touchmove event listeners on document level "
1134 "targets (which haven't requested otherwise) to be treated as passive.";
1135
1136const char kPasswordForceSavingName[] = "Force-saving of passwords";
1137const char kPasswordForceSavingDescription[] =
1138 "Allow the user to manually enforce password saving instead of relying on "
1139 "password manager's heuristics.";
1140
1141const char kPasswordGenerationName[] = "Password generation";
1142const char kPasswordGenerationDescription[] =
1143 "Allow the user to have Chrome generate passwords when it detects account "
1144 "creation pages.";
1145
Vaclav Brozekd8a3f542017-11-16 14:21:131146const char kPasswordExportName[] = "Password export";
1147const char kPasswordExportDescription[] =
1148 "Export functionality in password settings.";
1149
1150const char kPasswordImportName[] = "Password import";
1151const char kPasswordImportDescription[] =
1152 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511153
Friedrich Horschig03c91982018-01-25 14:21:281154const char kPasswordSearchMobileName[] = "Password search";
1155const char kPasswordSearchMobileDescription[] =
1156 "Search functionality in password settings.";
1157
Tom Sepez92a2cd242018-03-13 19:23:091158const char kPdfIsolationName[] = "PDF Isolation";
1159const char kPdfIsolationDescription[] =
1160 "Render PDF files from different origins in different plugin processes.";
1161
Brett Wilsonecb80982017-07-12 20:34:511162const char kPinchScaleName[] = "Pinch scale";
1163const char kPinchScaleDescription[] =
1164 "Enables experimental support for scale using pinch.";
1165
Doug Arnett620ff542018-02-06 17:54:221166const char kPreviewsAllowedName[] = "Previews Allowed";
1167const char kPreviewsAllowedDescription[] =
1168 "Allows previews to be shown subject to specific preview types being "
1169 "enabled and the client experiencing specific triggering conditions. "
1170 "May be used as a kill-switch to turn off all potential preview types.";
1171
Brett Wilsonecb80982017-07-12 20:34:511172const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1173const char kPrintPdfAsImageDescription[] =
1174 "If enabled, an option to print PDF files as images will be available in "
1175 "print preview.";
1176
1177const char kPrintPreviewRegisterPromosName[] =
1178 "Print Preview Registration Promos";
1179const char kPrintPreviewRegisterPromosDescription[] =
1180 "Enable registering unregistered cloud printers from print preview.";
1181
1182const char kProtectSyncCredentialName[] = "Autofill sync credential";
1183const char kProtectSyncCredentialDescription[] =
1184 "How the password manager handles autofill for the sync credential.";
1185
1186const char kProtectSyncCredentialOnReauthName[] =
1187 "Autofill sync credential only for transactional reauth pages";
1188const char kProtectSyncCredentialOnReauthDescription[] =
1189 "How the password manager handles autofill for the sync credential only "
1190 "for transactional reauth pages.";
1191
Mohsen Izadi93faac12017-07-29 04:45:151192const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1193const char kPullToRefreshDescription[] =
1194 "Pull-to-refresh gesture in response to vertical overscroll.";
1195
Brett Wilsonecb80982017-07-12 20:34:511196const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1197const char kPushApiBackgroundModeDescription[] =
1198 "Enable background mode for the Push API. This allows Chrome to continue "
1199 "running after the last window is closed, and to launch at OS startup, if "
1200 "the Push API needs it.";
1201
Troy Hildebrandt7228ad12018-02-23 21:18:241202const char kQueryInOmniboxName[] = "Query in Omnibox";
1203const char kQueryInOmniboxDescription[] =
1204 "Only display query terms in the omnibox when viewing a search results "
1205 "page.";
1206
Brett Wilsonecb80982017-07-12 20:34:511207const char kQuicName[] = "Experimental QUIC protocol";
1208const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1209
1210const char kReducedReferrerGranularityName[] =
1211 "Reduce default 'referer' header granularity.";
1212const char kReducedReferrerGranularityDescription[] =
1213 "If a page hasn't set an explicit referrer policy, setting this flag will "
1214 "reduce the amount of information in the 'referer' header for cross-origin "
1215 "requests.";
1216
Claudio Magnie0a80bb2018-01-31 02:52:581217extern const char kRegionalLocalesAsDisplayUIName[] =
1218 "Allow regional locales as display UI";
1219extern const char kRegionalLocalesAsDisplayUIDescription[] =
1220 "This flag allows regional locales to be selected as display UI by the "
1221 "user in Language Settings. The actual locale of the system is derived "
1222 "from the user selection based on some simple fallback logic.";
1223
Christian Dullweber1af31e62018-02-22 11:49:481224const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141225 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481226const char kRemoveNavigationHistoryDescription[] =
1227 "Remove a navigation entry when the corresponding history entry has been "
1228 "deleted.";
1229
Mihai Sardarescu6d0f5b72017-10-30 11:24:381230const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1231 "Remove usage of the deprecated GAIA sign-in endpoint";
1232const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1233 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1234 "This flags controls wheter it should no longer be used during a sign-in "
1235 " flow.";
1236
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351237const char kRendererSideResourceSchedulerName[] =
1238 "Renderer side ResourceScheduler";
1239const char kRendererSideResourceSchedulerDescription[] =
1240 "Migrate some ResourceScheduler functionalities to renderer";
1241
Brett Wilsonecb80982017-07-12 20:34:511242const char kRequestTabletSiteName[] =
1243 "Request tablet site option in the settings menu";
1244const char kRequestTabletSiteDescription[] =
1245 "Allows the user to request tablet site. Web content is often optimized "
1246 "for tablet devices. When this option is selected the user agent string is "
1247 "changed to indicate a tablet device. Web content optimized for tablets is "
1248 "received there after for the current tab.";
1249
1250const char kResetAppListInstallStateName[] =
1251 "Reset the App Launcher install state on every restart.";
1252const char kResetAppListInstallStateDescription[] =
1253 "Reset the App Launcher install state on every restart. While this flag is "
1254 "set, Chrome will forget the launcher has been installed each time it "
1255 "starts. This is used for testing the App Launcher install flow.";
1256
1257const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1258const char kResourceLoadSchedulerDescription[] =
1259 "Uses the resource load scheduler in blink to schedule and throttle "
1260 "resource load requests.";
1261
Brett Wilsonecb80982017-07-12 20:34:511262const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1263const char kSafeSearchUrlReportingDescription[] =
1264 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1265
Alexei Filippov98772752018-01-27 08:26:521266const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1267const char kSamplingHeapProfilerDescription[] =
1268 "Enables native memory sampling profiler with specified rate in KiB. "
1269 "If sampling rate is not provided the default value of 128 KiB is used.";
1270
Brett Wilsonecb80982017-07-12 20:34:511271const char kSaveasMenuLabelExperimentName[] =
1272 "Switch 'Save as' menu labels to 'Download'";
1273const char kSaveasMenuLabelExperimentDescription[] =
1274 "Enables an experiment to switch menu labels that use 'Save as...' to "
1275 "'Download'.";
1276
1277const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1278const char kSavePageAsMhtmlDescription[] =
1279 "Enables saving pages as MHTML: a single text file containing HTML and all "
1280 "sub-resources.";
1281
Nate Chapin9638e7102017-09-20 22:11:011282const char kSavePreviousDocumentResourcesName[] =
1283 "Save Previous Document Resources";
1284const char kSavePreviousDocumentResourcesDescription[] =
1285 "Saves an old document's cached resources until the specified point in the "
1286 "next document's lifecycle.";
1287const char kSavePreviousDocumentResourcesNever[] =
1288 "Don't explicitly save resources";
1289const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1290 "Save resources until onDOMContentLoaded completes";
1291const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1292 "Save resources until onload completes";
1293
Brett Wilsonecb80982017-07-12 20:34:511294const char kScrollPredictionName[] = "Scroll prediction";
1295const char kScrollPredictionDescription[] =
1296 "Predicts the finger's future position during scrolls allowing time to "
1297 "render the frame before the finger is there.";
1298
1299const char kSecondaryUiMd[] =
1300 "Material Design in the rest of the browser's native UI";
1301const char kSecondaryUiMdDescription[] =
1302 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1303 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1304 "browser dialogs.";
1305
1306const char kServiceWorkerNavigationPreloadName[] =
1307 "Service worker navigation preload.";
1308const char kServiceWorkerNavigationPreloadDescription[] =
1309 "Enable web pages to use the experimental service worker navigation "
1310 "preload API.";
1311
gogeraldd5061b592017-09-06 23:39:551312const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1313const char kServiceWorkerPaymentAppsDescription[] =
1314 "Enable Service Worker applications to integrate as payment apps";
1315
Makoto Shimazu22078cc2018-02-21 03:01:441316extern const char kServiceWorkerServicificationName[] =
1317 "Servicified service workers";
1318extern const char kServiceWorkerServicificationDescription[] =
1319 "Enable the servicified service workers. A servicified service worker can "
1320 "have direct connection from its clients, so that fetch events can be "
1321 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171322
Tsuyoshi Horobcb1c642017-11-24 16:32:141323const char kServiceWorkerScriptFullCodeCacheName[] =
1324 "Service worker script full code cache.";
1325const char kServiceWorkerScriptFullCodeCacheDescription[] =
1326 "Generate V8 full code cache of Service Worker scripts while installing.";
1327
Brett Wilsonecb80982017-07-12 20:34:511328const char kSettingsWindowName[] = "Show settings in a window";
1329const char kSettingsWindowDescription[] =
1330 "Settings will be shown in a dedicated window instead of as a browser tab.";
1331
Trent Apted750ba7022017-10-23 13:36:251332const char kShowAllDialogsWithViewsToolkitName[] =
1333 "Show all dialogs with Views toolkit";
1334const char kShowAllDialogsWithViewsToolkitDescription[] =
1335 "All browser dialogs will be shown using the Views toolkit rather than "
1336 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1337
Brett Wilsonecb80982017-07-12 20:34:511338const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1339const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381340 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1341 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511342
1343const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1344const char kShowAutofillTypePredictionsDescription[] =
1345 "Annotates web forms with Autofill field type predictions as placeholder "
1346 "text.";
1347
1348const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1349const char kShowOverdrawFeedbackDescription[] =
1350 "Visualize overdraw by color-coding elements based on if they have other "
1351 "elements drawn underneath.";
1352
yiyixbdfa9a0b2017-10-23 22:21:471353const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1354const char kEnableDrawOcclusionDescription[] =
1355 "Enable the system to use draw occlusion to skip draw quads when they are "
1356 "not shown on the screen.";
1357
Brett Wilsonecb80982017-07-12 20:34:511358const char kShowSavedCopyName[] = "Show Saved Copy Button";
1359const char kShowSavedCopyDescription[] =
1360 "When a page fails to load, if a stale copy of the page exists in the "
1361 "browser cache, a button will be presented to allow the user to load that "
1362 "stale copy. The primary enabling choice puts the button in the most "
1363 "salient position on the error page; the secondary enabling choice puts it "
1364 "secondary to the reload button.";
1365const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1366const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1367const char kDisableShowSavedCopy[] = "Disable";
1368
Brett Wilsonecb80982017-07-12 20:34:511369const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1370const char kSilentDebuggerExtensionApiDescription[] =
1371 "Do not show the infobar when an extension attaches to a page via "
1372 "chrome.debugger API. This is required to debug extension background "
1373 "pages.";
1374
Tsuyoshi Horo53895ba92018-03-14 04:06:481375const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1376const char kSignedHTTPExchangeDescription[] =
1377 "Enables Origin-Signed HTTP Exchanges support which is still in "
1378 "development. Warning: Enabling this may pose a security risk.";
1379
Brett Wilsonecb80982017-07-12 20:34:511380const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1381const char kSimpleCacheBackendDescription[] =
1382 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1383 "disk space allocation.";
1384
1385const char kSimplifiedFullscreenUiName[] =
1386 "Simplified full screen / mouse lock UI.";
1387const char kSimplifiedFullscreenUiDescription[] =
1388 "A simplified new user experience when entering page-triggered full screen "
1389 "or mouse pointer lock states.";
1390
Christopher Thompson75ff845d2018-02-01 20:12:461391const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1392const char kSimplifyHttpsIndicatorDescription[] =
1393 "Change the UI treatment for HTTPS pages.";
1394
Brett Wilsonecb80982017-07-12 20:34:511395const char kSingleClickAutofillName[] = "Single-click autofill";
1396const char kSingleClickAutofillDescription[] =
1397 "Make autofill suggestions on initial mouse click on a form element.";
1398
Nick Carter855bc492018-03-10 00:44:571399const char kStrictSiteIsolationName[] = "Strict site isolation";
1400const char kStrictSiteIsolationDescription[] =
1401 "Security mode that enables site isolation for all sites. When enabled, "
1402 "each renderer process will contain pages from at most one site, using "
1403 "out-of-process iframes when needed. When enabled, this flag forces the "
1404 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1405 "isolation mode will be determined by enterprise policy or field trial.";
1406
1407const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1408const char kSiteIsolationTrialOptOutDescription[] =
1409 "Opts out of field trials that enable site isolation modes "
1410 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1411 "may be due to out-of-process iframes. Opt-out has no effect if site "
1412 "isolation is force-enabled via #enable-site-per-process or enterprise "
1413 "policy. Caution: this disables important mitigations for the Spectre CPU "
1414 "vulnerability affecting most computers.";
1415extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1416extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1417 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511418
1419const char kSiteSettings[] = "Site settings with All sites and Site details";
1420const char kSiteSettingsDescription[] =
1421 "Adds new ways of viewing Site settings.";
1422
Brett Wilsonecb80982017-07-12 20:34:511423const char kSmoothScrollingName[] = "Smooth Scrolling";
1424const char kSmoothScrollingDescription[] =
1425 "Animate smoothly when scrolling page content.";
1426
1427const char kSoftwareRasterizerName[] = "3D software rasterizer";
1428const char kSoftwareRasterizerDescription[] =
1429 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1430
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201431const char kSoleIntegrationName[] = "Sole integration";
1432const char kSoleIntegrationDescription[] =
1433 "Enable Sole integration for browser customization. You must restart "
1434 "the browser twice for changes to take effect.";
1435
Tommy Steimel77704be2017-08-28 22:14:401436const char kSoundContentSettingName[] = "Sound content setting";
1437const char kSoundContentSettingDescription[] =
1438 "Enable site-wide muting in content settings and tab strip context menu.";
1439
Alexandr Ilinf0500ed32017-09-27 21:12:361440const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1441const char kSpeculativePreconnectDescription[] =
1442 "Enable the new implementation of preconnect and DNS preresolve. "
1443 "\"Learning\" means that only database construction is enabled, "
1444 "\"Preconnect\" enables both learning and preconnect and disables the "
1445 "existing implementation. \"No preconnect\" disables both implementations.";
1446
Brett Wilsonecb80982017-07-12 20:34:511447const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341448const char kSpeculativePrefetchDescription[] =
1449 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1450 R"*(load times, based on a local database (see chrome://predictors). )*"
1451 R"*("Learning" means that only the database construction is enabled, )*"
1452 R"*("Prefetching" that learning and prefetching are enabled.)*";
1453
Justin Donnelly4e448cb2017-07-07 21:32:131454const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1455 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131456const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1457 "If enabled, when the user enters text in the omnibox that looks like a "
1458 "a query, any service worker associated with the search engine the query "
1459 "will be sent to is started early.";
1460
Brett Wilsonecb80982017-07-12 20:34:511461const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1462const char kSpellingFeedbackFieldTrialDescription[] =
1463 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401464
Shubhie Panickerfaf082ed2018-01-03 04:49:151465const char kStopInBackgroundName[] = "Stop in background";
1466const char kStopInBackgroundDescription[] =
1467 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281468 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151469
1470const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1471const char kStopLoadingInBackgroundDescription[] =
1472 "Stop loading tasks and loading "
1473 "resources, in the background, after certain grace time.";
1474
Shubhie Panicker56c99a22018-03-21 00:22:281475const char kStopNonTimersInBackgroundName[] =
1476 "Stop non-timer task queues background";
1477const char kStopNonTimersInBackgroundDescription[] =
1478 "Stop non-timer task queues, in the background, "
1479 "after a grace period.";
1480
Brett Wilsonecb80982017-07-12 20:34:511481const char kSuggestionsWithSubStringMatchName[] =
1482 "Substring matching for Autofill suggestions";
1483const char kSuggestionsWithSubStringMatchDescription[] =
1484 "Match Autofill suggestions based on substrings (token prefixes) rather "
1485 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341486
Brett Wilsonecb80982017-07-12 20:34:511487const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1488const char kSyncSandboxDescription[] =
1489 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341490
Brett Wilsonecb80982017-07-12 20:34:511491const char kTabAudioMutingName[] = "Tab audio muting UI control";
1492const char kTabAudioMutingDescription[] =
1493 "When enabled, the audio indicators in the tab strip double as tab audio "
1494 "mute controls. This also adds commands in the tab context menu for "
1495 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341496
Christian Dullweberd0d96f02017-09-13 09:22:511497const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1498const char kTabsInCbdDescription[] =
1499 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1500
Becky Zhou99c22802017-10-19 05:09:271501const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1502const char kTabModalJsDialogDescription[] =
1503 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1504 " tab.";
1505
Brett Wilsonecb80982017-07-12 20:34:511506const char kTcpFastOpenName[] = "TCP Fast Open";
1507const char kTcpFastOpenDescription[] =
1508 "Enable the option to send extra authentication information in the initial "
1509 "SYN packet for a previously connected client, allowing faster data send "
1510 "start.";
vabr0215a8e2017-03-28 12:47:341511
Daniele Castagna0fead93e2018-01-10 20:40:291512const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1513const char kTintGlCompositedContentDescription[] =
1514 "Tint contents composited using GL with a shade of red to help debug and "
1515 "study overlay support.";
1516
Brett Wilsonecb80982017-07-12 20:34:511517const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1518const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581519 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401520 "touch) - middle point for devices with a touch screen, 3) Touchable "
1521 "- new unified interface for touch and convertibles (Chrome OS) and 4) "
1522 "Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511523const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531524const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461525const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581526const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401527const char kTopChromeMdMaterialRefresh[] = "Refresh";
vabr0215a8e2017-03-28 12:47:341528
Brett Wilsonecb80982017-07-12 20:34:511529const char kThreadedScrollingName[] = "Threaded scrolling";
1530const char kThreadedScrollingDescription[] =
1531 "Threaded handling of scroll-related input events. Disabling this will "
1532 "force all such scroll events to be handled on the main thread. Note that "
1533 "this can dramatically hurt scrolling performance of most websites and is "
1534 "intended for testing purposes only.";
1535
Steven Valdez4584b2482017-07-14 01:11:571536const char kTLS13VariantName[] = "TLS 1.3";
1537const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1538const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111539const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041540const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdez4584b2482017-07-14 01:11:571541
Brett Wilsonecb80982017-07-12 20:34:511542const char kTopDocumentIsolationName[] = "Top document isolation";
1543const char kTopDocumentIsolationDescription[] =
1544 "Highly experimental performance mode where cross-site iframes are kept in "
1545 "a separate process from the top document. In this mode, iframes from "
1546 "different third-party sites will be allowed to share a process.";
1547
Dominick Ng8896b1cd2017-10-17 23:24:361548const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1549const char kTopSitesFromSiteEngagementDescription[] =
1550 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1551 "engagement.";
1552
Brett Wilsonecb80982017-07-12 20:34:511553const char kTouchAdjustmentName[] = "Touch adjustment";
1554const char kTouchAdjustmentDescription[] =
1555 "Refine the position of a touch gesture in order to compensate for touches "
1556 "having poor resolution compared to a mouse.";
1557
1558const char kTouchDragDropName[] = "Touch initiated drag and drop";
1559const char kTouchDragDropDescription[] =
1560 "Touch drag and drop can be initiated through long press on a draggable "
1561 "element.";
1562
1563const char kTouchEventsName[] = "Touch Events API";
1564const char kTouchEventsDescription[] =
1565 "Force Touch Events API feature detection to always be enabled or "
1566 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291567 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511568
1569const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1570const char kTouchSelectionStrategyDescription[] =
1571 "Controls how text selection granularity changes when touch text selection "
1572 "handles are dragged. Non-default behavior is experimental.";
1573const char kTouchSelectionStrategyCharacter[] = "Character";
1574const char kTouchSelectionStrategyDirection[] = "Direction";
1575
1576const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1577const char kTraceUploadUrlDescription[] =
1578 "This is to be used in conjunction with the enable-navigation-tracing "
1579 "flag. Please select the label that best describes the recorded traces. "
1580 "This will choose the destination the traces are uploaded to. If you are "
1581 "not sure, select other. If left empty, no traces will be uploaded.";
1582const char kTraceUploadUrlChoiceOther[] = "Other";
1583const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1584const char kTraceUploadUrlChoiceQa[] = "QA";
1585const char kTraceUploadUrlChoiceTesting[] = "Testing";
1586
Philippe Hamel7fdaa452017-09-29 17:22:491587const char kTranslateRankerEnforcementName[] =
1588 "Enforce TranslateRanker decisions";
1589const char kTranslateRankerEnforcementDescription[] =
1590 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1591 "or not Translate UI should be triggered in a given context.";
1592
Brett Wilsonecb80982017-07-12 20:34:511593const char kTrySupportedChannelLayoutsName[] =
1594 "Causes audio output streams to check if channel layouts other than the "
1595 "default hardware layout are available.";
1596const char kTrySupportedChannelLayoutsDescription[] =
1597 "Causes audio output streams to check if channel layouts other than the "
1598 "default hardware layout are available. Turning this on will allow the OS "
1599 "to do stereo to surround expansion if supported. May expose third party "
1600 "driver bugs, use with caution.";
1601
David Roger6762a092018-01-31 15:55:071602const char kUnifiedConsentName[] = "Unified Consent";
1603const char kUnifiedConsentDescription[] =
1604 "Enables a unified management of user consent for privacy-related "
1605 "features. This includes new confirmation screens and improved settings "
1606 "pages.";
1607
Brett Wilsonecb80982017-07-12 20:34:511608const char kUiPartialSwapName[] = "Partial swap";
1609const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1610
Chris Pickel3a227ae62017-08-24 10:47:261611const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1612const char kUseDdljsonApiDescription[] =
1613 "Enables the new ddljson API to fetch Doodles for the NTP.";
1614
Becca Hughes59c05b42017-11-03 13:11:581615const char kUseModernMediaControlsName[] = "New Media Controls";
1616const char kUseModernMediaControlsDescription[] =
1617 "Enables the new style native media controls.";
1618
Wei Li790e7a8572018-03-23 01:31:551619const char kUsePdfCompositorServiceName[] =
1620 "Use PDF compositor service for printing";
1621const char kUsePdfCompositorServiceDescription[] =
1622 "When enabled, use PDF compositor service to composite and generate PDF "
1623 "files for printing. When site isolation is enabled, disabling this will "
1624 "not stop using PDF compositor service since the service is required for "
1625 "printing out-of-process iframes correctly.";
1626
Mustaq Ahmedc646c0a2017-10-20 20:08:301627const char kUserActivationV2Name[] = "User Activation v2";
1628const char kUserActivationV2Description[] =
1629 "Enable simple user activation for APIs that are otherwise controlled by "
1630 "user gesture tokens.";
1631
Brett Wilsonecb80982017-07-12 20:34:511632const char kUserConsentForExtensionScriptsName[] =
1633 "User consent for extension scripts";
1634const char kUserConsentForExtensionScriptsDescription[] =
1635 "Require user consent for an extension running a script on the page, if "
1636 "the extension requested permission to run on all urls.";
1637
1638const char kUseSuggestionsEvenIfFewFeatureName[] =
1639 "Disable minimum for server-side tile suggestions on NTP.";
1640const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1641 "Request server-side suggestions even if there are only very few of them "
1642 "and use them for tiles on the New Tab Page.";
1643
1644const char kV8CacheOptionsName[] = "V8 caching mode.";
1645const char kV8CacheOptionsDescription[] =
1646 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511647const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1648
Hitoshi Yoshida3e5db562017-09-11 02:31:081649const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1650const char kV8ContextSnapshotDescription[] =
1651 "Sets to use a snapshot to create V8 contexts in frame creation.";
1652
Michael Hablich896d52662017-10-23 15:59:571653const char kV8VmFutureName[] = "Future V8 VM features";
1654const char kV8VmFutureDescription[] =
1655 "This enables upcoming and experimental V8 VM features. "
1656 "This flag does not enable experimental JavaScript features.";
1657
Brett Wilsonecb80982017-07-12 20:34:511658const char kVideoFullscreenOrientationLockName[] =
1659 "Lock screen orientation when playing a video fullscreen.";
1660const char kVideoFullscreenOrientationLockDescription[] =
1661 "Lock the screen orientation of the device to match video orientation when "
1662 "a video goes fullscreen. Only on phones.";
1663
1664const char kVideoRotateToFullscreenName[] =
1665 "Rotate-to-fullscreen gesture for videos.";
1666const char kVideoRotateToFullscreenDescription[] =
1667 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1668 "the video. Only on phones.";
1669
Elly Fong-Jonesf4c79502018-03-23 19:21:531670const char kViewsBrowserWindowsName[] =
1671 "Use Views browser windows instead of Cocoa.";
1672const char kViewsBrowserWindowsDescription[] =
1673 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1674
Brett Wilsonecb80982017-07-12 20:34:511675const char kWalletServiceUseSandboxName[] =
1676 "Use Google Payments sandbox servers";
1677const char kWalletServiceUseSandboxDescription[] =
1678 "For developers: use the sandbox service for Google Payments API calls.";
1679
Brett Wilsonecb80982017-07-12 20:34:511680const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1681const char kWebglDraftExtensionsDescription[] =
1682 "Enabling this option allows web applications to access the WebGL "
1683 "Extensions that are still in draft status.";
1684
1685const char kWebMidiName[] = "Web MIDI API";
1686const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1687
1688const char kWebPaymentsName[] = "Web Payments";
1689const char kWebPaymentsDescription[] =
1690 "Enable Web Payments API integration, a JavaScript API for merchants.";
1691
Mathieu Perreault51339b82017-07-20 17:06:051692const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1693const char kWebPaymentsModifiersDescription[] =
1694 "If the website provides modifiers in the payment request, show the custom "
1695 "total for each payment instrument, update the shopping cart when "
1696 "instruments are switched, and send modified payment method specific data "
1697 "to the payment app.";
1698
Brett Wilsonecb80982017-07-12 20:34:511699const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1700const char kWebrtcEchoCanceller3Description[] =
1701 "Experimental WebRTC echo canceller (AEC3).";
1702
1703const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1704const char kWebrtcHwDecodingDescription[] =
1705 "Support in WebRTC for decoding video streams using platform hardware.";
1706
1707const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1708const char kWebrtcHwEncodingDescription[] =
1709 "Support in WebRTC for encoding video streams using platform hardware.";
1710
1711const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1712const char kWebrtcHwH264EncodingDescription[] =
1713 "Support in WebRTC for encoding h264 video streams using platform "
1714 "hardware.";
1715
1716const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1717const char kWebrtcHwVP8EncodingDescription[] =
1718 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1719
Niels Möller090866a2018-02-13 10:55:031720const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1721 "WebRTC new encode cpu load estimator";
1722const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1723 "Enable new estimator for the encoder cpu load, for evaluation and "
1724 "testing. Intended to improve accuracy when screen casting.";
1725
Brett Wilsonecb80982017-07-12 20:34:511726const char kWebrtcSrtpAesGcmName[] =
1727 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1728const char kWebrtcSrtpAesGcmDescription[] =
1729 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1730
Joachim Bauch4a41d7512017-08-23 14:24:231731const char kWebrtcSrtpEncryptedHeadersName[] =
1732 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1733const char kWebrtcSrtpEncryptedHeadersDescription[] =
1734 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1735 "for SRTP.";
1736
Brett Wilsonecb80982017-07-12 20:34:511737const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1738const char kWebrtcStunOriginDescription[] =
1739 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1740 "header.";
1741
1742const char kWebvrName[] = "WebVR";
1743const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051744 "Allow web applications to access experimental "
Brandon Jonese9d9b2b2017-12-11 22:20:111745 "Virtual Reality functionality via the WebVR 1.1 API. This feature will "
1746 "eventually be replaced by the WebXR Device API. Warning: Enabling this "
1747 "will also allow WebVR content on insecure origins to access these "
1748 "powerful APIs, and may pose a security risk.";
Brett Wilsonecb80982017-07-12 20:34:511749
Brandon Jonese9d9b2b2017-12-11 22:20:111750const char kWebXrName[] = "WebXR Device API";
1751const char kWebXrDescription[] =
1752 "Allow web applications to access experimental APIs to interact with "
1753 "Virtual Reality (VR) and Augmented Reality (AR) devices.";
1754
Anna Maria57ecf7592018-01-12 03:10:401755const char kWebXrOrientationSensorDeviceName[] =
1756 "WebXR orientation sensor device";
1757const char kWebXrOrientationSensorDeviceDescription[] =
1758 "When no VR platform device is available, expose a non-presenting device "
1759 "based on the device's orientation sensors, if available.";
1760
Brett Wilsonecb80982017-07-12 20:34:511761const char kWifiCredentialSyncName[] = "WiFi credential sync";
1762const char kWifiCredentialSyncDescription[] =
1763 "Enables synchronizing WiFi network settings across devices. When enabled, "
1764 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1765 "credentials are synchronized subject to user preferences. (See also, "
1766 "chrome://settings/syncSetup.)";
1767
1768const char kZeroCopyName[] = "Zero-copy rasterizer";
1769const char kZeroCopyDescription[] =
1770 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341771
Brett Wilsonff596952017-07-14 01:06:551772// Android ---------------------------------------------------------------------
1773
1774#if defined(OS_ANDROID)
1775
1776const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1777const char kAiaFetchingDescription[] =
1778 "Enable intermediate certificate fetching when a server does not provide "
1779 "sufficient certificates to build a chain to a trusted root.";
1780
1781const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1782const char kAccessibilityTabSwitcherDescription[] =
1783 "Enable the accessibility tab switcher for Android.";
1784
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251785const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1786const char kAllowReaderForAccessibilityDescription[] =
1787 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1788
Brett Wilsonff596952017-07-14 01:06:551789const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1790const char kAndroidAutofillAccessibilityDescription[] =
1791 "Enable accessibility for autofill popup.";
1792
1793const char kAndroidPaymentAppsName[] = "Android payment apps";
1794const char kAndroidPaymentAppsDescription[] =
1795 "Enable third party Android apps to integrate as payment apps";
1796
Miriam Gershenson8cf1397222018-01-23 22:48:291797const char kAsyncDnsName[] = "Async DNS resolver";
1798const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1799
Brett Wilsonff596952017-07-14 01:06:551800const char kAutofillAccessoryViewName[] =
1801 "Autofill suggestions as keyboard accessory view";
1802const char kAutofillAccessoryViewDescription[] =
1803 "Shows Autofill suggestions on top of the keyboard rather than in a "
1804 "dropdown.";
1805
1806const char kBackgroundLoaderForDownloadsName[] =
1807 "Enables background downloading of pages.";
1808const char kBackgroundLoaderForDownloadsDescription[] =
1809 "Enables downloading pages in the background in case page is not yet "
1810 "loaded in current tab.";
1811
Matthew Jones6c1f5e22018-02-06 18:19:531812const char kChromeDuplexName[] = "Chrome Duplex";
1813const char kChromeDuplexDescription[] =
1814 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051815
Daniel Park825a16f32017-12-08 00:44:261816const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1817const char kChromeHomeEnableSurveyDescription[] =
1818 "If enabled, the survey process will allow surveys using sample "
1819 "parameters.";
1820
Theresa Wellingtonb9243b22017-12-01 16:23:051821const char kChromeHomeInactivitySheetExpansionName[] =
1822 "Expansion of Chrome Home bottom sheet on startup";
1823const char kChromeHomeInactivitySheetExpansionDescription[] =
1824 "Expand bottom sheet on startup in Chrome Home after a period of"
1825 " inactivity.";
1826
Matthew Joneseab91aa2017-12-19 16:12:421827const char kChromeHomeMenuItemsName[] =
1828 "Show bookmarks, downloads, and history menu items in Chrome Home";
1829const char kChromeHomeMenuItemsDescription[] =
1830 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1831 " when Chrome Home is enabled. These items will open the bottom sheet to"
1832 " show the desired content.";
1833
Theresa Wellingtonc4cff8a12017-11-28 04:13:181834const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1835const char kChromeHomePersistentIphDescription[] =
1836 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1837 "toolbar or a timer expires.";
1838
Theresa Wellington13977c832017-12-13 16:59:111839const char kChromeHomePullToRefreshIphAtTopName[] =
1840 "Chrome Home Pull-To-Refresh Iph At Top";
1841const char kChromeHomePullToRefreshIphAtTopDescription[] =
1842 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1843
Brett Wilsonff596952017-07-14 01:06:551844const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1845const char kChromeHomeSwipeLogicDescription[] =
1846 "Various swipe logic options for Chrome Home for sheet expansion.";
1847const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151848const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551849
Matthew Jones5b7f1d62018-01-23 00:37:251850const char kChromeModernDesignName[] = "Chrome Modern Design";
1851const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451852 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1853 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251854
Megan Jablonskic61eb1b82017-10-02 18:03:061855const char kChromeMemexName[] = "Chrome Memex";
1856const char kChromeMemexDescription[] =
1857 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1858 "Googlers.";
1859
Sarath Singapati83aef1c2017-11-16 15:54:521860const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1861const char kClearOldBrowsingDataDescription[] =
1862 "Enables clearing of browsing data which is older than a given time "
1863 "period.";
1864
Brett Wilsonff596952017-07-14 01:06:551865const char kContentSuggestionsCategoryOrderName[] =
1866 "Default content suggestions category order (e.g. on NTP)";
1867const char kContentSuggestionsCategoryOrderDescription[] =
1868 "Set default order of content suggestion categories (e.g. on the NTP).";
1869
1870const char kContentSuggestionsCategoryRankerName[] =
1871 "Content suggestions category ranker (e.g. on NTP)";
1872const char kContentSuggestionsCategoryRankerDescription[] =
1873 "Set category ranker to order categories of content suggestions (e.g. on "
1874 "the NTP).";
1875
Vitalii Iarkof52ff802017-09-14 12:34:241876const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1877const char kContentSuggestionsDebugLogDescription[] =
1878 "Enable content suggestions debug log accessible through "
1879 "snippets-internals.";
1880
Donn Denman8e58ead2017-11-04 01:44:011881const char kContextualSearchMlTapSuppressionName[] =
1882 "Contextual Search ML tap suppression";
1883const char kContextualSearchMlTapSuppressionDescription[] =
1884 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021885 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1886 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551887
1888const char kContextualSearchName[] = "Contextual Search";
1889const char kContextualSearchDescription[] =
1890 "Whether or not Contextual Search is enabled.";
1891
Donn Denman59729812018-01-09 01:27:021892const char kContextualSearchRankerQueryName[] =
1893 "Contextual Search Ranker prediction";
1894const char kContextualSearchRankerQueryDescription[] =
1895 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1896
1897const char kContextualSearchSecondTapName[] =
1898 "Contextual Search second tap triggering";
1899const char kContextualSearchSecondTapDescription[] =
1900 "Enables triggering on a second tap gesture even when Ranker would "
1901 "normally suppress that tap.";
1902
Dmitry Skiba9c3efa72017-07-20 22:01:141903const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1904const char kDontPrefetchLibrariesDescription[] =
1905 "Don't prefetch libraries after loading.";
1906
Joy Ming5fd29ca62017-10-02 22:51:221907const char kDownloadsForegroundName[] = "Enable downloads foreground";
1908const char kDownloadsForegroundDescription[] =
1909 "Enable downloads as a foreground service for all versions of Android.";
1910
Joy Ming189b0cc2017-12-08 19:42:431911const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1912const char kDownloadsLocationChangeDescription[] =
1913 "Enable changing default downloads storage location on Android.";
1914
Brett Wilsonff596952017-07-14 01:06:551915const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1916const char kEnableAndroidPayIntegrationV1Description[] =
1917 "Enable integration with Android Pay using the first version of the API";
1918
1919const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1920const char kEnableAndroidPayIntegrationV2Description[] =
1921 "Enable integration with Android Pay using the second version of the API";
1922
Vitalii Iarkof4ed32d2017-09-26 13:15:531923const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551924const char kEnableAndroidSpellcheckerDescription[] =
1925 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551926
Lei Tianbd5a3bf2018-02-28 19:01:161927const char kEnableCommandLineOnNonRootedName[] =
1928 "Enable command line on non-rooted devices";
1929const char kEnableCommandLineOnNoRootedDescription[] =
1930 "Enable reading command line file on non-rooted devices (DANGEROUS).";
1931
Vitalii Iarkof4ed32d2017-09-26 13:15:531932const char kEnableContentSuggestionsNewFaviconServerName[] =
1933 "Get favicons for content suggestions from a new server.";
1934const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1935 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1936 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551937
1938const char kEnableContentSuggestionsSettingsName[] =
1939 "Show content suggestions settings.";
1940const char kEnableContentSuggestionsSettingsDescription[] =
1941 "If enabled, the content suggestions settings will be available from the "
1942 "main settings menu.";
1943
Vitalii Iarkof4ed32d2017-09-26 13:15:531944const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1945 "Use content suggestions thumbnail dominant color.";
1946const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1947 "Use content suggestions thumbnail dominant color as a placeholder before "
1948 "the real thumbnail is fetched (requires Chrome Home).";
1949
Brett Wilsonff596952017-07-14 01:06:551950const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1951const char kEnableCustomContextMenuDescription[] =
1952 "Enables a new context menu when a link, image, or video is pressed within "
1953 "Chrome.";
1954
1955const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1956const char kEnableCustomFeedbackUiDescription[] =
1957 "Enables a custom feedback UI when submitting feedback through Google "
1958 "Feedback. Works with Google Play Services v10.2+";
1959
1960const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471961 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551962const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471963 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551964
Brett Wilsonff596952017-07-14 01:06:551965const char kEnableOmniboxClipboardProviderName[] =
1966 "Omnibox clipboard URL suggestions";
1967const char kEnableOmniboxClipboardProviderDescription[] =
1968 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1969 "focus in the omnibox.";
1970
1971const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1972 "Use expanded autofill credit card popup layout.";
1973const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1974 "If enabled, displays autofill credit card popup using expanded layout.";
1975
Becky Zhoua7f11d62018-02-01 16:02:531976const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
1977 "Show article suggestions expandable header on New Tab Page";
1978const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
1979 "If enabled, the article suggestions content on New Tab Page can be "
1980 "toggled shown or hidden by clicking the expandable header.";
1981
Brett Wilsonff596952017-07-14 01:06:551982const char kEnableNtpAssetDownloadSuggestionsName[] =
1983 "Show asset downloads on the New Tab page";
1984const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1985 "If enabled, the list of content suggestions on the New Tab page will "
1986 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1987 "later use.";
1988
1989const char kEnableNtpBookmarkSuggestionsName[] =
1990 "Show recently visited bookmarks on the New Tab page";
1991const char kEnableNtpBookmarkSuggestionsDescription[] =
1992 "If enabled, the list of content suggestions on the New Tab page will "
1993 "contain recently visited bookmarks.";
1994
1995const char kEnableNtpForeignSessionsSuggestionsName[] =
1996 "Show recent foreign tabs on the New Tab page";
1997const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1998 "If enabled, the list of content suggestions on the New Tab page will "
1999 "contain recent foreign tabs.";
2000
Brett Wilsonff596952017-07-14 01:06:552001const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2002 "Show offline page downloads on the New Tab page";
2003const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2004 "If enabled, the list of content suggestions on the New Tab page will "
2005 "contain pages that the user downloaded for later use.";
2006
2007const char kEnableNtpRemoteSuggestionsName[] =
2008 "Show server-side suggestions on the New Tab page";
2009const char kEnableNtpRemoteSuggestionsDescription[] =
2010 "If enabled, the list of content suggestions on the New Tab page will "
2011 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2012 "allows to override the source used to retrieve these server-side "
2013 "suggestions.";
2014
2015const char kEnableNtpSnippetsVisibilityName[] =
2016 "Make New Tab Page Snippets more visible.";
2017const char kEnableNtpSnippetsVisibilityDescription[] =
2018 "If enabled, the NTP snippets will become more discoverable with a larger "
2019 "portion of the first card above the fold.";
2020
2021const char kEnableNtpSuggestionsNotificationsName[] =
2022 "Notify about new content suggestions available at the New Tab page";
2023const char kEnableNtpSuggestionsNotificationsDescription[] =
2024 "If enabled, notifications will inform about new content suggestions on "
2025 "the New Tab page.";
2026
Brett Wilsonff596952017-07-14 01:06:552027const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2028const char kEnableOfflinePreviewsDescription[] =
2029 "Enable showing offline page previews on slow networks.";
2030
2031const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2032const char kEnableOskOverscrollDescription[] =
2033 "Enable OSK overscroll support. With this flag on, the OSK will only "
2034 "resize the visual viewport.";
2035
2036const char kEnableSpecialLocaleName[] =
2037 "Enable custom logic for special locales.";
2038const char kEnableSpecialLocaleDescription[] =
2039 "Enable custom logic for special locales. In this mode, Chrome might "
2040 "behave differently in some locales.";
2041
Brett Wilsonff596952017-07-14 01:06:552042const char kEnableWebNfcName[] = "WebNFC";
2043const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2044
gogeraldf3cbb422017-07-26 14:37:122045const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2046 "Enable Web Payments method section order V2.";
2047const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2048 "Enable this option to display payment method section above address "
2049 "section instead of below it.";
2050
Raymes Khoury582b43132017-12-12 23:54:302051const char kGrantNotificationsToDSEName[] =
2052 "Grant notifications to the Default Search Engine";
2053const char kGrantNotificationsToDSENameDescription[] =
2054 "Automatically grant the notifications permission to the Default Search "
2055 "Engine";
2056
Daniel Parke74fcf862018-03-27 18:05:452057const char kHomePageButtonName[] = "Force Enable Home Page Button";
2058const char kHomePageButtonDescription[] =
2059 "Displays a home button if enabled. "
2060 "Chrome must be restarted twice for this flag to take effect.";
2061
Theresa920e0ed2018-03-07 18:12:442062const char kInterestFeedContentSuggestionsDescription[] =
2063 "Use the interest feed to render content suggestions. Currently content "
2064 "suggestions are shown on the New Tab Page.";
2065const char kInterestFeedContentSuggestionsName[] =
2066 "Interest Feed Content Suggestions";
2067
Brett Wilsonff596952017-07-14 01:06:552068const char kKeepPrefetchedContentSuggestionsName[] =
2069 "Keep prefetched content suggestions";
2070const char kKeepPrefetchedContentSuggestionsDescription[] =
2071 "If enabled, some of prefetched content suggestions are not replaced by "
2072 "the new fetched suggestions.";
2073
Leo Zhang051b75482017-12-20 03:28:302074const char kLanguagesPreferenceName[] = "Language Settings";
2075const char kLanguagesPreferenceDescription[] =
2076 "Enable this option for Language Settings feature on Android.";
2077
Brett Wilsonff596952017-07-14 01:06:552078const char kLsdPermissionPromptName[] =
2079 "Location Settings Dialog Permission Prompt";
2080const char kLsdPermissionPromptDescription[] =
2081 "Whether to use the Google Play Services Location Settings Dialog "
2082 "permission dialog.";
2083
Amirhossein Simjour97b4154f2018-02-20 03:49:592084const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2085const char kModalPermissionDialogViewDescription[] =
2086 "Enable this option to use ModalDialogManager for permission Dialogs.";
2087
Brett Wilsonff596952017-07-14 01:06:552088const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2089const char kMediaScreenCaptureDescription[] =
2090 "Enable this option for experimental ScreenCapture feature on Android.";
2091
2092const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2093const char kModalPermissionPromptsDescription[] =
2094 "Whether to use permission dialogs in place of permission infobars.";
2095
Brett Wilsonff596952017-07-14 01:06:552096const char kNewPhotoPickerName[] = "Enable new Photopicker";
2097const char kNewPhotoPickerDescription[] =
2098 "Activates the new picker for selecting photos.";
2099
2100const char kNoCreditCardAbort[] = "No Credit Card Abort";
2101const char kNoCreditCardAbortDescription[] =
2102 "Whether or not the No Credit Card Abort is enabled.";
2103
2104const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2105const char kNtpCondensedLayoutDescription[] =
2106 "Show a condensed layout on the New Tab Page.";
2107
2108const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2109const char kNtpCondensedTileLayoutDescription[] =
2110 "Show a condensed tile layout on the New Tab Page.";
2111
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062112const char kNtpModernLayoutName[] = "Modern NTP layout";
2113const char kNtpModernLayoutDescription[] =
2114 "Show a modern layout on the New Tab Page.";
2115
Theresa6bd5f282018-03-09 16:40:032116const char kNtpShortcutsName[] = "NTP Shortcuts";
2117const char kNtpShortcutsDescription[] =
2118 "Show shortcuts for bookmarks and downloads on the New Tab Page.";
2119
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042120const char kSiteExplorationUiName[] = "Site Exploration UI";
2121const char kSiteExplorationUiDescription[] =
2122 "Show site suggestions in the Exploration UI";
2123
Brett Wilsonff596952017-07-14 01:06:552124const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2125const char kNtpGoogleGInOmniboxDescription[] =
2126 "Show a Google G in the omnibox on the New Tab Page.";
2127
Brett Wilsonff596952017-07-14 01:06:552128const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2129const char kOfflineBookmarksDescription[] =
2130 "Enable saving bookmarked pages for offline viewing.";
2131
Brett Wilsonff596952017-07-14 01:06:552132const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2133const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2134
2135const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2136const char kOfflinePagesCtV2Description[] =
2137 "V2 features include attributing pages to the app that initiated the "
2138 "custom tabs, and being able to query for pages by page attribution.";
2139
Carlos Knippschild09272ecd2017-12-09 03:29:362140const char kOfflinePagesLimitlessPrefetchingName[] =
2141 "Removes resource usage limits for the prefetching of offline pages.";
2142const char kOfflinePagesLimitlessPrefetchingDescription[] =
2143 "Allows the prefetching of suggested offline pages to ignore resource "
2144 "usage limits. This allows it to completely ignore data usage limitations "
2145 "and allows downloads to happen with any kind of connection.";
2146
Brett Wilsonff596952017-07-14 01:06:552147const char kOfflinePagesLoadSignalCollectingName[] =
2148 "Enables collecting load timing data for offline page snapshots.";
2149const char kOfflinePagesLoadSignalCollectingDescription[] =
2150 "Enables loading completeness data collection while writing an offline "
2151 "page. This data is collected in the snapshotted offline page to allow "
2152 "data analysis to improve deciding when to make the offline snapshot.";
2153
Candice Sy229768e02017-12-21 00:19:222154const char kOfflinePagesDescriptivePendingStatusName[] =
2155 "Enables descriptive pending download status text.";
2156const char kOfflinePagesDescriptivePendingStatusDescription[] =
2157 "Enables pending download status text in notifications and Downloads Home "
2158 "to state the reason the request is pending.";
2159
Carlos Knippschild7ebb82302018-03-22 20:59:422160const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2161 "Enables offline pages in the downloads home to be opened in CCT.";
2162const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2163 "When enabled offline pages launched from the Downloads Home will be "
2164 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2165
Brett Wilsonff596952017-07-14 01:06:552166const char kOfflinePagesPrefetchingName[] =
2167 "Enables suggested offline pages to be prefetched.";
2168const char kOfflinePagesPrefetchingDescription[] =
2169 "Enables suggested offline pages to be prefetched, so useful content is "
2170 "available while offline.";
2171
Cathy Li3d5379e2017-09-07 00:11:092172const char kOfflinePagesPrefetchingUIName[] =
2173 "Enables prefetched offline pages to be shown in UI.";
2174const char kOfflinePagesPrefetchingUIDescription[] =
2175 "Enables prefetched offline pages to raise notifications and be shown in "
2176 "download home UI.";
2177
Pete Williamson7845dff2017-09-20 11:06:192178const char kOfflinePagesResourceBasedSnapshotName[] =
2179 "Enables offline page snapshots to be based on percentage of page loaded.";
2180const char kOfflinePagesResourceBasedSnapshotDescription[] =
2181 "Enables offline page snapshots to use a resource percentage based "
2182 "approach for determining when the page is loaded as opposed to a time "
2183 "based approach";
2184
Collin Baker17f92a52017-07-19 21:41:252185const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2186const char kOfflinePagesRenovationsDescription[] =
2187 "Enables offline page renovations which correct issues with dynamic "
2188 "content that occur when offlining pages that use JavaScript.";
2189
Brett Wilsonff596952017-07-14 01:06:552190const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2191const char kOfflinePagesSharingDescription[] =
2192 "Enables the saved offline pages to be shared via other applications.";
2193
2194const char kOfflinePagesSvelteConcurrentLoadingName[] =
2195 "Enables concurrent background loading on svelte.";
2196const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2197 "Enables concurrent background loading (or downloading) of pages on "
2198 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2199 "happen when the svelte device is idle.";
2200
2201const char kOffliningRecentPagesName[] =
2202 "Enable offlining of recently visited pages";
2203const char kOffliningRecentPagesDescription[] =
2204 "Enable storing recently visited pages locally for offline use. Requires "
2205 "Offline Pages to be enabled.";
2206
Lei Zhang2eca9082017-10-17 20:42:502207const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2208const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552209 "Enable Pay with Google integration into Web Payments with API version "
2210 "'1'.";
2211
Matthew Jonesa88b95852017-11-08 23:13:502212const char kProgressBarThrottleName[] = "Android progress update throttling.";
2213const char kProgressBarThrottleDescription[] =
2214 "Limit the maximum progress update to make progress appear smoother.";
2215
Brett Wilsonff596952017-07-14 01:06:552216const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2217const char kPullToRefreshEffectDescription[] =
2218 "Page reloads triggered by vertically overscrolling content.";
2219
Piotr Swigon7c296ef2017-08-29 04:32:002220const char kPwaImprovedSplashScreenName[] =
2221 "Improved Splash Screen for standalone PWAs";
2222const char kPwaImprovedSplashScreenDescription[] =
2223 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2224 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492225const char kPwaPersistentNotificationName[] =
2226 "Persistent notification in standalone PWA";
2227const char kPwaPersistentNotificationDescription[] =
2228 "Enables a persistent Android notification for standalone PWAs";
2229
Brett Wilsonff596952017-07-14 01:06:552230const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2231const char kReaderModeHeuristicsDescription[] =
2232 "Determines what pages the Reader Mode infobar is shown on.";
2233const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2234const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2235const char kReaderModeHeuristicsAllArticles[] = "All articles";
2236const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2237const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2238
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182239const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2240const char kReaderModeInCCTDescription[] =
2241 "Open Reader Mode in Chrome Custom Tabs.";
2242
Brett Wilsonff596952017-07-14 01:06:552243const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2244const char kSetMarketUrlForTestingDescription[] =
2245 "When enabled, sets the market URL for use in testing the update menu "
2246 "item.";
2247
2248const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2249const char kSpannableInlineAutocompleteDescription[] =
2250 "A new type of inline autocomplete for the omnibox that works with "
2251 "keyboards that compose text.";
2252
Brett Wilsonff596952017-07-14 01:06:552253const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2254const char kUpdateMenuBadgeDescription[] =
2255 "When enabled, an update badge will be shown on the app menu button.";
2256
2257const char kUpdateMenuItemCustomSummaryDescription[] =
2258 "When this flag and the force show update menu item flag are enabled, a "
2259 "custom summary string will be displayed below the update menu item.";
2260const char kUpdateMenuItemCustomSummaryName[] =
2261 "Update menu item custom summary";
2262
2263const char kUpdateMenuItemName[] = "Force show update menu item";
2264const char kUpdateMenuItemDescription[] =
2265 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2266 R"*(menu.)*";
2267
Amirhossein Simjourd78bbcf2018-02-02 16:23:392268const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2269const char kVrBrowsingNativeAndroidUiDescription[] =
2270 "Enable Android UI elements in VR.";
2271
Marc Treib93af46a2017-08-23 13:30:002272const char kThirdPartyDoodlesName[] =
2273 "Enable Doodles for third-party search engines";
2274const char kThirdPartyDoodlesDescription[] =
2275 "Enables fetching and displaying Doodles on the NTP for third-party search "
2276 "engines.";
2277
Klaus Weidneraaf697f2018-01-18 20:07:362278const char kWebXrRenderPathName[] = "WebXR presentation render path";
2279const char kWebXrRenderPathDescription[] =
2280 "Render path to use for WebXR presentation (including WebVR)";
2281const char kWebXrRenderPathChoiceClientWaitDescription[] =
2282 "ClientWait (Baseline)";
2283const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2284 "GpuFence (Android N+)";
2285
Brett Wilson7b44537e2017-08-18 01:38:282286// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552287
Brett Wilson7b44537e2017-08-18 01:38:282288#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482289
Brett Wilson7b44537e2017-08-18 01:38:282290const char kAccountConsistencyName[] =
2291 "Identity consistency between browser and cookie jar";
2292const char kAccountConsistencyDescription[] =
2293 "When enabled, the browser manages signing in and out of Google accounts.";
2294const char kAccountConsistencyChoiceMirror[] = "Mirror";
2295const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342296
Chris Pickel3a227ae62017-08-24 10:47:262297const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2298const char kDoodlesOnLocalNtpDescription[] =
2299 "Show doodles on the local New Tab page if Google is the default search "
2300 "engine.";
2301
mlamouriff56c092017-05-11 15:31:392302const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392303const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342304 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392305const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392306const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392307const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342308 "Enabled (Flash lowers volume when interrupted by other sound, "
2309 "experimental)";
2310
Brett Wilson7b44537e2017-08-18 01:38:282311const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2312const char kEnableNewAppMenuIconDescription[] =
2313 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342314
2315const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342316const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282317 "Enable receiving entity suggestions - disambiguation descriptions - for "
2318 "Omnibox suggestions.";
2319
Dave Schuyler598a4a42018-01-04 02:15:102320const char kOmniboxRichEntitySuggestionsName[] =
2321 "Omnibox rich entity suggestions";
2322const char kOmniboxRichEntitySuggestionsDescription[] =
2323 "Display entity suggestions using images and an enhanced layout; showing "
2324 "more context and descriptive text about the entity";
2325
Kevin Bailey898669972017-11-06 15:34:492326const char kOmniboxTabSwitchSuggestionsName[] =
2327 "Omnibox tab switch suggestions";
2328const char kOmniboxTabSwitchSuggestionsDescription[] =
2329 "Enable suggestions for switching to open tabs within the Omnibox.";
2330
krbcc621412017-06-01 19:40:282331const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2332const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192333 "Enable receiving tail suggestions, a type of search suggestion based on "
2334 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342335
Brett Wilson7b44537e2017-08-18 01:38:282336const char kOneGoogleBarOnLocalNtpName[] =
2337 "Enable the OneGoogleBar on the local NTP";
2338const char kOneGoogleBarOnLocalNtpDescription[] =
2339 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2340 "search engine.";
2341
Brett Wilson7b44537e2017-08-18 01:38:282342const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2343const char kUseGoogleLocalNtpDescription[] =
2344 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322345
Brett Wilson7b44537e2017-08-18 01:38:282346const char kVoiceSearchOnLocalNtpName[] =
2347 "Enable Voice Search on the local NTP";
2348const char kVoiceSearchOnLocalNtpDescription[] =
2349 "Show a microphone for voice search on the local New Tab page "
2350 "if Google is the default search engine.";
2351
Kim Paulhamus33f87b12018-01-18 22:00:422352const char kEnableWebAuthenticationAPIName[] = "Web Authentication API.";
2353const char kEnableWebAuthenticationAPIDescription[] =
2354 "Enable Web Authentication API support.";
2355
Brett Wilson7b44537e2017-08-18 01:38:282356#if defined(GOOGLE_CHROME_BUILD)
2357
2358const char kGoogleBrandedContextMenuName[] =
2359 "Google branding in the context menu";
2360const char kGoogleBrandedContextMenuDescription[] =
2361 "Shows a Google icon next to context menu items powered by Google "
2362 "services.";
2363
2364#endif // !defined(GOOGLE_CHROME_BUILD)
2365
2366#endif // !defined(OS_ANDROID)
2367
2368// Windows ---------------------------------------------------------------------
2369
2370#if defined(OS_WIN)
2371
2372const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2373const char kCloudPrintXpsDescription[] =
2374 "XPS enables advanced options for classic printers connected to the Cloud "
2375 "Print with Chrome. Printers must be re-connected after changing this "
2376 "flag.";
2377
Dave Tapuskadd43469d2017-08-22 22:15:532378const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2379const char kDirectManipulationStylusDescription[] =
2380 "If enabled, Chrome will scroll web pages on stylus drag.";
2381
Brett Wilson7b44537e2017-08-18 01:38:282382const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2383const char kDisablePostscriptPrintingDescription[] =
2384 "Disables PostScript generation when printing to PostScript capable "
2385 "printers, and uses EMF generation in its place.";
2386
2387const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2388const char kEnableAppcontainerDescription[] =
2389 "Enables the use of an AppContainer on sandboxed processes to improve "
2390 "security.";
2391
2392const char kEnableD3DVsync[] = "D3D v-sync";
2393const char kEnableD3DVsyncDescription[] =
2394 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2395 "to occur.";
2396
2397const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2398const char kEnableDesktopIosPromotionsDescription[] =
2399 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2400 "eligible.";
2401
James Forshawfd0ce342018-02-14 09:55:392402const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2403const char kEnableGpuAppcontainerDescription[] =
2404 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2405 "improve security.";
2406
Brett Wilson7b44537e2017-08-18 01:38:282407const char kGdiTextPrinting[] = "GDI Text Printing";
2408const char kGdiTextPrintingDescription[] =
2409 "Use GDI to print text as simply text";
2410
Brett Wilson7b44537e2017-08-18 01:38:282411const char kTraceExportEventsToEtwName[] =
2412 "Enable exporting of tracing events to ETW.";
2413const char kTraceExportEventsToEtwDesription[] =
2414 "If enabled, trace events will be exported to the Event Tracing for "
2415 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2416 "Xperf.";
2417
2418const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2419const char kUseWinrtMidiApiDescription[] =
2420 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2421 "later).";
2422
2423const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2424const char kWindows10CustomTitlebarDescription[] =
2425 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2426 "deferring to Windows.";
2427
Weza6ca5b92018-03-23 19:03:072428#if DCHECK_IS_CONFIGURABLE
2429const char kDcheckIsFatalName[] = "DCHECKs are fatal";
2430const char kDcheckIsFatalDescription[] =
2431 "By default Chrome will evaluate DCHECKs in some Canary builds, but only "
2432 "log failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2433#endif // DCHECK_IS_CONFIGURABLE
Wez6656c572017-08-29 22:29:582434
Brett Wilson7b44537e2017-08-18 01:38:282435#endif // defined(OS_WIN)
2436
2437// Mac -------------------------------------------------------------------------
2438
2439#if defined(OS_MACOSX)
2440
2441const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2442const char kAppInfoDialogDescription[] =
2443 "Makes the Toolkit-Views based App Info dialog accessible from "
2444 "chrome://apps or chrome://extensions in place of the native extension "
2445 "permissions dialog, or the details link (which is a link to the Web "
2446 "Store).";
2447
2448const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2449const char kAppWindowCyclingDescription[] =
2450 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2451 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2452 "browser window, and browser windows will not be cycled when a Chrome App "
2453 "is active.";
2454
Lei Zhang2eca9082017-10-17 20:42:502455const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2456const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282457 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2458
2459const char kFullscreenToolbarRevealName[] =
2460 "Enables the toolbar in fullscreen to reveal itself.";
2461const char kFullscreenToolbarRevealDescription[] =
2462 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2463 "has changed.";
2464
2465const char kContentFullscreenName[] = "Improved Content Fullscreen";
2466const char kContentFullscreenDescription[] =
2467 "Fullscreen content window detaches from main browser window and goes to "
2468 "a new space without moving or changing the original browser window.";
2469
Lei Zhang2eca9082017-10-17 20:42:502470const char kDialogTouchBarName[] = "Dialog Touch Bar";
2471const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282472 "Shows Dialog buttons on the Touch Bar.";
2473
2474const char kHostedAppsInWindowsName[] =
2475 "Allow hosted apps to be opened in windows";
2476const char kHostedAppsInWindowsDescription[] =
2477 "Allows hosted apps to be opened in windows instead of being limited to "
2478 "tabs.";
2479
Lei Zhang2eca9082017-10-17 20:42:502480const char kMacRTLName[] = "Enable RTL";
2481const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282482
Lei Zhang2eca9082017-10-17 20:42:502483const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2484const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522485 "Enables sharing via macOS share extensions.";
2486
Lei Zhang2eca9082017-10-17 20:42:502487const char kMacTouchBarName[] = "Hardware Touch Bar";
2488const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282489
2490const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2491const char kMacV2SandboxDescription[] =
2492 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2493 "entire life cycle.";
2494
2495const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2496const char kMacViewsNativeAppWindowsDescription[] =
2497 "Controls whether to use Toolkit-Views based Chrome App windows.";
2498
2499const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2500const char kMacViewsTaskManagerDescription[] =
2501 "Controls whether to use the Toolkit-Views based Task Manager.";
2502
2503const char kTabDetachingInFullscreenName[] =
2504 "Allow tab detaching in fullscreen";
2505const char kTabDetachingInFullscreenDescription[] =
2506 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2507
2508const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2509const char kTabStripKeyboardFocusDescription[] =
2510 "Enable keyboard focus for the tabs in the tab strip.";
2511
Brett Wilson7b44537e2017-08-18 01:38:282512#endif
2513
2514// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342515
2516#if defined(OS_CHROMEOS)
2517
Brett Wilson7b44537e2017-08-18 01:38:282518const char kAcceleratedMjpegDecodeName[] =
2519 "Hardware-accelerated mjpeg decode for captured frame";
2520const char kAcceleratedMjpegDecodeDescription[] =
2521 "Enable hardware-accelerated mjpeg decode for captured frame where "
2522 "available.";
vabr0215a8e2017-03-28 12:47:342523
Brett Wilson7b44537e2017-08-18 01:38:282524const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2525const char kAllowTouchpadThreeFingerClickDescription[] =
2526 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342527
Brett Wilson7b44537e2017-08-18 01:38:282528const char kArcBootCompleted[] = "Load Android apps automatically";
2529const char kArcBootCompletedDescription[] =
2530 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342531
Lev Rumyantsev7a8544312017-08-18 19:26:512532const char kArcNativeBridgeExperimentName[] =
2533 "Enable native bridge experiment for ARC";
2534const char kArcNativeBridgeExperimentDescription[] =
2535 "Enables experimental native bridge feature.";
2536
lgchengecd1c1a62018-01-09 02:59:462537const char kArcUsbHostName[] = "Enable ARC USB host integration";
2538const char kArcUsbHostDescription[] =
2539 "Allow Android apps to use USB host feature on ChromeOS devices.";
2540
Kevin Cernekeeb7f96a52017-10-25 17:40:182541const char kArcVpnName[] = "Enable ARC VPN integration";
2542const char kArcVpnDescription[] =
2543 "Allow Android VPN clients to tunnel Chrome traffic.";
2544
Brett Wilson7b44537e2017-08-18 01:38:282545const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2546const char kAshEnableUnifiedDesktopDescription[] =
2547 "Enable unified desktop mode which allows a window to span multiple "
2548 "displays.";
vabr0215a8e2017-03-28 12:47:342549
Sean Kau5e956192017-10-06 22:25:172550const char kBulkPrintersName[] = "Bulk Printers Policy";
2551const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2552
Brett Wilson7b44537e2017-08-18 01:38:282553const char kCaptivePortalBypassProxyName[] =
2554 "Bypass proxy for Captive Portal Authorization";
2555const char kCaptivePortalBypassProxyDescription[] =
2556 "If proxy is configured, it usually prevents from authorization on "
2557 "different captive portals. This enables opening captive portal "
2558 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342559
Brett Wilson7b44537e2017-08-18 01:38:282560const char kCrOSComponentName[] = "Chrome OS Component";
2561const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082562 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342563
Xiaochu Liu51d03fd2017-09-08 23:51:022564const char kCrOSContainerName[] = "Chrome OS Container";
2565const char kCrOSContainerDescription[] =
2566 "Enable the use of Chrome OS Container utility.";
2567
Brett Wilson7b44537e2017-08-18 01:38:282568const char kCrosRegionsModeName[] = "Cros-regions load mode";
2569const char kCrosRegionsModeDescription[] =
2570 "This flag controls cros-regions load mode";
2571const char kCrosRegionsModeDefault[] = "Default";
2572const char kCrosRegionsModeOverride[] = "Override VPD values.";
2573const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342574
Jacob Dufault2becbc482017-08-25 00:36:352575const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2576const char kDisableLockScreenAppsDescription[] =
2577 "Disable new-note action handler apps on the lock screen. The user will "
2578 "not be able to launch the preferred note-taking action from the lock "
2579 "screen, provided that the app supports lock screen note taking.";
2580
Sammie Quonef6b4882017-09-14 16:50:052581const char kDisableTabletAutohideTitlebarsName[] =
2582 "Disable autohide titlebars in tablet mode";
2583const char kDisableTabletAutohideTitlebarsDescription[] =
2584 "Disable tablet mode autohide titlebars functionality. The user will be "
2585 "able to see the titlebar in tablet mode.";
2586
xdaid45327d2018-01-29 18:57:072587const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2588const char kDisableTabletSplitViewDescription[] =
2589 "Disable split view for Chrome OS tablet mode.";
2590
Brett Wilson7b44537e2017-08-18 01:38:282591const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2592const char kEnablePerUserTimezoneDescription[] =
2593 "Chrome OS system timezone preference is stored and handled for each user "
2594 "individually.";
vabr0215a8e2017-03-28 12:47:342595
Brett Wilson7b44537e2017-08-18 01:38:282596const char kDisableSystemTimezoneAutomaticDetectionName[] =
2597 "SystemTimezoneAutomaticDetection policy support";
2598const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2599 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342600
Lei Zhang2eca9082017-10-17 20:42:502601const char kEnableBackgroundBlurName[] = "Enable background blur.";
2602const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422603 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392604
Brett Wilson7b44537e2017-08-18 01:38:282605const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2606const char kEnableChromevoxArcSupportDescription[] =
2607 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342608
F#m75862c92018-01-25 19:10:472609const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2610const char kEnableDisplayZoomSettingDescription[] =
2611 "Allows the user to modify the display size or zoom via the chrome display "
2612 "settings page.";
2613
Brett Wilson7b44537e2017-08-18 01:38:282614const char kEnableEhvInputName[] =
2615 "Emoji, handwriting and voice input on opt-in IME menu";
2616const char kEnableEhvInputDescription[] =
2617 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342618
Brett Wilson7b44537e2017-08-18 01:38:282619const char kEnableEncryptionMigrationName[] =
2620 "Enable encryption migration of user data";
2621const char kEnableEncryptionMigrationDescription[] =
2622 "If enabled and the device supports ARC, the user will be asked to update "
2623 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342624
Blake O'Hare9e9317b22017-10-24 02:49:352625const char kEnableFloatingVirtualKeyboardName[] =
2626 "Enable floating virtual keyboard";
2627const char kEnableFloatingVirtualKeyboardDescription[] =
2628 "If enabled, the keyboard will use floating behavior by default.";
2629
Brett Wilson7b44537e2017-08-18 01:38:282630const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2631const char kEnableImeMenuDescription[] =
2632 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342633
Darren Shen3e49c63d2018-03-28 04:45:502634const char kEnableStylusVirtualKeyboardName[] =
2635 "Enable stylus virtual keyboard";
2636const char kEnableStylusVirtualKeyboardDescription[] =
2637 "If enabled, tapping with a stylus will show the handwriting virtual "
2638 "keyboard.";
2639
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
Daniel Erat9ef89ee2018-03-27 03:46:463046const char kAshEnableModeSpecificPowerButtonName[] =
3047 "Enable mode-specific power button behavior.";
3048const char kAshEnableModeSpecificPowerButtonDescription[] =
3049 "Enable mode-specific power button behavior. While in tablet mode, tapping "
3050 "the power button turns the display off.";
3051
wutaoc5062be2018-03-16 02:16:233052const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3053const char kAshEnableTrilinearFilteringDescription[] =
3054 "Enable trilinear filtering.";
3055
Brett Wilson7b44537e2017-08-18 01:38:283056const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3057const char kAshShelfColorDescription[] =
3058 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3059 "--ash-shelf-color-scheme flag defines how that color is derived.";
3060
3061const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3062const char kAshShelfColorSchemeDescription[] =
3063 "Specify how the color is derived from the wallpaper. This flag is only "
3064 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3065const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3066const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3067const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3068const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3069const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3070const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3071
Wenzhao Zang06a28872018-02-23 04:01:353072const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3073const char kEnableNewWallpaperPickerDescription[] =
3074 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3075
Brett Wilson7b44537e2017-08-18 01:38:283076const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373077 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283078const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3079 "Sets the speed of the experimental visual feedback animations for "
3080 "material design.";
3081const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3082const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3083
3084const char kUiShowCompositedLayerBordersName[] =
3085 "Show UI composited layer borders";
3086const char kUiShowCompositedLayerBordersDescription[] =
3087 "Show border around composited layers created by UI.";
3088const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3089const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3090const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3091const char kUiShowCompositedLayerBordersAll[] = "All";
3092
3093const char kUiSlowAnimationsName[] = "Slow UI animations";
3094const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3095
James Cookf9d34d22017-10-04 16:39:353096#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283097
Brett Wilson7b44537e2017-08-18 01:38:283098#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3099
3100const char kAutofillCreditCardUploadName[] =
3101 "Enable offering upload of Autofilled credit cards";
3102const char kAutofillCreditCardUploadDescription[] =
3103 "Enables a new option to upload credit cards to Google Payments for sync "
3104 "to all Chrome devices.";
3105
3106#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3107
3108// ============================================================================
3109// Don't just add flags to the end, put them in the right section in
3110// alphabetical order just like the header file.
3111// ============================================================================
3112
vabr0215a8e2017-03-28 12:47:343113} // namespace flag_descriptions