blob: ca72276cf2830b9beddfe1a5a9068c34428ffb32 [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
Sidney San Martín9375b892017-09-09 00:29:54421const char kEnableMacMaterialDesignDownloadShelfName[] =
422 "Enable Material Design download shelf";
423
424const char kEnableMacMaterialDesignDownloadShelfDescription[] =
425 "If enabled, the download shelf uses Material Design.";
426
Tatiana Gornakafb40452017-07-31 13:50:04427const char kEnableManualFallbacksFillingName[] =
428 "Manual fallbacks for password manager forms filling";
429const char kEnableManualFallbacksFillingDescription[] =
430 "If enabled, then if user clicks on the password field on a form, popup "
431 "might contain generation fallbacks or 'Show all saved passwords' "
432 "fallback.";
433
vabr0215a8e2017-03-28 12:47:34434const char kEnableMaterialDesignBookmarksName[] =
435 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34436const char kEnableMaterialDesignBookmarksDescription[] =
437 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
438 "bookmarks page.";
439
vabr0215a8e2017-03-28 12:47:34440const char kEnableMaterialDesignExtensionsName[] =
441 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34442const char kEnableMaterialDesignExtensionsDescription[] =
443 "If enabled, the chrome://extensions/ URL loads the Material Design "
444 "extensions page.";
445
Anton Urusov47cd4932017-09-19 14:41:41446const char kEnablePolicyToolName[] = "Enable policy management page";
447const char kEnablePolicyToolDescription[] =
448 "If enabled, the chrome://policy-tool URL loads a page for managing "
449 "policies.";
450
Tsuyoshi Horoea7edb72017-11-12 04:14:00451const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
452const char kEnablePWAFullCodeCacheDescription[] =
453 "Generate V8 code cache in Cache Storage while installing Service Worker "
454 "for PWAs.";
455
Weidong Guof1e5a892018-01-06 02:26:39456const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28457 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39458const char kDisableMultiMirroringDescription[] =
459 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28460
Brett Wilsonf27ff602017-07-07 22:28:47461const char kEnableNavigationTracingName[] = "Enable navigation tracing";
462const char kEnableNavigationTracingDescription[] =
463 "This is to be used in conjunction with the trace-upload-url flag. "
464 "WARNING: When enabled, Chrome will record performance data for every "
465 "navigation and upload it to the URL specified by the trace-upload-url "
466 "flag. The trace may include personally identifiable information (PII) "
467 "such as the titles and URLs of websites you visit.";
468
Bernhard Bauer5533f9912017-11-06 17:56:02469const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
470const char kEnableNetworkLoggingToFileDescription[] =
471 "Enables network logging to a file named netlog.json in the user data "
472 "directory. The file can be imported into chrome://net-internals.";
473
Brett Wilsonf27ff602017-07-07 22:28:47474const char kEnableNetworkServiceName[] = "Enable network service";
475const char kEnableNetworkServiceDescription[] =
476 "Enables the network service, which makes network requests through a "
477 "separate service. Note: most features don't work with this yet.";
478
John Abd-El-Malek8067cc02017-12-04 23:23:20479const char kEnableNetworkServiceInProcessName[] =
480 "Runs network service in-process";
481const char kEnableNetworkServiceInProcessDescription[] =
482 "Runs the network service in the browser process.";
483
dpapaded8349472017-10-25 03:21:27484const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
485const char kEnableNewPrintPreviewDescription[] =
486 "If enabled, Print Preview will display a newer UI";
487
Ahmed Fakhry2fd8fc82017-07-28 16:31:12488const char kEnableNightLightName[] = "Enable Night Light";
489const char kEnableNightLightDescription[] =
490 "Enable the Night Light feature which controls the color temperature of "
491 "the screen.";
492
xlou8b56f672018-02-09 23:34:30493const char kEnableNupPrintingName[] = "Enable N-up printing";
494const char kEnableNupPrintingDescription[] =
495 "Enable N-up printing in the print preview panel.";
496
Sophie Chang117a3b22017-10-24 22:25:36497const char kEnableOptimizationHintsName[] = "Optimization Hints";
498const char kEnableOptimizationHintsDescription[] =
499 "Enable the Optimization Hints feature which incorporates server hints"
500 "into decisions for what optimizations to perform on some pages on slow "
501 "networks.";
502
Yutaka Hirano98be3272017-08-07 17:55:39503const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
504const char kEnableOutOfBlinkCORSDescription[] =
505 "CORS handling logic is moved out of blink.";
506
kylechar7051c092018-02-05 20:31:39507const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
508const char kVizDisplayCompositorDescription[] =
509 "If enabled, the display compositor runs as part of the viz service in the"
510 "GPU process.";
511
Ria Jiang6a129b982018-03-01 18:30:40512const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
513const char kVizHitTestDrawQuadDescription[] =
514 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
515 "with hit-test data computed from the CompositorFrame.";
516
Erik Chen49bbfa22017-08-18 08:49:56517const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23518 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56519const char kEnableOutOfProcessHeapProfilingDescription[] =
520 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19521 "malloced objects. Heap dumps can be obtained at chrome://tracing "
522 "[category:memory-infra] and chrome://memory-internals. This setting "
523 "controls which processes are profiled. As long as this setting is not "
524 "disabled, users can start profiling any given process in "
525 "chrome://memory-internals.";
526const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
527const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
528const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
529const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
530const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10531const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19532 "None by default. Visit chrome://memory-internals to choose which "
533 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15534const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
535 "Profile a random sampling of renderer processes, ensuring only one is "
536 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19537
Erik Chen8bb76b52017-12-06 19:06:25538const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19539 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25540const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
541 "By default, small allocations are pruned from the heap dump. This reduces "
542 "the size of the compressed trace by 100x. If pruning is disabled, the "
543 "chrome://tracing UI may be unable to take or load the trace. Save the "
544 "trace directly using chrome://memory-internals, and use other mechanisms "
545 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
546 "automatically uploaded traces will always be pruned. This only affects "
547 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56548
erikchen8bc20d82018-02-14 03:21:51549const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
550const char kOutOfProcessHeapProfilingSamplingDescription[] =
551 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22552 "10000. This results in low noise for large and/or frequent allocations ["
553 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
554 "total size of malloc-ed objects] and large and/or frequent allocations "
555 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51556
Erik Chen3303fd0232018-01-11 20:29:05557const char kOOPHPStackModeName[] =
558 "The type of stack to record for memlog heap dumps";
559const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19560 "By default, memlog heap dumps record native stacks, which requires a "
561 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55562 "pointers to work on Android. Native with thread names will add the thread "
563 "name as the first frame of each native stack. It's also possible to "
564 "record a pseudo stack using trace events as identifiers. It's also "
565 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19566const char kOOPHPStackModeMixed[] = "Mixed";
567const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55568const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19569const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05570
François Beaufort2e75f492018-02-08 20:44:46571const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47572const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46573 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47574
F#m59d036e2017-09-13 07:22:17575const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
576const char kEnablePixelCanvasRecordingDescription[] =
577 "Pixel canvas recording allows the compositor to raster contents aligned "
578 "with the pixel and improves text rendering. This should be enabled when a "
579 "device is using fractional scale factor.";
580
Brett Wilsonf27ff602017-07-07 22:28:47581const char kEnableTokenBindingName[] = "Token Binding.";
582const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
583
Sahel Sharifyd732ab12017-11-29 23:03:16584extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
585 "Wheel Scroll Latching.";
586extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
587 "Wheel scroll latching enforces latching to a single element for the "
588 "duration of a scroll sequence.";
589
Brett Wilsonf27ff602017-07-07 22:28:47590const char kEnableUseZoomForDsfName[] =
591 "Use Blink's zoom for device scale factor.";
592const char kEnableUseZoomForDsfDescription[] =
593 "If enabled, Blink uses its zooming mechanism to scale content for device "
594 "scale factor.";
595const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
596const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
597const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
598
599const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
600const char kEnableScrollAnchoringDescription[] =
601 "Adjusts scroll position to prevent visible jumps when offscreen content "
602 "changes.";
603
Patrick Noland8ee016e2018-01-24 11:44:53604const char kEnableScrollAnchorSerializationName[] =
605 "Scroll Anchor Serialization";
606const char kEnableScrollAnchorSerializationDescription[] =
607 "Save the scroll anchor and use it to restore the scroll position when "
608 "navigating.";
609
Brad Nelson5cd500e2018-01-04 00:50:19610const char kEnableSharedArrayBufferName[] =
611 "Experimental enabled SharedArrayBuffer support in JavaScript.";
612const char kEnableSharedArrayBufferDescription[] =
613 "Enable SharedArrayBuffer support in JavaScript.";
614
Brett Wilsonf27ff602017-07-07 22:28:47615const char kEnableWasmName[] = "WebAssembly structured cloning support.";
616const char kEnableWasmDescription[] =
617 "Enable web pages to use WebAssembly structured cloning.";
618
Brett Wilsonf27ff602017-07-07 22:28:47619const char kEnableImageCaptureAPIName[] = "Image Capture API";
620const char kEnableImageCaptureAPIDescription[] =
621 "Enables the Web Platform Image Capture API: takePhoto(), "
622 "getPhotoCapabilities(), etc.";
623
624const char kEnableZeroSuggestRedirectToChromeName[] =
625 "Experimental contextual omnibox suggestion";
626const char kEnableZeroSuggestRedirectToChromeDescription[] =
627 "Change omnibox contextual suggestions to an experimental source. Note "
628 "that this is not an on/off switch for contextual omnibox and it only "
629 "applies to suggestions provided before the user starts typing a URL or a "
630 "search query (i.e. zero suggest).";
631
632const char kEnableWasmStreamingName[] =
633 "WebAssembly streaming compile/instantiate support.";
634const char kEnableWasmStreamingDescription[] =
635 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
636
Brett Wilsonf27ff602017-07-07 22:28:47637const char kExpensiveBackgroundTimerThrottlingName[] =
638 "Throttle expensive background timers";
639const char kExpensiveBackgroundTimerThrottlingDescription[] =
640 "Enables intervention to limit CPU usage of background timers to 1%.";
641
642const char kExperimentalAppBannersName[] = "Experimental app banners";
643const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38644 "Enables a new experimental app banner flow and UI. Implies "
645 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47646
647const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
648const char kExperimentalCanvasFeaturesDescription[] =
649 "Enables the use of experimental canvas features which are still in "
650 "development.";
651
Nicholas Verneccd8259802018-02-22 01:22:04652const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
653const char kExperimentalCrostiniUIDescription[] =
654 "Enables in-development Crostini features.";
655
Brett Wilsonf27ff602017-07-07 22:28:47656const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
657const char kExperimentalExtensionApisDescription[] =
658 "Enables experimental extension APIs. Note that the extension gallery "
659 "doesn't allow you to upload extensions that use experimental APIs.";
660
661const char kExperimentalFullscreenExitUIName[] =
662 "Experimental fullscreen exit UI";
663const char kExperimentalFullscreenExitUIDescription[] =
664 "Displays experimental UI to allow mouse and touch input methods to exit "
665 "fullscreen mode.";
666
Brett Wilsonf27ff602017-07-07 22:28:47667const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
668const char kExperimentalKeyboardLockUiDescription[] =
669 "An experimental full screen with keyboard lock mode requiring users to "
670 "hold Esc to exit.";
671
672const char kExperimentalSecurityFeaturesName[] =
673 "Potentially annoying security features";
674const char kExperimentalSecurityFeaturesDescription[] =
675 "Enables several security features that will likely break one or more "
676 "pages that you visit on a daily basis. Strict mixed content checking, for "
677 "example. And locking powerful features to secure contexts. This flag will "
678 "probably annoy you.";
679
680const char kExperimentalWebPlatformFeaturesName[] =
681 "Experimental Web Platform features";
682const char kExperimentalWebPlatformFeaturesDescription[] =
683 "Enables experimental Web Platform features that are in development.";
684
685const char kExtensionContentVerificationName[] =
686 "Extension Content Verification";
687const char kExtensionContentVerificationDescription[] =
688 "This flag can be used to turn on verification that the contents of the "
689 "files on disk for extensions from the webstore match what they're "
690 "expected to be. This can be used to turn on this feature if it would not "
691 "otherwise have been turned on, but cannot be used to turn it off (because "
692 "this setting can be tampered with by malware).";
693const char kExtensionContentVerificationBootstrap[] =
694 "Bootstrap (get expected hashes, but do not enforce them)";
695const char kExtensionContentVerificationEnforce[] =
696 "Enforce (try to get hashes, and enforce them if successful)";
697const char kExtensionContentVerificationEnforceStrict[] =
698 "Enforce strict (hard fail if we can't get hashes)";
699
700const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
701const char kExtensionsOnChromeUrlsDescription[] =
702 "Enables running extensions on chrome:// URLs, where extensions explicitly "
703 "request this permission.";
galinapae72e152017-05-12 13:12:28704
Brett Wilsonecb80982017-07-12 20:34:51705const char kFastUnloadName[] = "Fast tab/window close";
706const char kFastUnloadDescription[] =
707 "Enables fast tab/window closing - runs a tab's onunload js handler "
708 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34709
Brett Wilsonecb80982017-07-12 20:34:51710const char kFeaturePolicyName[] = "Feature Policy";
711const char kFeaturePolicyDescription[] =
712 "Enables granting and removing access to features through the "
713 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34714
Brett Wilsonecb80982017-07-12 20:34:51715const char kFontCacheScalingName[] = "FontCache scaling";
716const char kFontCacheScalingDescription[] =
717 "Reuse a cached font in the renderer to serve different sizes of font for "
718 "faster layout.";
719
720const char kForceEffectiveConnectionTypeName[] =
721 "Override effective connection type";
722const char kForceEffectiveConnectionTypeDescription[] =
723 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30724 "returned by the network quality estimator. Slow 2G on Cellular returns "
725 "Slow 2G when connected to a cellular network, and the actual estimate "
726 "effective connection type when not on a cellular network. Previews are "
727 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51728const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
729const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
730const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30731const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
732 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51733const char kEffectiveConnectionType2GDescription[] = "2G";
734const char kEffectiveConnectionType3GDescription[] = "3G";
735const char kEffectiveConnectionType4GDescription[] = "4G";
736
737const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
738const char kFillOnAccountSelectDescription[] =
739 "Filling of passwords when an account is explicitly selected by the user "
740 "rather than autofilling credentials on page load.";
741
Brett Wilsonecb80982017-07-12 20:34:51742const char kForceTextDirectionName[] = "Force text direction";
743const char kForceTextDirectionDescription[] =
744 "Explicitly force the per-character directionality of UI text to "
745 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
746 "direction of the character language.";
747const char kForceDirectionLtr[] = "Left-to-right";
748const char kForceDirectionRtl[] = "Right-to-left";
749
750const char kForceUiDirectionName[] = "Force UI direction";
751const char kForceUiDirectionDescription[] =
752 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
753 "mode, overriding the default direction of the UI language.";
754
755const char kFramebustingName[] =
756 "Framebusting requires same-origin or a user gesture";
757const char kFramebustingDescription[] =
758 "Don't permit an iframe to navigate the top level browsing context unless "
759 "they are same-origin or the iframe is processing a user gesture.";
760
761const char kGamepadExtensionsName[] = "Gamepad Extensions";
762const char kGamepadExtensionsDescription[] =
763 "Enabling this option allows web applications to access experimental "
764 "extensions to the Gamepad APIs.";
765
Brett Wilsonecb80982017-07-12 20:34:51766const char kGpuRasterizationMsaaSampleCountName[] =
767 "GPU rasterization MSAA sample count.";
768const char kGpuRasterizationMsaaSampleCountDescription[] =
769 "Specify the number of MSAA samples for GPU rasterization.";
770const char kGpuRasterizationMsaaSampleCountZero[] = "0";
771const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
772const char kGpuRasterizationMsaaSampleCountFour[] = "4";
773const char kGpuRasterizationMsaaSampleCountEight[] = "8";
774const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
775
776const char kGpuRasterizationName[] = "GPU rasterization";
777const char kGpuRasterizationDescription[] =
778 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28779const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51780
781const char kGoogleProfileInfoName[] = "Google profile name and icon";
782const char kGoogleProfileInfoDescription[] =
783 "Enables using Google information to populate the profile name and icon in "
784 "the avatar menu.";
785
786const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
787const char kHarfbuzzRendertextDescription[] =
788 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
789 "web content.";
790
Takumi Fujimotofb71e332018-03-31 14:04:08791const char kViewsCastDialogName[] = "Views Cast dialog";
792const char kViewsCastDialogDescription[] =
793 "Replace the WebUI Cast dialog with a Views toolkit dialog.";
794
Manu Cornete5f855b2018-03-13 03:35:25795const char kHideNonActiveAppsFromShelfName[] =
796 "Hide apps that are not running from the shelf";
797const char kHideNonActiveAppsFromShelfDescription[] =
798 "Save space in the shelf by hiding apps that are not running.";
799
Brett Wilsonecb80982017-07-12 20:34:51800const char kHistoryRequiresUserGestureName[] =
801 "New history entries require a user gesture.";
802const char kHistoryRequiresUserGestureDescription[] =
803 "Require a user gesture to add a history entry.";
804const char kHyperlinkAuditingName[] = "Hyperlink auditing";
805const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
806
Ryan Landay4242dbc22018-04-04 01:47:33807const char kHorizontalTabSwitcherAndroidName[] =
808 "Enable horizontal tab switcher";
809const char kHorizontalTabSwitcherAndroidDescription[] =
810 "Changes the layout of the Android tab switcher so tabs scroll "
811 "horizontally instead of vertically.";
812
Brett Wilsonecb80982017-07-12 20:34:51813const char kHostedAppQuitNotificationName[] =
814 "Quit notification for hosted apps";
815const char kHostedAppQuitNotificationDescription[] =
816 "Display a notification when quitting Chrome if hosted apps are currently "
817 "running.";
818
819const char kHostedAppShimCreationName[] =
820 "Creation of app shims for hosted apps on Mac";
821const char kHostedAppShimCreationDescription[] =
822 "Create app shims on Mac when creating a hosted app.";
823
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48824const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
825const char kHtmlBasedUsernameDetectorDescription[] =
826 "Use HTML-based username detector for the password manager.";
827
Brett Wilsonecb80982017-07-12 20:34:51828const char kIconNtpName[] = "Large icons on the New Tab page";
829const char kIconNtpDescription[] =
830 "Enable the experimental New Tab page using large icons.";
831
832const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
833const char kIgnoreGpuBlacklistDescription[] =
834 "Overrides the built-in software rendering list and enables "
835 "GPU-acceleration on unsupported system configurations.";
836
Thanh Le5f090efa52017-12-27 22:39:44837const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
838const char kIgnorePreviewsBlacklistDescription[] =
839 "Ignore decisions made by the PreviewsBlackList";
840
Brett Wilsonecb80982017-07-12 20:34:51841const char kImportantSitesInCbdName[] =
842 "Important sites options in clear browsing data dialog";
843const char kImportantSitesInCbdDescription[] =
844 "Include the option to whitelist important sites in the clear browsing "
845 "data dialog.";
846
Claudio Magni61c210922017-12-28 00:29:51847const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
848const char kImprovedLanguageSettingsDescription[] =
849 "Set of changes for Language Settings. These changes are intended to fix "
850 "the major bugs related to Language Settings.";
851
Brett Wilsonecb80982017-07-12 20:34:51852const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
853const char kInProductHelpDemoModeChoiceDescription[] =
854 "Selects the In-Product Help demo mode.";
855
856const char kJavascriptHarmonyName[] = "Experimental JavaScript";
857const char kJavascriptHarmonyDescription[] =
858 "Enable web pages to use experimental JavaScript features.";
859
860const char kJavascriptHarmonyShippingName[] =
861 "Latest stable JavaScript features";
862const char kJavascriptHarmonyShippingDescription[] =
863 "Some web pages use legacy or non-standard JavaScript extensions that may "
864 "conflict with the latest JavaScript features. This flag allows disabling "
865 "support of those features for compatibility with such pages.";
866
Yutaka Hiranof7f2f632017-09-06 10:40:08867const char kKeepAliveRendererForKeepaliveRequestsName[] =
868 "Keep a renderer alive for keepalive fetch requests";
869const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
870 "Keep a render process alive when the process has a pending fetch request "
871 "with `keepalive' specified.";
872
Joe Downing095fd6d2018-02-01 18:40:36873const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
874const char kKeyboardLockApiDescription[] =
875 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
876 "specific key events and have them routed directly to the webpage when in "
877 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
878
Brett Wilsonecb80982017-07-12 20:34:51879const char kLcdTextName[] = "LCD text antialiasing";
880const char kLcdTextDescription[] =
881 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
882 "(subpixel) when doing accelerated compositing.";
883
Matt Giucac399982f2017-10-06 07:51:29884const char kLeftToRightUrlsName[] =
885 "Render bidirectional URLs from left to right";
886const char kLeftToRightUrlsDescription[] =
887 "An experimental Bidi URL rendering algorithm where the URL components are "
888 "always shown in order from left to right, regardless of any RTL "
889 "characters. (The contents of each component are still rendered with the "
890 "normal Bidi algorithm.)";
891
Brett Wilsonecb80982017-07-12 20:34:51892const char kLoadMediaRouterComponentExtensionName[] =
893 "Load Media Router Component Extension";
894const char kLoadMediaRouterComponentExtensionDescription[] =
895 "Loads the Media Router component extension at startup.";
896
Derek Chengd24c68c2018-03-12 19:09:32897const char kMediaRouterCastAllowAllIPsName[] =
898 "Connect to Cast devices on all IP addresses";
899const char kMediaRouterCastAllowAllIPsDescription[] =
900 "Have the Media Router connect to Cast devices on all IP addresses, not "
901 "just RFC1918/RFC4913 private addresses.";
902
Brett Wilsonecb80982017-07-12 20:34:51903const char kManualPasswordGenerationName[] = "Manual password generation.";
904const char kManualPasswordGenerationDescription[] =
905 "Show a 'Generate Password' option on the context menu for all password "
906 "fields.";
907
Dominic Battref27e8762017-08-23 11:16:25908const char kManualPasswordSavingName[] = "Manual password saving.";
909const char kManualPasswordSavingDescription[] =
910 "Show the password manager icon when typing into a password filed. "
911 "Clicking it allows to save the password without submitting the form.";
912
Brett Wilsonecb80982017-07-12 20:34:51913const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
914const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51915
Lei Zhang2eca9082017-10-17 20:42:50916const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
917const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51918 "If enabled, the Incognito New Tab page uses the new material design with "
919 "a better readable text.";
920
921const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
922const char kMediaRemotingDescription[] =
923 "When Casting a tab to a remote device, enabling this turns on an "
924 "optimization that forwards the content bitstream directly to the remote "
925 "device when a video is fullscreened.";
926
927const char kMemoryAblationName[] = "Memory ablation experiment";
928const char kMemoryAblationDescription[] =
929 "Allocates extra memory in the browser process.";
930
931const char kMemoryCoordinatorName[] = "Memory coordinator";
932const char kMemoryCoordinatorDescription[] =
933 "Enable memory coordinator instead of memory pressure listeners.";
934
935const char kMessageCenterNewStyleNotificationName[] = "New style notification";
936const char kMessageCenterNewStyleNotificationDescription[] =
937 "Enables the experiment style of material-design notification";
938
Brett Wilsonecb80982017-07-12 20:34:51939const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
940const char kMhtmlGeneratorOptionDescription[] =
941 "Provides experimental options for MHTML file generator.";
942const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
943const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
944
Kouhei Ueno08445c22017-09-05 03:58:30945const char kModuleScriptsDynamicImportName[] =
946 "Enable ECMAScript 6 modules dynamic import";
947const char kModuleScriptsDynamicImportDescription[] =
948 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
949 "Blink.";
950
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05951const char kModuleScriptsImportMetaUrlName[] =
952 "Enable ECMAScript 6 modules import.meta.url";
953const char kModuleScriptsImportMetaUrlDescription[] =
954 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
955 "Blink.";
956
Brett Wilsonecb80982017-07-12 20:34:51957const char kNewAudioRenderingMixingStrategyName[] =
958 "New audio rendering mixing strategy";
959const char kNewAudioRenderingMixingStrategyDescription[] =
960 "Use the new audio rendering mixing strategy.";
961
962const char kNewBookmarkAppsName[] = "The new bookmark app system";
963const char kNewBookmarkAppsDescription[] =
964 "Enables the new system for creating bookmark apps.";
965
Brett Wilsonecb80982017-07-12 20:34:51966const char kNewRemotePlaybackPipelineName[] =
967 "Enable the new remote playback pipeline.";
968const char kNewRemotePlaybackPipelineDescription[] =
969 "Enable the new pipeline for playing media element remotely via "
970 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50971const char kUseSurfaceLayerForVideoName[] =
972 "Enable the use of SurfaceLayer objects for videos.";
973const char kUseSurfaceLayerForVideoDescription[] =
974 "Enable compositing onto a Surface instead of a VideoLayer "
975 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51976
977const char kNewUsbBackendName[] = "Enable new USB backend";
978const char kNewUsbBackendDescription[] =
979 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34980
Sonny Sasaka2d200432018-03-22 17:43:16981const char kNewblueName[] = "Newblue";
982const char kNewblueDescription[] =
983 "Enables the use of newblue Bluetooth daemon.";
984
brettw5f9c1642017-05-14 17:12:48985const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34986const char kNostatePrefetchDescription[] =
987 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
988 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
989 R"*(improve load times even more. "Simple Load" does nothing and is )*"
990 R"*(similar to disabling the feature, but collects more metrics for )*"
991 R"*(comparison purposes.)*";
992
Brett Wilsonecb80982017-07-12 20:34:51993const char kNotificationsNativeFlagName[] = "Enable native notifications.";
994const char kNotificationsNativeFlagDescription[] =
995 "Enable support for using the native notification toasts and notification "
996 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34997
Zentaro Kavanaghbad511c2017-10-18 22:29:00998#if defined(OS_POSIX)
999const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1000const char kNtlmV2EnabledDescription[] =
1001 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1002#endif
1003
Brett Wilsonecb80982017-07-12 20:34:511004const char kNumRasterThreadsName[] = "Number of raster threads";
1005const char kNumRasterThreadsDescription[] =
1006 "Specify the number of raster threads.";
1007const char kNumRasterThreadsOne[] = "1";
1008const char kNumRasterThreadsTwo[] = "2";
1009const char kNumRasterThreadsThree[] = "3";
1010const char kNumRasterThreadsFour[] = "4";
1011
1012const char kOfferStoreUnmaskedWalletCardsName[] =
1013 "Google Payments card saving checkbox";
1014const char kOfferStoreUnmaskedWalletCardsDescription[] =
1015 "Show the checkbox to offer local saving of a credit card downloaded from "
1016 "the server.";
1017
1018const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1019const char kOfflineAutoReloadDescription[] =
1020 "Pages that fail to load while the browser is offline will be "
1021 "auto-reloaded when the browser is online again.";
1022
1023const char kOfflineAutoReloadVisibleOnlyName[] =
1024 "Only Auto-Reload Visible Tabs";
1025const char kOfflineAutoReloadVisibleOnlyDescription[] =
1026 "Pages that fail to load while the browser is offline will only be "
1027 "auto-reloaded if their tab is visible.";
1028
Brett Wilsonecb80982017-07-12 20:34:511029const char kOmniboxDisplayTitleForCurrentUrlName[] =
1030 "Include title for the current URL in the omnibox";
1031const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1032 "In the event that the omnibox provides suggestions on-focus, the URL of "
1033 "the current page is provided as the first suggestion without a title. "
1034 "Enabling this flag causes the title to be displayed.";
1035
Benoit Lizeab08362c2017-07-19 14:50:541036const char kOmniboxSpareRendererName[] =
1037 "Start spare renderer on omnibox focus";
1038const char kOmniboxSpareRendererDescription[] =
1039 "When the omnibox is focused, start an empty spare renderer. This can "
1040 "speed up the load of the navigation from the omnibox.";
1041
Tommy C. Li8875a442017-08-23 00:10:591042const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1043 "Omnibox UI Elide Suggestion URL After Host";
1044const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1045 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1046 "dropdown.";
1047
Tommy C. Lid79d4402017-12-22 22:49:121048const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1049 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1050const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1051 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1052 "displayed URLs. Hidden portions are restored during editing.";
1053
Brett Wilsonecb80982017-07-12 20:34:511054const char kOmniboxUIMaxAutocompleteMatchesName[] =
1055 "Omnibox UI Max Autocomplete Matches";
1056
1057const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1058 "Changes the maximum number of autocomplete matches displayed in the "
1059 "Omnibox UI.";
1060
1061const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
1062const char kOmniboxUINarrowDropdownDescription[] =
1063 "Makes the suggestions dropdown width match the omnibox width.";
1064
Justin Donnelly65c9e8b2017-10-01 05:15:011065const char kOmniboxUIShowSuggestionFaviconsName[] =
1066 "Omnibox UI Show Suggestion Favicons";
1067const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1068 "Shows favicons instead of generic vector icons for URL suggestions in the "
1069 "Omnibox dropdown.";
1070
1071const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1072const char kOmniboxUISwapTitleAndUrlDescription[] =
1073 "In the omnibox dropdown, shows titles before URLs when both are "
1074 "available.";
1075
Brett Wilsonecb80982017-07-12 20:34:511076const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
1077const char kOmniboxUIVerticalLayoutDescription[] =
1078 "Displays Omnibox sugestions in 2 lines - title over origin.";
1079
1080const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1081const char kOmniboxUIVerticalMarginDescription[] =
1082 "Changes the vertical margin in the Omnibox UI.";
1083
Troy Hildebrandtb32637ca2018-02-21 23:25:091084const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1085 "Omnibox Voice Search Always Visible";
1086const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1087 "Always displays voice search icon in focused omnibox as long as voice "
1088 "search is possible";
1089
Brett Wilsonecb80982017-07-12 20:34:511090const char kOriginTrialsName[] = "Origin Trials";
1091const char kOriginTrialsDescription[] =
1092 "Enables origin trials for controlling access to feature/API experiments.";
1093
Becca Hughes930d8cd2017-10-02 11:09:121094const char kOverflowIconsForMediaControlsName[] =
1095 "Icons on Media Controls Overflow Menu";
1096const char kOverflowIconsForMediaControlsDescription[] =
1097 "Displays icons on the overflow menu of the native media controls";
1098
Brett Wilsonecb80982017-07-12 20:34:511099const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1100const char kOverlayScrollbarsDescription[] =
1101 "Enable the experimental overlay scrollbars implementation. You must also "
1102 "enable threaded compositing to have the scrollbars animate.";
1103
chaopenge8aa016b2017-08-24 15:20:191104const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1105 "Flash Overlay Scrollbars After Any Scroll Update";
1106const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1107 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1108 " must also enable Overlay Scrollbars.";
1109
chaopeng343678022017-08-24 18:45:001110const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1111 "Flash Overlay Scrollbars When Mouse Enter";
1112const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1113 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1114 " enable Overlay Scrollbars.";
1115
Claudio Magni81326f92017-09-01 05:21:181116const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1117const char kUseNewAcceptLanguageHeaderDescription[] =
1118 "Adds the base language code after other corresponding language+region "
1119 "codes. This ensures that users receive content in their preferred "
1120 "language.";
1121
Brett Wilsonecb80982017-07-12 20:34:511122const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1123const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481124 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511125const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481126const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511127
1128const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1129const char kOverscrollStartThresholdDescription[] =
1130 "Changes overscroll start threshold relative to the default value.";
1131const char kOverscrollStartThreshold133Percent[] = "133%";
1132const char kOverscrollStartThreshold166Percent[] = "166%";
1133const char kOverscrollStartThreshold200Percent[] = "200%";
1134
Xing Liu5400a002017-09-15 21:48:291135const char kParallelDownloadingName[] = "Parallel downloading";
1136const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061137 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291138
Brett Wilsonecb80982017-07-12 20:34:511139const char kPassiveEventListenerDefaultName[] =
1140 "Passive Event Listener Override";
1141const char kPassiveEventListenerDefaultDescription[] =
1142 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1143 "haven't requested otherwise) to be treated as passive. This will break "
1144 "touch/wheel behavior on some websites but is useful for demonstrating the "
1145 "potential performance benefits of adopting passive event listeners.";
1146const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1147const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1148
1149const char kPassiveEventListenersDueToFlingName[] =
1150 "Touch Event Listeners Passive Default During Fling";
1151const char kPassiveEventListenersDueToFlingDescription[] =
1152 "Forces touchstart, and first touchmove per scroll event listeners during "
1153 "fling to be treated as passive.";
1154
1155const char kPassiveDocumentEventListenersName[] =
1156 "Document Level Event Listeners Passive Default";
1157const char kPassiveDocumentEventListenersDescription[] =
1158 "Forces touchstart, and touchmove event listeners on document level "
1159 "targets (which haven't requested otherwise) to be treated as passive.";
1160
1161const char kPasswordForceSavingName[] = "Force-saving of passwords";
1162const char kPasswordForceSavingDescription[] =
1163 "Allow the user to manually enforce password saving instead of relying on "
1164 "password manager's heuristics.";
1165
1166const char kPasswordGenerationName[] = "Password generation";
1167const char kPasswordGenerationDescription[] =
1168 "Allow the user to have Chrome generate passwords when it detects account "
1169 "creation pages.";
1170
Vaclav Brozekd8a3f542017-11-16 14:21:131171const char kPasswordExportName[] = "Password export";
1172const char kPasswordExportDescription[] =
1173 "Export functionality in password settings.";
1174
1175const char kPasswordImportName[] = "Password import";
1176const char kPasswordImportDescription[] =
1177 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511178
Friedrich Horschig03c91982018-01-25 14:21:281179const char kPasswordSearchMobileName[] = "Password search";
1180const char kPasswordSearchMobileDescription[] =
1181 "Search functionality in password settings.";
1182
Tom Sepez92a2cd242018-03-13 19:23:091183const char kPdfIsolationName[] = "PDF Isolation";
1184const char kPdfIsolationDescription[] =
1185 "Render PDF files from different origins in different plugin processes.";
1186
Brett Wilsonecb80982017-07-12 20:34:511187const char kPinchScaleName[] = "Pinch scale";
1188const char kPinchScaleDescription[] =
1189 "Enables experimental support for scale using pinch.";
1190
Doug Arnett620ff542018-02-06 17:54:221191const char kPreviewsAllowedName[] = "Previews Allowed";
1192const char kPreviewsAllowedDescription[] =
1193 "Allows previews to be shown subject to specific preview types being "
1194 "enabled and the client experiencing specific triggering conditions. "
1195 "May be used as a kill-switch to turn off all potential preview types.";
1196
Brett Wilsonecb80982017-07-12 20:34:511197const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1198const char kPrintPdfAsImageDescription[] =
1199 "If enabled, an option to print PDF files as images will be available in "
1200 "print preview.";
1201
1202const char kPrintPreviewRegisterPromosName[] =
1203 "Print Preview Registration Promos";
1204const char kPrintPreviewRegisterPromosDescription[] =
1205 "Enable registering unregistered cloud printers from print preview.";
1206
1207const char kProtectSyncCredentialName[] = "Autofill sync credential";
1208const char kProtectSyncCredentialDescription[] =
1209 "How the password manager handles autofill for the sync credential.";
1210
1211const char kProtectSyncCredentialOnReauthName[] =
1212 "Autofill sync credential only for transactional reauth pages";
1213const char kProtectSyncCredentialOnReauthDescription[] =
1214 "How the password manager handles autofill for the sync credential only "
1215 "for transactional reauth pages.";
1216
Mohsen Izadi93faac12017-07-29 04:45:151217const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1218const char kPullToRefreshDescription[] =
1219 "Pull-to-refresh gesture in response to vertical overscroll.";
1220
Brett Wilsonecb80982017-07-12 20:34:511221const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1222const char kPushApiBackgroundModeDescription[] =
1223 "Enable background mode for the Push API. This allows Chrome to continue "
1224 "running after the last window is closed, and to launch at OS startup, if "
1225 "the Push API needs it.";
1226
Troy Hildebrandt7228ad12018-02-23 21:18:241227const char kQueryInOmniboxName[] = "Query in Omnibox";
1228const char kQueryInOmniboxDescription[] =
1229 "Only display query terms in the omnibox when viewing a search results "
1230 "page.";
1231
Brett Wilsonecb80982017-07-12 20:34:511232const char kQuicName[] = "Experimental QUIC protocol";
1233const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1234
1235const char kReducedReferrerGranularityName[] =
1236 "Reduce default 'referer' header granularity.";
1237const char kReducedReferrerGranularityDescription[] =
1238 "If a page hasn't set an explicit referrer policy, setting this flag will "
1239 "reduce the amount of information in the 'referer' header for cross-origin "
1240 "requests.";
1241
Claudio Magnie0a80bb2018-01-31 02:52:581242extern const char kRegionalLocalesAsDisplayUIName[] =
1243 "Allow regional locales as display UI";
1244extern const char kRegionalLocalesAsDisplayUIDescription[] =
1245 "This flag allows regional locales to be selected as display UI by the "
1246 "user in Language Settings. The actual locale of the system is derived "
1247 "from the user selection based on some simple fallback logic.";
1248
Christian Dullweber1af31e62018-02-22 11:49:481249const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141250 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481251const char kRemoveNavigationHistoryDescription[] =
1252 "Remove a navigation entry when the corresponding history entry has been "
1253 "deleted.";
1254
Mihai Sardarescu6d0f5b72017-10-30 11:24:381255const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1256 "Remove usage of the deprecated GAIA sign-in endpoint";
1257const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1258 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1259 "This flags controls wheter it should no longer be used during a sign-in "
1260 " flow.";
1261
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351262const char kRendererSideResourceSchedulerName[] =
1263 "Renderer side ResourceScheduler";
1264const char kRendererSideResourceSchedulerDescription[] =
1265 "Migrate some ResourceScheduler functionalities to renderer";
1266
Brett Wilsonecb80982017-07-12 20:34:511267const char kRequestTabletSiteName[] =
1268 "Request tablet site option in the settings menu";
1269const char kRequestTabletSiteDescription[] =
1270 "Allows the user to request tablet site. Web content is often optimized "
1271 "for tablet devices. When this option is selected the user agent string is "
1272 "changed to indicate a tablet device. Web content optimized for tablets is "
1273 "received there after for the current tab.";
1274
1275const char kResetAppListInstallStateName[] =
1276 "Reset the App Launcher install state on every restart.";
1277const char kResetAppListInstallStateDescription[] =
1278 "Reset the App Launcher install state on every restart. While this flag is "
1279 "set, Chrome will forget the launcher has been installed each time it "
1280 "starts. This is used for testing the App Launcher install flow.";
1281
1282const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1283const char kResourceLoadSchedulerDescription[] =
1284 "Uses the resource load scheduler in blink to schedule and throttle "
1285 "resource load requests.";
1286
Brett Wilsonecb80982017-07-12 20:34:511287const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1288const char kSafeSearchUrlReportingDescription[] =
1289 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1290
Alexei Filippov98772752018-01-27 08:26:521291const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1292const char kSamplingHeapProfilerDescription[] =
1293 "Enables native memory sampling profiler with specified rate in KiB. "
1294 "If sampling rate is not provided the default value of 128 KiB is used.";
1295
Brett Wilsonecb80982017-07-12 20:34:511296const char kSaveasMenuLabelExperimentName[] =
1297 "Switch 'Save as' menu labels to 'Download'";
1298const char kSaveasMenuLabelExperimentDescription[] =
1299 "Enables an experiment to switch menu labels that use 'Save as...' to "
1300 "'Download'.";
1301
1302const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1303const char kSavePageAsMhtmlDescription[] =
1304 "Enables saving pages as MHTML: a single text file containing HTML and all "
1305 "sub-resources.";
1306
Nate Chapin9638e7102017-09-20 22:11:011307const char kSavePreviousDocumentResourcesName[] =
1308 "Save Previous Document Resources";
1309const char kSavePreviousDocumentResourcesDescription[] =
1310 "Saves an old document's cached resources until the specified point in the "
1311 "next document's lifecycle.";
1312const char kSavePreviousDocumentResourcesNever[] =
1313 "Don't explicitly save resources";
1314const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1315 "Save resources until onDOMContentLoaded completes";
1316const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1317 "Save resources until onload completes";
1318
Brett Wilsonecb80982017-07-12 20:34:511319const char kScrollPredictionName[] = "Scroll prediction";
1320const char kScrollPredictionDescription[] =
1321 "Predicts the finger's future position during scrolls allowing time to "
1322 "render the frame before the finger is there.";
1323
1324const char kSecondaryUiMd[] =
1325 "Material Design in the rest of the browser's native UI";
1326const char kSecondaryUiMdDescription[] =
1327 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1328 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1329 "browser dialogs.";
1330
1331const char kServiceWorkerNavigationPreloadName[] =
1332 "Service worker navigation preload.";
1333const char kServiceWorkerNavigationPreloadDescription[] =
1334 "Enable web pages to use the experimental service worker navigation "
1335 "preload API.";
1336
gogeraldd5061b592017-09-06 23:39:551337const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1338const char kServiceWorkerPaymentAppsDescription[] =
1339 "Enable Service Worker applications to integrate as payment apps";
1340
Makoto Shimazu22078cc2018-02-21 03:01:441341extern const char kServiceWorkerServicificationName[] =
1342 "Servicified service workers";
1343extern const char kServiceWorkerServicificationDescription[] =
1344 "Enable the servicified service workers. A servicified service worker can "
1345 "have direct connection from its clients, so that fetch events can be "
1346 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171347
Tsuyoshi Horobcb1c642017-11-24 16:32:141348const char kServiceWorkerScriptFullCodeCacheName[] =
1349 "Service worker script full code cache.";
1350const char kServiceWorkerScriptFullCodeCacheDescription[] =
1351 "Generate V8 full code cache of Service Worker scripts while installing.";
1352
Brett Wilsonecb80982017-07-12 20:34:511353const char kSettingsWindowName[] = "Show settings in a window";
1354const char kSettingsWindowDescription[] =
1355 "Settings will be shown in a dedicated window instead of as a browser tab.";
1356
Trent Apted750ba7022017-10-23 13:36:251357const char kShowAllDialogsWithViewsToolkitName[] =
1358 "Show all dialogs with Views toolkit";
1359const char kShowAllDialogsWithViewsToolkitDescription[] =
1360 "All browser dialogs will be shown using the Views toolkit rather than "
1361 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1362
Brett Wilsonecb80982017-07-12 20:34:511363const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1364const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381365 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1366 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511367
1368const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1369const char kShowAutofillTypePredictionsDescription[] =
1370 "Annotates web forms with Autofill field type predictions as placeholder "
1371 "text.";
1372
1373const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1374const char kShowOverdrawFeedbackDescription[] =
1375 "Visualize overdraw by color-coding elements based on if they have other "
1376 "elements drawn underneath.";
1377
Carlos IL89128732018-04-03 17:00:251378const char kSupervisedUserCommittedInterstitialsName[] =
1379 "Enable Supervised User Committed Interstitials";
1380const char kSupervisedUserCommittedInterstitialsDescription[] =
1381 "Use committed error pages instead of transient navigation entries for "
1382 "supervised user interstitials";
1383
yiyixbdfa9a0b2017-10-23 22:21:471384const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1385const char kEnableDrawOcclusionDescription[] =
1386 "Enable the system to use draw occlusion to skip draw quads when they are "
1387 "not shown on the screen.";
1388
Brett Wilsonecb80982017-07-12 20:34:511389const char kShowSavedCopyName[] = "Show Saved Copy Button";
1390const char kShowSavedCopyDescription[] =
1391 "When a page fails to load, if a stale copy of the page exists in the "
1392 "browser cache, a button will be presented to allow the user to load that "
1393 "stale copy. The primary enabling choice puts the button in the most "
1394 "salient position on the error page; the secondary enabling choice puts it "
1395 "secondary to the reload button.";
1396const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1397const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1398const char kDisableShowSavedCopy[] = "Disable";
1399
Brett Wilsonecb80982017-07-12 20:34:511400const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1401const char kSilentDebuggerExtensionApiDescription[] =
1402 "Do not show the infobar when an extension attaches to a page via "
1403 "chrome.debugger API. This is required to debug extension background "
1404 "pages.";
1405
Tsuyoshi Horo53895ba92018-03-14 04:06:481406const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1407const char kSignedHTTPExchangeDescription[] =
1408 "Enables Origin-Signed HTTP Exchanges support which is still in "
1409 "development. Warning: Enabling this may pose a security risk.";
1410
Brett Wilsonecb80982017-07-12 20:34:511411const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1412const char kSimpleCacheBackendDescription[] =
1413 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1414 "disk space allocation.";
1415
1416const char kSimplifiedFullscreenUiName[] =
1417 "Simplified full screen / mouse lock UI.";
1418const char kSimplifiedFullscreenUiDescription[] =
1419 "A simplified new user experience when entering page-triggered full screen "
1420 "or mouse pointer lock states.";
1421
Christopher Thompson75ff845d2018-02-01 20:12:461422const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1423const char kSimplifyHttpsIndicatorDescription[] =
1424 "Change the UI treatment for HTTPS pages.";
1425
Brett Wilsonecb80982017-07-12 20:34:511426const char kSingleClickAutofillName[] = "Single-click autofill";
1427const char kSingleClickAutofillDescription[] =
1428 "Make autofill suggestions on initial mouse click on a form element.";
1429
Nick Carter855bc492018-03-10 00:44:571430const char kStrictSiteIsolationName[] = "Strict site isolation";
1431const char kStrictSiteIsolationDescription[] =
1432 "Security mode that enables site isolation for all sites. When enabled, "
1433 "each renderer process will contain pages from at most one site, using "
1434 "out-of-process iframes when needed. When enabled, this flag forces the "
1435 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1436 "isolation mode will be determined by enterprise policy or field trial.";
1437
1438const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1439const char kSiteIsolationTrialOptOutDescription[] =
1440 "Opts out of field trials that enable site isolation modes "
1441 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1442 "may be due to out-of-process iframes. Opt-out has no effect if site "
1443 "isolation is force-enabled via #enable-site-per-process or enterprise "
1444 "policy. Caution: this disables important mitigations for the Spectre CPU "
1445 "vulnerability affecting most computers.";
1446extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1447extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1448 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511449
1450const char kSiteSettings[] = "Site settings with All sites and Site details";
1451const char kSiteSettingsDescription[] =
1452 "Adds new ways of viewing Site settings.";
1453
Brett Wilsonecb80982017-07-12 20:34:511454const char kSmoothScrollingName[] = "Smooth Scrolling";
1455const char kSmoothScrollingDescription[] =
1456 "Animate smoothly when scrolling page content.";
1457
1458const char kSoftwareRasterizerName[] = "3D software rasterizer";
1459const char kSoftwareRasterizerDescription[] =
1460 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1461
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201462const char kSoleIntegrationName[] = "Sole integration";
1463const char kSoleIntegrationDescription[] =
1464 "Enable Sole integration for browser customization. You must restart "
1465 "the browser twice for changes to take effect.";
1466
Tommy Steimel77704be2017-08-28 22:14:401467const char kSoundContentSettingName[] = "Sound content setting";
1468const char kSoundContentSettingDescription[] =
1469 "Enable site-wide muting in content settings and tab strip context menu.";
1470
Alexandr Ilinf0500ed32017-09-27 21:12:361471const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1472const char kSpeculativePreconnectDescription[] =
1473 "Enable the new implementation of preconnect and DNS preresolve. "
1474 "\"Learning\" means that only database construction is enabled, "
1475 "\"Preconnect\" enables both learning and preconnect and disables the "
1476 "existing implementation. \"No preconnect\" disables both implementations.";
1477
Brett Wilsonecb80982017-07-12 20:34:511478const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341479const char kSpeculativePrefetchDescription[] =
1480 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1481 R"*(load times, based on a local database (see chrome://predictors). )*"
1482 R"*("Learning" means that only the database construction is enabled, )*"
1483 R"*("Prefetching" that learning and prefetching are enabled.)*";
1484
Justin Donnelly4e448cb2017-07-07 21:32:131485const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1486 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131487const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1488 "If enabled, when the user enters text in the omnibox that looks like a "
1489 "a query, any service worker associated with the search engine the query "
1490 "will be sent to is started early.";
1491
Brett Wilsonecb80982017-07-12 20:34:511492const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1493const char kSpellingFeedbackFieldTrialDescription[] =
1494 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401495
Shubhie Panickerfaf082ed2018-01-03 04:49:151496const char kStopInBackgroundName[] = "Stop in background";
1497const char kStopInBackgroundDescription[] =
1498 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281499 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151500
1501const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1502const char kStopLoadingInBackgroundDescription[] =
1503 "Stop loading tasks and loading "
1504 "resources, in the background, after certain grace time.";
1505
Shubhie Panicker56c99a22018-03-21 00:22:281506const char kStopNonTimersInBackgroundName[] =
1507 "Stop non-timer task queues background";
1508const char kStopNonTimersInBackgroundDescription[] =
1509 "Stop non-timer task queues, in the background, "
1510 "after a grace period.";
1511
Brett Wilsonecb80982017-07-12 20:34:511512const char kSuggestionsWithSubStringMatchName[] =
1513 "Substring matching for Autofill suggestions";
1514const char kSuggestionsWithSubStringMatchDescription[] =
1515 "Match Autofill suggestions based on substrings (token prefixes) rather "
1516 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341517
Brett Wilsonecb80982017-07-12 20:34:511518const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1519const char kSyncSandboxDescription[] =
1520 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341521
Brett Wilsonecb80982017-07-12 20:34:511522const char kTabAudioMutingName[] = "Tab audio muting UI control";
1523const char kTabAudioMutingDescription[] =
1524 "When enabled, the audio indicators in the tab strip double as tab audio "
1525 "mute controls. This also adds commands in the tab context menu for "
1526 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341527
Christian Dullweberd0d96f02017-09-13 09:22:511528const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1529const char kTabsInCbdDescription[] =
1530 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1531
Becky Zhou99c22802017-10-19 05:09:271532const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1533const char kTabModalJsDialogDescription[] =
1534 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1535 " tab.";
1536
Brett Wilsonecb80982017-07-12 20:34:511537const char kTcpFastOpenName[] = "TCP Fast Open";
1538const char kTcpFastOpenDescription[] =
1539 "Enable the option to send extra authentication information in the initial "
1540 "SYN packet for a previously connected client, allowing faster data send "
1541 "start.";
vabr0215a8e2017-03-28 12:47:341542
Daniele Castagna0fead93e2018-01-10 20:40:291543const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1544const char kTintGlCompositedContentDescription[] =
1545 "Tint contents composited using GL with a shade of red to help debug and "
1546 "study overlay support.";
1547
Brett Wilsonecb80982017-07-12 20:34:511548const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1549const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581550 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401551 "touch) - middle point for devices with a touch screen, 3) Touchable "
1552 "- new unified interface for touch and convertibles (Chrome OS) and 4) "
1553 "Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511554const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531555const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461556const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581557const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401558const char kTopChromeMdMaterialRefresh[] = "Refresh";
vabr0215a8e2017-03-28 12:47:341559
Brett Wilsonecb80982017-07-12 20:34:511560const char kThreadedScrollingName[] = "Threaded scrolling";
1561const char kThreadedScrollingDescription[] =
1562 "Threaded handling of scroll-related input events. Disabling this will "
1563 "force all such scroll events to be handled on the main thread. Note that "
1564 "this can dramatically hurt scrolling performance of most websites and is "
1565 "intended for testing purposes only.";
1566
Steven Valdez4584b2482017-07-14 01:11:571567const char kTLS13VariantName[] = "TLS 1.3";
1568const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1569const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111570const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041571const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdez4584b2482017-07-14 01:11:571572
Brett Wilsonecb80982017-07-12 20:34:511573const char kTopDocumentIsolationName[] = "Top document isolation";
1574const char kTopDocumentIsolationDescription[] =
1575 "Highly experimental performance mode where cross-site iframes are kept in "
1576 "a separate process from the top document. In this mode, iframes from "
1577 "different third-party sites will be allowed to share a process.";
1578
Dominick Ng8896b1cd2017-10-17 23:24:361579const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1580const char kTopSitesFromSiteEngagementDescription[] =
1581 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1582 "engagement.";
1583
Brett Wilsonecb80982017-07-12 20:34:511584const char kTouchAdjustmentName[] = "Touch adjustment";
1585const char kTouchAdjustmentDescription[] =
1586 "Refine the position of a touch gesture in order to compensate for touches "
1587 "having poor resolution compared to a mouse.";
1588
1589const char kTouchDragDropName[] = "Touch initiated drag and drop";
1590const char kTouchDragDropDescription[] =
1591 "Touch drag and drop can be initiated through long press on a draggable "
1592 "element.";
1593
1594const char kTouchEventsName[] = "Touch Events API";
1595const char kTouchEventsDescription[] =
1596 "Force Touch Events API feature detection to always be enabled or "
1597 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291598 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511599
1600const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1601const char kTouchSelectionStrategyDescription[] =
1602 "Controls how text selection granularity changes when touch text selection "
1603 "handles are dragged. Non-default behavior is experimental.";
1604const char kTouchSelectionStrategyCharacter[] = "Character";
1605const char kTouchSelectionStrategyDirection[] = "Direction";
1606
1607const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1608const char kTraceUploadUrlDescription[] =
1609 "This is to be used in conjunction with the enable-navigation-tracing "
1610 "flag. Please select the label that best describes the recorded traces. "
1611 "This will choose the destination the traces are uploaded to. If you are "
1612 "not sure, select other. If left empty, no traces will be uploaded.";
1613const char kTraceUploadUrlChoiceOther[] = "Other";
1614const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1615const char kTraceUploadUrlChoiceQa[] = "QA";
1616const char kTraceUploadUrlChoiceTesting[] = "Testing";
1617
Philippe Hamel7fdaa452017-09-29 17:22:491618const char kTranslateRankerEnforcementName[] =
1619 "Enforce TranslateRanker decisions";
1620const char kTranslateRankerEnforcementDescription[] =
1621 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1622 "or not Translate UI should be triggered in a given context.";
1623
Brett Wilsonecb80982017-07-12 20:34:511624const char kTrySupportedChannelLayoutsName[] =
1625 "Causes audio output streams to check if channel layouts other than the "
1626 "default hardware layout are available.";
1627const char kTrySupportedChannelLayoutsDescription[] =
1628 "Causes audio output streams to check if channel layouts other than the "
1629 "default hardware layout are available. Turning this on will allow the OS "
1630 "to do stereo to surround expansion if supported. May expose third party "
1631 "driver bugs, use with caution.";
1632
David Roger6762a092018-01-31 15:55:071633const char kUnifiedConsentName[] = "Unified Consent";
1634const char kUnifiedConsentDescription[] =
1635 "Enables a unified management of user consent for privacy-related "
1636 "features. This includes new confirmation screens and improved settings "
1637 "pages.";
1638
Brett Wilsonecb80982017-07-12 20:34:511639const char kUiPartialSwapName[] = "Partial swap";
1640const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1641
Chris Pickel3a227ae62017-08-24 10:47:261642const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1643const char kUseDdljsonApiDescription[] =
1644 "Enables the new ddljson API to fetch Doodles for the NTP.";
1645
Becca Hughes59c05b42017-11-03 13:11:581646const char kUseModernMediaControlsName[] = "New Media Controls";
1647const char kUseModernMediaControlsDescription[] =
1648 "Enables the new style native media controls.";
1649
Wei Li790e7a8572018-03-23 01:31:551650const char kUsePdfCompositorServiceName[] =
1651 "Use PDF compositor service for printing";
1652const char kUsePdfCompositorServiceDescription[] =
1653 "When enabled, use PDF compositor service to composite and generate PDF "
1654 "files for printing. When site isolation is enabled, disabling this will "
1655 "not stop using PDF compositor service since the service is required for "
1656 "printing out-of-process iframes correctly.";
1657
Mustaq Ahmedc646c0a2017-10-20 20:08:301658const char kUserActivationV2Name[] = "User Activation v2";
1659const char kUserActivationV2Description[] =
1660 "Enable simple user activation for APIs that are otherwise controlled by "
1661 "user gesture tokens.";
1662
Brett Wilsonecb80982017-07-12 20:34:511663const char kUserConsentForExtensionScriptsName[] =
1664 "User consent for extension scripts";
1665const char kUserConsentForExtensionScriptsDescription[] =
1666 "Require user consent for an extension running a script on the page, if "
1667 "the extension requested permission to run on all urls.";
1668
1669const char kUseSuggestionsEvenIfFewFeatureName[] =
1670 "Disable minimum for server-side tile suggestions on NTP.";
1671const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1672 "Request server-side suggestions even if there are only very few of them "
1673 "and use them for tiles on the New Tab Page.";
1674
1675const char kV8CacheOptionsName[] = "V8 caching mode.";
1676const char kV8CacheOptionsDescription[] =
1677 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511678const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1679
Hitoshi Yoshida3e5db562017-09-11 02:31:081680const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1681const char kV8ContextSnapshotDescription[] =
1682 "Sets to use a snapshot to create V8 contexts in frame creation.";
1683
Michael Hablich896d52662017-10-23 15:59:571684const char kV8VmFutureName[] = "Future V8 VM features";
1685const char kV8VmFutureDescription[] =
1686 "This enables upcoming and experimental V8 VM features. "
1687 "This flag does not enable experimental JavaScript features.";
1688
Brett Wilsonecb80982017-07-12 20:34:511689const char kVideoFullscreenOrientationLockName[] =
1690 "Lock screen orientation when playing a video fullscreen.";
1691const char kVideoFullscreenOrientationLockDescription[] =
1692 "Lock the screen orientation of the device to match video orientation when "
1693 "a video goes fullscreen. Only on phones.";
1694
1695const char kVideoRotateToFullscreenName[] =
1696 "Rotate-to-fullscreen gesture for videos.";
1697const char kVideoRotateToFullscreenDescription[] =
1698 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1699 "the video. Only on phones.";
1700
Elly Fong-Jonesf4c79502018-03-23 19:21:531701const char kViewsBrowserWindowsName[] =
1702 "Use Views browser windows instead of Cocoa.";
1703const char kViewsBrowserWindowsDescription[] =
1704 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1705
Brett Wilsonecb80982017-07-12 20:34:511706const char kWalletServiceUseSandboxName[] =
1707 "Use Google Payments sandbox servers";
1708const char kWalletServiceUseSandboxDescription[] =
1709 "For developers: use the sandbox service for Google Payments API calls.";
1710
Brett Wilsonecb80982017-07-12 20:34:511711const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1712const char kWebglDraftExtensionsDescription[] =
1713 "Enabling this option allows web applications to access the WebGL "
1714 "Extensions that are still in draft status.";
1715
1716const char kWebMidiName[] = "Web MIDI API";
1717const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1718
1719const char kWebPaymentsName[] = "Web Payments";
1720const char kWebPaymentsDescription[] =
1721 "Enable Web Payments API integration, a JavaScript API for merchants.";
1722
Mathieu Perreault51339b82017-07-20 17:06:051723const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1724const char kWebPaymentsModifiersDescription[] =
1725 "If the website provides modifiers in the payment request, show the custom "
1726 "total for each payment instrument, update the shopping cart when "
1727 "instruments are switched, and send modified payment method specific data "
1728 "to the payment app.";
1729
Brett Wilsonecb80982017-07-12 20:34:511730const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1731const char kWebrtcEchoCanceller3Description[] =
1732 "Experimental WebRTC echo canceller (AEC3).";
1733
1734const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1735const char kWebrtcHwDecodingDescription[] =
1736 "Support in WebRTC for decoding video streams using platform hardware.";
1737
1738const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1739const char kWebrtcHwEncodingDescription[] =
1740 "Support in WebRTC for encoding video streams using platform hardware.";
1741
1742const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1743const char kWebrtcHwH264EncodingDescription[] =
1744 "Support in WebRTC for encoding h264 video streams using platform "
1745 "hardware.";
1746
1747const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1748const char kWebrtcHwVP8EncodingDescription[] =
1749 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1750
Niels Möller090866a2018-02-13 10:55:031751const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1752 "WebRTC new encode cpu load estimator";
1753const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1754 "Enable new estimator for the encoder cpu load, for evaluation and "
1755 "testing. Intended to improve accuracy when screen casting.";
1756
Brett Wilsonecb80982017-07-12 20:34:511757const char kWebrtcSrtpAesGcmName[] =
1758 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1759const char kWebrtcSrtpAesGcmDescription[] =
1760 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1761
Joachim Bauch4a41d7512017-08-23 14:24:231762const char kWebrtcSrtpEncryptedHeadersName[] =
1763 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1764const char kWebrtcSrtpEncryptedHeadersDescription[] =
1765 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1766 "for SRTP.";
1767
Brett Wilsonecb80982017-07-12 20:34:511768const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1769const char kWebrtcStunOriginDescription[] =
1770 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1771 "header.";
1772
1773const char kWebvrName[] = "WebVR";
1774const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051775 "Allow web applications to access experimental "
Brandon Jonese9d9b2b2017-12-11 22:20:111776 "Virtual Reality functionality via the WebVR 1.1 API. This feature will "
1777 "eventually be replaced by the WebXR Device API. Warning: Enabling this "
1778 "will also allow WebVR content on insecure origins to access these "
1779 "powerful APIs, and may pose a security risk.";
Brett Wilsonecb80982017-07-12 20:34:511780
Brandon Jonese9d9b2b2017-12-11 22:20:111781const char kWebXrName[] = "WebXR Device API";
1782const char kWebXrDescription[] =
1783 "Allow web applications to access experimental APIs to interact with "
1784 "Virtual Reality (VR) and Augmented Reality (AR) devices.";
1785
Anna Maria57ecf7592018-01-12 03:10:401786const char kWebXrOrientationSensorDeviceName[] =
1787 "WebXR orientation sensor device";
1788const char kWebXrOrientationSensorDeviceDescription[] =
1789 "When no VR platform device is available, expose a non-presenting device "
1790 "based on the device's orientation sensors, if available.";
1791
Brett Wilsonecb80982017-07-12 20:34:511792const char kWifiCredentialSyncName[] = "WiFi credential sync";
1793const char kWifiCredentialSyncDescription[] =
1794 "Enables synchronizing WiFi network settings across devices. When enabled, "
1795 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1796 "credentials are synchronized subject to user preferences. (See also, "
1797 "chrome://settings/syncSetup.)";
1798
1799const char kZeroCopyName[] = "Zero-copy rasterizer";
1800const char kZeroCopyDescription[] =
1801 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341802
Brett Wilsonff596952017-07-14 01:06:551803// Android ---------------------------------------------------------------------
1804
1805#if defined(OS_ANDROID)
1806
1807const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1808const char kAiaFetchingDescription[] =
1809 "Enable intermediate certificate fetching when a server does not provide "
1810 "sufficient certificates to build a chain to a trusted root.";
1811
1812const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1813const char kAccessibilityTabSwitcherDescription[] =
1814 "Enable the accessibility tab switcher for Android.";
1815
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251816const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1817const char kAllowReaderForAccessibilityDescription[] =
1818 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1819
Brett Wilsonff596952017-07-14 01:06:551820const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1821const char kAndroidAutofillAccessibilityDescription[] =
1822 "Enable accessibility for autofill popup.";
1823
1824const char kAndroidPaymentAppsName[] = "Android payment apps";
1825const char kAndroidPaymentAppsDescription[] =
1826 "Enable third party Android apps to integrate as payment apps";
1827
Miriam Gershenson8cf1397222018-01-23 22:48:291828const char kAsyncDnsName[] = "Async DNS resolver";
1829const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1830
Brett Wilsonff596952017-07-14 01:06:551831const char kAutofillAccessoryViewName[] =
1832 "Autofill suggestions as keyboard accessory view";
1833const char kAutofillAccessoryViewDescription[] =
1834 "Shows Autofill suggestions on top of the keyboard rather than in a "
1835 "dropdown.";
1836
1837const char kBackgroundLoaderForDownloadsName[] =
1838 "Enables background downloading of pages.";
1839const char kBackgroundLoaderForDownloadsDescription[] =
1840 "Enables downloading pages in the background in case page is not yet "
1841 "loaded in current tab.";
1842
Matthew Jones6c1f5e22018-02-06 18:19:531843const char kChromeDuplexName[] = "Chrome Duplex";
1844const char kChromeDuplexDescription[] =
1845 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051846
Daniel Park825a16f32017-12-08 00:44:261847const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1848const char kChromeHomeEnableSurveyDescription[] =
1849 "If enabled, the survey process will allow surveys using sample "
1850 "parameters.";
1851
Theresa Wellingtonb9243b22017-12-01 16:23:051852const char kChromeHomeInactivitySheetExpansionName[] =
1853 "Expansion of Chrome Home bottom sheet on startup";
1854const char kChromeHomeInactivitySheetExpansionDescription[] =
1855 "Expand bottom sheet on startup in Chrome Home after a period of"
1856 " inactivity.";
1857
Matthew Joneseab91aa2017-12-19 16:12:421858const char kChromeHomeMenuItemsName[] =
1859 "Show bookmarks, downloads, and history menu items in Chrome Home";
1860const char kChromeHomeMenuItemsDescription[] =
1861 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1862 " when Chrome Home is enabled. These items will open the bottom sheet to"
1863 " show the desired content.";
1864
Theresa Wellingtonc4cff8a12017-11-28 04:13:181865const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1866const char kChromeHomePersistentIphDescription[] =
1867 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1868 "toolbar or a timer expires.";
1869
Theresa Wellington13977c832017-12-13 16:59:111870const char kChromeHomePullToRefreshIphAtTopName[] =
1871 "Chrome Home Pull-To-Refresh Iph At Top";
1872const char kChromeHomePullToRefreshIphAtTopDescription[] =
1873 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1874
Brett Wilsonff596952017-07-14 01:06:551875const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1876const char kChromeHomeSwipeLogicDescription[] =
1877 "Various swipe logic options for Chrome Home for sheet expansion.";
1878const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151879const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551880
Matthew Jones5b7f1d62018-01-23 00:37:251881const char kChromeModernDesignName[] = "Chrome Modern Design";
1882const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451883 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1884 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251885
Megan Jablonskic61eb1b82017-10-02 18:03:061886const char kChromeMemexName[] = "Chrome Memex";
1887const char kChromeMemexDescription[] =
1888 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1889 "Googlers.";
1890
Sarath Singapati83aef1c2017-11-16 15:54:521891const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1892const char kClearOldBrowsingDataDescription[] =
1893 "Enables clearing of browsing data which is older than a given time "
1894 "period.";
1895
Brett Wilsonff596952017-07-14 01:06:551896const char kContentSuggestionsCategoryOrderName[] =
1897 "Default content suggestions category order (e.g. on NTP)";
1898const char kContentSuggestionsCategoryOrderDescription[] =
1899 "Set default order of content suggestion categories (e.g. on the NTP).";
1900
1901const char kContentSuggestionsCategoryRankerName[] =
1902 "Content suggestions category ranker (e.g. on NTP)";
1903const char kContentSuggestionsCategoryRankerDescription[] =
1904 "Set category ranker to order categories of content suggestions (e.g. on "
1905 "the NTP).";
1906
Vitalii Iarkof52ff802017-09-14 12:34:241907const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1908const char kContentSuggestionsDebugLogDescription[] =
1909 "Enable content suggestions debug log accessible through "
1910 "snippets-internals.";
1911
Donn Denman8e58ead2017-11-04 01:44:011912const char kContextualSearchMlTapSuppressionName[] =
1913 "Contextual Search ML tap suppression";
1914const char kContextualSearchMlTapSuppressionDescription[] =
1915 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021916 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1917 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551918
1919const char kContextualSearchName[] = "Contextual Search";
1920const char kContextualSearchDescription[] =
1921 "Whether or not Contextual Search is enabled.";
1922
Donn Denman59729812018-01-09 01:27:021923const char kContextualSearchRankerQueryName[] =
1924 "Contextual Search Ranker prediction";
1925const char kContextualSearchRankerQueryDescription[] =
1926 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1927
1928const char kContextualSearchSecondTapName[] =
1929 "Contextual Search second tap triggering";
1930const char kContextualSearchSecondTapDescription[] =
1931 "Enables triggering on a second tap gesture even when Ranker would "
1932 "normally suppress that tap.";
1933
Dmitry Skiba9c3efa72017-07-20 22:01:141934const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1935const char kDontPrefetchLibrariesDescription[] =
1936 "Don't prefetch libraries after loading.";
1937
Joy Ming5fd29ca62017-10-02 22:51:221938const char kDownloadsForegroundName[] = "Enable downloads foreground";
1939const char kDownloadsForegroundDescription[] =
1940 "Enable downloads as a foreground service for all versions of Android.";
1941
Joy Ming189b0cc2017-12-08 19:42:431942const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1943const char kDownloadsLocationChangeDescription[] =
1944 "Enable changing default downloads storage location on Android.";
1945
Brett Wilsonff596952017-07-14 01:06:551946const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1947const char kEnableAndroidPayIntegrationV1Description[] =
1948 "Enable integration with Android Pay using the first version of the API";
1949
1950const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1951const char kEnableAndroidPayIntegrationV2Description[] =
1952 "Enable integration with Android Pay using the second version of the API";
1953
Vitalii Iarkof4ed32d2017-09-26 13:15:531954const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551955const char kEnableAndroidSpellcheckerDescription[] =
1956 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551957
Lei Tianbd5a3bf2018-02-28 19:01:161958const char kEnableCommandLineOnNonRootedName[] =
1959 "Enable command line on non-rooted devices";
1960const char kEnableCommandLineOnNoRootedDescription[] =
1961 "Enable reading command line file on non-rooted devices (DANGEROUS).";
1962
Vitalii Iarkof4ed32d2017-09-26 13:15:531963const char kEnableContentSuggestionsNewFaviconServerName[] =
1964 "Get favicons for content suggestions from a new server.";
1965const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1966 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1967 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551968
1969const char kEnableContentSuggestionsSettingsName[] =
1970 "Show content suggestions settings.";
1971const char kEnableContentSuggestionsSettingsDescription[] =
1972 "If enabled, the content suggestions settings will be available from the "
1973 "main settings menu.";
1974
Vitalii Iarkof4ed32d2017-09-26 13:15:531975const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1976 "Use content suggestions thumbnail dominant color.";
1977const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1978 "Use content suggestions thumbnail dominant color as a placeholder before "
1979 "the real thumbnail is fetched (requires Chrome Home).";
1980
Brett Wilsonff596952017-07-14 01:06:551981const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1982const char kEnableCustomContextMenuDescription[] =
1983 "Enables a new context menu when a link, image, or video is pressed within "
1984 "Chrome.";
1985
1986const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1987const char kEnableCustomFeedbackUiDescription[] =
1988 "Enables a custom feedback UI when submitting feedback through Google "
1989 "Feedback. Works with Google Play Services v10.2+";
1990
1991const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471992 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551993const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471994 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551995
Brett Wilsonff596952017-07-14 01:06:551996const char kEnableOmniboxClipboardProviderName[] =
1997 "Omnibox clipboard URL suggestions";
1998const char kEnableOmniboxClipboardProviderDescription[] =
1999 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2000 "focus in the omnibox.";
2001
2002const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
2003 "Use expanded autofill credit card popup layout.";
2004const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
2005 "If enabled, displays autofill credit card popup using expanded layout.";
2006
Becky Zhoua7f11d62018-02-01 16:02:532007const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2008 "Show article suggestions expandable header on New Tab Page";
2009const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2010 "If enabled, the article suggestions content on New Tab Page can be "
2011 "toggled shown or hidden by clicking the expandable header.";
2012
Brett Wilsonff596952017-07-14 01:06:552013const char kEnableNtpAssetDownloadSuggestionsName[] =
2014 "Show asset downloads on the New Tab page";
2015const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2016 "If enabled, the list of content suggestions on the New Tab page will "
2017 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2018 "later use.";
2019
2020const char kEnableNtpBookmarkSuggestionsName[] =
2021 "Show recently visited bookmarks on the New Tab page";
2022const char kEnableNtpBookmarkSuggestionsDescription[] =
2023 "If enabled, the list of content suggestions on the New Tab page will "
2024 "contain recently visited bookmarks.";
2025
2026const char kEnableNtpForeignSessionsSuggestionsName[] =
2027 "Show recent foreign tabs on the New Tab page";
2028const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2029 "If enabled, the list of content suggestions on the New Tab page will "
2030 "contain recent foreign tabs.";
2031
Brett Wilsonff596952017-07-14 01:06:552032const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2033 "Show offline page downloads on the New Tab page";
2034const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2035 "If enabled, the list of content suggestions on the New Tab page will "
2036 "contain pages that the user downloaded for later use.";
2037
2038const char kEnableNtpRemoteSuggestionsName[] =
2039 "Show server-side suggestions on the New Tab page";
2040const char kEnableNtpRemoteSuggestionsDescription[] =
2041 "If enabled, the list of content suggestions on the New Tab page will "
2042 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2043 "allows to override the source used to retrieve these server-side "
2044 "suggestions.";
2045
2046const char kEnableNtpSnippetsVisibilityName[] =
2047 "Make New Tab Page Snippets more visible.";
2048const char kEnableNtpSnippetsVisibilityDescription[] =
2049 "If enabled, the NTP snippets will become more discoverable with a larger "
2050 "portion of the first card above the fold.";
2051
2052const char kEnableNtpSuggestionsNotificationsName[] =
2053 "Notify about new content suggestions available at the New Tab page";
2054const char kEnableNtpSuggestionsNotificationsDescription[] =
2055 "If enabled, notifications will inform about new content suggestions on "
2056 "the New Tab page.";
2057
Brett Wilsonff596952017-07-14 01:06:552058const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2059const char kEnableOfflinePreviewsDescription[] =
2060 "Enable showing offline page previews on slow networks.";
2061
2062const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2063const char kEnableOskOverscrollDescription[] =
2064 "Enable OSK overscroll support. With this flag on, the OSK will only "
2065 "resize the visual viewport.";
2066
2067const char kEnableSpecialLocaleName[] =
2068 "Enable custom logic for special locales.";
2069const char kEnableSpecialLocaleDescription[] =
2070 "Enable custom logic for special locales. In this mode, Chrome might "
2071 "behave differently in some locales.";
2072
Brett Wilsonff596952017-07-14 01:06:552073const char kEnableWebNfcName[] = "WebNFC";
2074const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2075
gogeraldf3cbb422017-07-26 14:37:122076const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2077 "Enable Web Payments method section order V2.";
2078const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2079 "Enable this option to display payment method section above address "
2080 "section instead of below it.";
2081
Raymes Khoury582b43132017-12-12 23:54:302082const char kGrantNotificationsToDSEName[] =
2083 "Grant notifications to the Default Search Engine";
2084const char kGrantNotificationsToDSENameDescription[] =
2085 "Automatically grant the notifications permission to the Default Search "
2086 "Engine";
2087
Daniel Parke74fcf862018-03-27 18:05:452088const char kHomePageButtonName[] = "Force Enable Home Page Button";
2089const char kHomePageButtonDescription[] =
2090 "Displays a home button if enabled. "
2091 "Chrome must be restarted twice for this flag to take effect.";
2092
Theresa920e0ed2018-03-07 18:12:442093const char kInterestFeedContentSuggestionsDescription[] =
2094 "Use the interest feed to render content suggestions. Currently content "
2095 "suggestions are shown on the New Tab Page.";
2096const char kInterestFeedContentSuggestionsName[] =
2097 "Interest Feed Content Suggestions";
2098
Brett Wilsonff596952017-07-14 01:06:552099const char kKeepPrefetchedContentSuggestionsName[] =
2100 "Keep prefetched content suggestions";
2101const char kKeepPrefetchedContentSuggestionsDescription[] =
2102 "If enabled, some of prefetched content suggestions are not replaced by "
2103 "the new fetched suggestions.";
2104
Leo Zhang051b75482017-12-20 03:28:302105const char kLanguagesPreferenceName[] = "Language Settings";
2106const char kLanguagesPreferenceDescription[] =
2107 "Enable this option for Language Settings feature on Android.";
2108
Brett Wilsonff596952017-07-14 01:06:552109const char kLsdPermissionPromptName[] =
2110 "Location Settings Dialog Permission Prompt";
2111const char kLsdPermissionPromptDescription[] =
2112 "Whether to use the Google Play Services Location Settings Dialog "
2113 "permission dialog.";
2114
Amirhossein Simjour97b4154f2018-02-20 03:49:592115const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2116const char kModalPermissionDialogViewDescription[] =
2117 "Enable this option to use ModalDialogManager for permission Dialogs.";
2118
Brett Wilsonff596952017-07-14 01:06:552119const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2120const char kMediaScreenCaptureDescription[] =
2121 "Enable this option for experimental ScreenCapture feature on Android.";
2122
2123const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2124const char kModalPermissionPromptsDescription[] =
2125 "Whether to use permission dialogs in place of permission infobars.";
2126
Brett Wilsonff596952017-07-14 01:06:552127const char kNewPhotoPickerName[] = "Enable new Photopicker";
2128const char kNewPhotoPickerDescription[] =
2129 "Activates the new picker for selecting photos.";
2130
2131const char kNoCreditCardAbort[] = "No Credit Card Abort";
2132const char kNoCreditCardAbortDescription[] =
2133 "Whether or not the No Credit Card Abort is enabled.";
2134
2135const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2136const char kNtpCondensedLayoutDescription[] =
2137 "Show a condensed layout on the New Tab Page.";
2138
2139const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2140const char kNtpCondensedTileLayoutDescription[] =
2141 "Show a condensed tile layout on the New Tab Page.";
2142
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062143const char kNtpModernLayoutName[] = "Modern NTP layout";
2144const char kNtpModernLayoutDescription[] =
2145 "Show a modern layout on the New Tab Page.";
2146
Theresa6bd5f282018-03-09 16:40:032147const char kNtpShortcutsName[] = "NTP Shortcuts";
2148const char kNtpShortcutsDescription[] =
2149 "Show shortcuts for bookmarks and downloads on the New Tab Page.";
2150
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042151const char kSiteExplorationUiName[] = "Site Exploration UI";
2152const char kSiteExplorationUiDescription[] =
2153 "Show site suggestions in the Exploration UI";
2154
Brett Wilsonff596952017-07-14 01:06:552155const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2156const char kNtpGoogleGInOmniboxDescription[] =
2157 "Show a Google G in the omnibox on the New Tab Page.";
2158
Brett Wilsonff596952017-07-14 01:06:552159const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2160const char kOfflineBookmarksDescription[] =
2161 "Enable saving bookmarked pages for offline viewing.";
2162
Brett Wilsonff596952017-07-14 01:06:552163const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2164const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2165
2166const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2167const char kOfflinePagesCtV2Description[] =
2168 "V2 features include attributing pages to the app that initiated the "
2169 "custom tabs, and being able to query for pages by page attribution.";
2170
Candice Sy74fa7a352018-03-30 23:46:492171const char kOfflinePagesDescriptiveFailStatusName[] =
2172 "Enables descriptive failed download status text.";
2173const char kOfflinePagesDescriptiveFailStatusDescription[] =
2174 "Enables failed download status text in notifications and Downloads Home "
2175 "to state the reason the request failed if the failure is actionable.";
2176
2177const char kOfflinePagesDescriptivePendingStatusName[] =
2178 "Enables descriptive pending download status text.";
2179const char kOfflinePagesDescriptivePendingStatusDescription[] =
2180 "Enables pending download status text in notifications and Downloads Home "
2181 "to state the reason the request is pending.";
2182
2183const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2184 "Enables offline pages in the downloads home to be opened in CCT.";
2185const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2186 "When enabled offline pages launched from the Downloads Home will be "
2187 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2188
Carlos Knippschild09272ecd2017-12-09 03:29:362189const char kOfflinePagesLimitlessPrefetchingName[] =
2190 "Removes resource usage limits for the prefetching of offline pages.";
2191const char kOfflinePagesLimitlessPrefetchingDescription[] =
2192 "Allows the prefetching of suggested offline pages to ignore resource "
2193 "usage limits. This allows it to completely ignore data usage limitations "
2194 "and allows downloads to happen with any kind of connection.";
2195
Brett Wilsonff596952017-07-14 01:06:552196const char kOfflinePagesLoadSignalCollectingName[] =
2197 "Enables collecting load timing data for offline page snapshots.";
2198const char kOfflinePagesLoadSignalCollectingDescription[] =
2199 "Enables loading completeness data collection while writing an offline "
2200 "page. This data is collected in the snapshotted offline page to allow "
2201 "data analysis to improve deciding when to make the offline snapshot.";
2202
2203const char kOfflinePagesPrefetchingName[] =
2204 "Enables suggested offline pages to be prefetched.";
2205const char kOfflinePagesPrefetchingDescription[] =
2206 "Enables suggested offline pages to be prefetched, so useful content is "
2207 "available while offline.";
2208
Cathy Li3d5379e2017-09-07 00:11:092209const char kOfflinePagesPrefetchingUIName[] =
2210 "Enables prefetched offline pages to be shown in UI.";
2211const char kOfflinePagesPrefetchingUIDescription[] =
2212 "Enables prefetched offline pages to raise notifications and be shown in "
2213 "download home UI.";
2214
Pete Williamson7845dff2017-09-20 11:06:192215const char kOfflinePagesResourceBasedSnapshotName[] =
2216 "Enables offline page snapshots to be based on percentage of page loaded.";
2217const char kOfflinePagesResourceBasedSnapshotDescription[] =
2218 "Enables offline page snapshots to use a resource percentage based "
2219 "approach for determining when the page is loaded as opposed to a time "
2220 "based approach";
2221
Collin Baker17f92a52017-07-19 21:41:252222const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2223const char kOfflinePagesRenovationsDescription[] =
2224 "Enables offline page renovations which correct issues with dynamic "
2225 "content that occur when offlining pages that use JavaScript.";
2226
Brett Wilsonff596952017-07-14 01:06:552227const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2228const char kOfflinePagesSharingDescription[] =
2229 "Enables the saved offline pages to be shared via other applications.";
2230
2231const char kOfflinePagesSvelteConcurrentLoadingName[] =
2232 "Enables concurrent background loading on svelte.";
2233const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2234 "Enables concurrent background loading (or downloading) of pages on "
2235 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2236 "happen when the svelte device is idle.";
2237
2238const char kOffliningRecentPagesName[] =
2239 "Enable offlining of recently visited pages";
2240const char kOffliningRecentPagesDescription[] =
2241 "Enable storing recently visited pages locally for offline use. Requires "
2242 "Offline Pages to be enabled.";
2243
Lei Zhang2eca9082017-10-17 20:42:502244const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2245const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552246 "Enable Pay with Google integration into Web Payments with API version "
2247 "'1'.";
2248
Matthew Jonesa88b95852017-11-08 23:13:502249const char kProgressBarThrottleName[] = "Android progress update throttling.";
2250const char kProgressBarThrottleDescription[] =
2251 "Limit the maximum progress update to make progress appear smoother.";
2252
Brett Wilsonff596952017-07-14 01:06:552253const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2254const char kPullToRefreshEffectDescription[] =
2255 "Page reloads triggered by vertically overscrolling content.";
2256
Piotr Swigon7c296ef2017-08-29 04:32:002257const char kPwaImprovedSplashScreenName[] =
2258 "Improved Splash Screen for standalone PWAs";
2259const char kPwaImprovedSplashScreenDescription[] =
2260 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2261 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492262const char kPwaPersistentNotificationName[] =
2263 "Persistent notification in standalone PWA";
2264const char kPwaPersistentNotificationDescription[] =
2265 "Enables a persistent Android notification for standalone PWAs";
2266
Brett Wilsonff596952017-07-14 01:06:552267const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2268const char kReaderModeHeuristicsDescription[] =
2269 "Determines what pages the Reader Mode infobar is shown on.";
2270const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2271const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2272const char kReaderModeHeuristicsAllArticles[] = "All articles";
2273const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2274const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2275
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182276const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2277const char kReaderModeInCCTDescription[] =
2278 "Open Reader Mode in Chrome Custom Tabs.";
2279
Brett Wilsonff596952017-07-14 01:06:552280const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2281const char kSetMarketUrlForTestingDescription[] =
2282 "When enabled, sets the market URL for use in testing the update menu "
2283 "item.";
2284
2285const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2286const char kSpannableInlineAutocompleteDescription[] =
2287 "A new type of inline autocomplete for the omnibox that works with "
2288 "keyboards that compose text.";
2289
Brett Wilsonff596952017-07-14 01:06:552290const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2291const char kUpdateMenuBadgeDescription[] =
2292 "When enabled, an update badge will be shown on the app menu button.";
2293
2294const char kUpdateMenuItemCustomSummaryDescription[] =
2295 "When this flag and the force show update menu item flag are enabled, a "
2296 "custom summary string will be displayed below the update menu item.";
2297const char kUpdateMenuItemCustomSummaryName[] =
2298 "Update menu item custom summary";
2299
2300const char kUpdateMenuItemName[] = "Force show update menu item";
2301const char kUpdateMenuItemDescription[] =
2302 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2303 R"*(menu.)*";
2304
Amirhossein Simjourd78bbcf2018-02-02 16:23:392305const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2306const char kVrBrowsingNativeAndroidUiDescription[] =
2307 "Enable Android UI elements in VR.";
2308
Marc Treib93af46a2017-08-23 13:30:002309const char kThirdPartyDoodlesName[] =
2310 "Enable Doodles for third-party search engines";
2311const char kThirdPartyDoodlesDescription[] =
2312 "Enables fetching and displaying Doodles on the NTP for third-party search "
2313 "engines.";
2314
Klaus Weidneraaf697f2018-01-18 20:07:362315const char kWebXrRenderPathName[] = "WebXR presentation render path";
2316const char kWebXrRenderPathDescription[] =
2317 "Render path to use for WebXR presentation (including WebVR)";
2318const char kWebXrRenderPathChoiceClientWaitDescription[] =
2319 "ClientWait (Baseline)";
2320const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2321 "GpuFence (Android N+)";
2322
Brett Wilson7b44537e2017-08-18 01:38:282323// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552324
Brett Wilson7b44537e2017-08-18 01:38:282325#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482326
Brett Wilson7b44537e2017-08-18 01:38:282327const char kAccountConsistencyName[] =
2328 "Identity consistency between browser and cookie jar";
2329const char kAccountConsistencyDescription[] =
2330 "When enabled, the browser manages signing in and out of Google accounts.";
2331const char kAccountConsistencyChoiceMirror[] = "Mirror";
2332const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342333
Chris Pickel3a227ae62017-08-24 10:47:262334const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2335const char kDoodlesOnLocalNtpDescription[] =
2336 "Show doodles on the local New Tab page if Google is the default search "
2337 "engine.";
2338
mlamouriff56c092017-05-11 15:31:392339const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392340const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342341 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392342const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392343const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392344const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342345 "Enabled (Flash lowers volume when interrupted by other sound, "
2346 "experimental)";
2347
Brett Wilson7b44537e2017-08-18 01:38:282348const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2349const char kEnableNewAppMenuIconDescription[] =
2350 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342351
2352const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342353const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282354 "Enable receiving entity suggestions - disambiguation descriptions - for "
2355 "Omnibox suggestions.";
2356
Dave Schuyler598a4a42018-01-04 02:15:102357const char kOmniboxRichEntitySuggestionsName[] =
2358 "Omnibox rich entity suggestions";
2359const char kOmniboxRichEntitySuggestionsDescription[] =
2360 "Display entity suggestions using images and an enhanced layout; showing "
2361 "more context and descriptive text about the entity";
2362
Kevin Bailey898669972017-11-06 15:34:492363const char kOmniboxTabSwitchSuggestionsName[] =
2364 "Omnibox tab switch suggestions";
2365const char kOmniboxTabSwitchSuggestionsDescription[] =
2366 "Enable suggestions for switching to open tabs within the Omnibox.";
2367
krbcc621412017-06-01 19:40:282368const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2369const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192370 "Enable receiving tail suggestions, a type of search suggestion based on "
2371 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342372
Brett Wilson7b44537e2017-08-18 01:38:282373const char kOneGoogleBarOnLocalNtpName[] =
2374 "Enable the OneGoogleBar on the local NTP";
2375const char kOneGoogleBarOnLocalNtpDescription[] =
2376 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2377 "search engine.";
2378
Brett Wilson7b44537e2017-08-18 01:38:282379const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2380const char kUseGoogleLocalNtpDescription[] =
2381 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322382
Brett Wilson7b44537e2017-08-18 01:38:282383const char kVoiceSearchOnLocalNtpName[] =
2384 "Enable Voice Search on the local NTP";
2385const char kVoiceSearchOnLocalNtpDescription[] =
2386 "Show a microphone for voice search on the local New Tab page "
2387 "if Google is the default search engine.";
2388
Balazs Engedy00c5cea2018-03-30 15:36:392389const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422390const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392391 "Enable Web Authentication API support";
2392
2393const char kEnableWebAuthenticationTestingAPIName[] =
2394 "Web Authentication Testing API";
2395const char kEnableWebAuthenticationTestingAPIDescription[] =
2396 "Enable Web Authentication Testing API support, which disconnects the API "
2397 "implementation from the real world, and allows configuring virtual "
2398 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422399
Brett Wilson7b44537e2017-08-18 01:38:282400#if defined(GOOGLE_CHROME_BUILD)
2401
2402const char kGoogleBrandedContextMenuName[] =
2403 "Google branding in the context menu";
2404const char kGoogleBrandedContextMenuDescription[] =
2405 "Shows a Google icon next to context menu items powered by Google "
2406 "services.";
2407
2408#endif // !defined(GOOGLE_CHROME_BUILD)
2409
2410#endif // !defined(OS_ANDROID)
2411
2412// Windows ---------------------------------------------------------------------
2413
2414#if defined(OS_WIN)
2415
2416const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2417const char kCloudPrintXpsDescription[] =
2418 "XPS enables advanced options for classic printers connected to the Cloud "
2419 "Print with Chrome. Printers must be re-connected after changing this "
2420 "flag.";
2421
Dave Tapuskadd43469d2017-08-22 22:15:532422const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2423const char kDirectManipulationStylusDescription[] =
2424 "If enabled, Chrome will scroll web pages on stylus drag.";
2425
Brett Wilson7b44537e2017-08-18 01:38:282426const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2427const char kDisablePostscriptPrintingDescription[] =
2428 "Disables PostScript generation when printing to PostScript capable "
2429 "printers, and uses EMF generation in its place.";
2430
2431const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2432const char kEnableAppcontainerDescription[] =
2433 "Enables the use of an AppContainer on sandboxed processes to improve "
2434 "security.";
2435
2436const char kEnableD3DVsync[] = "D3D v-sync";
2437const char kEnableD3DVsyncDescription[] =
2438 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2439 "to occur.";
2440
2441const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2442const char kEnableDesktopIosPromotionsDescription[] =
2443 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2444 "eligible.";
2445
James Forshawfd0ce342018-02-14 09:55:392446const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2447const char kEnableGpuAppcontainerDescription[] =
2448 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2449 "improve security.";
2450
Brett Wilson7b44537e2017-08-18 01:38:282451const char kGdiTextPrinting[] = "GDI Text Printing";
2452const char kGdiTextPrintingDescription[] =
2453 "Use GDI to print text as simply text";
2454
Brett Wilson7b44537e2017-08-18 01:38:282455const char kTraceExportEventsToEtwName[] =
2456 "Enable exporting of tracing events to ETW.";
2457const char kTraceExportEventsToEtwDesription[] =
2458 "If enabled, trace events will be exported to the Event Tracing for "
2459 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2460 "Xperf.";
2461
2462const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2463const char kUseWinrtMidiApiDescription[] =
2464 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2465 "later).";
2466
2467const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2468const char kWindows10CustomTitlebarDescription[] =
2469 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2470 "deferring to Windows.";
2471
Weza6ca5b92018-03-23 19:03:072472#if DCHECK_IS_CONFIGURABLE
2473const char kDcheckIsFatalName[] = "DCHECKs are fatal";
2474const char kDcheckIsFatalDescription[] =
2475 "By default Chrome will evaluate DCHECKs in some Canary builds, but only "
2476 "log failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2477#endif // DCHECK_IS_CONFIGURABLE
Wez6656c572017-08-29 22:29:582478
Brett Wilson7b44537e2017-08-18 01:38:282479#endif // defined(OS_WIN)
2480
2481// Mac -------------------------------------------------------------------------
2482
2483#if defined(OS_MACOSX)
2484
2485const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2486const char kAppInfoDialogDescription[] =
2487 "Makes the Toolkit-Views based App Info dialog accessible from "
2488 "chrome://apps or chrome://extensions in place of the native extension "
2489 "permissions dialog, or the details link (which is a link to the Web "
2490 "Store).";
2491
2492const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2493const char kAppWindowCyclingDescription[] =
2494 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2495 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2496 "browser window, and browser windows will not be cycled when a Chrome App "
2497 "is active.";
2498
Lei Zhang2eca9082017-10-17 20:42:502499const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2500const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282501 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2502
2503const char kFullscreenToolbarRevealName[] =
2504 "Enables the toolbar in fullscreen to reveal itself.";
2505const char kFullscreenToolbarRevealDescription[] =
2506 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2507 "has changed.";
2508
2509const char kContentFullscreenName[] = "Improved Content Fullscreen";
2510const char kContentFullscreenDescription[] =
2511 "Fullscreen content window detaches from main browser window and goes to "
2512 "a new space without moving or changing the original browser window.";
2513
Lei Zhang2eca9082017-10-17 20:42:502514const char kDialogTouchBarName[] = "Dialog Touch Bar";
2515const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282516 "Shows Dialog buttons on the Touch Bar.";
2517
2518const char kHostedAppsInWindowsName[] =
2519 "Allow hosted apps to be opened in windows";
2520const char kHostedAppsInWindowsDescription[] =
2521 "Allows hosted apps to be opened in windows instead of being limited to "
2522 "tabs.";
2523
Lei Zhang2eca9082017-10-17 20:42:502524const char kMacRTLName[] = "Enable RTL";
2525const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282526
Lei Zhang2eca9082017-10-17 20:42:502527const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2528const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522529 "Enables sharing via macOS share extensions.";
2530
Lei Zhang2eca9082017-10-17 20:42:502531const char kMacTouchBarName[] = "Hardware Touch Bar";
2532const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282533
2534const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2535const char kMacV2SandboxDescription[] =
2536 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2537 "entire life cycle.";
2538
2539const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2540const char kMacViewsNativeAppWindowsDescription[] =
2541 "Controls whether to use Toolkit-Views based Chrome App windows.";
2542
2543const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2544const char kMacViewsTaskManagerDescription[] =
2545 "Controls whether to use the Toolkit-Views based Task Manager.";
2546
2547const char kTabDetachingInFullscreenName[] =
2548 "Allow tab detaching in fullscreen";
2549const char kTabDetachingInFullscreenDescription[] =
2550 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2551
2552const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2553const char kTabStripKeyboardFocusDescription[] =
2554 "Enable keyboard focus for the tabs in the tab strip.";
2555
Brett Wilson7b44537e2017-08-18 01:38:282556#endif
2557
2558// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342559
2560#if defined(OS_CHROMEOS)
2561
Brett Wilson7b44537e2017-08-18 01:38:282562const char kAcceleratedMjpegDecodeName[] =
2563 "Hardware-accelerated mjpeg decode for captured frame";
2564const char kAcceleratedMjpegDecodeDescription[] =
2565 "Enable hardware-accelerated mjpeg decode for captured frame where "
2566 "available.";
vabr0215a8e2017-03-28 12:47:342567
Brett Wilson7b44537e2017-08-18 01:38:282568const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2569const char kAllowTouchpadThreeFingerClickDescription[] =
2570 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342571
Brett Wilson7b44537e2017-08-18 01:38:282572const char kArcBootCompleted[] = "Load Android apps automatically";
2573const char kArcBootCompletedDescription[] =
2574 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342575
Lev Rumyantsev7a8544312017-08-18 19:26:512576const char kArcNativeBridgeExperimentName[] =
2577 "Enable native bridge experiment for ARC";
2578const char kArcNativeBridgeExperimentDescription[] =
2579 "Enables experimental native bridge feature.";
2580
lgchengecd1c1a62018-01-09 02:59:462581const char kArcUsbHostName[] = "Enable ARC USB host integration";
2582const char kArcUsbHostDescription[] =
2583 "Allow Android apps to use USB host feature on ChromeOS devices.";
2584
Kevin Cernekeeb7f96a52017-10-25 17:40:182585const char kArcVpnName[] = "Enable ARC VPN integration";
2586const char kArcVpnDescription[] =
2587 "Allow Android VPN clients to tunnel Chrome traffic.";
2588
Brett Wilson7b44537e2017-08-18 01:38:282589const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2590const char kAshEnableUnifiedDesktopDescription[] =
2591 "Enable unified desktop mode which allows a window to span multiple "
2592 "displays.";
vabr0215a8e2017-03-28 12:47:342593
Sean Kau5e956192017-10-06 22:25:172594const char kBulkPrintersName[] = "Bulk Printers Policy";
2595const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2596
Brett Wilson7b44537e2017-08-18 01:38:282597const char kCaptivePortalBypassProxyName[] =
2598 "Bypass proxy for Captive Portal Authorization";
2599const char kCaptivePortalBypassProxyDescription[] =
2600 "If proxy is configured, it usually prevents from authorization on "
2601 "different captive portals. This enables opening captive portal "
2602 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342603
Brett Wilson7b44537e2017-08-18 01:38:282604const char kCrOSComponentName[] = "Chrome OS Component";
2605const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082606 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342607
Xiaochu Liu51d03fd2017-09-08 23:51:022608const char kCrOSContainerName[] = "Chrome OS Container";
2609const char kCrOSContainerDescription[] =
2610 "Enable the use of Chrome OS Container utility.";
2611
Brett Wilson7b44537e2017-08-18 01:38:282612const char kCrosRegionsModeName[] = "Cros-regions load mode";
2613const char kCrosRegionsModeDescription[] =
2614 "This flag controls cros-regions load mode";
2615const char kCrosRegionsModeDefault[] = "Default";
2616const char kCrosRegionsModeOverride[] = "Override VPD values.";
2617const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342618
Jacob Dufault2becbc482017-08-25 00:36:352619const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2620const char kDisableLockScreenAppsDescription[] =
2621 "Disable new-note action handler apps on the lock screen. The user will "
2622 "not be able to launch the preferred note-taking action from the lock "
2623 "screen, provided that the app supports lock screen note taking.";
2624
Sammie Quonef6b4882017-09-14 16:50:052625const char kDisableTabletAutohideTitlebarsName[] =
2626 "Disable autohide titlebars in tablet mode";
2627const char kDisableTabletAutohideTitlebarsDescription[] =
2628 "Disable tablet mode autohide titlebars functionality. The user will be "
2629 "able to see the titlebar in tablet mode.";
2630
Brett Wilson7b44537e2017-08-18 01:38:282631const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2632const char kEnablePerUserTimezoneDescription[] =
2633 "Chrome OS system timezone preference is stored and handled for each user "
2634 "individually.";
vabr0215a8e2017-03-28 12:47:342635
Brett Wilson7b44537e2017-08-18 01:38:282636const char kDisableSystemTimezoneAutomaticDetectionName[] =
2637 "SystemTimezoneAutomaticDetection policy support";
2638const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2639 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342640
Lei Zhang2eca9082017-10-17 20:42:502641const char kEnableBackgroundBlurName[] = "Enable background blur.";
2642const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422643 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392644
Brett Wilson7b44537e2017-08-18 01:38:282645const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2646const char kEnableChromevoxArcSupportDescription[] =
2647 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342648
F#m75862c92018-01-25 19:10:472649const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2650const char kEnableDisplayZoomSettingDescription[] =
2651 "Allows the user to modify the display size or zoom via the chrome display "
2652 "settings page.";
2653
Brett Wilson7b44537e2017-08-18 01:38:282654const char kEnableEhvInputName[] =
2655 "Emoji, handwriting and voice input on opt-in IME menu";
2656const char kEnableEhvInputDescription[] =
2657 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342658
Brett Wilson7b44537e2017-08-18 01:38:282659const char kEnableEncryptionMigrationName[] =
2660 "Enable encryption migration of user data";
2661const char kEnableEncryptionMigrationDescription[] =
2662 "If enabled and the device supports ARC, the user will be asked to update "
2663 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342664
Blake O'Hare9e9317b22017-10-24 02:49:352665const char kEnableFloatingVirtualKeyboardName[] =
2666 "Enable floating virtual keyboard";
2667const char kEnableFloatingVirtualKeyboardDescription[] =
2668 "If enabled, the keyboard will use floating behavior by default.";
2669
Brett Wilson7b44537e2017-08-18 01:38:282670const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2671const char kEnableImeMenuDescription[] =
2672 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342673
Darren Shen3e49c63d2018-03-28 04:45:502674const char kEnableStylusVirtualKeyboardName[] =
2675 "Enable stylus virtual keyboard";
2676const char kEnableStylusVirtualKeyboardDescription[] =
2677 "If enabled, tapping with a stylus will show the handwriting virtual "
2678 "keyboard.";
2679
Jianzhou Feng4fb046c2018-03-29 07:38:542680const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2681 "Enable full screen handwriting virtual keyboard";
2682const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2683 "If enabled, the handwriting virtual keyboard will allow user to write "
2684 "anywhere on the screen";
2685
Xiaoqian Daicf5e5472018-04-03 21:52:382686const char kEnableTabletSplitViewName[] = "Split view in Tablet mode";
2687const char kEnableTabletSplitViewDescription[] =
2688 "Enable split view for Chrome OS tablet mode.";
2689
Jordy Greenblatt2f23df22018-02-22 19:49:192690const char kEnableUnifiedMultiDeviceSettingsName[] =
2691 "Enable unified MultiDevice settings";
2692const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2693 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2694 "MultiDevice settings.";
2695
2696const char kEnableUnifiedMultiDeviceSetupName[] =
2697 "Enable unified MultiDevice setup";
2698const char kEnableUnifiedMultiDeviceSetupDescription[] =
2699 "Enable the device to setup all MultiDevice services in a single workflow.";
2700
Klemen Kozjek05fc4512017-10-18 12:51:102701const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2702const char kEnableZipArchiverPackerDescription[] =
2703 "Enable the ability to archive files on Drive in the Files app";
2704
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412705const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2706const char kZipArchiverUnpackerDescription[] =
2707 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282708
2709const char kEolNotificationName[] = "Disable Device End of Life notification.";
2710const char kEolNotificationDescription[] =
2711 "Disable Notifcation when Device is End of Life.";
2712
2713const char kExperimentalAccessibilityFeaturesName[] =
2714 "Experimental accessibility features";
2715const char kExperimentalAccessibilityFeaturesDescription[] =
2716 "Enable additional accessibility features in the Settings page.";
2717
2718const char kExperimentalInputViewFeaturesName[] =
2719 "Experimental input view features";
2720const char kExperimentalInputViewFeaturesDescription[] =
2721 "Enable experimental features for IME input views.";
2722
2723const char kFileManagerTouchModeName[] = "Files App. touch mode";
2724const char kFileManagerTouchModeDescription[] =
2725 "Touchscreen-specific interactions of the Files app.";
2726
2727const char kFirstRunUiTransitionsName[] =
2728 "Animated transitions in the first-run tutorial";
2729const char kFirstRunUiTransitionsDescription[] =
2730 "Transitions during first-run tutorial are animated.";
2731
Brett Wilson7b44537e2017-08-18 01:38:282732const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2733const char kForceEnableStylusToolsDescription[] =
2734 "Forces display of the stylus tools menu in the shelf and the stylus "
2735 "section in settings, even if there is no attached stylus device.";
2736
2737const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2738const char kGestureEditingDescription[] =
2739 "Enable/Disable gesture editing option in the settings page for the "
2740 "virtual keyboard.";
2741
2742const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2743const char kGestureTypingDescription[] =
2744 "Enable/Disable gesture typing option in the settings page for the virtual "
2745 "keyboard.";
2746
2747const char kInputViewName[] = "Input views";
2748const char kInputViewDescription[] =
2749 "Enable IME extensions to supply custom views for user input such as "
2750 "virtual keyboards.";
2751
Megumi Hattori5a0d4182018-03-06 11:09:502752const char kLockScreenNotificationName[] = "Lock screen notification";
2753const char kLockScreenNotificationDescription[] =
2754 "Enable notifications on the lock screen.";
2755
Brett Wilson7b44537e2017-08-18 01:38:282756const char kMemoryPressureThresholdName[] =
2757 "Memory discard strategy for advanced pressure handling";
2758const char kMemoryPressureThresholdDescription[] =
2759 "Memory discarding strategy to use";
2760const char kConservativeThresholds[] =
2761 "Conservative memory pressure release strategy";
2762const char kAggressiveCacheDiscardThresholds[] =
2763 "Aggressive cache release strategy";
2764const char kAggressiveTabDiscardThresholds[] =
2765 "Aggressive tab release strategy";
2766const char kAggressiveThresholds[] =
2767 "Aggressive tab and cache release strategy";
2768
2769const char kMtpWriteSupportName[] = "MTP write support";
2770const char kMtpWriteSupportDescription[] =
2771 "MTP write support in File System API (and file manager). In-place editing "
2772 "operations are not supported.";
2773
2774const char kMultideviceName[] = "Enable multidevice features";
2775const char kMultideviceDescription[] =
2776 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342777
Kyle Horimoto027590fb2018-02-13 22:19:482778const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2779const char kMultiDeviceApiDescription[] =
2780 "Enable Mojo-based API which provides synced device metadata and the "
2781 "ability to connect to other devices associated the logged-in Google "
2782 "account.";
2783
Bailey Berrodca8eeca02017-11-18 00:49:122784const char kNativeSmbName[] = "Native Smb Client";
2785const char kNativeSmbDescription[] =
2786 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302787
vabr0215a8e2017-03-28 12:47:342788const char kNetworkPortalNotificationName[] =
2789 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342790const char kNetworkPortalNotificationDescription[] =
2791 "If enabled, notification is displayed when device is connected to a "
2792 "network behind captive portal.";
2793
Steven Bennetts77b67972017-12-14 19:38:322794const char kDisableNetworkSettingsConfigName[] =
2795 "Disable Settings based Network Configuration";
2796const char kDisableNetworkSettingsConfigDescription[] =
2797 "Disables the Settings based network configuration UI and restores the "
2798 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242799
Brett Wilson7b44537e2017-08-18 01:38:282800const char kNewKoreanImeName[] = "New Korean IME";
2801const char kNewKoreanImeDescription[] =
2802 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342803
Brett Wilson7b44537e2017-08-18 01:38:282804const char kNewZipUnpackerName[] = "New ZIP unpacker";
2805const char kNewZipUnpackerDescription[] =
2806 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342807
Brett Wilson7b44537e2017-08-18 01:38:282808const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2809const char kPhysicalKeyboardAutocorrectDescription[] =
2810 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2811 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342812
2813const char kPrinterProviderSearchAppName[] =
2814 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342815const char kPrinterProviderSearchAppDescription[] =
2816 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192817 "searches Chrome Web Store for extensions that support printing to a USB "
2818 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342819
Brett Wilson7b44537e2017-08-18 01:38:282820const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2821const char kQuickUnlockPinDescription[] =
2822 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2823 "device on the lock screen after you have signed into your device.";
2824const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2825const char kQuickUnlockPinSigninDescription[] =
2826 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2827 "device. After changing this flag PIN needs to be set up again.";
2828const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2829const char kQuickUnlockFingerprintDescription[] =
2830 "Enabling fingerprint quick unlock allows you to setup and use a "
2831 "fingerprint to unlock your Chromebook on the lock screen after you have "
2832 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342833
Brett Wilson7b44537e2017-08-18 01:38:282834const char kOfficeEditingComponentAppName[] =
2835 "Office Editing for Docs, Sheets & Slides";
2836const char kOfficeEditingComponentAppDescription[] =
2837 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072838
James Cook0ba192bf2017-12-01 20:53:112839const char kShowTapsName[] = "Show taps";
2840const char kShowTapsDescription[] =
2841 "Draws a circle at each touch point, which makes touch points more obvious "
2842 "when projecting or mirroring the display. Similar to the Android OS "
2843 "developer option.";
2844
2845const char kShowTouchHudName[] = "Show HUD for touch points";
2846const char kShowTouchHudDescription[] =
2847 "Shows a trail of colored dots for the last few touch points. Pressing "
2848 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2849 "debug hardware issues that generate spurious touch events.";
2850
Chung-Sheng Wu468b0b32017-09-01 14:41:572851const char kSysInternalsName[] = "Enable Sys-Internals";
2852const char kSysInternalsDescription[] =
2853 "If enabled, user can monitor system information at "
2854 "chrome://sys-internals.";
2855
Brett Wilson7b44537e2017-08-18 01:38:282856const char kTeamDrivesName[] = "Enable Team Drives Integration";
2857const char kTeamDrivesDescription[] =
2858 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342859
Brett Wilson7b44537e2017-08-18 01:38:282860const char kTetherName[] = "Instant Tethering";
2861const char kTetherDescription[] =
2862 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2863 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372864
Brett Wilson7b44537e2017-08-18 01:38:282865const char kTouchscreenCalibrationName[] =
2866 "Enable/disable touchscreen calibration option in material design settings";
2867const char kTouchscreenCalibrationDescription[] =
2868 "If enabled, the user can calibrate the touch screen displays in "
2869 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092870
Mitsuru Oshima63d3f2a2017-08-23 00:12:112871// Force UI Mode
2872const char kUiModeName[] = "Force Ui Mode";
2873const char kUiModeDescription[] =
2874 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2875 R"*(despite its current orientation. "Tablet" means that the )*"
2876 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2877 R"*(means that the chromebook will act as if it were in clamshell )*"
2878 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2879 R"*(the two, based on its orientation.)*";
2880const char kUiModeTablet[] = "TouchView";
2881const char kUiModeClamshell[] = "Clamshell";
2882const char kUiModeAuto[] = "Auto (default)";
2883
bruthigeafb0c02017-06-09 13:11:532884const char kUiDevToolsName[] = "Enable native UI inspection";
2885const char kUiDevToolsDescription[] =
2886 "Enables inspection of native UI elements. For local inspection use "
2887 "chrome://inspect#other";
2888
James Cooka1bcfa9a2018-01-30 00:18:402889const char kUseMusName[] = "Mojo UI service (mus)";
2890const char kUseMusDescription[] =
2891 "Handles input events, display configuration, and windowing in a mojo "
2892 "service on a thread in the browser process.";
2893
2894const char kUseMashName[] = "Out-of-process system UI (mash)";
2895const char kUseMashDescription[] =
2896 "Runs the mojo UI service (mus) and the ash window manager and system UI "
2897 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:282898
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342899// TODO(mcasas): remove after https://crbug.com/771345.
2900const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2901const char kUseMonitorColorSpaceDescription[] =
2902 "Enables Chrome to use the color space information provided by the monitor"
2903 " instead of the default sRGB color space.";
2904
Brett Wilson7b44537e2017-08-18 01:38:282905const char kVideoPlayerChromecastSupportName[] =
2906 "Experimental Chromecast support for Video Player";
2907const char kVideoPlayerChromecastSupportDescription[] =
2908 "This option enables experimental Chromecast support for Video Player app "
2909 "on ChromeOS.";
2910
2911const char kVirtualKeyboardName[] = "Virtual Keyboard";
2912const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2913
2914const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2915const char kVirtualKeyboardOverscrollDescription[] =
2916 "Enables virtual keyboard overscroll support.";
2917
2918const char kVoiceInputName[] = "Voice input on virtual keyboard";
2919const char kVoiceInputDescription[] =
2920 "Enables voice input on virtual keyboard.";
2921
2922const char kWakeOnPacketsName[] = "Wake On Packets";
2923const char kWakeOnPacketsDescription[] =
2924 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202925
yhanadac5bff5b2017-05-18 06:37:092926#endif // defined(OS_CHROMEOS)
2927
Brett Wilson7b44537e2017-08-18 01:38:282928// Random platform combinations -----------------------------------------------
2929
2930#if defined(OS_WIN) || defined(OS_LINUX)
2931
2932const char kEnableInputImeApiName[] = "Enable Input IME API";
2933const char kEnableInputImeApiDescription[] =
2934 "Enable the use of chrome.input.ime API.";
2935
2936#endif // defined(OS_WIN) || defined(OS_LINUX)
2937
2938#if defined(OS_WIN) || defined(OS_MACOSX)
2939
2940const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2941const char kAutomaticTabDiscardingDescription[] =
2942 "If enabled, tabs get automatically discarded from memory when the system "
2943 "memory is low. Discarded tabs are still visible on the tab strip and get "
2944 "reloaded when clicked on. Info about discarded tabs can be found at "
2945 "chrome://discards.";
2946
2947#endif // defined(OS_WIN) || defined(OS_MACOSX)
2948
2949// Feature flags --------------------------------------------------------------
2950
2951#if BUILDFLAG(ENABLE_VR)
2952
David Dorwin5a496c32017-11-17 01:45:052953const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2954const char kWebVrVsyncAlignDescription[] =
2955 "Align WebVR application rendering with VSync for smoother animations.";
2956
Brett Wilson7b44537e2017-08-18 01:38:282957#if defined(OS_ANDROID)
2958
Yash Malik50bcfc12017-11-18 00:47:592959const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2960const char kVrBrowserKeyboardDescription[] =
2961 "Enable a virtual keyboard for Chrome VR.";
2962
Yash Malikb78e72a72018-02-21 09:14:102963const char kVrWebInputEditingName[] = "VR browsing web input editing";
2964const char kVrWebInputEditingDescription[] =
2965 "Allow editing web input fields while in VR mode.";
2966
David Dorwin5a496c32017-11-17 01:45:052967const char kVrBrowsingExperimentalFeaturesName[] =
2968 "VR browsing experimental features";
2969const char kVrBrowsingExperimentalFeaturesDescription[] =
2970 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282971
David Dorwin5a496c32017-11-17 01:45:052972const char kVrBrowsingExperimentalRenderingName[] =
2973 "VR browsing experimental rendering features";
2974const char kVrBrowsingExperimentalRenderingDescription[] =
2975 "Experimental rendering features for VR browsing (e.g. power-saving "
2976 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102977
David Dorwin5a496c32017-11-17 01:45:052978const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2979const char kVrBrowsingInCustomTabDescription[] =
2980 "Allow browsing within a VR headset while in a Custom Tab.";
2981
Michael Thiessen37895912018-01-19 20:15:542982const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
2983const char kVrIconInDaydreamHomeDescription[] =
2984 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
2985
David Dorwin5a496c32017-11-17 01:45:052986const char kWebVrAutopresentFromIntentName[] =
2987 "WebVR auto presentation from intents";
2988const char kWebVrAutopresentFromIntentDescription[] =
2989 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282990
2991#endif // OS_ANDROID
2992
Bill Orr103ed272018-02-14 21:23:052993#if BUILDFLAG(ENABLE_OCULUS_VR)
2994const char kOculusVRName[] = "Oculus hardware support";
2995const char kOculusVRDescription[] =
2996 "If enabled, Chrome will use Oculus devices for VR (supported only on "
2997 "Windows 10 or later).";
2998#endif // ENABLE_OCULUS_VR
2999
Bill Orr49527562017-11-22 16:58:483000#if BUILDFLAG(ENABLE_OPENVR)
3001const char kOpenVRName[] = "OpenVR hardware support";
3002const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073003 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3004 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483005#endif // ENABLE_OPENVR
3006
Brett Wilson7b44537e2017-08-18 01:38:283007#endif // ENABLE_VR
3008
Nico Weberaf3b00b2017-09-11 17:58:173009#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283010
3011const char kNaclDebugMaskName[] =
3012 "Restrict Native Client GDB-based debugging by pattern";
3013const char kNaclDebugMaskDescription[] =
3014 "Restricts Native Client application GDB-based debugging by URL of "
3015 "manifest file. Native Client GDB-based debugging must be enabled for this "
3016 "option to work.";
3017const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3018const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3019 "Debug everything except secure shell and the PNaCl translator.";
3020const char kNaclDebugMaskChoiceIncludeDebug[] =
3021 "Debug only if manifest URL ends with debug.nmf.";
3022
3023const char kNaclDebugName[] = "Native Client GDB-based debugging";
3024const char kNaclDebugDescription[] =
3025 "Enable GDB debug stub. This will stop a Native Client application on "
3026 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3027
3028const char kNaclName[] = "Native Client";
3029const char kNaclDescription[] =
3030 "Support Native Client for all web applications, even those that were not "
3031 "installed from the Chrome Web Store.";
3032
3033const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3034const char kPnaclSubzeroDescription[] =
3035 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3036
Nico Weberaf3b00b2017-09-11 17:58:173037#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283038
Brett Wilson7b44537e2017-08-18 01:38:283039#if BUILDFLAG(ENABLE_WEBRTC)
3040
3041const char kWebrtcH264WithOpenh264FfmpegName[] =
3042 "WebRTC H.264 software video encoder/decoder";
3043const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3044 "When enabled, an H.264 software video encoder/decoder pair is included. "
3045 "If a hardware encoder/decoder is also available it may be used instead of "
3046 "this encoder/decoder.";
3047
3048#endif // BUILDFLAG(ENABLE_WEBRTC)
3049
James Cookf9d34d22017-10-04 16:39:353050#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283051
Wenzhao Zang50fb0b22017-11-07 01:38:423052const char kAshDisableLoginDimAndBlurName[] =
3053 "Disable dimming and blur on login screen.";
3054const char kAshDisableLoginDimAndBlurDescription[] =
3055 "Disable dimming and blur on login screen.";
3056
Brett Wilson7b44537e2017-08-18 01:38:283057const char kAshDisableSmoothScreenRotationName[] =
3058 "Disable smooth rotation animations.";
3059const char kAshDisableSmoothScreenRotationDescription[] =
3060 "Disable smooth rotation animations.";
3061
Qiang Xub7e921072017-12-07 21:02:113062const char kAshEnableDisplayMoveWindowAccelsName[] =
3063 "Enable shortcuts for moving window between displays.";
3064const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3065 "Enable shortcuts for moving window between displays.";
3066
wutaoc70d7b92017-11-01 08:06:013067const char kAshEnableKeyboardShortcutViewerName[] =
3068 "Enable keyboard shortcut viewer.";
3069const char kAshEnableKeyboardShortcutViewerDescription[] =
3070 "Enable keyboard shortcut viewer.";
3071
Brett Wilson7b44537e2017-08-18 01:38:283072const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3073const char kAshEnableMirroredScreenDescription[] =
3074 "Enable the mirrored screen mode. This mode flips the screen image "
3075 "horizontally.";
3076
Sammie Quon4e14214d2018-01-30 22:45:243077const char kAshEnableNewOverviewUiName[] = "Enable new overview UI.";
3078const char kAshEnableNewOverviewUiDescription[] =
3079 "Enables the new overview mode UI.";
3080
wutaod9cbcd32018-02-17 02:31:063081const char kAshEnableNewOverviewAnimationsName[] =
3082 "Enable new overview animations.";
3083const char kAshEnableNewOverviewAnimationsDescription[] =
3084 "Enables the new overview mode animations.";
3085
Qiang Xufa19cfd2018-01-29 19:36:503086const char kAshEnablePersistentWindowBoundsName[] =
3087 "Enable persistent window bounds in multi-displays scenario.";
3088const char kAshEnablePersistentWindowBoundsDescription[] =
3089 "Enable persistent window bounds in multi-displays scenario.";
3090
Daniel Erat9ef89ee2018-03-27 03:46:463091const char kAshEnableModeSpecificPowerButtonName[] =
3092 "Enable mode-specific power button behavior.";
3093const char kAshEnableModeSpecificPowerButtonDescription[] =
3094 "Enable mode-specific power button behavior. While in tablet mode, tapping "
3095 "the power button turns the display off.";
3096
wutaoc5062be2018-03-16 02:16:233097const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3098const char kAshEnableTrilinearFilteringDescription[] =
3099 "Enable trilinear filtering.";
3100
Brett Wilson7b44537e2017-08-18 01:38:283101const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3102const char kAshShelfColorDescription[] =
3103 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3104 "--ash-shelf-color-scheme flag defines how that color is derived.";
3105
3106const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3107const char kAshShelfColorSchemeDescription[] =
3108 "Specify how the color is derived from the wallpaper. This flag is only "
3109 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3110const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3111const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3112const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3113const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3114const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3115const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3116
Wenzhao Zang06a28872018-02-23 04:01:353117const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3118const char kEnableNewWallpaperPickerDescription[] =
3119 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3120
Brett Wilson7b44537e2017-08-18 01:38:283121const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373122 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283123const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3124 "Sets the speed of the experimental visual feedback animations for "
3125 "material design.";
3126const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3127const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3128
3129const char kUiShowCompositedLayerBordersName[] =
3130 "Show UI composited layer borders";
3131const char kUiShowCompositedLayerBordersDescription[] =
3132 "Show border around composited layers created by UI.";
3133const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3134const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3135const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3136const char kUiShowCompositedLayerBordersAll[] = "All";
3137
3138const char kUiSlowAnimationsName[] = "Slow UI animations";
3139const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3140
James Cookf9d34d22017-10-04 16:39:353141#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283142
Brett Wilson7b44537e2017-08-18 01:38:283143#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3144
3145const char kAutofillCreditCardUploadName[] =
3146 "Enable offering upload of Autofilled credit cards";
3147const char kAutofillCreditCardUploadDescription[] =
3148 "Enables a new option to upload credit cards to Google Payments for sync "
3149 "to all Chrome devices.";
3150
3151#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3152
3153// ============================================================================
3154// Don't just add flags to the end, put them in the right section in
3155// alphabetical order just like the header file.
3156// ============================================================================
3157
vabr0215a8e2017-03-28 12:47:343158} // namespace flag_descriptions