blob: 5b82d78d644d49b8cebd79e68615625ed8def023 [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
38const char kAppBannersName[] = "App Banners";
39const char kAppBannersDescription[] =
40 "Enable the display of Progressive Web App banners, which prompt a user to "
41 "add a web app to their shelf, or other platform-specific equivalent.";
42
yoshiki iguchi4a10c5f2017-11-29 20:16:5443const char kAshSidebarName[] = "Sidebar";
44const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
45
Tetsui Ohkubo2852b952018-02-23 04:12:0146const char kSystemTrayUnifiedName[] = "New system menu";
47const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5548 "Enable the experimental system menu.";
49
Sathya Gunasekaranbc706d62018-02-09 21:44:2250const char kArrayPrototypeValuesName[] = "Array.prototype.values ES6 method";
51const char kArrayPrototypeValuesDescription[] =
52 "Enables Array.prototype.values method";
53
Khushalba202212017-07-12 19:53:4954const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
55const char kAsyncImageDecodingDescription[] =
56 "Enables asynchronous decoding of images from raster for web content";
57
sebsge35b762c2018-03-29 20:33:2758const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
59const char kAutofillDynamicFormsDescription[] =
60 "Allows autofill to fill dynamically changing forms";
61
Brett Wilsonf27ff602017-07-07 22:28:4762const char kAutoplayPolicyName[] = "Autoplay policy";
63const char kAutoplayPolicyDescription[] =
64 "Policy used when deciding if audio or video is allowed to autoplay.";
65
66const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
67 "User gesture is required for cross-origin iframes.";
68const char kAutoplayPolicyNoUserGestureRequired[] =
69 "No user gesture is required.";
70const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
71const char kAutoplayPolicyDocumentUserActivation[] =
72 "Document user activation is required.";
73
Johanne0cc6902017-11-16 00:23:5074extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
75extern const char kAv1DecoderDescription[] =
76 "Allow decoding of files with the AV1 video codec.";
77
Brett Wilsonf27ff602017-07-07 22:28:4778const char kBackgroundVideoTrackOptimizationName[] =
79 "Optimize background video playback.";
80const char kBackgroundVideoTrackOptimizationDescription[] =
81 "Disable video tracks when the video is played in the background to "
82 "optimize performance.";
83
84const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
85const char kBleAdvertisingInExtensionsDescription[] =
86 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
87 "with regular use of Bluetooth Low Energy features.";
88
Charles Harrisond629cc62017-10-05 01:39:5489const char kBlockTabUndersName[] = "Block tab-unders";
90const char kBlockTabUndersDescription[] =
91 "Blocks tab-unders in Chrome with some native UI to allow the user to "
92 "proceed.";
93
arthursonzognif2bc2d202017-11-08 11:01:0294const char kNavigationMojoResponseName[] = "Navigation response using Mojo";
95const char kNavigationMojoResponseDescription[] =
96 "Browser side navigation (aka PlzNavigate) is using blob URLs to deliver "
97 "the body of the main resource to the renderer process. This flag replaces "
98 "this mechanism by using a Mojo DataPipe.";
99
Brett Wilsonf27ff602017-07-07 22:28:47100const char kBrowserTaskSchedulerName[] = "Task Scheduler";
101const char kBrowserTaskSchedulerDescription[] =
102 "Enables redirection of some task posting APIs to the task scheduler.";
103
Carlos IL766fbc882018-02-16 02:34:52104const char kBundledConnectionHelpName[] = "Bundled Connection Help";
105const char kBundledConnectionHelpDescription[] =
106 "Enables or disables redirecting users who get an interstitial when "
107 "accessing https://support.google.com/chrome/answer/6098869 to local "
108 "connection help content.";
109
Brett Wilsonf27ff602017-07-07 22:28:47110const char kBypassAppBannerEngagementChecksName[] =
111 "Bypass user engagement checks";
112const char kBypassAppBannerEngagementChecksDescription[] =
113 "Bypasses user engagement checks for displaying app banners, such as "
114 "requiring that users have visited the site before and that the banner "
115 "hasn't been shown recently. This allows developers to test that other "
116 "eligibility requirements for showing app banners, such as having a "
117 "manifest, are met.";
118
Lucas Garronb9539b732017-10-31 00:22:09119const char kCommittedInterstitialsName[] = "Committed Interstitials";
120const char kCommittedInterstitialsDescription[] =
121 "Use committed error pages instead of transient navigation entries "
122 "for interstitial error pages (e.g. certificate errors).";
123
Brett Wilsonf27ff602017-07-07 22:28:47124const char kCastStreamingHwEncodingName[] =
125 "Cast Streaming hardware video encoding";
126const char kCastStreamingHwEncodingDescription[] =
127 "This option enables support in Cast Streaming for encoding video streams "
128 "using platform hardware.";
129
Amber Won478561d2017-08-19 01:02:59130const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
131const char kClickToOpenPDFDescription[] =
132 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
133 "embedded PDFs.";
134
Gary Kacmarcikfb69b212017-11-14 03:41:08135const char kClipboardContentSettingName[] = "Clipboard content setting";
136const char kClipboardContentSettingDescription[] =
137 "Enables a site-wide permission in the UI which controls access to the "
138 "asynchronous clipboard web API";
139
Brett Wilsonf27ff602017-07-07 22:28:47140const char kCloudImportName[] = "Cloud Import";
141const char kCloudImportDescription[] = "Allows the cloud-import feature.";
142
Christopher Cameronceb8727d2017-09-07 23:53:16143const char kForceColorProfileSRGB[] = "sRGB";
144const char kForceColorProfileP3[] = "Display P3 D65";
145const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
146const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
147
148const char kForceColorProfileName[] = "Force color profile";
149const char kForceColorProfileDescription[] =
150 "Forces Chrome to use a specific color profile instead of the color "
151 "of the window's current monitor, as specified by the operating system.";
152
Brett Wilsonf27ff602017-07-07 22:28:47153const char kCompositedLayerBordersName[] = "Composited render layer borders";
154const char kCompositedLayerBordersDescription[] =
155 "Renders a border around composited Render Layers to help debug and study "
156 "layer compositing.";
157
Theresaf39c1882018-03-21 18:18:07158const char kContextualSuggestionsBottomSheetName[] =
159 "Enable Contextual Suggestions Bottom Sheet";
160const char kContextualSuggestionsBottomSheetDescription[] =
161 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47162
163const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
164const char kCreditCardAssistDescription[] =
165 "Enable assisted credit card filling on certain sites.";
166
167const char kCrossProcessGuestViewIsolationName[] =
168 "Cross process frames for guests";
169const char kCrossProcessGuestViewIsolationDescription[] =
170 "Highly experimental where guests such as <webview> are implemented on "
171 "the out-of-process iframe infrastructure.";
172
Thanh Le659cb102017-12-20 22:00:19173const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
174const char kDataSaverServerPreviewsDescription[] =
175 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47176
177const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
178const char kDatasaverPromptDescription[] =
179 "Enables a prompt, which appears when a cellular network connection is "
180 "detected, to take the user to the Data Saver extension page on Chrome Web "
181 "Store.";
182const char kDatasaverPromptDemoMode[] = "Demo mode";
183
184const char kDebugPackedAppName[] = "Debugging for packed apps";
185const char kDebugPackedAppDescription[] =
186 "Enables debugging context menu options such as Inspect Element for packed "
187 "applications.";
188
189const char kDefaultTileHeightName[] = "Default tile height";
190const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
191const char kDefaultTileHeightShort[] = "128";
192const char kDefaultTileHeightTall[] = "256";
193const char kDefaultTileHeightGrande[] = "512";
194const char kDefaultTileHeightVenti[] = "1024";
195
196const char kDefaultTileWidthName[] = "Default tile width";
197const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
198const char kDefaultTileWidthShort[] = "128";
199const char kDefaultTileWidthTall[] = "256";
200const char kDefaultTileWidthGrande[] = "512";
201const char kDefaultTileWidthVenti[] = "1024";
202
203const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
204const char kDebugShortcutsDescription[] =
205 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
206
207const char kDeviceDiscoveryNotificationsName[] =
208 "Device Discovery Notifications";
209const char kDeviceDiscoveryNotificationsDescription[] =
210 "Device discovery notifications on local network.";
211
212const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
213const char kDevtoolsExperimentsDescription[] =
214 "Enables Developer Tools experiments. Use Settings panel in Developer "
215 "Tools to toggle individual experiments.";
216
217const char kDisableAudioForDesktopShareName[] =
218 "Disable Audio For Desktop Share";
219const char kDisableAudioForDesktopShareDescription[] =
220 "With this flag on, desktop share picker window will not let the user "
221 "choose whether to share audio.";
222
Chris Palmer917bc052018-03-14 19:28:31223const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
224const char kDisablePushStateThrottleDescription[] =
225 "Disables throttling of history.pushState and history.replaceState method "
226 "calls.";
227
Brett Wilsonf27ff602017-07-07 22:28:47228const char kDisableTabForDesktopShareName[] =
229 "Disable Desktop Share with tab source";
230const char kDisableTabForDesktopShareDescription[] =
231 "This flag controls whether users can choose a tab for desktop share.";
232
233const char kDisallowDocWrittenScriptsUiName[] =
234 "Block scripts loaded via document.write";
235const char kDisallowDocWrittenScriptsUiDescription[] =
236 "Disallows fetches for third-party parser-blocking scripts inserted into "
237 "the main frame via document.write.";
238
Brett Wilsonf27ff602017-07-07 22:28:47239const char kDriveSearchInChromeLauncherName[] =
240 "Drive Search in Chrome App Launcher";
241const char kDriveSearchInChromeLauncherDescription[] =
242 "Files from Drive will show up when searching the Chrome App Launcher.";
243
Gustavo Sacomotofb11164f2017-07-21 12:56:18244const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
245const char kEasyUnlockPromotionsDescription[] =
246 "Enables Smart Lock promotions. Promotions will be periodically display "
247 "if the user is eligible.";
248
Brett Wilsonf27ff602017-07-07 22:28:47249const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
250const char kEmbeddedExtensionOptionsDescription[] =
251 "Display extension options as an embedded element in chrome://extensions "
252 "rather than opening a new tab.";
253
254const char kEnableAsmWasmName[] =
255 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
256const char kEnableAsmWasmDescription[] =
257 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
258 R"*(WebAssembly.)*";
259
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36260const char kEnableWebPaymentsSingleAppUiSkipName[] =
261 "Enable Web Payments single app UI skip";
262const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
263 "Enable Web Payments to skip showing its UI if the developer specifies a "
264 "single app.";
265
Shanfeng Zhang19c16562017-10-17 02:30:40266const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
267 "Credit card autofill ablation experiment.";
268const char kEnableAutofillCreditCardAblationExperimentDescription[] =
269 "If enabled, credit card autofill suggestions will not display.";
270
Jared Saulae93aa12018-03-23 19:04:39271const char kEnableAutofillCreditCardBankNameDisplayName[] =
272 "Display the issuer bank name of a credit card in autofill.";
273const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
274 "If enabled, displays the issuer bank name of a credit card in autofill.";
275
Brett Wilsonf27ff602017-07-07 22:28:47276const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
277 "Display the last used date of a credit card in autofill.";
278const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
279 "If enabled, display the last used date of a credit card in autofill.";
280
281const char kEnableAutofillCreditCardUploadCvcPromptName[] =
282 "Enable requesting missing CVC during Autofill credit card upload";
283const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
284 "If enabled, requests missing CVC when offering to upload credit cards to "
285 "Google Payments.";
286
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37287const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
288 "Enable Google Pay branding when offering credit card upload on Android";
289const char
290 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
291 "If enabled, shows the Google Pay logo and a shorter header message "
292 "when credit card upload to Google Payments is offered on Android.";
293
Jared Saul1e4786a2017-12-14 01:43:09294const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
295 "Always send metadata on detected form values for Autofill credit card "
296 "upload";
297const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
298 "If enabled, always checks with Google Payments when deciding whether to "
299 "offer credit card upload, even if some data is missing.";
300
Jared Saul5c2a1482017-12-09 00:24:31301const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
302 "Send first six digits of PAN when deciding whether to offer Autofill "
303 "credit card upload";
304const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
305 "If enabled, when deciding whether to offer credit card upload to Google "
306 "Payments, sends the first six digits of the card number to avoid cases "
307 "where card upload is likely to fail.";
308
tmartinocd414732018-02-12 19:01:01309const char kEnableAutofillNativeDropdownViewsName[] =
310 "Display Autofill Dropdown Using Views";
311const char kEnableAutofillNativeDropdownViewsDescription[] =
312 "If enabled, the Autofill Dropdown will be built natively using Views, "
313 "rather than painted directly to a canvas.";
314
Vitalii Iarko4f9834ce2017-08-04 07:05:19315const char kEnableBreakingNewsPushName[] = "Breaking News Push";
316const char kEnableBreakingNewsPushDescription[] =
317 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
318 "through Google Cloud Messaging.";
319
Brett Wilsonf27ff602017-07-07 22:28:47320const char kEnableBrotliName[] = "Brotli Content-Encoding.";
321const char kEnableBrotliDescription[] =
322 "Enable Brotli Content-Encoding support.";
323
Qiang Xu0f602fe62017-12-22 01:31:20324const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
325const char kEnableCaptivePortalRandomUrlDescription[] =
326 "Enable Captive Portal URL randomization.";
327
sclittle50e4bb92017-07-08 02:23:03328const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
329
330const char kEnableClientLoFiDescription[] =
331 "Enable showing low fidelity images on some pages on slow networks.";
332
David Reveman87b4b692018-03-09 21:22:22333const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
334const char kEnableCursorMotionBlurDescription[] =
335 "Enable motion blur effect for the cursor.";
336
Doug Arnett08b4067b2017-10-12 20:14:44337const char kEnableNoScriptPreviewsName[] = "NoScript previews";
338
339const char kEnableNoScriptPreviewsDescription[] =
340 "Enable disabling JavaScript on some pages on slow networks.";
341
Thanh Le2c279fbc2017-11-21 01:25:40342const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
343const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
344const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
345const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
346const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
347const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
348const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
349const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
350const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
351const char kDataReductionProxyServerAlternative10[] =
352 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47353const char kEnableDataReductionProxyServerExperimentName[] =
354 "Use an alternative Data Saver back end configuration.";
355const char kEnableDataReductionProxyServerExperimentDescription[] =
356 "Enable a different approach to saving data by configuring the back end "
357 "server";
358
359const char kEnableDataReductionProxySavingsPromoName[] =
360 "Data Saver 1 MB Savings Promo";
361const char kEnableDataReductionProxySavingsPromoDescription[] =
362 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
363 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
364 "enabled for the promo to be shown.";
365
Matt Giucad4870432017-11-24 01:04:38366const char kEnableDesktopPWAsName[] = "Desktop PWAs";
367const char kEnableDesktopPWAsDescription[] =
368 "Experimental windowing and install banner treatment for Progressive Web "
369 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17370
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59371const char kEnableDesktopPWAsLinkCapturingName[] =
372 "Desktop PWAs Link Capturing";
373const char kEnableDesktopPWAsLinkCapturingDescription[] =
374 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
375 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
376 "#enable-desktop-pwas.";
377
Ahmed Fakhry0037de02018-01-29 19:58:31378const char kEnableDockedMagnifierName[] = "Docked Magnifier";
379const char kEnableDockedMagnifierDescription[] =
380 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
381
Ramya Nagarajan5b41d8d2018-04-02 19:53:02382const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
383const char kEnableEmojiContextMenuDescription[] =
384 "Enables the Emoji picker item in context menus for editable text areas.";
385
Brett Wilsonf27ff602017-07-07 22:28:47386const char kEnableEnumeratingAudioDevicesName[] =
387 "Experimentally enable enumerating audio devices.";
388const char kEnableEnumeratingAudioDevicesDescription[] =
389 "Experimentally enable the use of enumerating audio devices.";
390
391const char kEnableGenericSensorName[] = "Generic Sensor";
392const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25393 "Enables motion sensor classes based on Generic Sensor API, i.e. "
394 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
395 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
396
397const char kEnableGenericSensorExtraClassesName[] =
398 "Generic Sensor Extra Classes";
399const char kEnableGenericSensorExtraClassesDescription[] =
400 "Enables an extra set of sensor classes based on Generic Sensor API, which "
401 "expose previously unavailable platform features, i.e. AmbientLightSensor "
402 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47403
Brett Wilsonf27ff602017-07-07 22:28:47404const char kEnableHDRName[] = "HDR mode";
405const char kEnableHDRDescription[] =
406 "Enables HDR support on compatible displays.";
407
Erik Chen6cf9e9e2018-03-27 23:04:31408const char kEnableHeapProfilingName[] = "Heap profiling";
409const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
410const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
411const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
412const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
413
Brett Wilsonf27ff602017-07-07 22:28:47414const char kEnableHttpFormWarningName[] =
415 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15416 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47417const char kEnableHttpFormWarningDescription[] =
418 "Attaches a warning UI to any password or credit card fields detected when "
419 "the top-level page is not HTTPS";
420
Scott Littled0fd2d002018-04-13 03:37:26421const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
422const char kEnableLazyFrameLoadingDescription[] =
423 "Defers the loading of certain cross-origin frames until the page is "
424 "scrolled down near them.";
425
Sidney San Martín9375b892017-09-09 00:29:54426const char kEnableMacMaterialDesignDownloadShelfName[] =
427 "Enable Material Design download shelf";
428
429const char kEnableMacMaterialDesignDownloadShelfDescription[] =
430 "If enabled, the download shelf uses Material Design.";
431
Tatiana Gornakafb40452017-07-31 13:50:04432const char kEnableManualFallbacksFillingName[] =
433 "Manual fallbacks for password manager forms filling";
434const char kEnableManualFallbacksFillingDescription[] =
435 "If enabled, then if user clicks on the password field on a form, popup "
436 "might contain generation fallbacks or 'Show all saved passwords' "
437 "fallback.";
438
vabr0215a8e2017-03-28 12:47:34439const char kEnableMaterialDesignBookmarksName[] =
440 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34441const char kEnableMaterialDesignBookmarksDescription[] =
442 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
443 "bookmarks page.";
444
vabr0215a8e2017-03-28 12:47:34445const char kEnableMaterialDesignExtensionsName[] =
446 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34447const char kEnableMaterialDesignExtensionsDescription[] =
448 "If enabled, the chrome://extensions/ URL loads the Material Design "
449 "extensions page.";
450
Anton Urusov47cd4932017-09-19 14:41:41451const char kEnablePolicyToolName[] = "Enable policy management page";
452const char kEnablePolicyToolDescription[] =
453 "If enabled, the chrome://policy-tool URL loads a page for managing "
454 "policies.";
455
Tsuyoshi Horoea7edb72017-11-12 04:14:00456const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
457const char kEnablePWAFullCodeCacheDescription[] =
458 "Generate V8 code cache in Cache Storage while installing Service Worker "
459 "for PWAs.";
460
Weidong Guof1e5a892018-01-06 02:26:39461const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28462 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39463const char kDisableMultiMirroringDescription[] =
464 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28465
Brett Wilsonf27ff602017-07-07 22:28:47466const char kEnableNavigationTracingName[] = "Enable navigation tracing";
467const char kEnableNavigationTracingDescription[] =
468 "This is to be used in conjunction with the trace-upload-url flag. "
469 "WARNING: When enabled, Chrome will record performance data for every "
470 "navigation and upload it to the URL specified by the trace-upload-url "
471 "flag. The trace may include personally identifiable information (PII) "
472 "such as the titles and URLs of websites you visit.";
473
Bernhard Bauer5533f9912017-11-06 17:56:02474const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
475const char kEnableNetworkLoggingToFileDescription[] =
476 "Enables network logging to a file named netlog.json in the user data "
477 "directory. The file can be imported into chrome://net-internals.";
478
Brett Wilsonf27ff602017-07-07 22:28:47479const char kEnableNetworkServiceName[] = "Enable network service";
480const char kEnableNetworkServiceDescription[] =
481 "Enables the network service, which makes network requests through a "
482 "separate service. Note: most features don't work with this yet.";
483
John Abd-El-Malek8067cc02017-12-04 23:23:20484const char kEnableNetworkServiceInProcessName[] =
485 "Runs network service in-process";
486const char kEnableNetworkServiceInProcessDescription[] =
487 "Runs the network service in the browser process.";
488
dpapaded8349472017-10-25 03:21:27489const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
490const char kEnableNewPrintPreviewDescription[] =
491 "If enabled, Print Preview will display a newer UI";
492
Ahmed Fakhry2fd8fc82017-07-28 16:31:12493const char kEnableNightLightName[] = "Enable Night Light";
494const char kEnableNightLightDescription[] =
495 "Enable the Night Light feature which controls the color temperature of "
496 "the screen.";
497
xlou8b56f672018-02-09 23:34:30498const char kEnableNupPrintingName[] = "Enable N-up printing";
499const char kEnableNupPrintingDescription[] =
500 "Enable N-up printing in the print preview panel.";
501
Sophie Chang117a3b22017-10-24 22:25:36502const char kEnableOptimizationHintsName[] = "Optimization Hints";
503const char kEnableOptimizationHintsDescription[] =
504 "Enable the Optimization Hints feature which incorporates server hints"
505 "into decisions for what optimizations to perform on some pages on slow "
506 "networks.";
507
Yutaka Hirano98be3272017-08-07 17:55:39508const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
509const char kEnableOutOfBlinkCORSDescription[] =
510 "CORS handling logic is moved out of blink.";
511
kylechar7051c092018-02-05 20:31:39512const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
513const char kVizDisplayCompositorDescription[] =
514 "If enabled, the display compositor runs as part of the viz service in the"
515 "GPU process.";
516
Ria Jiang6a129b982018-03-01 18:30:40517const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
518const char kVizHitTestDrawQuadDescription[] =
519 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
520 "with hit-test data computed from the CompositorFrame.";
521
Erik Chen49bbfa22017-08-18 08:49:56522const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23523 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56524const char kEnableOutOfProcessHeapProfilingDescription[] =
525 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19526 "malloced objects. Heap dumps can be obtained at chrome://tracing "
527 "[category:memory-infra] and chrome://memory-internals. This setting "
528 "controls which processes are profiled. As long as this setting is not "
529 "disabled, users can start profiling any given process in "
530 "chrome://memory-internals.";
531const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
532const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
533const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
534const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
535const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10536const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19537 "None by default. Visit chrome://memory-internals to choose which "
538 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15539const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
540 "Profile a random sampling of renderer processes, ensuring only one is "
541 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19542
Erik Chen8bb76b52017-12-06 19:06:25543const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19544 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25545const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
546 "By default, small allocations are pruned from the heap dump. This reduces "
547 "the size of the compressed trace by 100x. If pruning is disabled, the "
548 "chrome://tracing UI may be unable to take or load the trace. Save the "
549 "trace directly using chrome://memory-internals, and use other mechanisms "
550 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
551 "automatically uploaded traces will always be pruned. This only affects "
552 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56553
erikchen8bc20d82018-02-14 03:21:51554const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
555const char kOutOfProcessHeapProfilingSamplingDescription[] =
556 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22557 "10000. This results in low noise for large and/or frequent allocations ["
558 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
559 "total size of malloc-ed objects] and large and/or frequent allocations "
560 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51561
Erik Chen3303fd0232018-01-11 20:29:05562const char kOOPHPStackModeName[] =
563 "The type of stack to record for memlog heap dumps";
564const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19565 "By default, memlog heap dumps record native stacks, which requires a "
566 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55567 "pointers to work on Android. Native with thread names will add the thread "
568 "name as the first frame of each native stack. It's also possible to "
569 "record a pseudo stack using trace events as identifiers. It's also "
570 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19571const char kOOPHPStackModeMixed[] = "Mixed";
572const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55573const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19574const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05575
François Beaufort2e75f492018-02-08 20:44:46576const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47577const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46578 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47579
F#m59d036e2017-09-13 07:22:17580const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
581const char kEnablePixelCanvasRecordingDescription[] =
582 "Pixel canvas recording allows the compositor to raster contents aligned "
583 "with the pixel and improves text rendering. This should be enabled when a "
584 "device is using fractional scale factor.";
585
Brett Wilsonf27ff602017-07-07 22:28:47586const char kEnableTokenBindingName[] = "Token Binding.";
587const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
588
Sahel Sharifyd732ab12017-11-29 23:03:16589extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
590 "Wheel Scroll Latching.";
591extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
592 "Wheel scroll latching enforces latching to a single element for the "
593 "duration of a scroll sequence.";
594
Brett Wilsonf27ff602017-07-07 22:28:47595const char kEnableUseZoomForDsfName[] =
596 "Use Blink's zoom for device scale factor.";
597const char kEnableUseZoomForDsfDescription[] =
598 "If enabled, Blink uses its zooming mechanism to scale content for device "
599 "scale factor.";
600const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
601const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
602const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
603
604const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
605const char kEnableScrollAnchoringDescription[] =
606 "Adjusts scroll position to prevent visible jumps when offscreen content "
607 "changes.";
608
Patrick Noland8ee016e2018-01-24 11:44:53609const char kEnableScrollAnchorSerializationName[] =
610 "Scroll Anchor Serialization";
611const char kEnableScrollAnchorSerializationDescription[] =
612 "Save the scroll anchor and use it to restore the scroll position when "
613 "navigating.";
614
Brad Nelson5cd500e2018-01-04 00:50:19615const char kEnableSharedArrayBufferName[] =
616 "Experimental enabled SharedArrayBuffer support in JavaScript.";
617const char kEnableSharedArrayBufferDescription[] =
618 "Enable SharedArrayBuffer support in JavaScript.";
619
Brett Wilsonf27ff602017-07-07 22:28:47620const char kEnableWasmName[] = "WebAssembly structured cloning support.";
621const char kEnableWasmDescription[] =
622 "Enable web pages to use WebAssembly structured cloning.";
623
Brett Wilsonf27ff602017-07-07 22:28:47624const char kEnableImageCaptureAPIName[] = "Image Capture API";
625const char kEnableImageCaptureAPIDescription[] =
626 "Enables the Web Platform Image Capture API: takePhoto(), "
627 "getPhotoCapabilities(), etc.";
628
629const char kEnableZeroSuggestRedirectToChromeName[] =
630 "Experimental contextual omnibox suggestion";
631const char kEnableZeroSuggestRedirectToChromeDescription[] =
632 "Change omnibox contextual suggestions to an experimental source. Note "
633 "that this is not an on/off switch for contextual omnibox and it only "
634 "applies to suggestions provided before the user starts typing a URL or a "
635 "search query (i.e. zero suggest).";
636
637const char kEnableWasmStreamingName[] =
638 "WebAssembly streaming compile/instantiate support.";
639const char kEnableWasmStreamingDescription[] =
640 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
641
Brett Wilsonf27ff602017-07-07 22:28:47642const char kExpensiveBackgroundTimerThrottlingName[] =
643 "Throttle expensive background timers";
644const char kExpensiveBackgroundTimerThrottlingDescription[] =
645 "Enables intervention to limit CPU usage of background timers to 1%.";
646
647const char kExperimentalAppBannersName[] = "Experimental app banners";
648const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38649 "Enables a new experimental app banner flow and UI. Implies "
650 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47651
652const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
653const char kExperimentalCanvasFeaturesDescription[] =
654 "Enables the use of experimental canvas features which are still in "
655 "development.";
656
Nicholas Verneccd8259802018-02-22 01:22:04657const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
658const char kExperimentalCrostiniUIDescription[] =
659 "Enables in-development Crostini features.";
660
Brett Wilsonf27ff602017-07-07 22:28:47661const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
662const char kExperimentalExtensionApisDescription[] =
663 "Enables experimental extension APIs. Note that the extension gallery "
664 "doesn't allow you to upload extensions that use experimental APIs.";
665
666const char kExperimentalFullscreenExitUIName[] =
667 "Experimental fullscreen exit UI";
668const char kExperimentalFullscreenExitUIDescription[] =
669 "Displays experimental UI to allow mouse and touch input methods to exit "
670 "fullscreen mode.";
671
Brett Wilsonf27ff602017-07-07 22:28:47672const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
673const char kExperimentalKeyboardLockUiDescription[] =
674 "An experimental full screen with keyboard lock mode requiring users to "
675 "hold Esc to exit.";
676
677const char kExperimentalSecurityFeaturesName[] =
678 "Potentially annoying security features";
679const char kExperimentalSecurityFeaturesDescription[] =
680 "Enables several security features that will likely break one or more "
681 "pages that you visit on a daily basis. Strict mixed content checking, for "
682 "example. And locking powerful features to secure contexts. This flag will "
683 "probably annoy you.";
684
685const char kExperimentalWebPlatformFeaturesName[] =
686 "Experimental Web Platform features";
687const char kExperimentalWebPlatformFeaturesDescription[] =
688 "Enables experimental Web Platform features that are in development.";
689
690const char kExtensionContentVerificationName[] =
691 "Extension Content Verification";
692const char kExtensionContentVerificationDescription[] =
693 "This flag can be used to turn on verification that the contents of the "
694 "files on disk for extensions from the webstore match what they're "
695 "expected to be. This can be used to turn on this feature if it would not "
696 "otherwise have been turned on, but cannot be used to turn it off (because "
697 "this setting can be tampered with by malware).";
698const char kExtensionContentVerificationBootstrap[] =
699 "Bootstrap (get expected hashes, but do not enforce them)";
700const char kExtensionContentVerificationEnforce[] =
701 "Enforce (try to get hashes, and enforce them if successful)";
702const char kExtensionContentVerificationEnforceStrict[] =
703 "Enforce strict (hard fail if we can't get hashes)";
704
705const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
706const char kExtensionsOnChromeUrlsDescription[] =
707 "Enables running extensions on chrome:// URLs, where extensions explicitly "
708 "request this permission.";
galinapae72e152017-05-12 13:12:28709
Brett Wilsonecb80982017-07-12 20:34:51710const char kFastUnloadName[] = "Fast tab/window close";
711const char kFastUnloadDescription[] =
712 "Enables fast tab/window closing - runs a tab's onunload js handler "
713 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34714
Brett Wilsonecb80982017-07-12 20:34:51715const char kFeaturePolicyName[] = "Feature Policy";
716const char kFeaturePolicyDescription[] =
717 "Enables granting and removing access to features through the "
718 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34719
Brett Wilsonecb80982017-07-12 20:34:51720const char kFontCacheScalingName[] = "FontCache scaling";
721const char kFontCacheScalingDescription[] =
722 "Reuse a cached font in the renderer to serve different sizes of font for "
723 "faster layout.";
724
725const char kForceEffectiveConnectionTypeName[] =
726 "Override effective connection type";
727const char kForceEffectiveConnectionTypeDescription[] =
728 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30729 "returned by the network quality estimator. Slow 2G on Cellular returns "
730 "Slow 2G when connected to a cellular network, and the actual estimate "
731 "effective connection type when not on a cellular network. Previews are "
732 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51733const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
734const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
735const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30736const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
737 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51738const char kEffectiveConnectionType2GDescription[] = "2G";
739const char kEffectiveConnectionType3GDescription[] = "3G";
740const char kEffectiveConnectionType4GDescription[] = "4G";
741
742const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
743const char kFillOnAccountSelectDescription[] =
744 "Filling of passwords when an account is explicitly selected by the user "
745 "rather than autofilling credentials on page load.";
746
Brett Wilsonecb80982017-07-12 20:34:51747const char kForceTextDirectionName[] = "Force text direction";
748const char kForceTextDirectionDescription[] =
749 "Explicitly force the per-character directionality of UI text to "
750 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
751 "direction of the character language.";
752const char kForceDirectionLtr[] = "Left-to-right";
753const char kForceDirectionRtl[] = "Right-to-left";
754
755const char kForceUiDirectionName[] = "Force UI direction";
756const char kForceUiDirectionDescription[] =
757 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
758 "mode, overriding the default direction of the UI language.";
759
760const char kFramebustingName[] =
761 "Framebusting requires same-origin or a user gesture";
762const char kFramebustingDescription[] =
763 "Don't permit an iframe to navigate the top level browsing context unless "
764 "they are same-origin or the iframe is processing a user gesture.";
765
766const char kGamepadExtensionsName[] = "Gamepad Extensions";
767const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22768 "Enables experimental extensions to the Gamepad APIs.";
Brett Wilsonecb80982017-07-12 20:34:51769
Brett Wilsonecb80982017-07-12 20:34:51770const char kGpuRasterizationMsaaSampleCountName[] =
771 "GPU rasterization MSAA sample count.";
772const char kGpuRasterizationMsaaSampleCountDescription[] =
773 "Specify the number of MSAA samples for GPU rasterization.";
774const char kGpuRasterizationMsaaSampleCountZero[] = "0";
775const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
776const char kGpuRasterizationMsaaSampleCountFour[] = "4";
777const char kGpuRasterizationMsaaSampleCountEight[] = "8";
778const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
779
780const char kGpuRasterizationName[] = "GPU rasterization";
781const char kGpuRasterizationDescription[] =
782 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28783const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51784
785const char kGoogleProfileInfoName[] = "Google profile name and icon";
786const char kGoogleProfileInfoDescription[] =
787 "Enables using Google information to populate the profile name and icon in "
788 "the avatar menu.";
789
790const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
791const char kHarfbuzzRendertextDescription[] =
792 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
793 "web content.";
794
Takumi Fujimotofb71e332018-03-31 14:04:08795const char kViewsCastDialogName[] = "Views Cast dialog";
796const char kViewsCastDialogDescription[] =
797 "Replace the WebUI Cast dialog with a Views toolkit dialog.";
798
Manu Cornet4a908de2018-04-09 04:32:27799const char kHideActiveAppsFromShelfName[] =
800 "Hide running apps (that are not pinned) from the shelf";
801const char kHideActiveAppsFromShelfDescription[] =
802 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25803
Brett Wilsonecb80982017-07-12 20:34:51804const char kHistoryRequiresUserGestureName[] =
805 "New history entries require a user gesture.";
806const char kHistoryRequiresUserGestureDescription[] =
807 "Require a user gesture to add a history entry.";
808const char kHyperlinkAuditingName[] = "Hyperlink auditing";
809const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
810
Ryan Landay4242dbc22018-04-04 01:47:33811const char kHorizontalTabSwitcherAndroidName[] =
812 "Enable horizontal tab switcher";
813const char kHorizontalTabSwitcherAndroidDescription[] =
814 "Changes the layout of the Android tab switcher so tabs scroll "
815 "horizontally instead of vertically.";
816
Brett Wilsonecb80982017-07-12 20:34:51817const char kHostedAppQuitNotificationName[] =
818 "Quit notification for hosted apps";
819const char kHostedAppQuitNotificationDescription[] =
820 "Display a notification when quitting Chrome if hosted apps are currently "
821 "running.";
822
823const char kHostedAppShimCreationName[] =
824 "Creation of app shims for hosted apps on Mac";
825const char kHostedAppShimCreationDescription[] =
826 "Create app shims on Mac when creating a hosted app.";
827
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48828const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
829const char kHtmlBasedUsernameDetectorDescription[] =
830 "Use HTML-based username detector for the password manager.";
831
Brett Wilsonecb80982017-07-12 20:34:51832const char kIconNtpName[] = "Large icons on the New Tab page";
833const char kIconNtpDescription[] =
834 "Enable the experimental New Tab page using large icons.";
835
836const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
837const char kIgnoreGpuBlacklistDescription[] =
838 "Overrides the built-in software rendering list and enables "
839 "GPU-acceleration on unsupported system configurations.";
840
Thanh Le5f090efa52017-12-27 22:39:44841const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
842const char kIgnorePreviewsBlacklistDescription[] =
843 "Ignore decisions made by the PreviewsBlackList";
844
Brett Wilsonecb80982017-07-12 20:34:51845const char kImportantSitesInCbdName[] =
846 "Important sites options in clear browsing data dialog";
847const char kImportantSitesInCbdDescription[] =
848 "Include the option to whitelist important sites in the clear browsing "
849 "data dialog.";
850
Claudio Magni61c210922017-12-28 00:29:51851const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
852const char kImprovedLanguageSettingsDescription[] =
853 "Set of changes for Language Settings. These changes are intended to fix "
854 "the major bugs related to Language Settings.";
855
Brett Wilsonecb80982017-07-12 20:34:51856const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
857const char kInProductHelpDemoModeChoiceDescription[] =
858 "Selects the In-Product Help demo mode.";
859
860const char kJavascriptHarmonyName[] = "Experimental JavaScript";
861const char kJavascriptHarmonyDescription[] =
862 "Enable web pages to use experimental JavaScript features.";
863
864const char kJavascriptHarmonyShippingName[] =
865 "Latest stable JavaScript features";
866const char kJavascriptHarmonyShippingDescription[] =
867 "Some web pages use legacy or non-standard JavaScript extensions that may "
868 "conflict with the latest JavaScript features. This flag allows disabling "
869 "support of those features for compatibility with such pages.";
870
Yutaka Hiranof7f2f632017-09-06 10:40:08871const char kKeepAliveRendererForKeepaliveRequestsName[] =
872 "Keep a renderer alive for keepalive fetch requests";
873const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
874 "Keep a render process alive when the process has a pending fetch request "
875 "with `keepalive' specified.";
876
Joe Downing095fd6d2018-02-01 18:40:36877const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
878const char kKeyboardLockApiDescription[] =
879 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
880 "specific key events and have them routed directly to the webpage when in "
881 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
882
Brett Wilsonecb80982017-07-12 20:34:51883const char kLcdTextName[] = "LCD text antialiasing";
884const char kLcdTextDescription[] =
885 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
886 "(subpixel) when doing accelerated compositing.";
887
Matt Giucac399982f2017-10-06 07:51:29888const char kLeftToRightUrlsName[] =
889 "Render bidirectional URLs from left to right";
890const char kLeftToRightUrlsDescription[] =
891 "An experimental Bidi URL rendering algorithm where the URL components are "
892 "always shown in order from left to right, regardless of any RTL "
893 "characters. (The contents of each component are still rendered with the "
894 "normal Bidi algorithm.)";
895
Brett Wilsonecb80982017-07-12 20:34:51896const char kLoadMediaRouterComponentExtensionName[] =
897 "Load Media Router Component Extension";
898const char kLoadMediaRouterComponentExtensionDescription[] =
899 "Loads the Media Router component extension at startup.";
900
spqchanb87755692018-04-05 00:46:09901const char kMacViewsAutofillPopupName[] =
902 "Uses the Views Autofill Popup on Mac";
903const char kMacViewsAutofillPopupDescription[] =
904 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:32905
Brett Wilsonecb80982017-07-12 20:34:51906const char kManualPasswordGenerationName[] = "Manual password generation.";
907const char kManualPasswordGenerationDescription[] =
908 "Show a 'Generate Password' option on the context menu for all password "
909 "fields.";
910
911const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
912const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51913
Lei Zhang2eca9082017-10-17 20:42:50914const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
915const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51916 "If enabled, the Incognito New Tab page uses the new material design with "
917 "a better readable text.";
918
919const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
920const char kMediaRemotingDescription[] =
921 "When Casting a tab to a remote device, enabling this turns on an "
922 "optimization that forwards the content bitstream directly to the remote "
923 "device when a video is fullscreened.";
924
spqchanb87755692018-04-05 00:46:09925const char kMediaRouterCastAllowAllIPsName[] =
926 "Connect to Cast devices on all IP addresses";
927const char kMediaRouterCastAllowAllIPsDescription[] =
928 "Have the Media Router connect to Cast devices on all IP addresses, not "
929 "just RFC1918/RFC4913 private addresses.";
930
Brett Wilsonecb80982017-07-12 20:34:51931const char kMemoryAblationName[] = "Memory ablation experiment";
932const char kMemoryAblationDescription[] =
933 "Allocates extra memory in the browser process.";
934
935const char kMemoryCoordinatorName[] = "Memory coordinator";
936const char kMemoryCoordinatorDescription[] =
937 "Enable memory coordinator instead of memory pressure listeners.";
938
939const char kMessageCenterNewStyleNotificationName[] = "New style notification";
940const char kMessageCenterNewStyleNotificationDescription[] =
941 "Enables the experiment style of material-design notification";
942
Brett Wilsonecb80982017-07-12 20:34:51943const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
944const char kMhtmlGeneratorOptionDescription[] =
945 "Provides experimental options for MHTML file generator.";
946const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
947const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
948
Kouhei Ueno08445c22017-09-05 03:58:30949const char kModuleScriptsDynamicImportName[] =
950 "Enable ECMAScript 6 modules dynamic import";
951const char kModuleScriptsDynamicImportDescription[] =
952 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
953 "Blink.";
954
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05955const char kModuleScriptsImportMetaUrlName[] =
956 "Enable ECMAScript 6 modules import.meta.url";
957const char kModuleScriptsImportMetaUrlDescription[] =
958 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
959 "Blink.";
960
Brett Wilsonecb80982017-07-12 20:34:51961const char kNewAudioRenderingMixingStrategyName[] =
962 "New audio rendering mixing strategy";
963const char kNewAudioRenderingMixingStrategyDescription[] =
964 "Use the new audio rendering mixing strategy.";
965
966const char kNewBookmarkAppsName[] = "The new bookmark app system";
967const char kNewBookmarkAppsDescription[] =
968 "Enables the new system for creating bookmark apps.";
969
Brett Wilsonecb80982017-07-12 20:34:51970const char kNewRemotePlaybackPipelineName[] =
971 "Enable the new remote playback pipeline.";
972const char kNewRemotePlaybackPipelineDescription[] =
973 "Enable the new pipeline for playing media element remotely via "
974 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50975const char kUseSurfaceLayerForVideoName[] =
976 "Enable the use of SurfaceLayer objects for videos.";
977const char kUseSurfaceLayerForVideoDescription[] =
978 "Enable compositing onto a Surface instead of a VideoLayer "
979 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51980
981const char kNewUsbBackendName[] = "Enable new USB backend";
982const char kNewUsbBackendDescription[] =
983 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34984
Sonny Sasaka2d200432018-03-22 17:43:16985const char kNewblueName[] = "Newblue";
986const char kNewblueDescription[] =
987 "Enables the use of newblue Bluetooth daemon.";
988
brettw5f9c1642017-05-14 17:12:48989const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34990const char kNostatePrefetchDescription[] =
991 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
992 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
993 R"*(improve load times even more. "Simple Load" does nothing and is )*"
994 R"*(similar to disabling the feature, but collects more metrics for )*"
995 R"*(comparison purposes.)*";
996
Brett Wilsonecb80982017-07-12 20:34:51997const char kNotificationsNativeFlagName[] = "Enable native notifications.";
998const char kNotificationsNativeFlagDescription[] =
999 "Enable support for using the native notification toasts and notification "
1000 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341001
Zentaro Kavanaghbad511c2017-10-18 22:29:001002#if defined(OS_POSIX)
1003const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1004const char kNtlmV2EnabledDescription[] =
1005 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1006#endif
1007
Brett Wilsonecb80982017-07-12 20:34:511008const char kNumRasterThreadsName[] = "Number of raster threads";
1009const char kNumRasterThreadsDescription[] =
1010 "Specify the number of raster threads.";
1011const char kNumRasterThreadsOne[] = "1";
1012const char kNumRasterThreadsTwo[] = "2";
1013const char kNumRasterThreadsThree[] = "3";
1014const char kNumRasterThreadsFour[] = "4";
1015
1016const char kOfferStoreUnmaskedWalletCardsName[] =
1017 "Google Payments card saving checkbox";
1018const char kOfferStoreUnmaskedWalletCardsDescription[] =
1019 "Show the checkbox to offer local saving of a credit card downloaded from "
1020 "the server.";
1021
1022const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1023const char kOfflineAutoReloadDescription[] =
1024 "Pages that fail to load while the browser is offline will be "
1025 "auto-reloaded when the browser is online again.";
1026
1027const char kOfflineAutoReloadVisibleOnlyName[] =
1028 "Only Auto-Reload Visible Tabs";
1029const char kOfflineAutoReloadVisibleOnlyDescription[] =
1030 "Pages that fail to load while the browser is offline will only be "
1031 "auto-reloaded if their tab is visible.";
1032
Brett Wilsonecb80982017-07-12 20:34:511033const char kOmniboxDisplayTitleForCurrentUrlName[] =
1034 "Include title for the current URL in the omnibox";
1035const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1036 "In the event that the omnibox provides suggestions on-focus, the URL of "
1037 "the current page is provided as the first suggestion without a title. "
1038 "Enabling this flag causes the title to be displayed.";
1039
Benoit Lizeab08362c2017-07-19 14:50:541040const char kOmniboxSpareRendererName[] =
1041 "Start spare renderer on omnibox focus";
1042const char kOmniboxSpareRendererDescription[] =
1043 "When the omnibox is focused, start an empty spare renderer. This can "
1044 "speed up the load of the navigation from the omnibox.";
1045
Tommy C. Li8875a442017-08-23 00:10:591046const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1047 "Omnibox UI Elide Suggestion URL After Host";
1048const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1049 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1050 "dropdown.";
1051
Tommy C. Lid79d4402017-12-22 22:49:121052const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1053 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1054const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1055 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1056 "displayed URLs. Hidden portions are restored during editing.";
1057
Brett Wilsonecb80982017-07-12 20:34:511058const char kOmniboxUIMaxAutocompleteMatchesName[] =
1059 "Omnibox UI Max Autocomplete Matches";
1060
1061const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1062 "Changes the maximum number of autocomplete matches displayed in the "
1063 "Omnibox UI.";
1064
1065const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
1066const char kOmniboxUINarrowDropdownDescription[] =
1067 "Makes the suggestions dropdown width match the omnibox width.";
1068
Justin Donnelly65c9e8b2017-10-01 05:15:011069const char kOmniboxUIShowSuggestionFaviconsName[] =
1070 "Omnibox UI Show Suggestion Favicons";
1071const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1072 "Shows favicons instead of generic vector icons for URL suggestions in the "
1073 "Omnibox dropdown.";
1074
1075const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1076const char kOmniboxUISwapTitleAndUrlDescription[] =
1077 "In the omnibox dropdown, shows titles before URLs when both are "
1078 "available.";
1079
Brett Wilsonecb80982017-07-12 20:34:511080const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
1081const char kOmniboxUIVerticalLayoutDescription[] =
1082 "Displays Omnibox sugestions in 2 lines - title over origin.";
1083
1084const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1085const char kOmniboxUIVerticalMarginDescription[] =
1086 "Changes the vertical margin in the Omnibox UI.";
1087
Troy Hildebrandtb32637ca2018-02-21 23:25:091088const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1089 "Omnibox Voice Search Always Visible";
1090const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1091 "Always displays voice search icon in focused omnibox as long as voice "
1092 "search is possible";
1093
Brett Wilsonecb80982017-07-12 20:34:511094const char kOriginTrialsName[] = "Origin Trials";
1095const char kOriginTrialsDescription[] =
1096 "Enables origin trials for controlling access to feature/API experiments.";
1097
Becca Hughes930d8cd2017-10-02 11:09:121098const char kOverflowIconsForMediaControlsName[] =
1099 "Icons on Media Controls Overflow Menu";
1100const char kOverflowIconsForMediaControlsDescription[] =
1101 "Displays icons on the overflow menu of the native media controls";
1102
Brett Wilsonecb80982017-07-12 20:34:511103const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1104const char kOverlayScrollbarsDescription[] =
1105 "Enable the experimental overlay scrollbars implementation. You must also "
1106 "enable threaded compositing to have the scrollbars animate.";
1107
chaopenge8aa016b2017-08-24 15:20:191108const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1109 "Flash Overlay Scrollbars After Any Scroll Update";
1110const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1111 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1112 " must also enable Overlay Scrollbars.";
1113
chaopeng343678022017-08-24 18:45:001114const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1115 "Flash Overlay Scrollbars When Mouse Enter";
1116const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1117 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1118 " enable Overlay Scrollbars.";
1119
Claudio Magni81326f92017-09-01 05:21:181120const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1121const char kUseNewAcceptLanguageHeaderDescription[] =
1122 "Adds the base language code after other corresponding language+region "
1123 "codes. This ensures that users receive content in their preferred "
1124 "language.";
1125
Brett Wilsonecb80982017-07-12 20:34:511126const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1127const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481128 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511129const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481130const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511131
1132const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1133const char kOverscrollStartThresholdDescription[] =
1134 "Changes overscroll start threshold relative to the default value.";
1135const char kOverscrollStartThreshold133Percent[] = "133%";
1136const char kOverscrollStartThreshold166Percent[] = "166%";
1137const char kOverscrollStartThreshold200Percent[] = "200%";
1138
Xing Liu5400a002017-09-15 21:48:291139const char kParallelDownloadingName[] = "Parallel downloading";
1140const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061141 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291142
Brett Wilsonecb80982017-07-12 20:34:511143const char kPassiveEventListenerDefaultName[] =
1144 "Passive Event Listener Override";
1145const char kPassiveEventListenerDefaultDescription[] =
1146 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1147 "haven't requested otherwise) to be treated as passive. This will break "
1148 "touch/wheel behavior on some websites but is useful for demonstrating the "
1149 "potential performance benefits of adopting passive event listeners.";
1150const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1151const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1152
1153const char kPassiveEventListenersDueToFlingName[] =
1154 "Touch Event Listeners Passive Default During Fling";
1155const char kPassiveEventListenersDueToFlingDescription[] =
1156 "Forces touchstart, and first touchmove per scroll event listeners during "
1157 "fling to be treated as passive.";
1158
1159const char kPassiveDocumentEventListenersName[] =
1160 "Document Level Event Listeners Passive Default";
1161const char kPassiveDocumentEventListenersDescription[] =
1162 "Forces touchstart, and touchmove event listeners on document level "
1163 "targets (which haven't requested otherwise) to be treated as passive.";
1164
1165const char kPasswordForceSavingName[] = "Force-saving of passwords";
1166const char kPasswordForceSavingDescription[] =
1167 "Allow the user to manually enforce password saving instead of relying on "
1168 "password manager's heuristics.";
1169
1170const char kPasswordGenerationName[] = "Password generation";
1171const char kPasswordGenerationDescription[] =
1172 "Allow the user to have Chrome generate passwords when it detects account "
1173 "creation pages.";
1174
Vaclav Brozekd8a3f542017-11-16 14:21:131175const char kPasswordExportName[] = "Password export";
1176const char kPasswordExportDescription[] =
1177 "Export functionality in password settings.";
1178
1179const char kPasswordImportName[] = "Password import";
1180const char kPasswordImportDescription[] =
1181 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511182
Friedrich Horschig03c91982018-01-25 14:21:281183const char kPasswordSearchMobileName[] = "Password search";
1184const char kPasswordSearchMobileDescription[] =
1185 "Search functionality in password settings.";
1186
Tom Sepez92a2cd242018-03-13 19:23:091187const char kPdfIsolationName[] = "PDF Isolation";
1188const char kPdfIsolationDescription[] =
1189 "Render PDF files from different origins in different plugin processes.";
1190
Brett Wilsonecb80982017-07-12 20:34:511191const char kPinchScaleName[] = "Pinch scale";
1192const char kPinchScaleDescription[] =
1193 "Enables experimental support for scale using pinch.";
1194
Doug Arnett620ff542018-02-06 17:54:221195const char kPreviewsAllowedName[] = "Previews Allowed";
1196const char kPreviewsAllowedDescription[] =
1197 "Allows previews to be shown subject to specific preview types being "
1198 "enabled and the client experiencing specific triggering conditions. "
1199 "May be used as a kill-switch to turn off all potential preview types.";
1200
Brett Wilsonecb80982017-07-12 20:34:511201const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1202const char kPrintPdfAsImageDescription[] =
1203 "If enabled, an option to print PDF files as images will be available in "
1204 "print preview.";
1205
1206const char kPrintPreviewRegisterPromosName[] =
1207 "Print Preview Registration Promos";
1208const char kPrintPreviewRegisterPromosDescription[] =
1209 "Enable registering unregistered cloud printers from print preview.";
1210
1211const char kProtectSyncCredentialName[] = "Autofill sync credential";
1212const char kProtectSyncCredentialDescription[] =
1213 "How the password manager handles autofill for the sync credential.";
1214
1215const char kProtectSyncCredentialOnReauthName[] =
1216 "Autofill sync credential only for transactional reauth pages";
1217const char kProtectSyncCredentialOnReauthDescription[] =
1218 "How the password manager handles autofill for the sync credential only "
1219 "for transactional reauth pages.";
1220
Mohsen Izadi93faac12017-07-29 04:45:151221const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1222const char kPullToRefreshDescription[] =
1223 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011224const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151225
Brett Wilsonecb80982017-07-12 20:34:511226const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1227const char kPushApiBackgroundModeDescription[] =
1228 "Enable background mode for the Push API. This allows Chrome to continue "
1229 "running after the last window is closed, and to launch at OS startup, if "
1230 "the Push API needs it.";
1231
Troy Hildebrandt7228ad12018-02-23 21:18:241232const char kQueryInOmniboxName[] = "Query in Omnibox";
1233const char kQueryInOmniboxDescription[] =
1234 "Only display query terms in the omnibox when viewing a search results "
1235 "page.";
1236
Brett Wilsonecb80982017-07-12 20:34:511237const char kQuicName[] = "Experimental QUIC protocol";
1238const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1239
1240const char kReducedReferrerGranularityName[] =
1241 "Reduce default 'referer' header granularity.";
1242const char kReducedReferrerGranularityDescription[] =
1243 "If a page hasn't set an explicit referrer policy, setting this flag will "
1244 "reduce the amount of information in the 'referer' header for cross-origin "
1245 "requests.";
1246
Claudio Magnie0a80bb2018-01-31 02:52:581247extern const char kRegionalLocalesAsDisplayUIName[] =
1248 "Allow regional locales as display UI";
1249extern const char kRegionalLocalesAsDisplayUIDescription[] =
1250 "This flag allows regional locales to be selected as display UI by the "
1251 "user in Language Settings. The actual locale of the system is derived "
1252 "from the user selection based on some simple fallback logic.";
1253
Christian Dullweber1af31e62018-02-22 11:49:481254const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141255 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481256const char kRemoveNavigationHistoryDescription[] =
1257 "Remove a navigation entry when the corresponding history entry has been "
1258 "deleted.";
1259
Mihai Sardarescu6d0f5b72017-10-30 11:24:381260const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1261 "Remove usage of the deprecated GAIA sign-in endpoint";
1262const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1263 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1264 "This flags controls wheter it should no longer be used during a sign-in "
1265 " flow.";
1266
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351267const char kRendererSideResourceSchedulerName[] =
1268 "Renderer side ResourceScheduler";
1269const char kRendererSideResourceSchedulerDescription[] =
1270 "Migrate some ResourceScheduler functionalities to renderer";
1271
Brett Wilsonecb80982017-07-12 20:34:511272const char kRequestTabletSiteName[] =
1273 "Request tablet site option in the settings menu";
1274const char kRequestTabletSiteDescription[] =
1275 "Allows the user to request tablet site. Web content is often optimized "
1276 "for tablet devices. When this option is selected the user agent string is "
1277 "changed to indicate a tablet device. Web content optimized for tablets is "
1278 "received there after for the current tab.";
1279
1280const char kResetAppListInstallStateName[] =
1281 "Reset the App Launcher install state on every restart.";
1282const char kResetAppListInstallStateDescription[] =
1283 "Reset the App Launcher install state on every restart. While this flag is "
1284 "set, Chrome will forget the launcher has been installed each time it "
1285 "starts. This is used for testing the App Launcher install flow.";
1286
1287const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1288const char kResourceLoadSchedulerDescription[] =
1289 "Uses the resource load scheduler in blink to schedule and throttle "
1290 "resource load requests.";
1291
Brett Wilsonecb80982017-07-12 20:34:511292const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1293const char kSafeSearchUrlReportingDescription[] =
1294 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1295
Alexei Filippov98772752018-01-27 08:26:521296const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1297const char kSamplingHeapProfilerDescription[] =
1298 "Enables native memory sampling profiler with specified rate in KiB. "
1299 "If sampling rate is not provided the default value of 128 KiB is used.";
1300
Brett Wilsonecb80982017-07-12 20:34:511301const char kSaveasMenuLabelExperimentName[] =
1302 "Switch 'Save as' menu labels to 'Download'";
1303const char kSaveasMenuLabelExperimentDescription[] =
1304 "Enables an experiment to switch menu labels that use 'Save as...' to "
1305 "'Download'.";
1306
1307const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1308const char kSavePageAsMhtmlDescription[] =
1309 "Enables saving pages as MHTML: a single text file containing HTML and all "
1310 "sub-resources.";
1311
Nate Chapin9638e7102017-09-20 22:11:011312const char kSavePreviousDocumentResourcesName[] =
1313 "Save Previous Document Resources";
1314const char kSavePreviousDocumentResourcesDescription[] =
1315 "Saves an old document's cached resources until the specified point in the "
1316 "next document's lifecycle.";
1317const char kSavePreviousDocumentResourcesNever[] =
1318 "Don't explicitly save resources";
1319const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1320 "Save resources until onDOMContentLoaded completes";
1321const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1322 "Save resources until onload completes";
1323
Brett Wilsonecb80982017-07-12 20:34:511324const char kScrollPredictionName[] = "Scroll prediction";
1325const char kScrollPredictionDescription[] =
1326 "Predicts the finger's future position during scrolls allowing time to "
1327 "render the frame before the finger is there.";
1328
1329const char kSecondaryUiMd[] =
1330 "Material Design in the rest of the browser's native UI";
1331const char kSecondaryUiMdDescription[] =
1332 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1333 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1334 "browser dialogs.";
1335
1336const char kServiceWorkerNavigationPreloadName[] =
1337 "Service worker navigation preload.";
1338const char kServiceWorkerNavigationPreloadDescription[] =
1339 "Enable web pages to use the experimental service worker navigation "
1340 "preload API.";
1341
gogeraldd5061b592017-09-06 23:39:551342const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1343const char kServiceWorkerPaymentAppsDescription[] =
1344 "Enable Service Worker applications to integrate as payment apps";
1345
Makoto Shimazu22078cc2018-02-21 03:01:441346extern const char kServiceWorkerServicificationName[] =
1347 "Servicified service workers";
1348extern const char kServiceWorkerServicificationDescription[] =
1349 "Enable the servicified service workers. A servicified service worker can "
1350 "have direct connection from its clients, so that fetch events can be "
1351 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171352
Tsuyoshi Horobcb1c642017-11-24 16:32:141353const char kServiceWorkerScriptFullCodeCacheName[] =
1354 "Service worker script full code cache.";
1355const char kServiceWorkerScriptFullCodeCacheDescription[] =
1356 "Generate V8 full code cache of Service Worker scripts while installing.";
1357
Brett Wilsonecb80982017-07-12 20:34:511358const char kSettingsWindowName[] = "Show settings in a window";
1359const char kSettingsWindowDescription[] =
1360 "Settings will be shown in a dedicated window instead of as a browser tab.";
1361
Trent Apted750ba7022017-10-23 13:36:251362const char kShowAllDialogsWithViewsToolkitName[] =
1363 "Show all dialogs with Views toolkit";
1364const char kShowAllDialogsWithViewsToolkitDescription[] =
1365 "All browser dialogs will be shown using the Views toolkit rather than "
1366 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1367
Brett Wilsonecb80982017-07-12 20:34:511368const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1369const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381370 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1371 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511372
1373const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1374const char kShowAutofillTypePredictionsDescription[] =
1375 "Annotates web forms with Autofill field type predictions as placeholder "
1376 "text.";
1377
1378const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1379const char kShowOverdrawFeedbackDescription[] =
1380 "Visualize overdraw by color-coding elements based on if they have other "
1381 "elements drawn underneath.";
1382
Carlos IL89128732018-04-03 17:00:251383const char kSupervisedUserCommittedInterstitialsName[] =
1384 "Enable Supervised User Committed Interstitials";
1385const char kSupervisedUserCommittedInterstitialsDescription[] =
1386 "Use committed error pages instead of transient navigation entries for "
1387 "supervised user interstitials";
1388
yiyixbdfa9a0b2017-10-23 22:21:471389const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1390const char kEnableDrawOcclusionDescription[] =
1391 "Enable the system to use draw occlusion to skip draw quads when they are "
1392 "not shown on the screen.";
1393
Brett Wilsonecb80982017-07-12 20:34:511394const char kShowSavedCopyName[] = "Show Saved Copy Button";
1395const char kShowSavedCopyDescription[] =
1396 "When a page fails to load, if a stale copy of the page exists in the "
1397 "browser cache, a button will be presented to allow the user to load that "
1398 "stale copy. The primary enabling choice puts the button in the most "
1399 "salient position on the error page; the secondary enabling choice puts it "
1400 "secondary to the reload button.";
1401const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1402const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1403const char kDisableShowSavedCopy[] = "Disable";
1404
Brett Wilsonecb80982017-07-12 20:34:511405const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1406const char kSilentDebuggerExtensionApiDescription[] =
1407 "Do not show the infobar when an extension attaches to a page via "
1408 "chrome.debugger API. This is required to debug extension background "
1409 "pages.";
1410
Tsuyoshi Horo53895ba92018-03-14 04:06:481411const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1412const char kSignedHTTPExchangeDescription[] =
1413 "Enables Origin-Signed HTTP Exchanges support which is still in "
1414 "development. Warning: Enabling this may pose a security risk.";
1415
Brett Wilsonecb80982017-07-12 20:34:511416const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1417const char kSimpleCacheBackendDescription[] =
1418 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1419 "disk space allocation.";
1420
1421const char kSimplifiedFullscreenUiName[] =
1422 "Simplified full screen / mouse lock UI.";
1423const char kSimplifiedFullscreenUiDescription[] =
1424 "A simplified new user experience when entering page-triggered full screen "
1425 "or mouse pointer lock states.";
1426
Christopher Thompson75ff845d2018-02-01 20:12:461427const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1428const char kSimplifyHttpsIndicatorDescription[] =
1429 "Change the UI treatment for HTTPS pages.";
1430
Brett Wilsonecb80982017-07-12 20:34:511431const char kSingleClickAutofillName[] = "Single-click autofill";
1432const char kSingleClickAutofillDescription[] =
1433 "Make autofill suggestions on initial mouse click on a form element.";
1434
Nick Carter855bc492018-03-10 00:44:571435const char kStrictSiteIsolationName[] = "Strict site isolation";
1436const char kStrictSiteIsolationDescription[] =
1437 "Security mode that enables site isolation for all sites. When enabled, "
1438 "each renderer process will contain pages from at most one site, using "
1439 "out-of-process iframes when needed. When enabled, this flag forces the "
1440 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1441 "isolation mode will be determined by enterprise policy or field trial.";
1442
1443const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1444const char kSiteIsolationTrialOptOutDescription[] =
1445 "Opts out of field trials that enable site isolation modes "
1446 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1447 "may be due to out-of-process iframes. Opt-out has no effect if site "
1448 "isolation is force-enabled via #enable-site-per-process or enterprise "
1449 "policy. Caution: this disables important mitigations for the Spectre CPU "
1450 "vulnerability affecting most computers.";
1451extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1452extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1453 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511454
1455const char kSiteSettings[] = "Site settings with All sites and Site details";
1456const char kSiteSettingsDescription[] =
1457 "Adds new ways of viewing Site settings.";
1458
Brett Wilsonecb80982017-07-12 20:34:511459const char kSmoothScrollingName[] = "Smooth Scrolling";
1460const char kSmoothScrollingDescription[] =
1461 "Animate smoothly when scrolling page content.";
1462
1463const char kSoftwareRasterizerName[] = "3D software rasterizer";
1464const char kSoftwareRasterizerDescription[] =
1465 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1466
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201467const char kSoleIntegrationName[] = "Sole integration";
1468const char kSoleIntegrationDescription[] =
1469 "Enable Sole integration for browser customization. You must restart "
1470 "the browser twice for changes to take effect.";
1471
Tommy Steimel77704be2017-08-28 22:14:401472const char kSoundContentSettingName[] = "Sound content setting";
1473const char kSoundContentSettingDescription[] =
1474 "Enable site-wide muting in content settings and tab strip context menu.";
1475
Alexandr Ilinf0500ed32017-09-27 21:12:361476const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1477const char kSpeculativePreconnectDescription[] =
1478 "Enable the new implementation of preconnect and DNS preresolve. "
1479 "\"Learning\" means that only database construction is enabled, "
1480 "\"Preconnect\" enables both learning and preconnect and disables the "
1481 "existing implementation. \"No preconnect\" disables both implementations.";
1482
Brett Wilsonecb80982017-07-12 20:34:511483const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341484const char kSpeculativePrefetchDescription[] =
1485 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1486 R"*(load times, based on a local database (see chrome://predictors). )*"
1487 R"*("Learning" means that only the database construction is enabled, )*"
1488 R"*("Prefetching" that learning and prefetching are enabled.)*";
1489
Justin Donnelly4e448cb2017-07-07 21:32:131490const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1491 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131492const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1493 "If enabled, when the user enters text in the omnibox that looks like a "
1494 "a query, any service worker associated with the search engine the query "
1495 "will be sent to is started early.";
1496
Brett Wilsonecb80982017-07-12 20:34:511497const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1498const char kSpellingFeedbackFieldTrialDescription[] =
1499 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401500
Shubhie Panickerfaf082ed2018-01-03 04:49:151501const char kStopInBackgroundName[] = "Stop in background";
1502const char kStopInBackgroundDescription[] =
1503 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281504 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151505
1506const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1507const char kStopLoadingInBackgroundDescription[] =
1508 "Stop loading tasks and loading "
1509 "resources, in the background, after certain grace time.";
1510
Shubhie Panicker56c99a22018-03-21 00:22:281511const char kStopNonTimersInBackgroundName[] =
1512 "Stop non-timer task queues background";
1513const char kStopNonTimersInBackgroundDescription[] =
1514 "Stop non-timer task queues, in the background, "
1515 "after a grace period.";
1516
Brett Wilsonecb80982017-07-12 20:34:511517const char kSuggestionsWithSubStringMatchName[] =
1518 "Substring matching for Autofill suggestions";
1519const char kSuggestionsWithSubStringMatchDescription[] =
1520 "Match Autofill suggestions based on substrings (token prefixes) rather "
1521 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341522
Brett Wilsonecb80982017-07-12 20:34:511523const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1524const char kSyncSandboxDescription[] =
1525 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341526
Brett Wilsonecb80982017-07-12 20:34:511527const char kTabAudioMutingName[] = "Tab audio muting UI control";
1528const char kTabAudioMutingDescription[] =
1529 "When enabled, the audio indicators in the tab strip double as tab audio "
1530 "mute controls. This also adds commands in the tab context menu for "
1531 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341532
Christian Dullweberd0d96f02017-09-13 09:22:511533const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1534const char kTabsInCbdDescription[] =
1535 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1536
Becky Zhou99c22802017-10-19 05:09:271537const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1538const char kTabModalJsDialogDescription[] =
1539 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1540 " tab.";
1541
Brett Wilsonecb80982017-07-12 20:34:511542const char kTcpFastOpenName[] = "TCP Fast Open";
1543const char kTcpFastOpenDescription[] =
1544 "Enable the option to send extra authentication information in the initial "
1545 "SYN packet for a previously connected client, allowing faster data send "
1546 "start.";
vabr0215a8e2017-03-28 12:47:341547
Daniele Castagna0fead93e2018-01-10 20:40:291548const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1549const char kTintGlCompositedContentDescription[] =
1550 "Tint contents composited using GL with a shade of red to help debug and "
1551 "study overlay support.";
1552
Brett Wilsonecb80982017-07-12 20:34:511553const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1554const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581555 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401556 "touch) - middle point for devices with a touch screen, 3) Touchable "
1557 "- new unified interface for touch and convertibles (Chrome OS) and 4) "
1558 "Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511559const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531560const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461561const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581562const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401563const char kTopChromeMdMaterialRefresh[] = "Refresh";
vabr0215a8e2017-03-28 12:47:341564
Brett Wilsonecb80982017-07-12 20:34:511565const char kThreadedScrollingName[] = "Threaded scrolling";
1566const char kThreadedScrollingDescription[] =
1567 "Threaded handling of scroll-related input events. Disabling this will "
1568 "force all such scroll events to be handled on the main thread. Note that "
1569 "this can dramatically hurt scrolling performance of most websites and is "
1570 "intended for testing purposes only.";
1571
Steven Valdez4584b2482017-07-14 01:11:571572const char kTLS13VariantName[] = "TLS 1.3";
1573const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1574const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111575const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041576const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdez4584b2482017-07-14 01:11:571577
Brett Wilsonecb80982017-07-12 20:34:511578const char kTopDocumentIsolationName[] = "Top document isolation";
1579const char kTopDocumentIsolationDescription[] =
1580 "Highly experimental performance mode where cross-site iframes are kept in "
1581 "a separate process from the top document. In this mode, iframes from "
1582 "different third-party sites will be allowed to share a process.";
1583
Dominick Ng8896b1cd2017-10-17 23:24:361584const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1585const char kTopSitesFromSiteEngagementDescription[] =
1586 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1587 "engagement.";
1588
Brett Wilsonecb80982017-07-12 20:34:511589const char kTouchAdjustmentName[] = "Touch adjustment";
1590const char kTouchAdjustmentDescription[] =
1591 "Refine the position of a touch gesture in order to compensate for touches "
1592 "having poor resolution compared to a mouse.";
1593
1594const char kTouchDragDropName[] = "Touch initiated drag and drop";
1595const char kTouchDragDropDescription[] =
1596 "Touch drag and drop can be initiated through long press on a draggable "
1597 "element.";
1598
1599const char kTouchEventsName[] = "Touch Events API";
1600const char kTouchEventsDescription[] =
1601 "Force Touch Events API feature detection to always be enabled or "
1602 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291603 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511604
1605const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1606const char kTouchSelectionStrategyDescription[] =
1607 "Controls how text selection granularity changes when touch text selection "
1608 "handles are dragged. Non-default behavior is experimental.";
1609const char kTouchSelectionStrategyCharacter[] = "Character";
1610const char kTouchSelectionStrategyDirection[] = "Direction";
1611
1612const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1613const char kTraceUploadUrlDescription[] =
1614 "This is to be used in conjunction with the enable-navigation-tracing "
1615 "flag. Please select the label that best describes the recorded traces. "
1616 "This will choose the destination the traces are uploaded to. If you are "
1617 "not sure, select other. If left empty, no traces will be uploaded.";
1618const char kTraceUploadUrlChoiceOther[] = "Other";
1619const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1620const char kTraceUploadUrlChoiceQa[] = "QA";
1621const char kTraceUploadUrlChoiceTesting[] = "Testing";
1622
Philippe Hamel7fdaa452017-09-29 17:22:491623const char kTranslateRankerEnforcementName[] =
1624 "Enforce TranslateRanker decisions";
1625const char kTranslateRankerEnforcementDescription[] =
1626 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1627 "or not Translate UI should be triggered in a given context.";
1628
Brett Wilsonecb80982017-07-12 20:34:511629const char kTrySupportedChannelLayoutsName[] =
1630 "Causes audio output streams to check if channel layouts other than the "
1631 "default hardware layout are available.";
1632const char kTrySupportedChannelLayoutsDescription[] =
1633 "Causes audio output streams to check if channel layouts other than the "
1634 "default hardware layout are available. Turning this on will allow the OS "
1635 "to do stereo to surround expansion if supported. May expose third party "
1636 "driver bugs, use with caution.";
1637
David Roger6762a092018-01-31 15:55:071638const char kUnifiedConsentName[] = "Unified Consent";
1639const char kUnifiedConsentDescription[] =
1640 "Enables a unified management of user consent for privacy-related "
1641 "features. This includes new confirmation screens and improved settings "
1642 "pages.";
1643
Brett Wilsonecb80982017-07-12 20:34:511644const char kUiPartialSwapName[] = "Partial swap";
1645const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1646
Chris Pickel3a227ae62017-08-24 10:47:261647const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1648const char kUseDdljsonApiDescription[] =
1649 "Enables the new ddljson API to fetch Doodles for the NTP.";
1650
Becca Hughes59c05b42017-11-03 13:11:581651const char kUseModernMediaControlsName[] = "New Media Controls";
1652const char kUseModernMediaControlsDescription[] =
1653 "Enables the new style native media controls.";
1654
Wei Li790e7a8572018-03-23 01:31:551655const char kUsePdfCompositorServiceName[] =
1656 "Use PDF compositor service for printing";
1657const char kUsePdfCompositorServiceDescription[] =
1658 "When enabled, use PDF compositor service to composite and generate PDF "
1659 "files for printing. When site isolation is enabled, disabling this will "
1660 "not stop using PDF compositor service since the service is required for "
1661 "printing out-of-process iframes correctly.";
1662
Mustaq Ahmedc646c0a2017-10-20 20:08:301663const char kUserActivationV2Name[] = "User Activation v2";
1664const char kUserActivationV2Description[] =
1665 "Enable simple user activation for APIs that are otherwise controlled by "
1666 "user gesture tokens.";
1667
Brett Wilsonecb80982017-07-12 20:34:511668const char kUserConsentForExtensionScriptsName[] =
1669 "User consent for extension scripts";
1670const char kUserConsentForExtensionScriptsDescription[] =
1671 "Require user consent for an extension running a script on the page, if "
1672 "the extension requested permission to run on all urls.";
1673
1674const char kUseSuggestionsEvenIfFewFeatureName[] =
1675 "Disable minimum for server-side tile suggestions on NTP.";
1676const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1677 "Request server-side suggestions even if there are only very few of them "
1678 "and use them for tiles on the New Tab Page.";
1679
1680const char kV8CacheOptionsName[] = "V8 caching mode.";
1681const char kV8CacheOptionsDescription[] =
1682 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511683const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1684
Hitoshi Yoshida3e5db562017-09-11 02:31:081685const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1686const char kV8ContextSnapshotDescription[] =
1687 "Sets to use a snapshot to create V8 contexts in frame creation.";
1688
Michael Hablich896d52662017-10-23 15:59:571689const char kV8VmFutureName[] = "Future V8 VM features";
1690const char kV8VmFutureDescription[] =
1691 "This enables upcoming and experimental V8 VM features. "
1692 "This flag does not enable experimental JavaScript features.";
1693
Brett Wilsonecb80982017-07-12 20:34:511694const char kVideoFullscreenOrientationLockName[] =
1695 "Lock screen orientation when playing a video fullscreen.";
1696const char kVideoFullscreenOrientationLockDescription[] =
1697 "Lock the screen orientation of the device to match video orientation when "
1698 "a video goes fullscreen. Only on phones.";
1699
1700const char kVideoRotateToFullscreenName[] =
1701 "Rotate-to-fullscreen gesture for videos.";
1702const char kVideoRotateToFullscreenDescription[] =
1703 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1704 "the video. Only on phones.";
1705
Elly Fong-Jonesf4c79502018-03-23 19:21:531706const char kViewsBrowserWindowsName[] =
1707 "Use Views browser windows instead of Cocoa.";
1708const char kViewsBrowserWindowsDescription[] =
1709 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1710
Brett Wilsonecb80982017-07-12 20:34:511711const char kWalletServiceUseSandboxName[] =
1712 "Use Google Payments sandbox servers";
1713const char kWalletServiceUseSandboxDescription[] =
1714 "For developers: use the sandbox service for Google Payments API calls.";
1715
Brett Wilsonecb80982017-07-12 20:34:511716const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1717const char kWebglDraftExtensionsDescription[] =
1718 "Enabling this option allows web applications to access the WebGL "
1719 "Extensions that are still in draft status.";
1720
1721const char kWebMidiName[] = "Web MIDI API";
1722const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1723
1724const char kWebPaymentsName[] = "Web Payments";
1725const char kWebPaymentsDescription[] =
1726 "Enable Web Payments API integration, a JavaScript API for merchants.";
1727
Mathieu Perreault51339b82017-07-20 17:06:051728const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1729const char kWebPaymentsModifiersDescription[] =
1730 "If the website provides modifiers in the payment request, show the custom "
1731 "total for each payment instrument, update the shopping cart when "
1732 "instruments are switched, and send modified payment method specific data "
1733 "to the payment app.";
1734
Brett Wilsonecb80982017-07-12 20:34:511735const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1736const char kWebrtcEchoCanceller3Description[] =
1737 "Experimental WebRTC echo canceller (AEC3).";
1738
1739const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1740const char kWebrtcHwDecodingDescription[] =
1741 "Support in WebRTC for decoding video streams using platform hardware.";
1742
1743const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1744const char kWebrtcHwEncodingDescription[] =
1745 "Support in WebRTC for encoding video streams using platform hardware.";
1746
1747const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1748const char kWebrtcHwH264EncodingDescription[] =
1749 "Support in WebRTC for encoding h264 video streams using platform "
1750 "hardware.";
1751
1752const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1753const char kWebrtcHwVP8EncodingDescription[] =
1754 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1755
Niels Möller090866a2018-02-13 10:55:031756const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1757 "WebRTC new encode cpu load estimator";
1758const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1759 "Enable new estimator for the encoder cpu load, for evaluation and "
1760 "testing. Intended to improve accuracy when screen casting.";
1761
Brett Wilsonecb80982017-07-12 20:34:511762const char kWebrtcSrtpAesGcmName[] =
1763 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1764const char kWebrtcSrtpAesGcmDescription[] =
1765 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1766
Joachim Bauch4a41d7512017-08-23 14:24:231767const char kWebrtcSrtpEncryptedHeadersName[] =
1768 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1769const char kWebrtcSrtpEncryptedHeadersDescription[] =
1770 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1771 "for SRTP.";
1772
Brett Wilsonecb80982017-07-12 20:34:511773const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1774const char kWebrtcStunOriginDescription[] =
1775 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1776 "header.";
1777
1778const char kWebvrName[] = "WebVR";
1779const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011780 "Enables access to experimental Virtual Reality functionality via the "
1781 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
1782 "Device API. Warning: Enabling this will also allow WebVR content on "
1783 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:221784 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511785
Brandon Jonese9d9b2b2017-12-11 22:20:111786const char kWebXrName[] = "WebXR Device API";
1787const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011788 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
1789 "and Augmented Reality (AR) devices.";
1790
1791const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
1792const char kWebXrGamepadSupportDescription[] =
1793 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:221794 "XRInputSource will have a corresponding Gamepad instance. Requires that "
1795 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:431796
1797const char kWebXrHitTestName[] = "WebXR Hit Test";
1798const char kWebXrHitTestDescription[] =
1799 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:111800
Anna Maria57ecf7592018-01-12 03:10:401801const char kWebXrOrientationSensorDeviceName[] =
1802 "WebXR orientation sensor device";
1803const char kWebXrOrientationSensorDeviceDescription[] =
1804 "When no VR platform device is available, expose a non-presenting device "
1805 "based on the device's orientation sensors, if available.";
1806
Brett Wilsonecb80982017-07-12 20:34:511807const char kWifiCredentialSyncName[] = "WiFi credential sync";
1808const char kWifiCredentialSyncDescription[] =
1809 "Enables synchronizing WiFi network settings across devices. When enabled, "
1810 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1811 "credentials are synchronized subject to user preferences. (See also, "
1812 "chrome://settings/syncSetup.)";
1813
1814const char kZeroCopyName[] = "Zero-copy rasterizer";
1815const char kZeroCopyDescription[] =
1816 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341817
Brett Wilsonff596952017-07-14 01:06:551818// Android ---------------------------------------------------------------------
1819
1820#if defined(OS_ANDROID)
1821
1822const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1823const char kAiaFetchingDescription[] =
1824 "Enable intermediate certificate fetching when a server does not provide "
1825 "sufficient certificates to build a chain to a trusted root.";
1826
1827const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1828const char kAccessibilityTabSwitcherDescription[] =
1829 "Enable the accessibility tab switcher for Android.";
1830
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251831const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1832const char kAllowReaderForAccessibilityDescription[] =
1833 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1834
Brett Wilsonff596952017-07-14 01:06:551835const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1836const char kAndroidAutofillAccessibilityDescription[] =
1837 "Enable accessibility for autofill popup.";
1838
1839const char kAndroidPaymentAppsName[] = "Android payment apps";
1840const char kAndroidPaymentAppsDescription[] =
1841 "Enable third party Android apps to integrate as payment apps";
1842
Miriam Gershenson8cf1397222018-01-23 22:48:291843const char kAsyncDnsName[] = "Async DNS resolver";
1844const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1845
Brett Wilsonff596952017-07-14 01:06:551846const char kAutofillAccessoryViewName[] =
1847 "Autofill suggestions as keyboard accessory view";
1848const char kAutofillAccessoryViewDescription[] =
1849 "Shows Autofill suggestions on top of the keyboard rather than in a "
1850 "dropdown.";
1851
1852const char kBackgroundLoaderForDownloadsName[] =
1853 "Enables background downloading of pages.";
1854const char kBackgroundLoaderForDownloadsDescription[] =
1855 "Enables downloading pages in the background in case page is not yet "
1856 "loaded in current tab.";
1857
Matthew Jones6c1f5e22018-02-06 18:19:531858const char kChromeDuplexName[] = "Chrome Duplex";
1859const char kChromeDuplexDescription[] =
1860 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051861
Daniel Park825a16f32017-12-08 00:44:261862const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1863const char kChromeHomeEnableSurveyDescription[] =
1864 "If enabled, the survey process will allow surveys using sample "
1865 "parameters.";
1866
Theresa Wellingtonb9243b22017-12-01 16:23:051867const char kChromeHomeInactivitySheetExpansionName[] =
1868 "Expansion of Chrome Home bottom sheet on startup";
1869const char kChromeHomeInactivitySheetExpansionDescription[] =
1870 "Expand bottom sheet on startup in Chrome Home after a period of"
1871 " inactivity.";
1872
Matthew Joneseab91aa2017-12-19 16:12:421873const char kChromeHomeMenuItemsName[] =
1874 "Show bookmarks, downloads, and history menu items in Chrome Home";
1875const char kChromeHomeMenuItemsDescription[] =
1876 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1877 " when Chrome Home is enabled. These items will open the bottom sheet to"
1878 " show the desired content.";
1879
Theresa Wellingtonc4cff8a12017-11-28 04:13:181880const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1881const char kChromeHomePersistentIphDescription[] =
1882 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1883 "toolbar or a timer expires.";
1884
Theresa Wellington13977c832017-12-13 16:59:111885const char kChromeHomePullToRefreshIphAtTopName[] =
1886 "Chrome Home Pull-To-Refresh Iph At Top";
1887const char kChromeHomePullToRefreshIphAtTopDescription[] =
1888 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1889
Brett Wilsonff596952017-07-14 01:06:551890const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1891const char kChromeHomeSwipeLogicDescription[] =
1892 "Various swipe logic options for Chrome Home for sheet expansion.";
1893const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151894const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551895
Matthew Jones5b7f1d62018-01-23 00:37:251896const char kChromeModernDesignName[] = "Chrome Modern Design";
1897const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451898 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1899 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251900
Megan Jablonskic61eb1b82017-10-02 18:03:061901const char kChromeMemexName[] = "Chrome Memex";
1902const char kChromeMemexDescription[] =
1903 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1904 "Googlers.";
1905
Sarath Singapati83aef1c2017-11-16 15:54:521906const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1907const char kClearOldBrowsingDataDescription[] =
1908 "Enables clearing of browsing data which is older than a given time "
1909 "period.";
1910
Brett Wilsonff596952017-07-14 01:06:551911const char kContentSuggestionsCategoryOrderName[] =
1912 "Default content suggestions category order (e.g. on NTP)";
1913const char kContentSuggestionsCategoryOrderDescription[] =
1914 "Set default order of content suggestion categories (e.g. on the NTP).";
1915
1916const char kContentSuggestionsCategoryRankerName[] =
1917 "Content suggestions category ranker (e.g. on NTP)";
1918const char kContentSuggestionsCategoryRankerDescription[] =
1919 "Set category ranker to order categories of content suggestions (e.g. on "
1920 "the NTP).";
1921
Vitalii Iarkof52ff802017-09-14 12:34:241922const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1923const char kContentSuggestionsDebugLogDescription[] =
1924 "Enable content suggestions debug log accessible through "
1925 "snippets-internals.";
1926
Donn Denman8e58ead2017-11-04 01:44:011927const char kContextualSearchMlTapSuppressionName[] =
1928 "Contextual Search ML tap suppression";
1929const char kContextualSearchMlTapSuppressionDescription[] =
1930 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021931 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1932 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551933
1934const char kContextualSearchName[] = "Contextual Search";
1935const char kContextualSearchDescription[] =
1936 "Whether or not Contextual Search is enabled.";
1937
Donn Denman59729812018-01-09 01:27:021938const char kContextualSearchRankerQueryName[] =
1939 "Contextual Search Ranker prediction";
1940const char kContextualSearchRankerQueryDescription[] =
1941 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1942
1943const char kContextualSearchSecondTapName[] =
1944 "Contextual Search second tap triggering";
1945const char kContextualSearchSecondTapDescription[] =
1946 "Enables triggering on a second tap gesture even when Ranker would "
1947 "normally suppress that tap.";
1948
Dmitry Skiba9c3efa72017-07-20 22:01:141949const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1950const char kDontPrefetchLibrariesDescription[] =
1951 "Don't prefetch libraries after loading.";
1952
Joy Ming5fd29ca62017-10-02 22:51:221953const char kDownloadsForegroundName[] = "Enable downloads foreground";
1954const char kDownloadsForegroundDescription[] =
1955 "Enable downloads as a foreground service for all versions of Android.";
1956
Joy Ming189b0cc2017-12-08 19:42:431957const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1958const char kDownloadsLocationChangeDescription[] =
1959 "Enable changing default downloads storage location on Android.";
1960
Brett Wilsonff596952017-07-14 01:06:551961const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1962const char kEnableAndroidPayIntegrationV1Description[] =
1963 "Enable integration with Android Pay using the first version of the API";
1964
1965const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1966const char kEnableAndroidPayIntegrationV2Description[] =
1967 "Enable integration with Android Pay using the second version of the API";
1968
Vitalii Iarkof4ed32d2017-09-26 13:15:531969const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551970const char kEnableAndroidSpellcheckerDescription[] =
1971 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551972
Lei Tianbd5a3bf2018-02-28 19:01:161973const char kEnableCommandLineOnNonRootedName[] =
1974 "Enable command line on non-rooted devices";
1975const char kEnableCommandLineOnNoRootedDescription[] =
1976 "Enable reading command line file on non-rooted devices (DANGEROUS).";
1977
Vitalii Iarkof4ed32d2017-09-26 13:15:531978const char kEnableContentSuggestionsNewFaviconServerName[] =
1979 "Get favicons for content suggestions from a new server.";
1980const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1981 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1982 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551983
1984const char kEnableContentSuggestionsSettingsName[] =
1985 "Show content suggestions settings.";
1986const char kEnableContentSuggestionsSettingsDescription[] =
1987 "If enabled, the content suggestions settings will be available from the "
1988 "main settings menu.";
1989
Vitalii Iarkof4ed32d2017-09-26 13:15:531990const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1991 "Use content suggestions thumbnail dominant color.";
1992const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1993 "Use content suggestions thumbnail dominant color as a placeholder before "
1994 "the real thumbnail is fetched (requires Chrome Home).";
1995
Brett Wilsonff596952017-07-14 01:06:551996const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1997const char kEnableCustomContextMenuDescription[] =
1998 "Enables a new context menu when a link, image, or video is pressed within "
1999 "Chrome.";
2000
2001const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2002const char kEnableCustomFeedbackUiDescription[] =
2003 "Enables a custom feedback UI when submitting feedback through Google "
2004 "Feedback. Works with Google Play Services v10.2+";
2005
2006const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472007 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552008const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472009 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552010
Brett Wilsonff596952017-07-14 01:06:552011const char kEnableOmniboxClipboardProviderName[] =
2012 "Omnibox clipboard URL suggestions";
2013const char kEnableOmniboxClipboardProviderDescription[] =
2014 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2015 "focus in the omnibox.";
2016
2017const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
2018 "Use expanded autofill credit card popup layout.";
2019const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
2020 "If enabled, displays autofill credit card popup using expanded layout.";
2021
Becky Zhoua7f11d62018-02-01 16:02:532022const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2023 "Show article suggestions expandable header on New Tab Page";
2024const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2025 "If enabled, the article suggestions content on New Tab Page can be "
2026 "toggled shown or hidden by clicking the expandable header.";
2027
Brett Wilsonff596952017-07-14 01:06:552028const char kEnableNtpAssetDownloadSuggestionsName[] =
2029 "Show asset downloads on the New Tab page";
2030const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2031 "If enabled, the list of content suggestions on the New Tab page will "
2032 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2033 "later use.";
2034
2035const char kEnableNtpBookmarkSuggestionsName[] =
2036 "Show recently visited bookmarks on the New Tab page";
2037const char kEnableNtpBookmarkSuggestionsDescription[] =
2038 "If enabled, the list of content suggestions on the New Tab page will "
2039 "contain recently visited bookmarks.";
2040
2041const char kEnableNtpForeignSessionsSuggestionsName[] =
2042 "Show recent foreign tabs on the New Tab page";
2043const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2044 "If enabled, the list of content suggestions on the New Tab page will "
2045 "contain recent foreign tabs.";
2046
Brett Wilsonff596952017-07-14 01:06:552047const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2048 "Show offline page downloads on the New Tab page";
2049const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2050 "If enabled, the list of content suggestions on the New Tab page will "
2051 "contain pages that the user downloaded for later use.";
2052
2053const char kEnableNtpRemoteSuggestionsName[] =
2054 "Show server-side suggestions on the New Tab page";
2055const char kEnableNtpRemoteSuggestionsDescription[] =
2056 "If enabled, the list of content suggestions on the New Tab page will "
2057 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2058 "allows to override the source used to retrieve these server-side "
2059 "suggestions.";
2060
2061const char kEnableNtpSnippetsVisibilityName[] =
2062 "Make New Tab Page Snippets more visible.";
2063const char kEnableNtpSnippetsVisibilityDescription[] =
2064 "If enabled, the NTP snippets will become more discoverable with a larger "
2065 "portion of the first card above the fold.";
2066
2067const char kEnableNtpSuggestionsNotificationsName[] =
2068 "Notify about new content suggestions available at the New Tab page";
2069const char kEnableNtpSuggestionsNotificationsDescription[] =
2070 "If enabled, notifications will inform about new content suggestions on "
2071 "the New Tab page.";
2072
Brett Wilsonff596952017-07-14 01:06:552073const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2074const char kEnableOfflinePreviewsDescription[] =
2075 "Enable showing offline page previews on slow networks.";
2076
2077const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2078const char kEnableOskOverscrollDescription[] =
2079 "Enable OSK overscroll support. With this flag on, the OSK will only "
2080 "resize the visual viewport.";
2081
2082const char kEnableSpecialLocaleName[] =
2083 "Enable custom logic for special locales.";
2084const char kEnableSpecialLocaleDescription[] =
2085 "Enable custom logic for special locales. In this mode, Chrome might "
2086 "behave differently in some locales.";
2087
Brett Wilsonff596952017-07-14 01:06:552088const char kEnableWebNfcName[] = "WebNFC";
2089const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2090
gogeraldf3cbb422017-07-26 14:37:122091const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2092 "Enable Web Payments method section order V2.";
2093const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2094 "Enable this option to display payment method section above address "
2095 "section instead of below it.";
2096
Raymes Khoury582b43132017-12-12 23:54:302097const char kGrantNotificationsToDSEName[] =
2098 "Grant notifications to the Default Search Engine";
2099const char kGrantNotificationsToDSENameDescription[] =
2100 "Automatically grant the notifications permission to the Default Search "
2101 "Engine";
2102
Daniel Parke74fcf862018-03-27 18:05:452103const char kHomePageButtonName[] = "Force Enable Home Page Button";
2104const char kHomePageButtonDescription[] =
2105 "Displays a home button if enabled. "
2106 "Chrome must be restarted twice for this flag to take effect.";
2107
Theresa920e0ed2018-03-07 18:12:442108const char kInterestFeedContentSuggestionsDescription[] =
2109 "Use the interest feed to render content suggestions. Currently content "
2110 "suggestions are shown on the New Tab Page.";
2111const char kInterestFeedContentSuggestionsName[] =
2112 "Interest Feed Content Suggestions";
2113
Brett Wilsonff596952017-07-14 01:06:552114const char kKeepPrefetchedContentSuggestionsName[] =
2115 "Keep prefetched content suggestions";
2116const char kKeepPrefetchedContentSuggestionsDescription[] =
2117 "If enabled, some of prefetched content suggestions are not replaced by "
2118 "the new fetched suggestions.";
2119
Leo Zhang051b75482017-12-20 03:28:302120const char kLanguagesPreferenceName[] = "Language Settings";
2121const char kLanguagesPreferenceDescription[] =
2122 "Enable this option for Language Settings feature on Android.";
2123
Brett Wilsonff596952017-07-14 01:06:552124const char kLsdPermissionPromptName[] =
2125 "Location Settings Dialog Permission Prompt";
2126const char kLsdPermissionPromptDescription[] =
2127 "Whether to use the Google Play Services Location Settings Dialog "
2128 "permission dialog.";
2129
Amirhossein Simjour97b4154f2018-02-20 03:49:592130const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2131const char kModalPermissionDialogViewDescription[] =
2132 "Enable this option to use ModalDialogManager for permission Dialogs.";
2133
Brett Wilsonff596952017-07-14 01:06:552134const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2135const char kMediaScreenCaptureDescription[] =
2136 "Enable this option for experimental ScreenCapture feature on Android.";
2137
2138const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2139const char kModalPermissionPromptsDescription[] =
2140 "Whether to use permission dialogs in place of permission infobars.";
2141
Brett Wilsonff596952017-07-14 01:06:552142const char kNewPhotoPickerName[] = "Enable new Photopicker";
2143const char kNewPhotoPickerDescription[] =
2144 "Activates the new picker for selecting photos.";
2145
2146const char kNoCreditCardAbort[] = "No Credit Card Abort";
2147const char kNoCreditCardAbortDescription[] =
2148 "Whether or not the No Credit Card Abort is enabled.";
2149
2150const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2151const char kNtpCondensedLayoutDescription[] =
2152 "Show a condensed layout on the New Tab Page.";
2153
2154const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2155const char kNtpCondensedTileLayoutDescription[] =
2156 "Show a condensed tile layout on the New Tab Page.";
2157
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062158const char kNtpModernLayoutName[] = "Modern NTP layout";
2159const char kNtpModernLayoutDescription[] =
2160 "Show a modern layout on the New Tab Page.";
2161
Theresa6bd5f282018-03-09 16:40:032162const char kNtpShortcutsName[] = "NTP Shortcuts";
2163const char kNtpShortcutsDescription[] =
2164 "Show shortcuts for bookmarks and downloads on the New Tab Page.";
2165
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042166const char kSiteExplorationUiName[] = "Site Exploration UI";
2167const char kSiteExplorationUiDescription[] =
2168 "Show site suggestions in the Exploration UI";
2169
Brett Wilsonff596952017-07-14 01:06:552170const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2171const char kNtpGoogleGInOmniboxDescription[] =
2172 "Show a Google G in the omnibox on the New Tab Page.";
2173
Brett Wilsonff596952017-07-14 01:06:552174const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2175const char kOfflineBookmarksDescription[] =
2176 "Enable saving bookmarked pages for offline viewing.";
2177
Brett Wilsonff596952017-07-14 01:06:552178const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2179const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2180
2181const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2182const char kOfflinePagesCtV2Description[] =
2183 "V2 features include attributing pages to the app that initiated the "
2184 "custom tabs, and being able to query for pages by page attribution.";
2185
Cathy Li7311d792018-04-05 00:34:162186const char kOfflinePagesCTSuppressNotificationsName[] =
2187 "Disable download complete notification for whitelisted CCT apps.";
2188const char kOfflinePagesCTSuppressNotificationsDescription[] =
2189 "Disable download complete notification for page downloads originating "
2190 "from a CCT app whitelisted to show their own download complete "
2191 "notification.";
2192
Candice Sy74fa7a352018-03-30 23:46:492193const char kOfflinePagesDescriptiveFailStatusName[] =
2194 "Enables descriptive failed download status text.";
2195const char kOfflinePagesDescriptiveFailStatusDescription[] =
2196 "Enables failed download status text in notifications and Downloads Home "
2197 "to state the reason the request failed if the failure is actionable.";
2198
2199const char kOfflinePagesDescriptivePendingStatusName[] =
2200 "Enables descriptive pending download status text.";
2201const char kOfflinePagesDescriptivePendingStatusDescription[] =
2202 "Enables pending download status text in notifications and Downloads Home "
2203 "to state the reason the request is pending.";
2204
2205const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2206 "Enables offline pages in the downloads home to be opened in CCT.";
2207const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2208 "When enabled offline pages launched from the Downloads Home will be "
2209 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2210
Carlos Knippschild09272ecd2017-12-09 03:29:362211const char kOfflinePagesLimitlessPrefetchingName[] =
2212 "Removes resource usage limits for the prefetching of offline pages.";
2213const char kOfflinePagesLimitlessPrefetchingDescription[] =
2214 "Allows the prefetching of suggested offline pages to ignore resource "
2215 "usage limits. This allows it to completely ignore data usage limitations "
2216 "and allows downloads to happen with any kind of connection.";
2217
Brett Wilsonff596952017-07-14 01:06:552218const char kOfflinePagesLoadSignalCollectingName[] =
2219 "Enables collecting load timing data for offline page snapshots.";
2220const char kOfflinePagesLoadSignalCollectingDescription[] =
2221 "Enables loading completeness data collection while writing an offline "
2222 "page. This data is collected in the snapshotted offline page to allow "
2223 "data analysis to improve deciding when to make the offline snapshot.";
2224
2225const char kOfflinePagesPrefetchingName[] =
2226 "Enables suggested offline pages to be prefetched.";
2227const char kOfflinePagesPrefetchingDescription[] =
2228 "Enables suggested offline pages to be prefetched, so useful content is "
2229 "available while offline.";
2230
Cathy Li3d5379e2017-09-07 00:11:092231const char kOfflinePagesPrefetchingUIName[] =
2232 "Enables prefetched offline pages to be shown in UI.";
2233const char kOfflinePagesPrefetchingUIDescription[] =
2234 "Enables prefetched offline pages to raise notifications and be shown in "
2235 "download home UI.";
2236
Pete Williamson7845dff2017-09-20 11:06:192237const char kOfflinePagesResourceBasedSnapshotName[] =
2238 "Enables offline page snapshots to be based on percentage of page loaded.";
2239const char kOfflinePagesResourceBasedSnapshotDescription[] =
2240 "Enables offline page snapshots to use a resource percentage based "
2241 "approach for determining when the page is loaded as opposed to a time "
2242 "based approach";
2243
Collin Baker17f92a52017-07-19 21:41:252244const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2245const char kOfflinePagesRenovationsDescription[] =
2246 "Enables offline page renovations which correct issues with dynamic "
2247 "content that occur when offlining pages that use JavaScript.";
2248
Brett Wilsonff596952017-07-14 01:06:552249const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2250const char kOfflinePagesSharingDescription[] =
2251 "Enables the saved offline pages to be shared via other applications.";
2252
Cathy Lie0d88762018-04-12 08:03:012253const char kOfflinePagesShowAlternateDinoPageName[] =
2254 "Enable alternate dino page with more user capabilities.";
2255const char kOfflinePagesShowAlternateDinoPageDescription[] =
2256 "Enables the dino page to show more buttons and offer existing offline "
2257 "content.";
2258
Brett Wilsonff596952017-07-14 01:06:552259const char kOfflinePagesSvelteConcurrentLoadingName[] =
2260 "Enables concurrent background loading on svelte.";
2261const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2262 "Enables concurrent background loading (or downloading) of pages on "
2263 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2264 "happen when the svelte device is idle.";
2265
2266const char kOffliningRecentPagesName[] =
2267 "Enable offlining of recently visited pages";
2268const char kOffliningRecentPagesDescription[] =
2269 "Enable storing recently visited pages locally for offline use. Requires "
2270 "Offline Pages to be enabled.";
2271
Lei Zhang2eca9082017-10-17 20:42:502272const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2273const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552274 "Enable Pay with Google integration into Web Payments with API version "
2275 "'1'.";
2276
Matthew Jonesa88b95852017-11-08 23:13:502277const char kProgressBarThrottleName[] = "Android progress update throttling.";
2278const char kProgressBarThrottleDescription[] =
2279 "Limit the maximum progress update to make progress appear smoother.";
2280
Brett Wilsonff596952017-07-14 01:06:552281const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2282const char kPullToRefreshEffectDescription[] =
2283 "Page reloads triggered by vertically overscrolling content.";
2284
Piotr Swigon7c296ef2017-08-29 04:32:002285const char kPwaImprovedSplashScreenName[] =
2286 "Improved Splash Screen for standalone PWAs";
2287const char kPwaImprovedSplashScreenDescription[] =
2288 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2289 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492290const char kPwaPersistentNotificationName[] =
2291 "Persistent notification in standalone PWA";
2292const char kPwaPersistentNotificationDescription[] =
2293 "Enables a persistent Android notification for standalone PWAs";
2294
Brett Wilsonff596952017-07-14 01:06:552295const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2296const char kReaderModeHeuristicsDescription[] =
2297 "Determines what pages the Reader Mode infobar is shown on.";
2298const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2299const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2300const char kReaderModeHeuristicsAllArticles[] = "All articles";
2301const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2302const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2303
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182304const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2305const char kReaderModeInCCTDescription[] =
2306 "Open Reader Mode in Chrome Custom Tabs.";
2307
Brett Wilsonff596952017-07-14 01:06:552308const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2309const char kSetMarketUrlForTestingDescription[] =
2310 "When enabled, sets the market URL for use in testing the update menu "
2311 "item.";
2312
2313const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2314const char kSpannableInlineAutocompleteDescription[] =
2315 "A new type of inline autocomplete for the omnibox that works with "
2316 "keyboards that compose text.";
2317
Brett Wilsonff596952017-07-14 01:06:552318const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2319const char kUpdateMenuBadgeDescription[] =
2320 "When enabled, an update badge will be shown on the app menu button.";
2321
2322const char kUpdateMenuItemCustomSummaryDescription[] =
2323 "When this flag and the force show update menu item flag are enabled, a "
2324 "custom summary string will be displayed below the update menu item.";
2325const char kUpdateMenuItemCustomSummaryName[] =
2326 "Update menu item custom summary";
2327
2328const char kUpdateMenuItemName[] = "Force show update menu item";
2329const char kUpdateMenuItemDescription[] =
2330 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2331 R"*(menu.)*";
2332
Amirhossein Simjourd78bbcf2018-02-02 16:23:392333const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2334const char kVrBrowsingNativeAndroidUiDescription[] =
2335 "Enable Android UI elements in VR.";
2336
Marc Treib93af46a2017-08-23 13:30:002337const char kThirdPartyDoodlesName[] =
2338 "Enable Doodles for third-party search engines";
2339const char kThirdPartyDoodlesDescription[] =
2340 "Enables fetching and displaying Doodles on the NTP for third-party search "
2341 "engines.";
2342
Klaus Weidneraaf697f2018-01-18 20:07:362343const char kWebXrRenderPathName[] = "WebXR presentation render path";
2344const char kWebXrRenderPathDescription[] =
2345 "Render path to use for WebXR presentation (including WebVR)";
2346const char kWebXrRenderPathChoiceClientWaitDescription[] =
2347 "ClientWait (Baseline)";
2348const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2349 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072350const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2351 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362352
Brett Wilson7b44537e2017-08-18 01:38:282353// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552354
Brett Wilson7b44537e2017-08-18 01:38:282355#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482356
Brett Wilson7b44537e2017-08-18 01:38:282357const char kAccountConsistencyName[] =
2358 "Identity consistency between browser and cookie jar";
2359const char kAccountConsistencyDescription[] =
2360 "When enabled, the browser manages signing in and out of Google accounts.";
2361const char kAccountConsistencyChoiceMirror[] = "Mirror";
2362const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342363
Chris Pickel3a227ae62017-08-24 10:47:262364const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2365const char kDoodlesOnLocalNtpDescription[] =
2366 "Show doodles on the local New Tab page if Google is the default search "
2367 "engine.";
2368
mlamouriff56c092017-05-11 15:31:392369const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392370const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342371 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392372const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392373const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392374const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342375 "Enabled (Flash lowers volume when interrupted by other sound, "
2376 "experimental)";
2377
Brett Wilson7b44537e2017-08-18 01:38:282378const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2379const char kEnableNewAppMenuIconDescription[] =
2380 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342381
2382const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342383const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282384 "Enable receiving entity suggestions - disambiguation descriptions - for "
2385 "Omnibox suggestions.";
2386
Dave Schuyler598a4a42018-01-04 02:15:102387const char kOmniboxRichEntitySuggestionsName[] =
2388 "Omnibox rich entity suggestions";
2389const char kOmniboxRichEntitySuggestionsDescription[] =
2390 "Display entity suggestions using images and an enhanced layout; showing "
2391 "more context and descriptive text about the entity";
2392
Kevin Bailey898669972017-11-06 15:34:492393const char kOmniboxTabSwitchSuggestionsName[] =
2394 "Omnibox tab switch suggestions";
2395const char kOmniboxTabSwitchSuggestionsDescription[] =
2396 "Enable suggestions for switching to open tabs within the Omnibox.";
2397
krbcc621412017-06-01 19:40:282398const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2399const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192400 "Enable receiving tail suggestions, a type of search suggestion based on "
2401 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342402
Brett Wilson7b44537e2017-08-18 01:38:282403const char kOneGoogleBarOnLocalNtpName[] =
2404 "Enable the OneGoogleBar on the local NTP";
2405const char kOneGoogleBarOnLocalNtpDescription[] =
2406 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2407 "search engine.";
2408
Brett Wilson7b44537e2017-08-18 01:38:282409const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2410const char kUseGoogleLocalNtpDescription[] =
2411 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322412
Brett Wilson7b44537e2017-08-18 01:38:282413const char kVoiceSearchOnLocalNtpName[] =
2414 "Enable Voice Search on the local NTP";
2415const char kVoiceSearchOnLocalNtpDescription[] =
2416 "Show a microphone for voice search on the local New Tab page "
2417 "if Google is the default search engine.";
2418
Balazs Engedy00c5cea2018-03-30 15:36:392419const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422420const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392421 "Enable Web Authentication API support";
2422
2423const char kEnableWebAuthenticationTestingAPIName[] =
2424 "Web Authentication Testing API";
2425const char kEnableWebAuthenticationTestingAPIDescription[] =
2426 "Enable Web Authentication Testing API support, which disconnects the API "
2427 "implementation from the real world, and allows configuring virtual "
2428 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422429
Brett Wilson7b44537e2017-08-18 01:38:282430#if defined(GOOGLE_CHROME_BUILD)
2431
2432const char kGoogleBrandedContextMenuName[] =
2433 "Google branding in the context menu";
2434const char kGoogleBrandedContextMenuDescription[] =
2435 "Shows a Google icon next to context menu items powered by Google "
2436 "services.";
2437
2438#endif // !defined(GOOGLE_CHROME_BUILD)
2439
2440#endif // !defined(OS_ANDROID)
2441
2442// Windows ---------------------------------------------------------------------
2443
2444#if defined(OS_WIN)
2445
2446const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2447const char kCloudPrintXpsDescription[] =
2448 "XPS enables advanced options for classic printers connected to the Cloud "
2449 "Print with Chrome. Printers must be re-connected after changing this "
2450 "flag.";
2451
Dave Tapuskadd43469d2017-08-22 22:15:532452const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2453const char kDirectManipulationStylusDescription[] =
2454 "If enabled, Chrome will scroll web pages on stylus drag.";
2455
Brett Wilson7b44537e2017-08-18 01:38:282456const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2457const char kDisablePostscriptPrintingDescription[] =
2458 "Disables PostScript generation when printing to PostScript capable "
2459 "printers, and uses EMF generation in its place.";
2460
2461const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2462const char kEnableAppcontainerDescription[] =
2463 "Enables the use of an AppContainer on sandboxed processes to improve "
2464 "security.";
2465
2466const char kEnableD3DVsync[] = "D3D v-sync";
2467const char kEnableD3DVsyncDescription[] =
2468 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2469 "to occur.";
2470
2471const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2472const char kEnableDesktopIosPromotionsDescription[] =
2473 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2474 "eligible.";
2475
James Forshawfd0ce342018-02-14 09:55:392476const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2477const char kEnableGpuAppcontainerDescription[] =
2478 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2479 "improve security.";
2480
Brett Wilson7b44537e2017-08-18 01:38:282481const char kGdiTextPrinting[] = "GDI Text Printing";
2482const char kGdiTextPrintingDescription[] =
2483 "Use GDI to print text as simply text";
2484
Henrik Grunell67e56ef2018-04-10 14:04:092485const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2486const char kIncreaseInputAudioBufferSizeDescription[] =
2487 "Increases the input audio endpoint buffer to 100 ms.";
2488
Brett Wilson7b44537e2017-08-18 01:38:282489const char kTraceExportEventsToEtwName[] =
2490 "Enable exporting of tracing events to ETW.";
2491const char kTraceExportEventsToEtwDesription[] =
2492 "If enabled, trace events will be exported to the Event Tracing for "
2493 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2494 "Xperf.";
2495
2496const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2497const char kUseWinrtMidiApiDescription[] =
2498 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2499 "later).";
2500
2501const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2502const char kWindows10CustomTitlebarDescription[] =
2503 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2504 "deferring to Windows.";
2505
Weza6ca5b92018-03-23 19:03:072506#if DCHECK_IS_CONFIGURABLE
2507const char kDcheckIsFatalName[] = "DCHECKs are fatal";
2508const char kDcheckIsFatalDescription[] =
2509 "By default Chrome will evaluate DCHECKs in some Canary builds, but only "
2510 "log failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2511#endif // DCHECK_IS_CONFIGURABLE
Wez6656c572017-08-29 22:29:582512
Brett Wilson7b44537e2017-08-18 01:38:282513#endif // defined(OS_WIN)
2514
2515// Mac -------------------------------------------------------------------------
2516
2517#if defined(OS_MACOSX)
2518
Brett Wilson7b44537e2017-08-18 01:38:282519const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2520const char kAppWindowCyclingDescription[] =
2521 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2522 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2523 "browser window, and browser windows will not be cycled when a Chrome App "
2524 "is active.";
2525
Lei Zhang2eca9082017-10-17 20:42:502526const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2527const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282528 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2529
2530const char kFullscreenToolbarRevealName[] =
2531 "Enables the toolbar in fullscreen to reveal itself.";
2532const char kFullscreenToolbarRevealDescription[] =
2533 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2534 "has changed.";
2535
2536const char kContentFullscreenName[] = "Improved Content Fullscreen";
2537const char kContentFullscreenDescription[] =
2538 "Fullscreen content window detaches from main browser window and goes to "
2539 "a new space without moving or changing the original browser window.";
2540
Lei Zhang2eca9082017-10-17 20:42:502541const char kDialogTouchBarName[] = "Dialog Touch Bar";
2542const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282543 "Shows Dialog buttons on the Touch Bar.";
2544
2545const char kHostedAppsInWindowsName[] =
2546 "Allow hosted apps to be opened in windows";
2547const char kHostedAppsInWindowsDescription[] =
2548 "Allows hosted apps to be opened in windows instead of being limited to "
2549 "tabs.";
2550
Lei Zhang2eca9082017-10-17 20:42:502551const char kMacRTLName[] = "Enable RTL";
2552const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282553
Lei Zhang2eca9082017-10-17 20:42:502554const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2555const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522556 "Enables sharing via macOS share extensions.";
2557
Lei Zhang2eca9082017-10-17 20:42:502558const char kMacTouchBarName[] = "Hardware Touch Bar";
2559const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282560
2561const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2562const char kMacV2SandboxDescription[] =
2563 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2564 "entire life cycle.";
2565
2566const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2567const char kMacViewsNativeAppWindowsDescription[] =
2568 "Controls whether to use Toolkit-Views based Chrome App windows.";
2569
2570const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2571const char kMacViewsTaskManagerDescription[] =
2572 "Controls whether to use the Toolkit-Views based Task Manager.";
2573
2574const char kTabDetachingInFullscreenName[] =
2575 "Allow tab detaching in fullscreen";
2576const char kTabDetachingInFullscreenDescription[] =
2577 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2578
2579const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2580const char kTabStripKeyboardFocusDescription[] =
2581 "Enable keyboard focus for the tabs in the tab strip.";
2582
Brett Wilson7b44537e2017-08-18 01:38:282583#endif
2584
2585// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342586
2587#if defined(OS_CHROMEOS)
2588
Brett Wilson7b44537e2017-08-18 01:38:282589const char kAcceleratedMjpegDecodeName[] =
2590 "Hardware-accelerated mjpeg decode for captured frame";
2591const char kAcceleratedMjpegDecodeDescription[] =
2592 "Enable hardware-accelerated mjpeg decode for captured frame where "
2593 "available.";
vabr0215a8e2017-03-28 12:47:342594
Brett Wilson7b44537e2017-08-18 01:38:282595const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2596const char kAllowTouchpadThreeFingerClickDescription[] =
2597 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342598
Brett Wilson7b44537e2017-08-18 01:38:282599const char kArcBootCompleted[] = "Load Android apps automatically";
2600const char kArcBootCompletedDescription[] =
2601 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342602
Lev Rumyantsev7a8544312017-08-18 19:26:512603const char kArcNativeBridgeExperimentName[] =
2604 "Enable native bridge experiment for ARC";
2605const char kArcNativeBridgeExperimentDescription[] =
2606 "Enables experimental native bridge feature.";
2607
lgchengecd1c1a62018-01-09 02:59:462608const char kArcUsbHostName[] = "Enable ARC USB host integration";
2609const char kArcUsbHostDescription[] =
2610 "Allow Android apps to use USB host feature on ChromeOS devices.";
2611
Kevin Cernekeeb7f96a52017-10-25 17:40:182612const char kArcVpnName[] = "Enable ARC VPN integration";
2613const char kArcVpnDescription[] =
2614 "Allow Android VPN clients to tunnel Chrome traffic.";
2615
Brett Wilson7b44537e2017-08-18 01:38:282616const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2617const char kAshEnableUnifiedDesktopDescription[] =
2618 "Enable unified desktop mode which allows a window to span multiple "
2619 "displays.";
vabr0215a8e2017-03-28 12:47:342620
Sean Kau5e956192017-10-06 22:25:172621const char kBulkPrintersName[] = "Bulk Printers Policy";
2622const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2623
Brett Wilson7b44537e2017-08-18 01:38:282624const char kCaptivePortalBypassProxyName[] =
2625 "Bypass proxy for Captive Portal Authorization";
2626const char kCaptivePortalBypassProxyDescription[] =
2627 "If proxy is configured, it usually prevents from authorization on "
2628 "different captive portals. This enables opening captive portal "
2629 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342630
Brett Wilson7b44537e2017-08-18 01:38:282631const char kCrOSComponentName[] = "Chrome OS Component";
2632const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082633 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342634
Xiaochu Liu51d03fd2017-09-08 23:51:022635const char kCrOSContainerName[] = "Chrome OS Container";
2636const char kCrOSContainerDescription[] =
2637 "Enable the use of Chrome OS Container utility.";
2638
Brett Wilson7b44537e2017-08-18 01:38:282639const char kCrosRegionsModeName[] = "Cros-regions load mode";
2640const char kCrosRegionsModeDescription[] =
2641 "This flag controls cros-regions load mode";
2642const char kCrosRegionsModeDefault[] = "Default";
2643const char kCrosRegionsModeOverride[] = "Override VPD values.";
2644const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342645
Jacob Dufault2becbc482017-08-25 00:36:352646const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2647const char kDisableLockScreenAppsDescription[] =
2648 "Disable new-note action handler apps on the lock screen. The user will "
2649 "not be able to launch the preferred note-taking action from the lock "
2650 "screen, provided that the app supports lock screen note taking.";
2651
Sammie Quonef6b4882017-09-14 16:50:052652const char kDisableTabletAutohideTitlebarsName[] =
2653 "Disable autohide titlebars in tablet mode";
2654const char kDisableTabletAutohideTitlebarsDescription[] =
2655 "Disable tablet mode autohide titlebars functionality. The user will be "
2656 "able to see the titlebar in tablet mode.";
2657
Xiaoqian Dai24b33eb2018-04-10 21:01:572658const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2659const char kDisableTabletSplitViewDescription[] =
2660 "Disable split view for Chrome OS tablet mode.";
2661
Brett Wilson7b44537e2017-08-18 01:38:282662const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2663const char kEnablePerUserTimezoneDescription[] =
2664 "Chrome OS system timezone preference is stored and handled for each user "
2665 "individually.";
vabr0215a8e2017-03-28 12:47:342666
Brett Wilson7b44537e2017-08-18 01:38:282667const char kDisableSystemTimezoneAutomaticDetectionName[] =
2668 "SystemTimezoneAutomaticDetection policy support";
2669const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2670 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342671
Lei Zhang2eca9082017-10-17 20:42:502672const char kEnableBackgroundBlurName[] = "Enable background blur.";
2673const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422674 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392675
Brett Wilson7b44537e2017-08-18 01:38:282676const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2677const char kEnableChromevoxArcSupportDescription[] =
2678 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342679
F#m75862c92018-01-25 19:10:472680const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2681const char kEnableDisplayZoomSettingDescription[] =
2682 "Allows the user to modify the display size or zoom via the chrome display "
2683 "settings page.";
2684
Brett Wilson7b44537e2017-08-18 01:38:282685const char kEnableEhvInputName[] =
2686 "Emoji, handwriting and voice input on opt-in IME menu";
2687const char kEnableEhvInputDescription[] =
2688 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342689
Brett Wilson7b44537e2017-08-18 01:38:282690const char kEnableEncryptionMigrationName[] =
2691 "Enable encryption migration of user data";
2692const char kEnableEncryptionMigrationDescription[] =
2693 "If enabled and the device supports ARC, the user will be asked to update "
2694 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342695
Blake O'Hare9e9317b22017-10-24 02:49:352696const char kEnableFloatingVirtualKeyboardName[] =
2697 "Enable floating virtual keyboard";
2698const char kEnableFloatingVirtualKeyboardDescription[] =
2699 "If enabled, the keyboard will use floating behavior by default.";
2700
Brett Wilson7b44537e2017-08-18 01:38:282701const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2702const char kEnableImeMenuDescription[] =
2703 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342704
Darren Shen3e49c63d2018-03-28 04:45:502705const char kEnableStylusVirtualKeyboardName[] =
2706 "Enable stylus virtual keyboard";
2707const char kEnableStylusVirtualKeyboardDescription[] =
2708 "If enabled, tapping with a stylus will show the handwriting virtual "
2709 "keyboard.";
2710
Jianzhou Feng4fb046c2018-03-29 07:38:542711const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2712 "Enable full screen handwriting virtual keyboard";
2713const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2714 "If enabled, the handwriting virtual keyboard will allow user to write "
2715 "anywhere on the screen";
2716
Jordy Greenblatt2f23df22018-02-22 19:49:192717const char kEnableUnifiedMultiDeviceSettingsName[] =
2718 "Enable unified MultiDevice settings";
2719const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2720 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2721 "MultiDevice settings.";
2722
2723const char kEnableUnifiedMultiDeviceSetupName[] =
2724 "Enable unified MultiDevice setup";
2725const char kEnableUnifiedMultiDeviceSetupDescription[] =
2726 "Enable the device to setup all MultiDevice services in a single workflow.";
2727
Klemen Kozjek05fc4512017-10-18 12:51:102728const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2729const char kEnableZipArchiverPackerDescription[] =
2730 "Enable the ability to archive files on Drive in the Files app";
2731
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412732const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2733const char kZipArchiverUnpackerDescription[] =
2734 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282735
2736const char kEolNotificationName[] = "Disable Device End of Life notification.";
2737const char kEolNotificationDescription[] =
2738 "Disable Notifcation when Device is End of Life.";
2739
2740const char kExperimentalAccessibilityFeaturesName[] =
2741 "Experimental accessibility features";
2742const char kExperimentalAccessibilityFeaturesDescription[] =
2743 "Enable additional accessibility features in the Settings page.";
2744
2745const char kExperimentalInputViewFeaturesName[] =
2746 "Experimental input view features";
2747const char kExperimentalInputViewFeaturesDescription[] =
2748 "Enable experimental features for IME input views.";
2749
2750const char kFileManagerTouchModeName[] = "Files App. touch mode";
2751const char kFileManagerTouchModeDescription[] =
2752 "Touchscreen-specific interactions of the Files app.";
2753
2754const char kFirstRunUiTransitionsName[] =
2755 "Animated transitions in the first-run tutorial";
2756const char kFirstRunUiTransitionsDescription[] =
2757 "Transitions during first-run tutorial are animated.";
2758
Brett Wilson7b44537e2017-08-18 01:38:282759const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2760const char kForceEnableStylusToolsDescription[] =
2761 "Forces display of the stylus tools menu in the shelf and the stylus "
2762 "section in settings, even if there is no attached stylus device.";
2763
2764const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2765const char kGestureEditingDescription[] =
2766 "Enable/Disable gesture editing option in the settings page for the "
2767 "virtual keyboard.";
2768
2769const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2770const char kGestureTypingDescription[] =
2771 "Enable/Disable gesture typing option in the settings page for the virtual "
2772 "keyboard.";
2773
2774const char kInputViewName[] = "Input views";
2775const char kInputViewDescription[] =
2776 "Enable IME extensions to supply custom views for user input such as "
2777 "virtual keyboards.";
2778
Megumi Hattori5a0d4182018-03-06 11:09:502779const char kLockScreenNotificationName[] = "Lock screen notification";
2780const char kLockScreenNotificationDescription[] =
2781 "Enable notifications on the lock screen.";
2782
Brett Wilson7b44537e2017-08-18 01:38:282783const char kMemoryPressureThresholdName[] =
2784 "Memory discard strategy for advanced pressure handling";
2785const char kMemoryPressureThresholdDescription[] =
2786 "Memory discarding strategy to use";
2787const char kConservativeThresholds[] =
2788 "Conservative memory pressure release strategy";
2789const char kAggressiveCacheDiscardThresholds[] =
2790 "Aggressive cache release strategy";
2791const char kAggressiveTabDiscardThresholds[] =
2792 "Aggressive tab release strategy";
2793const char kAggressiveThresholds[] =
2794 "Aggressive tab and cache release strategy";
2795
2796const char kMtpWriteSupportName[] = "MTP write support";
2797const char kMtpWriteSupportDescription[] =
2798 "MTP write support in File System API (and file manager). In-place editing "
2799 "operations are not supported.";
2800
2801const char kMultideviceName[] = "Enable multidevice features";
2802const char kMultideviceDescription[] =
2803 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342804
Kyle Horimoto027590fb2018-02-13 22:19:482805const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2806const char kMultiDeviceApiDescription[] =
2807 "Enable Mojo-based API which provides synced device metadata and the "
2808 "ability to connect to other devices associated the logged-in Google "
2809 "account.";
2810
Bailey Berrodca8eeca02017-11-18 00:49:122811const char kNativeSmbName[] = "Native Smb Client";
2812const char kNativeSmbDescription[] =
2813 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302814
vabr0215a8e2017-03-28 12:47:342815const char kNetworkPortalNotificationName[] =
2816 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342817const char kNetworkPortalNotificationDescription[] =
2818 "If enabled, notification is displayed when device is connected to a "
2819 "network behind captive portal.";
2820
Steven Bennetts77b67972017-12-14 19:38:322821const char kDisableNetworkSettingsConfigName[] =
2822 "Disable Settings based Network Configuration";
2823const char kDisableNetworkSettingsConfigDescription[] =
2824 "Disables the Settings based network configuration UI and restores the "
2825 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242826
Brett Wilson7b44537e2017-08-18 01:38:282827const char kNewKoreanImeName[] = "New Korean IME";
2828const char kNewKoreanImeDescription[] =
2829 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342830
Brett Wilson7b44537e2017-08-18 01:38:282831const char kNewZipUnpackerName[] = "New ZIP unpacker";
2832const char kNewZipUnpackerDescription[] =
2833 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342834
Brett Wilson7b44537e2017-08-18 01:38:282835const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2836const char kPhysicalKeyboardAutocorrectDescription[] =
2837 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2838 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342839
2840const char kPrinterProviderSearchAppName[] =
2841 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342842const char kPrinterProviderSearchAppDescription[] =
2843 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192844 "searches Chrome Web Store for extensions that support printing to a USB "
2845 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342846
Brett Wilson7b44537e2017-08-18 01:38:282847const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2848const char kQuickUnlockPinDescription[] =
2849 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2850 "device on the lock screen after you have signed into your device.";
2851const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2852const char kQuickUnlockPinSigninDescription[] =
2853 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2854 "device. After changing this flag PIN needs to be set up again.";
2855const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2856const char kQuickUnlockFingerprintDescription[] =
2857 "Enabling fingerprint quick unlock allows you to setup and use a "
2858 "fingerprint to unlock your Chromebook on the lock screen after you have "
2859 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342860
Brett Wilson7b44537e2017-08-18 01:38:282861const char kOfficeEditingComponentAppName[] =
2862 "Office Editing for Docs, Sheets & Slides";
2863const char kOfficeEditingComponentAppDescription[] =
2864 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072865
James Cook0ba192bf2017-12-01 20:53:112866const char kShowTapsName[] = "Show taps";
2867const char kShowTapsDescription[] =
2868 "Draws a circle at each touch point, which makes touch points more obvious "
2869 "when projecting or mirroring the display. Similar to the Android OS "
2870 "developer option.";
2871
2872const char kShowTouchHudName[] = "Show HUD for touch points";
2873const char kShowTouchHudDescription[] =
2874 "Shows a trail of colored dots for the last few touch points. Pressing "
2875 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2876 "debug hardware issues that generate spurious touch events.";
2877
Chung-Sheng Wu468b0b32017-09-01 14:41:572878const char kSysInternalsName[] = "Enable Sys-Internals";
2879const char kSysInternalsDescription[] =
2880 "If enabled, user can monitor system information at "
2881 "chrome://sys-internals.";
2882
Brett Wilson7b44537e2017-08-18 01:38:282883const char kTeamDrivesName[] = "Enable Team Drives Integration";
2884const char kTeamDrivesDescription[] =
2885 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342886
Brett Wilson7b44537e2017-08-18 01:38:282887const char kTetherName[] = "Instant Tethering";
2888const char kTetherDescription[] =
2889 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2890 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372891
Brett Wilson7b44537e2017-08-18 01:38:282892const char kTouchscreenCalibrationName[] =
2893 "Enable/disable touchscreen calibration option in material design settings";
2894const char kTouchscreenCalibrationDescription[] =
2895 "If enabled, the user can calibrate the touch screen displays in "
2896 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092897
Mitsuru Oshima63d3f2a2017-08-23 00:12:112898// Force UI Mode
2899const char kUiModeName[] = "Force Ui Mode";
2900const char kUiModeDescription[] =
2901 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2902 R"*(despite its current orientation. "Tablet" means that the )*"
2903 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2904 R"*(means that the chromebook will act as if it were in clamshell )*"
2905 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2906 R"*(the two, based on its orientation.)*";
2907const char kUiModeTablet[] = "TouchView";
2908const char kUiModeClamshell[] = "Clamshell";
2909const char kUiModeAuto[] = "Auto (default)";
2910
bruthigeafb0c02017-06-09 13:11:532911const char kUiDevToolsName[] = "Enable native UI inspection";
2912const char kUiDevToolsDescription[] =
2913 "Enables inspection of native UI elements. For local inspection use "
2914 "chrome://inspect#other";
2915
James Cooka1bcfa9a2018-01-30 00:18:402916const char kUseMusName[] = "Mojo UI service (mus)";
2917const char kUseMusDescription[] =
2918 "Handles input events, display configuration, and windowing in a mojo "
2919 "service on a thread in the browser process.";
2920
2921const char kUseMashName[] = "Out-of-process system UI (mash)";
2922const char kUseMashDescription[] =
2923 "Runs the mojo UI service (mus) and the ash window manager and system UI "
2924 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:282925
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342926// TODO(mcasas): remove after https://crbug.com/771345.
2927const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2928const char kUseMonitorColorSpaceDescription[] =
2929 "Enables Chrome to use the color space information provided by the monitor"
2930 " instead of the default sRGB color space.";
2931
Brett Wilson7b44537e2017-08-18 01:38:282932const char kVideoPlayerChromecastSupportName[] =
2933 "Experimental Chromecast support for Video Player";
2934const char kVideoPlayerChromecastSupportDescription[] =
2935 "This option enables experimental Chromecast support for Video Player app "
2936 "on ChromeOS.";
2937
2938const char kVirtualKeyboardName[] = "Virtual Keyboard";
2939const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2940
2941const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2942const char kVirtualKeyboardOverscrollDescription[] =
2943 "Enables virtual keyboard overscroll support.";
2944
2945const char kVoiceInputName[] = "Voice input on virtual keyboard";
2946const char kVoiceInputDescription[] =
2947 "Enables voice input on virtual keyboard.";
2948
2949const char kWakeOnPacketsName[] = "Wake On Packets";
2950const char kWakeOnPacketsDescription[] =
2951 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202952
Weidong Guo7ae47532018-04-05 21:30:372953const char kEnableHomeLauncherName[] = "Enable home launcher";
2954const char kEnableHomeLauncherDescription[] =
2955 "Enable home launcher in tablet mode.";
2956
yhanadac5bff5b2017-05-18 06:37:092957#endif // defined(OS_CHROMEOS)
2958
Brett Wilson7b44537e2017-08-18 01:38:282959// Random platform combinations -----------------------------------------------
2960
2961#if defined(OS_WIN) || defined(OS_LINUX)
2962
2963const char kEnableInputImeApiName[] = "Enable Input IME API";
2964const char kEnableInputImeApiDescription[] =
2965 "Enable the use of chrome.input.ime API.";
2966
2967#endif // defined(OS_WIN) || defined(OS_LINUX)
2968
2969#if defined(OS_WIN) || defined(OS_MACOSX)
2970
2971const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2972const char kAutomaticTabDiscardingDescription[] =
2973 "If enabled, tabs get automatically discarded from memory when the system "
2974 "memory is low. Discarded tabs are still visible on the tab strip and get "
2975 "reloaded when clicked on. Info about discarded tabs can be found at "
2976 "chrome://discards.";
2977
2978#endif // defined(OS_WIN) || defined(OS_MACOSX)
2979
2980// Feature flags --------------------------------------------------------------
2981
2982#if BUILDFLAG(ENABLE_VR)
2983
David Dorwin5a496c32017-11-17 01:45:052984const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2985const char kWebVrVsyncAlignDescription[] =
2986 "Align WebVR application rendering with VSync for smoother animations.";
2987
Brett Wilson7b44537e2017-08-18 01:38:282988#if defined(OS_ANDROID)
2989
Yash Malik50bcfc12017-11-18 00:47:592990const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2991const char kVrBrowserKeyboardDescription[] =
2992 "Enable a virtual keyboard for Chrome VR.";
2993
Yash Malikb78e72a72018-02-21 09:14:102994const char kVrWebInputEditingName[] = "VR browsing web input editing";
2995const char kVrWebInputEditingDescription[] =
2996 "Allow editing web input fields while in VR mode.";
2997
David Dorwin5a496c32017-11-17 01:45:052998const char kVrBrowsingExperimentalFeaturesName[] =
2999 "VR browsing experimental features";
3000const char kVrBrowsingExperimentalFeaturesDescription[] =
3001 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283002
David Dorwin5a496c32017-11-17 01:45:053003const char kVrBrowsingExperimentalRenderingName[] =
3004 "VR browsing experimental rendering features";
3005const char kVrBrowsingExperimentalRenderingDescription[] =
3006 "Experimental rendering features for VR browsing (e.g. power-saving "
3007 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103008
David Dorwin5a496c32017-11-17 01:45:053009const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3010const char kVrBrowsingInCustomTabDescription[] =
3011 "Allow browsing within a VR headset while in a Custom Tab.";
3012
Michael Thiessen37895912018-01-19 20:15:543013const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
3014const char kVrIconInDaydreamHomeDescription[] =
3015 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
3016
David Dorwin5a496c32017-11-17 01:45:053017const char kWebVrAutopresentFromIntentName[] =
3018 "WebVR auto presentation from intents";
3019const char kWebVrAutopresentFromIntentDescription[] =
3020 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283021
3022#endif // OS_ANDROID
3023
Bill Orr103ed272018-02-14 21:23:053024#if BUILDFLAG(ENABLE_OCULUS_VR)
3025const char kOculusVRName[] = "Oculus hardware support";
3026const char kOculusVRDescription[] =
3027 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3028 "Windows 10 or later).";
3029#endif // ENABLE_OCULUS_VR
3030
Bill Orr49527562017-11-22 16:58:483031#if BUILDFLAG(ENABLE_OPENVR)
3032const char kOpenVRName[] = "OpenVR hardware support";
3033const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073034 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3035 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483036#endif // ENABLE_OPENVR
3037
Brett Wilson7b44537e2017-08-18 01:38:283038#endif // ENABLE_VR
3039
Nico Weberaf3b00b2017-09-11 17:58:173040#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283041
3042const char kNaclDebugMaskName[] =
3043 "Restrict Native Client GDB-based debugging by pattern";
3044const char kNaclDebugMaskDescription[] =
3045 "Restricts Native Client application GDB-based debugging by URL of "
3046 "manifest file. Native Client GDB-based debugging must be enabled for this "
3047 "option to work.";
3048const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3049const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3050 "Debug everything except secure shell and the PNaCl translator.";
3051const char kNaclDebugMaskChoiceIncludeDebug[] =
3052 "Debug only if manifest URL ends with debug.nmf.";
3053
3054const char kNaclDebugName[] = "Native Client GDB-based debugging";
3055const char kNaclDebugDescription[] =
3056 "Enable GDB debug stub. This will stop a Native Client application on "
3057 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3058
3059const char kNaclName[] = "Native Client";
3060const char kNaclDescription[] =
3061 "Support Native Client for all web applications, even those that were not "
3062 "installed from the Chrome Web Store.";
3063
3064const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3065const char kPnaclSubzeroDescription[] =
3066 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3067
Nico Weberaf3b00b2017-09-11 17:58:173068#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283069
Brett Wilson7b44537e2017-08-18 01:38:283070#if BUILDFLAG(ENABLE_WEBRTC)
3071
3072const char kWebrtcH264WithOpenh264FfmpegName[] =
3073 "WebRTC H.264 software video encoder/decoder";
3074const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3075 "When enabled, an H.264 software video encoder/decoder pair is included. "
3076 "If a hardware encoder/decoder is also available it may be used instead of "
3077 "this encoder/decoder.";
3078
3079#endif // BUILDFLAG(ENABLE_WEBRTC)
3080
James Cookf9d34d22017-10-04 16:39:353081#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283082
Wenzhao Zang50fb0b22017-11-07 01:38:423083const char kAshDisableLoginDimAndBlurName[] =
3084 "Disable dimming and blur on login screen.";
3085const char kAshDisableLoginDimAndBlurDescription[] =
3086 "Disable dimming and blur on login screen.";
3087
Brett Wilson7b44537e2017-08-18 01:38:283088const char kAshDisableSmoothScreenRotationName[] =
3089 "Disable smooth rotation animations.";
3090const char kAshDisableSmoothScreenRotationDescription[] =
3091 "Disable smooth rotation animations.";
3092
Qiang Xub7e921072017-12-07 21:02:113093const char kAshEnableDisplayMoveWindowAccelsName[] =
3094 "Enable shortcuts for moving window between displays.";
3095const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3096 "Enable shortcuts for moving window between displays.";
3097
wutaoc70d7b92017-11-01 08:06:013098const char kAshEnableKeyboardShortcutViewerName[] =
3099 "Enable keyboard shortcut viewer.";
3100const char kAshEnableKeyboardShortcutViewerDescription[] =
3101 "Enable keyboard shortcut viewer.";
3102
Brett Wilson7b44537e2017-08-18 01:38:283103const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3104const char kAshEnableMirroredScreenDescription[] =
3105 "Enable the mirrored screen mode. This mode flips the screen image "
3106 "horizontally.";
3107
Sammie Quon4e14214d2018-01-30 22:45:243108const char kAshEnableNewOverviewUiName[] = "Enable new overview UI.";
3109const char kAshEnableNewOverviewUiDescription[] =
3110 "Enables the new overview mode UI.";
3111
wutaod9cbcd32018-02-17 02:31:063112const char kAshEnableNewOverviewAnimationsName[] =
3113 "Enable new overview animations.";
3114const char kAshEnableNewOverviewAnimationsDescription[] =
3115 "Enables the new overview mode animations.";
3116
Qiang Xufa19cfd2018-01-29 19:36:503117const char kAshEnablePersistentWindowBoundsName[] =
3118 "Enable persistent window bounds in multi-displays scenario.";
3119const char kAshEnablePersistentWindowBoundsDescription[] =
3120 "Enable persistent window bounds in multi-displays scenario.";
3121
Daniel Erat9ef89ee2018-03-27 03:46:463122const char kAshEnableModeSpecificPowerButtonName[] =
3123 "Enable mode-specific power button behavior.";
3124const char kAshEnableModeSpecificPowerButtonDescription[] =
3125 "Enable mode-specific power button behavior. While in tablet mode, tapping "
3126 "the power button turns the display off.";
3127
wutaoc5062be2018-03-16 02:16:233128const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3129const char kAshEnableTrilinearFilteringDescription[] =
3130 "Enable trilinear filtering.";
3131
Brett Wilson7b44537e2017-08-18 01:38:283132const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3133const char kAshShelfColorDescription[] =
3134 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3135 "--ash-shelf-color-scheme flag defines how that color is derived.";
3136
3137const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3138const char kAshShelfColorSchemeDescription[] =
3139 "Specify how the color is derived from the wallpaper. This flag is only "
3140 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3141const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3142const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3143const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3144const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3145const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3146const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3147
Wenzhao Zang06a28872018-02-23 04:01:353148const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3149const char kEnableNewWallpaperPickerDescription[] =
3150 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3151
Brett Wilson7b44537e2017-08-18 01:38:283152const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373153 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283154const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3155 "Sets the speed of the experimental visual feedback animations for "
3156 "material design.";
3157const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3158const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3159
3160const char kUiShowCompositedLayerBordersName[] =
3161 "Show UI composited layer borders";
3162const char kUiShowCompositedLayerBordersDescription[] =
3163 "Show border around composited layers created by UI.";
3164const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3165const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3166const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3167const char kUiShowCompositedLayerBordersAll[] = "All";
3168
3169const char kUiSlowAnimationsName[] = "Slow UI animations";
3170const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3171
James Cookf9d34d22017-10-04 16:39:353172#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283173
Brett Wilson7b44537e2017-08-18 01:38:283174#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3175
3176const char kAutofillCreditCardUploadName[] =
3177 "Enable offering upload of Autofilled credit cards";
3178const char kAutofillCreditCardUploadDescription[] =
3179 "Enables a new option to upload credit cards to Google Payments for sync "
3180 "to all Chrome devices.";
3181
3182#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3183
3184// ============================================================================
3185// Don't just add flags to the end, put them in the right section in
3186// alphabetical order just like the header file.
3187// ============================================================================
3188
vabr0215a8e2017-03-28 12:47:343189} // namespace flag_descriptions