blob: e010479560abb00b81c2c51a72c17230b383f578 [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
Shubhie Panicker48616c32017-10-26 21:46:2512const char kStopLoadingInBackgroundName[] = "Stop loading in background";
13const char kStopLoadingInBackgroundDescription[] =
14 "Stop loading tasks and loading "
15 "resources, in the background, after certain grace time.";
16
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
18const char kAccelerated2dCanvasDescription[] =
19 "Enables the use of the GPU to perform 2d canvas rendering instead of "
20 "using software rendering.";
horodb71a5a2017-06-09 16:08:2421
Brett Wilsonf27ff602017-07-07 22:28:4722const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
23const char kAcceleratedVideoDecodeDescription[] =
24 "Hardware-accelerated video decode where available.";
25
26const char kAffiliationBasedMatchingName[] =
27 "Affiliation based matching in password manager";
28const char kAffiliationBasedMatchingDescription[] =
29 "Allow credentials stored for Android applications to be filled into "
30 "corresponding websites.";
31
32const char kAllowInsecureLocalhostName[] =
33 "Allow invalid certificates for resources loaded from localhost.";
34const char kAllowInsecureLocalhostDescription[] =
35 "Allows requests to localhost over HTTPS even when an invalid certificate "
36 "is presented.";
37
38const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
39const char kAllowNaclSocketApiDescription[] =
40 "Allows applications to use NaCl Socket API. Use only to test NaCl "
41 "plugins.";
42
43const char kAppBannersName[] = "App Banners";
44const char kAppBannersDescription[] =
45 "Enable the display of Progressive Web App banners, which prompt a user to "
46 "add a web app to their shelf, or other platform-specific equivalent.";
47
Khushalba202212017-07-12 19:53:4948const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
49const char kAsyncImageDecodingDescription[] =
50 "Enables asynchronous decoding of images from raster for web content";
51
Brett Wilsonf27ff602017-07-07 22:28:4752const char kAutoplayPolicyName[] = "Autoplay policy";
53const char kAutoplayPolicyDescription[] =
54 "Policy used when deciding if audio or video is allowed to autoplay.";
55
56const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
57 "User gesture is required for cross-origin iframes.";
58const char kAutoplayPolicyNoUserGestureRequired[] =
59 "No user gesture is required.";
60const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
61const char kAutoplayPolicyDocumentUserActivation[] =
62 "Document user activation is required.";
63
Johanne0cc6902017-11-16 00:23:5064extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
65extern const char kAv1DecoderDescription[] =
66 "Allow decoding of files with the AV1 video codec.";
67
Brett Wilsonf27ff602017-07-07 22:28:4768const char kBackgroundVideoTrackOptimizationName[] =
69 "Optimize background video playback.";
70const char kBackgroundVideoTrackOptimizationDescription[] =
71 "Disable video tracks when the video is played in the background to "
72 "optimize performance.";
73
74const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
75const char kBleAdvertisingInExtensionsDescription[] =
76 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
77 "with regular use of Bluetooth Low Energy features.";
78
Charles Harrisond629cc62017-10-05 01:39:5479const char kBlockTabUndersName[] = "Block tab-unders";
80const char kBlockTabUndersDescription[] =
81 "Blocks tab-unders in Chrome with some native UI to allow the user to "
82 "proceed.";
83
Brett Wilsonf27ff602017-07-07 22:28:4784const char kBrowserSideNavigationName[] = "Enable browser side navigation";
horodb71a5a2017-06-09 16:08:2485const char kBrowserSideNavigationDescription[] =
horo3beccfb2017-06-19 14:47:0186 "Enable browser side navigation (aka PlzNavigate).";
horodb71a5a2017-06-09 16:08:2487
arthursonzognif2bc2d202017-11-08 11:01:0288const char kNavigationMojoResponseName[] = "Navigation response using Mojo";
89const char kNavigationMojoResponseDescription[] =
90 "Browser side navigation (aka PlzNavigate) is using blob URLs to deliver "
91 "the body of the main resource to the renderer process. This flag replaces "
92 "this mechanism by using a Mojo DataPipe.";
93
Brett Wilsonf27ff602017-07-07 22:28:4794const char kBrowserTaskSchedulerName[] = "Task Scheduler";
95const char kBrowserTaskSchedulerDescription[] =
96 "Enables redirection of some task posting APIs to the task scheduler.";
97
98const char kBypassAppBannerEngagementChecksName[] =
99 "Bypass user engagement checks";
100const char kBypassAppBannerEngagementChecksDescription[] =
101 "Bypasses user engagement checks for displaying app banners, such as "
102 "requiring that users have visited the site before and that the banner "
103 "hasn't been shown recently. This allows developers to test that other "
104 "eligibility requirements for showing app banners, such as having a "
105 "manifest, are met.";
106
Lucas Garronb9539b732017-10-31 00:22:09107const char kCommittedInterstitialsName[] = "Committed Interstitials";
108const char kCommittedInterstitialsDescription[] =
109 "Use committed error pages instead of transient navigation entries "
110 "for interstitial error pages (e.g. certificate errors).";
111
Marc Treib026acc532017-10-17 18:39:59112const char kCaptureThumbnailOnNavigatingAwayName[] =
113 "Capture page thumbnail on navigating away";
114const char kCaptureThumbnailOnNavigatingAwayDescription[] =
115 "Capture a page thumbnail (for use on the New Tab page) when navigating "
116 "away from the current page, in addition to other times a thumbnail may be "
117 "captured.";
118
Brett Wilsonf27ff602017-07-07 22:28:47119const char kCastStreamingHwEncodingName[] =
120 "Cast Streaming hardware video encoding";
121const char kCastStreamingHwEncodingDescription[] =
122 "This option enables support in Cast Streaming for encoding video streams "
123 "using platform hardware.";
124
Amber Won478561d2017-08-19 01:02:59125const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
126const char kClickToOpenPDFDescription[] =
127 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
128 "embedded PDFs.";
129
Gary Kacmarcikfb69b212017-11-14 03:41:08130const char kClipboardContentSettingName[] = "Clipboard content setting";
131const char kClipboardContentSettingDescription[] =
132 "Enables a site-wide permission in the UI which controls access to the "
133 "asynchronous clipboard web API";
134
Brett Wilsonf27ff602017-07-07 22:28:47135const char kCloudImportName[] = "Cloud Import";
136const char kCloudImportDescription[] = "Allows the cloud-import feature.";
137
Christopher Cameronceb8727d2017-09-07 23:53:16138const char kForceColorProfileSRGB[] = "sRGB";
139const char kForceColorProfileP3[] = "Display P3 D65";
140const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
141const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
142
143const char kForceColorProfileName[] = "Force color profile";
144const char kForceColorProfileDescription[] =
145 "Forces Chrome to use a specific color profile instead of the color "
146 "of the window's current monitor, as specified by the operating system.";
147
Brett Wilsonf27ff602017-07-07 22:28:47148const char kCompositedLayerBordersName[] = "Composited render layer borders";
149const char kCompositedLayerBordersDescription[] =
150 "Renders a border around composited Render Layers to help debug and study "
151 "layer compositing.";
152
153const char kContextualSuggestionsCarouselName[] =
154 "Enable Contextual Suggestions";
155const char kContextualSuggestionsCarouselDescription[] =
156 "If enabled, shows contextual suggestions in a horizontal carousel in "
157 "bottom sheet content.";
158
159const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
160const char kCreditCardAssistDescription[] =
161 "Enable assisted credit card filling on certain sites.";
162
163const char kCrossProcessGuestViewIsolationName[] =
164 "Cross process frames for guests";
165const char kCrossProcessGuestViewIsolationDescription[] =
166 "Highly experimental where guests such as <webview> are implemented on "
167 "the out-of-process iframe infrastructure.";
168
Brett Wilsonf27ff602017-07-07 22:28:47169const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
170const char kDataReductionProxyLoFiDescription[] =
171 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
172 "cellular connections, or disabled. Data Saver must be enabled for Lo-Fi "
173 "mode to be used.";
174const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
175const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
176const char kDataReductionProxyLoFiDisabled[] = "Disable";
177const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
178 "Slow connections only";
179
180const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
181const char kDatasaverPromptDescription[] =
182 "Enables a prompt, which appears when a cellular network connection is "
183 "detected, to take the user to the Data Saver extension page on Chrome Web "
184 "Store.";
185const char kDatasaverPromptDemoMode[] = "Demo mode";
186
187const char kDebugPackedAppName[] = "Debugging for packed apps";
188const char kDebugPackedAppDescription[] =
189 "Enables debugging context menu options such as Inspect Element for packed "
190 "applications.";
191
192const char kDefaultTileHeightName[] = "Default tile height";
193const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
194const char kDefaultTileHeightShort[] = "128";
195const char kDefaultTileHeightTall[] = "256";
196const char kDefaultTileHeightGrande[] = "512";
197const char kDefaultTileHeightVenti[] = "1024";
198
199const char kDefaultTileWidthName[] = "Default tile width";
200const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
201const char kDefaultTileWidthShort[] = "128";
202const char kDefaultTileWidthTall[] = "256";
203const char kDefaultTileWidthGrande[] = "512";
204const char kDefaultTileWidthVenti[] = "1024";
205
206const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
207const char kDebugShortcutsDescription[] =
208 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
209
210const char kDeviceDiscoveryNotificationsName[] =
211 "Device Discovery Notifications";
212const char kDeviceDiscoveryNotificationsDescription[] =
213 "Device discovery notifications on local network.";
214
215const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
216const char kDevtoolsExperimentsDescription[] =
217 "Enables Developer Tools experiments. Use Settings panel in Developer "
218 "Tools to toggle individual experiments.";
219
220const char kDisableAudioForDesktopShareName[] =
221 "Disable Audio For Desktop Share";
222const char kDisableAudioForDesktopShareDescription[] =
223 "With this flag on, desktop share picker window will not let the user "
224 "choose whether to share audio.";
225
Brett Wilsonf27ff602017-07-07 22:28:47226const char kDisableTabForDesktopShareName[] =
227 "Disable Desktop Share with tab source";
228const char kDisableTabForDesktopShareDescription[] =
229 "This flag controls whether users can choose a tab for desktop share.";
230
231const char kDisallowDocWrittenScriptsUiName[] =
232 "Block scripts loaded via document.write";
233const char kDisallowDocWrittenScriptsUiDescription[] =
234 "Disallows fetches for third-party parser-blocking scripts inserted into "
235 "the main frame via document.write.";
236
237const char kDisplayList2dCanvasName[] = "Display list 2D canvas";
238const char kDisplayList2dCanvasDescription[] =
239 "Enables the use of display lists to record 2D canvas commands. This "
240 "allows 2D canvas rasterization to be performed on separate thread.";
241
242const char kDistanceFieldTextName[] = "Distance field text";
243const char kDistanceFieldTextDescription[] =
244 "Text is rendered with signed distance fields rather than bitmap alpha "
245 "masks.";
246
247const char kDriveSearchInChromeLauncherName[] =
248 "Drive Search in Chrome App Launcher";
249const char kDriveSearchInChromeLauncherDescription[] =
250 "Files from Drive will show up when searching the Chrome App Launcher.";
251
Brett Wilsonf27ff602017-07-07 22:28:47252const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
253 "Smart Lock Bluetooth Low Energy Discovery";
254const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07255 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47256 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
257 "phone is in its proximity.";
258
Gustavo Sacomotofb11164f2017-07-21 12:56:18259const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
260const char kEasyUnlockPromotionsDescription[] =
261 "Enables Smart Lock promotions. Promotions will be periodically display "
262 "if the user is eligible.";
263
Brett Wilsonf27ff602017-07-07 22:28:47264const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
265const char kEmbeddedExtensionOptionsDescription[] =
266 "Display extension options as an embedded element in chrome://extensions "
267 "rather than opening a new tab.";
268
269const char kEnableAsmWasmName[] =
270 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
271const char kEnableAsmWasmDescription[] =
272 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
273 R"*(WebAssembly.)*";
274
Shanfeng Zhang19c16562017-10-17 02:30:40275const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
276 "Credit card autofill ablation experiment.";
277const char kEnableAutofillCreditCardAblationExperimentDescription[] =
278 "If enabled, credit card autofill suggestions will not display.";
279
Brett Wilsonf27ff602017-07-07 22:28:47280const char kEnableAutofillCreditCardBankNameDisplayName[] =
281 "Display the issuer bank name of a credit card in autofill.";
282const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
283 "If enabled, displays the issuer bank name of a credit card in autofill.";
284
285const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
286 "Display the last used date of a credit card in autofill.";
287const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
288 "If enabled, display the last used date of a credit card in autofill.";
289
290const char kEnableAutofillCreditCardUploadCvcPromptName[] =
291 "Enable requesting missing CVC during Autofill credit card upload";
292const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
293 "If enabled, requests missing CVC when offering to upload credit cards to "
294 "Google Payments.";
295
Jared Saule4446d12017-08-15 20:01:13296const char kEnableAutofillCreditCardUploadGoogleLogoName[] =
297 "Show Google Logo for Autofill credit card upload";
298const char kEnableAutofillCreditCardUploadGoogleLogoDescription[] =
299 "If enabled, displays the Google logo in the save prompt when offering to "
300 "upload credit cards to Google Payments.";
301
jsaul19ef81c2017-08-09 18:53:40302const char kEnableAutofillCreditCardUploadNewUiName[] =
303 "Enable updated UI for Autofill credit card upload";
304const char kEnableAutofillCreditCardUploadNewUiDescription[] =
305 "If enabled, displays a new save card bubble/infobar design when offering "
306 "to upload credit cards to Google Payments.";
307
Jason Guo71f621e2017-10-13 04:18:53308const char kEnableAutofillSendBillingCustomerNumberName[] =
309 "Enable autofill sending billing customer number when calling Google "
310 "Payments";
311const char kEnableAutofillSendBillingCustomerNumberDescription[] =
312 "If enabled, autofill sends billing customer number when calling Google "
313 "Payments.";
314
Mathieu Perreault069024e12017-10-24 01:14:08315const char kEnableAutofillToolkitViewsCreditCardDialogsMac[] =
316 "Enable toolkit-views credit card dialogs on Mac";
317const char kEnableAutofillToolkitViewsCreditCardDialogsMacDescription[] =
318 "Enable more modern credit card dialogs on Mac, based on toolkit-views.";
319
Vitalii Iarko4f9834ce2017-08-04 07:05:19320const char kEnableBreakingNewsPushName[] = "Breaking News Push";
321const char kEnableBreakingNewsPushDescription[] =
322 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
323 "through Google Cloud Messaging.";
324
Brett Wilsonf27ff602017-07-07 22:28:47325const char kEnableBrotliName[] = "Brotli Content-Encoding.";
326const char kEnableBrotliDescription[] =
327 "Enable Brotli Content-Encoding support.";
328
sclittle50e4bb92017-07-08 02:23:03329const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
330
331const char kEnableClientLoFiDescription[] =
332 "Enable showing low fidelity images on some pages on slow networks.";
333
Doug Arnett08b4067b2017-10-12 20:14:44334const char kEnableNoScriptPreviewsName[] = "NoScript previews";
335
336const char kEnableNoScriptPreviewsDescription[] =
337 "Enable disabling JavaScript on some pages on slow networks.";
338
Brett Wilsonf27ff602017-07-07 22:28:47339const char kEnableDataReductionProxyLitePageName[] =
340 "Lite pages for Data Saver Lo-Fi mode";
341const char kEnableDataReductionProxyLitePageDescription[] =
342 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
343 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
344 "Lo-Fi must be enabled for lite pages to be shown.";
345
Thanh Le2c279fbc2017-11-21 01:25:40346const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
347const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
348const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
349const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
350const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
351const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
352const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
353const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
354const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
355const char kDataReductionProxyServerAlternative10[] =
356 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47357const char kEnableDataReductionProxyServerExperimentName[] =
358 "Use an alternative Data Saver back end configuration.";
359const char kEnableDataReductionProxyServerExperimentDescription[] =
360 "Enable a different approach to saving data by configuring the back end "
361 "server";
362
363const char kEnableDataReductionProxySavingsPromoName[] =
364 "Data Saver 1 MB Savings Promo";
365const char kEnableDataReductionProxySavingsPromoDescription[] =
366 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
367 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
368 "enabled for the promo to be shown.";
369
Matt Giucad4870432017-11-24 01:04:38370const char kEnableDesktopPWAsName[] = "Desktop PWAs";
371const char kEnableDesktopPWAsDescription[] =
372 "Experimental windowing and install banner treatment for Progressive Web "
373 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17374
Brett Wilsonf27ff602017-07-07 22:28:47375const char kEnableEnumeratingAudioDevicesName[] =
376 "Experimentally enable enumerating audio devices.";
377const char kEnableEnumeratingAudioDevicesDescription[] =
378 "Experimentally enable the use of enumerating audio devices.";
379
380const char kEnableGenericSensorName[] = "Generic Sensor";
381const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25382 "Enables motion sensor classes based on Generic Sensor API, i.e. "
383 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
384 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
385
386const char kEnableGenericSensorExtraClassesName[] =
387 "Generic Sensor Extra Classes";
388const char kEnableGenericSensorExtraClassesDescription[] =
389 "Enables an extra set of sensor classes based on Generic Sensor API, which "
390 "expose previously unavailable platform features, i.e. AmbientLightSensor "
391 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47392
Brett Wilsonf27ff602017-07-07 22:28:47393const char kEnableHDRName[] = "HDR mode";
394const char kEnableHDRDescription[] =
395 "Enables HDR support on compatible displays.";
396
397const char kEnableHeapProfilingName[] = "Heap profiling";
398const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
399const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
400const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
401const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
402
403const char kEnableHttpFormWarningName[] =
404 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15405 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47406const char kEnableHttpFormWarningDescription[] =
407 "Attaches a warning UI to any password or credit card fields detected when "
408 "the top-level page is not HTTPS";
409
Sidney San Martín9375b892017-09-09 00:29:54410const char kEnableMacMaterialDesignDownloadShelfName[] =
411 "Enable Material Design download shelf";
412
413const char kEnableMacMaterialDesignDownloadShelfDescription[] =
414 "If enabled, the download shelf uses Material Design.";
415
Tatiana Gornakafb40452017-07-31 13:50:04416const char kEnableManualFallbacksFillingName[] =
417 "Manual fallbacks for password manager forms filling";
418const char kEnableManualFallbacksFillingDescription[] =
419 "If enabled, then if user clicks on the password field on a form, popup "
420 "might contain generation fallbacks or 'Show all saved passwords' "
421 "fallback.";
422
vabr0215a8e2017-03-28 12:47:34423const char kEnableMaterialDesignBookmarksName[] =
424 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34425const char kEnableMaterialDesignBookmarksDescription[] =
426 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
427 "bookmarks page.";
428
vabr0215a8e2017-03-28 12:47:34429const char kEnableMaterialDesignExtensionsName[] =
430 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34431const char kEnableMaterialDesignExtensionsDescription[] =
432 "If enabled, the chrome://extensions/ URL loads the Material Design "
433 "extensions page.";
434
Anton Urusov47cd4932017-09-19 14:41:41435const char kEnablePolicyToolName[] = "Enable policy management page";
436const char kEnablePolicyToolDescription[] =
437 "If enabled, the chrome://policy-tool URL loads a page for managing "
438 "policies.";
439
Tsuyoshi Horoea7edb72017-11-12 04:14:00440const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
441const char kEnablePWAFullCodeCacheDescription[] =
442 "Generate V8 code cache in Cache Storage while installing Service Worker "
443 "for PWAs.";
444
Weidong Guo7dfd1482017-11-08 05:56:28445const char kEnableMultiMirroringName[] =
446 "Display mirroring across multiple displays.";
447const char kEnableMultiMirroringDescription[] =
448 "Enable Display mirroring across multiple displays.";
449
Brett Wilsonf27ff602017-07-07 22:28:47450const char kEnableNavigationTracingName[] = "Enable navigation tracing";
451const char kEnableNavigationTracingDescription[] =
452 "This is to be used in conjunction with the trace-upload-url flag. "
453 "WARNING: When enabled, Chrome will record performance data for every "
454 "navigation and upload it to the URL specified by the trace-upload-url "
455 "flag. The trace may include personally identifiable information (PII) "
456 "such as the titles and URLs of websites you visit.";
457
Bernhard Bauer5533f9912017-11-06 17:56:02458const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
459const char kEnableNetworkLoggingToFileDescription[] =
460 "Enables network logging to a file named netlog.json in the user data "
461 "directory. The file can be imported into chrome://net-internals.";
462
Brett Wilsonf27ff602017-07-07 22:28:47463const char kEnableNetworkServiceName[] = "Enable network service";
464const char kEnableNetworkServiceDescription[] =
465 "Enables the network service, which makes network requests through a "
466 "separate service. Note: most features don't work with this yet.";
467
dpapaded8349472017-10-25 03:21:27468const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
469const char kEnableNewPrintPreviewDescription[] =
470 "If enabled, Print Preview will display a newer UI";
471
Ahmed Fakhry2fd8fc82017-07-28 16:31:12472const char kEnableNightLightName[] = "Enable Night Light";
473const char kEnableNightLightDescription[] =
474 "Enable the Night Light feature which controls the color temperature of "
475 "the screen.";
476
Sophie Chang117a3b22017-10-24 22:25:36477const char kEnableOptimizationHintsName[] = "Optimization Hints";
478const char kEnableOptimizationHintsDescription[] =
479 "Enable the Optimization Hints feature which incorporates server hints"
480 "into decisions for what optimizations to perform on some pages on slow "
481 "networks.";
482
Yutaka Hirano98be3272017-08-07 17:55:39483const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
484const char kEnableOutOfBlinkCORSDescription[] =
485 "CORS handling logic is moved out of blink.";
486
Erik Chen49bbfa22017-08-18 08:49:56487const char kEnableOutOfProcessHeapProfilingName[] =
488 "Out of process heap profiling.";
489const char kEnableOutOfProcessHeapProfilingDescription[] =
490 "Creates a profiling service that records stacktraces for all live, "
491 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36492const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
493 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56494const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
Albert J. Wongbd5bd902017-11-09 19:56:15495const char kEnableOutOfProcessHeapProfilingModeBrowser[] =
496 "Profile only the browser processes.";
497const char kEnableOutOfProcessHeapProfilingModeGpu[] =
498 "Profile only the GPU processes.";
499const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
500 "Profile a random sampling of renderer processes, ensuring only one is "
501 "ever profiled at a time.";
Erik Chen49bbfa22017-08-18 08:49:56502
Brett Wilsonf27ff602017-07-07 22:28:47503const char kEnablePictureInPictureName[] = "Enable picture in picture.";
504const char kEnablePictureInPictureDescription[] =
505 "Enable the picture in picture feature for videos.";
506
F#m59d036e2017-09-13 07:22:17507const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
508const char kEnablePixelCanvasRecordingDescription[] =
509 "Pixel canvas recording allows the compositor to raster contents aligned "
510 "with the pixel and improves text rendering. This should be enabled when a "
511 "device is using fractional scale factor.";
512
Brett Wilsonf27ff602017-07-07 22:28:47513const char kEnableTokenBindingName[] = "Token Binding.";
514const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
515
Irmak Kavasoglu7e16af02017-07-19 09:52:47516const char kEnableUsernameCorrectionName[] = "Enable username correction";
517const char kEnableUsernameCorrectionDescription[] =
518 "While on the pending password state, add an edit button to the bubble so "
519 "that user can edit the username.";
520
Brett Wilsonf27ff602017-07-07 22:28:47521const char kEnableUseZoomForDsfName[] =
522 "Use Blink's zoom for device scale factor.";
523const char kEnableUseZoomForDsfDescription[] =
524 "If enabled, Blink uses its zooming mechanism to scale content for device "
525 "scale factor.";
526const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
527const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
528const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
529
530const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
531const char kEnableScrollAnchoringDescription[] =
532 "Adjusts scroll position to prevent visible jumps when offscreen content "
533 "changes.";
534
Brett Wilsonf27ff602017-07-07 22:28:47535const char kEnableWasmName[] = "WebAssembly structured cloning support.";
536const char kEnableWasmDescription[] =
537 "Enable web pages to use WebAssembly structured cloning.";
538
Brett Wilsonf27ff602017-07-07 22:28:47539const char kEnableImageCaptureAPIName[] = "Image Capture API";
540const char kEnableImageCaptureAPIDescription[] =
541 "Enables the Web Platform Image Capture API: takePhoto(), "
542 "getPhotoCapabilities(), etc.";
543
544const char kEnableZeroSuggestRedirectToChromeName[] =
545 "Experimental contextual omnibox suggestion";
546const char kEnableZeroSuggestRedirectToChromeDescription[] =
547 "Change omnibox contextual suggestions to an experimental source. Note "
548 "that this is not an on/off switch for contextual omnibox and it only "
549 "applies to suggestions provided before the user starts typing a URL or a "
550 "search query (i.e. zero suggest).";
551
552const char kEnableWasmStreamingName[] =
553 "WebAssembly streaming compile/instantiate support.";
554const char kEnableWasmStreamingDescription[] =
555 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
556
Brett Wilsonf27ff602017-07-07 22:28:47557const char kExpensiveBackgroundTimerThrottlingName[] =
558 "Throttle expensive background timers";
559const char kExpensiveBackgroundTimerThrottlingDescription[] =
560 "Enables intervention to limit CPU usage of background timers to 1%.";
561
562const char kExperimentalAppBannersName[] = "Experimental app banners";
563const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38564 "Enables a new experimental app banner flow and UI. Implies "
565 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47566
567const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
568const char kExperimentalCanvasFeaturesDescription[] =
569 "Enables the use of experimental canvas features which are still in "
570 "development.";
571
572const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
573const char kExperimentalExtensionApisDescription[] =
574 "Enables experimental extension APIs. Note that the extension gallery "
575 "doesn't allow you to upload extensions that use experimental APIs.";
576
577const char kExperimentalFullscreenExitUIName[] =
578 "Experimental fullscreen exit UI";
579const char kExperimentalFullscreenExitUIDescription[] =
580 "Displays experimental UI to allow mouse and touch input methods to exit "
581 "fullscreen mode.";
582
583const char kExperimentalHotwordHardwareName[] =
584 "Simulated hardware 'Ok Google' features";
585const char kExperimentalHotwordHardwareDescription[] =
586 "Enables an experimental version of 'Ok Google' hotword detection features "
587 "that have a hardware dependency.";
588
589const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
590const char kExperimentalKeyboardLockUiDescription[] =
591 "An experimental full screen with keyboard lock mode requiring users to "
592 "hold Esc to exit.";
593
594const char kExperimentalSecurityFeaturesName[] =
595 "Potentially annoying security features";
596const char kExperimentalSecurityFeaturesDescription[] =
597 "Enables several security features that will likely break one or more "
598 "pages that you visit on a daily basis. Strict mixed content checking, for "
599 "example. And locking powerful features to secure contexts. This flag will "
600 "probably annoy you.";
601
602const char kExperimentalWebPlatformFeaturesName[] =
603 "Experimental Web Platform features";
604const char kExperimentalWebPlatformFeaturesDescription[] =
605 "Enables experimental Web Platform features that are in development.";
606
607const char kExtensionContentVerificationName[] =
608 "Extension Content Verification";
609const char kExtensionContentVerificationDescription[] =
610 "This flag can be used to turn on verification that the contents of the "
611 "files on disk for extensions from the webstore match what they're "
612 "expected to be. This can be used to turn on this feature if it would not "
613 "otherwise have been turned on, but cannot be used to turn it off (because "
614 "this setting can be tampered with by malware).";
615const char kExtensionContentVerificationBootstrap[] =
616 "Bootstrap (get expected hashes, but do not enforce them)";
617const char kExtensionContentVerificationEnforce[] =
618 "Enforce (try to get hashes, and enforce them if successful)";
619const char kExtensionContentVerificationEnforceStrict[] =
620 "Enforce strict (hard fail if we can't get hashes)";
621
622const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
623const char kExtensionsOnChromeUrlsDescription[] =
624 "Enables running extensions on chrome:// URLs, where extensions explicitly "
625 "request this permission.";
galinapae72e152017-05-12 13:12:28626
Brett Wilsonecb80982017-07-12 20:34:51627const char kFastUnloadName[] = "Fast tab/window close";
628const char kFastUnloadDescription[] =
629 "Enables fast tab/window closing - runs a tab's onunload js handler "
630 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34631
Brett Wilsonecb80982017-07-12 20:34:51632const char kFeaturePolicyName[] = "Feature Policy";
633const char kFeaturePolicyDescription[] =
634 "Enables granting and removing access to features through the "
635 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34636
Brett Wilsonecb80982017-07-12 20:34:51637const char kFetchKeepaliveTimeoutSettingName[] =
638 "Fetch API keepalive timeout setting";
639const char kFetchKeepaliveTimeoutSettingDescription[] =
640 "This is for setting the timeout value for Fetch API with keepalive option "
641 "and SendBeacon";
642
643const char kFontCacheScalingName[] = "FontCache scaling";
644const char kFontCacheScalingDescription[] =
645 "Reuse a cached font in the renderer to serve different sizes of font for "
646 "faster layout.";
647
648const char kForceEffectiveConnectionTypeName[] =
649 "Override effective connection type";
650const char kForceEffectiveConnectionTypeDescription[] =
651 "Overrides the effective connection type of the current connection "
652 "returned by the network quality estimator.";
653const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
654const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
655const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
656const char kEffectiveConnectionType2GDescription[] = "2G";
657const char kEffectiveConnectionType3GDescription[] = "3G";
658const char kEffectiveConnectionType4GDescription[] = "4G";
659
660const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
661const char kFillOnAccountSelectDescription[] =
662 "Filling of passwords when an account is explicitly selected by the user "
663 "rather than autofilling credentials on page load.";
664
Brett Wilsonecb80982017-07-12 20:34:51665const char kForceTextDirectionName[] = "Force text direction";
666const char kForceTextDirectionDescription[] =
667 "Explicitly force the per-character directionality of UI text to "
668 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
669 "direction of the character language.";
670const char kForceDirectionLtr[] = "Left-to-right";
671const char kForceDirectionRtl[] = "Right-to-left";
672
673const char kForceUiDirectionName[] = "Force UI direction";
674const char kForceUiDirectionDescription[] =
675 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
676 "mode, overriding the default direction of the UI language.";
677
678const char kFramebustingName[] =
679 "Framebusting requires same-origin or a user gesture";
680const char kFramebustingDescription[] =
681 "Don't permit an iframe to navigate the top level browsing context unless "
682 "they are same-origin or the iframe is processing a user gesture.";
683
684const char kGamepadExtensionsName[] = "Gamepad Extensions";
685const char kGamepadExtensionsDescription[] =
686 "Enabling this option allows web applications to access experimental "
687 "extensions to the Gamepad APIs.";
688
sohan3f00ffc2017-07-14 22:28:08689const char kGlCompositedOverlayCandidateQuadBordersName[] =
690 "GL composited overlay candidate quad borders";
691const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39692 "Renders a border around GL composited overlay candidate quads to help "
693 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51694
695const char kGpuRasterizationMsaaSampleCountName[] =
696 "GPU rasterization MSAA sample count.";
697const char kGpuRasterizationMsaaSampleCountDescription[] =
698 "Specify the number of MSAA samples for GPU rasterization.";
699const char kGpuRasterizationMsaaSampleCountZero[] = "0";
700const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
701const char kGpuRasterizationMsaaSampleCountFour[] = "4";
702const char kGpuRasterizationMsaaSampleCountEight[] = "8";
703const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
704
705const char kGpuRasterizationName[] = "GPU rasterization";
706const char kGpuRasterizationDescription[] =
707 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28708const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51709
710const char kGoogleProfileInfoName[] = "Google profile name and icon";
711const char kGoogleProfileInfoDescription[] =
712 "Enables using Google information to populate the profile name and icon in "
713 "the avatar menu.";
714
715const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
716const char kHarfbuzzRendertextDescription[] =
717 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
718 "web content.";
719
720const char kHistoryRequiresUserGestureName[] =
721 "New history entries require a user gesture.";
722const char kHistoryRequiresUserGestureDescription[] =
723 "Require a user gesture to add a history entry.";
724const char kHyperlinkAuditingName[] = "Hyperlink auditing";
725const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
726
727const char kHostedAppQuitNotificationName[] =
728 "Quit notification for hosted apps";
729const char kHostedAppQuitNotificationDescription[] =
730 "Display a notification when quitting Chrome if hosted apps are currently "
731 "running.";
732
733const char kHostedAppShimCreationName[] =
734 "Creation of app shims for hosted apps on Mac";
735const char kHostedAppShimCreationDescription[] =
736 "Create app shims on Mac when creating a hosted app.";
737
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48738const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
739const char kHtmlBasedUsernameDetectorDescription[] =
740 "Use HTML-based username detector for the password manager.";
741
Brett Wilsonecb80982017-07-12 20:34:51742const char kIconNtpName[] = "Large icons on the New Tab page";
743const char kIconNtpDescription[] =
744 "Enable the experimental New Tab page using large icons.";
745
746const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
747const char kIgnoreGpuBlacklistDescription[] =
748 "Overrides the built-in software rendering list and enables "
749 "GPU-acceleration on unsupported system configurations.";
750
751const char kImportantSitesInCbdName[] =
752 "Important sites options in clear browsing data dialog";
753const char kImportantSitesInCbdDescription[] =
754 "Include the option to whitelist important sites in the clear browsing "
755 "data dialog.";
756
Brett Wilsonecb80982017-07-12 20:34:51757const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
758const char kInProductHelpDemoModeChoiceDescription[] =
759 "Selects the In-Product Help demo mode.";
760
761const char kJavascriptHarmonyName[] = "Experimental JavaScript";
762const char kJavascriptHarmonyDescription[] =
763 "Enable web pages to use experimental JavaScript features.";
764
765const char kJavascriptHarmonyShippingName[] =
766 "Latest stable JavaScript features";
767const char kJavascriptHarmonyShippingDescription[] =
768 "Some web pages use legacy or non-standard JavaScript extensions that may "
769 "conflict with the latest JavaScript features. This flag allows disabling "
770 "support of those features for compatibility with such pages.";
771
Yutaka Hiranof7f2f632017-09-06 10:40:08772const char kKeepAliveRendererForKeepaliveRequestsName[] =
773 "Keep a renderer alive for keepalive fetch requests";
774const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
775 "Keep a render process alive when the process has a pending fetch request "
776 "with `keepalive' specified.";
777
Brett Wilsonecb80982017-07-12 20:34:51778const char kLcdTextName[] = "LCD text antialiasing";
779const char kLcdTextDescription[] =
780 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
781 "(subpixel) when doing accelerated compositing.";
782
Matt Giucac399982f2017-10-06 07:51:29783const char kLeftToRightUrlsName[] =
784 "Render bidirectional URLs from left to right";
785const char kLeftToRightUrlsDescription[] =
786 "An experimental Bidi URL rendering algorithm where the URL components are "
787 "always shown in order from left to right, regardless of any RTL "
788 "characters. (The contents of each component are still rendered with the "
789 "normal Bidi algorithm.)";
790
Brett Wilsonecb80982017-07-12 20:34:51791const char kLoadMediaRouterComponentExtensionName[] =
792 "Load Media Router Component Extension";
793const char kLoadMediaRouterComponentExtensionDescription[] =
794 "Loads the Media Router component extension at startup.";
795
796const char kManualPasswordGenerationName[] = "Manual password generation.";
797const char kManualPasswordGenerationDescription[] =
798 "Show a 'Generate Password' option on the context menu for all password "
799 "fields.";
800
Dominic Battref27e8762017-08-23 11:16:25801const char kManualPasswordSavingName[] = "Manual password saving.";
802const char kManualPasswordSavingDescription[] =
803 "Show the password manager icon when typing into a password filed. "
804 "Clicking it allows to save the password without submitting the form.";
805
Brett Wilsonecb80982017-07-12 20:34:51806const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
807const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
808const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
Brett Wilsonecb80982017-07-12 20:34:51809
Lei Zhang2eca9082017-10-17 20:42:50810const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
811const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51812 "If enabled, the Incognito New Tab page uses the new material design with "
813 "a better readable text.";
814
815const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
816const char kMediaRemotingDescription[] =
817 "When Casting a tab to a remote device, enabling this turns on an "
818 "optimization that forwards the content bitstream directly to the remote "
819 "device when a video is fullscreened.";
820
821const char kMemoryAblationName[] = "Memory ablation experiment";
822const char kMemoryAblationDescription[] =
823 "Allocates extra memory in the browser process.";
824
825const char kMemoryCoordinatorName[] = "Memory coordinator";
826const char kMemoryCoordinatorDescription[] =
827 "Enable memory coordinator instead of memory pressure listeners.";
828
829const char kMessageCenterNewStyleNotificationName[] = "New style notification";
830const char kMessageCenterNewStyleNotificationDescription[] =
831 "Enables the experiment style of material-design notification";
832
Brett Wilsonecb80982017-07-12 20:34:51833const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
834const char kMhtmlGeneratorOptionDescription[] =
835 "Provides experimental options for MHTML file generator.";
836const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
837const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
838
839const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
840const char kMojoLoadingDescription[] =
841 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
842
Miguel Casas-Sanchez10769c82017-07-27 23:52:04843const char kMojoVideoEncodeAcceleratorName[] =
844 "Hardware-accelerated video encoder accessed using Mojo IPC";
845const char kMojoVideoEncodeAcceleratorDescription[] =
846 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
847 "available.";
848
Kouhei Ueno08445c22017-09-05 03:58:30849const char kModuleScriptsDynamicImportName[] =
850 "Enable ECMAScript 6 modules dynamic import";
851const char kModuleScriptsDynamicImportDescription[] =
852 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
853 "Blink.";
854
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05855const char kModuleScriptsImportMetaUrlName[] =
856 "Enable ECMAScript 6 modules import.meta.url";
857const char kModuleScriptsImportMetaUrlDescription[] =
858 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
859 "Blink.";
860
Brett Wilsonecb80982017-07-12 20:34:51861const char kNewAudioRenderingMixingStrategyName[] =
862 "New audio rendering mixing strategy";
863const char kNewAudioRenderingMixingStrategyDescription[] =
864 "Use the new audio rendering mixing strategy.";
865
866const char kNewBookmarkAppsName[] = "The new bookmark app system";
867const char kNewBookmarkAppsDescription[] =
868 "Enables the new system for creating bookmark apps.";
869
870const char kNewOmniboxAnswerTypesName[] =
871 "New omnibox answers in suggest types";
872const char kNewOmniboxAnswerTypesDescription[] =
873 "Enables new types of answers in the omnibox suggest drop-down: currency "
874 "conversions, dictionary definitions, sports scores, translations, and "
875 "when is.";
876
877const char kNewRemotePlaybackPipelineName[] =
878 "Enable the new remote playback pipeline.";
879const char kNewRemotePlaybackPipelineDescription[] =
880 "Enable the new pipeline for playing media element remotely via "
881 "RemotePlayback API or native controls.";
882
883const char kNewUsbBackendName[] = "Enable new USB backend";
884const char kNewUsbBackendDescription[] =
885 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34886
brettw5f9c1642017-05-14 17:12:48887const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34888const char kNostatePrefetchDescription[] =
889 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
890 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
891 R"*(improve load times even more. "Simple Load" does nothing and is )*"
892 R"*(similar to disabling the feature, but collects more metrics for )*"
893 R"*(comparison purposes.)*";
894
Brett Wilsonecb80982017-07-12 20:34:51895const char kNotificationsNativeFlagName[] = "Enable native notifications.";
896const char kNotificationsNativeFlagDescription[] =
897 "Enable support for using the native notification toasts and notification "
898 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34899
Zentaro Kavanaghbad511c2017-10-18 22:29:00900#if defined(OS_POSIX)
901const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
902const char kNtlmV2EnabledDescription[] =
903 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
904#endif
905
Brett Wilsonecb80982017-07-12 20:34:51906const char kNumRasterThreadsName[] = "Number of raster threads";
907const char kNumRasterThreadsDescription[] =
908 "Specify the number of raster threads.";
909const char kNumRasterThreadsOne[] = "1";
910const char kNumRasterThreadsTwo[] = "2";
911const char kNumRasterThreadsThree[] = "3";
912const char kNumRasterThreadsFour[] = "4";
913
914const char kOfferStoreUnmaskedWalletCardsName[] =
915 "Google Payments card saving checkbox";
916const char kOfferStoreUnmaskedWalletCardsDescription[] =
917 "Show the checkbox to offer local saving of a credit card downloaded from "
918 "the server.";
919
920const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
921const char kOfflineAutoReloadDescription[] =
922 "Pages that fail to load while the browser is offline will be "
923 "auto-reloaded when the browser is online again.";
924
925const char kOfflineAutoReloadVisibleOnlyName[] =
926 "Only Auto-Reload Visible Tabs";
927const char kOfflineAutoReloadVisibleOnlyDescription[] =
928 "Pages that fail to load while the browser is offline will only be "
929 "auto-reloaded if their tab is visible.";
930
931const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
932const char kOffMainThreadFetchDescription[] =
933 "If enabled, the resource fetches from worker threads will not be blocked "
934 "by the busy main thread.";
935
936const char kOmniboxDisplayTitleForCurrentUrlName[] =
937 "Include title for the current URL in the omnibox";
938const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
939 "In the event that the omnibox provides suggestions on-focus, the URL of "
940 "the current page is provided as the first suggestion without a title. "
941 "Enabling this flag causes the title to be displayed.";
942
Benoit Lizeab08362c2017-07-19 14:50:54943const char kOmniboxSpareRendererName[] =
944 "Start spare renderer on omnibox focus";
945const char kOmniboxSpareRendererDescription[] =
946 "When the omnibox is focused, start an empty spare renderer. This can "
947 "speed up the load of the navigation from the omnibox.";
948
Tommy C. Li8875a442017-08-23 00:10:59949const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
950 "Omnibox UI Elide Suggestion URL After Host";
951const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
952 "Elides the path, query, and ref of suggested URLs in the Omnibox "
953 "dropdown.";
954
Brett Wilsonecb80982017-07-12 20:34:51955const char kOmniboxUIHideSuggestionUrlSchemeName[] =
956 "Omnibox UI Hide Suggestion URL Scheme";
957const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
958 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
959
960const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
961 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
962const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
963 "Elides trivially informative subdomains from suggested URLs in the "
964 "Omnibox dropdown (e.g. www. and m.).";
965
966const char kOmniboxUIMaxAutocompleteMatchesName[] =
967 "Omnibox UI Max Autocomplete Matches";
968
969const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
970 "Changes the maximum number of autocomplete matches displayed in the "
971 "Omnibox UI.";
972
973const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
974const char kOmniboxUINarrowDropdownDescription[] =
975 "Makes the suggestions dropdown width match the omnibox width.";
976
Justin Donnelly65c9e8b2017-10-01 05:15:01977const char kOmniboxUIShowSuggestionFaviconsName[] =
978 "Omnibox UI Show Suggestion Favicons";
979const char kOmniboxUIShowSuggestionFaviconsDescription[] =
980 "Shows favicons instead of generic vector icons for URL suggestions in the "
981 "Omnibox dropdown.";
982
983const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
984const char kOmniboxUISwapTitleAndUrlDescription[] =
985 "In the omnibox dropdown, shows titles before URLs when both are "
986 "available.";
987
Brett Wilsonecb80982017-07-12 20:34:51988const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
989const char kOmniboxUIVerticalLayoutDescription[] =
990 "Displays Omnibox sugestions in 2 lines - title over origin.";
991
992const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
993const char kOmniboxUIVerticalMarginDescription[] =
994 "Changes the vertical margin in the Omnibox UI.";
995
996const char kOriginTrialsName[] = "Origin Trials";
997const char kOriginTrialsDescription[] =
998 "Enables origin trials for controlling access to feature/API experiments.";
999
Becca Hughes930d8cd2017-10-02 11:09:121000const char kOverflowIconsForMediaControlsName[] =
1001 "Icons on Media Controls Overflow Menu";
1002const char kOverflowIconsForMediaControlsDescription[] =
1003 "Displays icons on the overflow menu of the native media controls";
1004
Brett Wilsonecb80982017-07-12 20:34:511005const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1006const char kOverlayScrollbarsDescription[] =
1007 "Enable the experimental overlay scrollbars implementation. You must also "
1008 "enable threaded compositing to have the scrollbars animate.";
1009
chaopenge8aa016b2017-08-24 15:20:191010const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1011 "Flash Overlay Scrollbars After Any Scroll Update";
1012const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1013 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1014 " must also enable Overlay Scrollbars.";
1015
chaopeng343678022017-08-24 18:45:001016const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1017 "Flash Overlay Scrollbars When Mouse Enter";
1018const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1019 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1020 " enable Overlay Scrollbars.";
1021
Claudio Magni81326f92017-09-01 05:21:181022const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1023const char kUseNewAcceptLanguageHeaderDescription[] =
1024 "Adds the base language code after other corresponding language+region "
1025 "codes. This ensures that users receive content in their preferred "
1026 "language.";
1027
Brett Wilsonecb80982017-07-12 20:34:511028const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1029const char kOverscrollHistoryNavigationDescription[] =
1030 "Experimental history navigation in response to horizontal overscroll.";
1031const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
1032
1033const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1034const char kOverscrollStartThresholdDescription[] =
1035 "Changes overscroll start threshold relative to the default value.";
1036const char kOverscrollStartThreshold133Percent[] = "133%";
1037const char kOverscrollStartThreshold166Percent[] = "166%";
1038const char kOverscrollStartThreshold200Percent[] = "200%";
1039
Xing Liu5400a002017-09-15 21:48:291040const char kParallelDownloadingName[] = "Parallel downloading";
1041const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061042 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291043
Brett Wilsonecb80982017-07-12 20:34:511044const char kPassiveEventListenerDefaultName[] =
1045 "Passive Event Listener Override";
1046const char kPassiveEventListenerDefaultDescription[] =
1047 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1048 "haven't requested otherwise) to be treated as passive. This will break "
1049 "touch/wheel behavior on some websites but is useful for demonstrating the "
1050 "potential performance benefits of adopting passive event listeners.";
1051const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1052const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1053
1054const char kPassiveEventListenersDueToFlingName[] =
1055 "Touch Event Listeners Passive Default During Fling";
1056const char kPassiveEventListenersDueToFlingDescription[] =
1057 "Forces touchstart, and first touchmove per scroll event listeners during "
1058 "fling to be treated as passive.";
1059
1060const char kPassiveDocumentEventListenersName[] =
1061 "Document Level Event Listeners Passive Default";
1062const char kPassiveDocumentEventListenersDescription[] =
1063 "Forces touchstart, and touchmove event listeners on document level "
1064 "targets (which haven't requested otherwise) to be treated as passive.";
1065
1066const char kPasswordForceSavingName[] = "Force-saving of passwords";
1067const char kPasswordForceSavingDescription[] =
1068 "Allow the user to manually enforce password saving instead of relying on "
1069 "password manager's heuristics.";
1070
1071const char kPasswordGenerationName[] = "Password generation";
1072const char kPasswordGenerationDescription[] =
1073 "Allow the user to have Chrome generate passwords when it detects account "
1074 "creation pages.";
1075
Vaclav Brozekd8a3f542017-11-16 14:21:131076const char kPasswordExportName[] = "Password export";
1077const char kPasswordExportDescription[] =
1078 "Export functionality in password settings.";
1079
1080const char kPasswordImportName[] = "Password import";
1081const char kPasswordImportDescription[] =
1082 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511083
Maxim Kolosovskiyd97b94612017-09-19 20:10:391084const char kPasswordSelectionName[] =
1085 "Password selection and eye icon in prompt";
1086const char kPasswordSelectionDescription[] =
1087 "Show a password selector and an eye icon in prompt";
1088
Brett Wilsonecb80982017-07-12 20:34:511089const char kPermissionActionReportingName[] = "Permission Action Reporting";
1090const char kPermissionActionReportingDescription[] =
1091 "Enables permission action reporting to Safe Browsing servers for opted in "
1092 "users.";
1093
1094const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1095const char kPermissionsBlacklistDescription[] =
1096 "Enables the Permissions Blacklist, which blocks permissions for "
1097 "blacklisted sites for Safe Browsing users.";
1098
1099const char kPinchScaleName[] = "Pinch scale";
1100const char kPinchScaleDescription[] =
1101 "Enables experimental support for scale using pinch.";
1102
Brett Wilsonecb80982017-07-12 20:34:511103const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1104const char kPrintPdfAsImageDescription[] =
1105 "If enabled, an option to print PDF files as images will be available in "
1106 "print preview.";
1107
1108const char kPrintPreviewRegisterPromosName[] =
1109 "Print Preview Registration Promos";
1110const char kPrintPreviewRegisterPromosDescription[] =
1111 "Enable registering unregistered cloud printers from print preview.";
1112
1113const char kProtectSyncCredentialName[] = "Autofill sync credential";
1114const char kProtectSyncCredentialDescription[] =
1115 "How the password manager handles autofill for the sync credential.";
1116
1117const char kProtectSyncCredentialOnReauthName[] =
1118 "Autofill sync credential only for transactional reauth pages";
1119const char kProtectSyncCredentialOnReauthDescription[] =
1120 "How the password manager handles autofill for the sync credential only "
1121 "for transactional reauth pages.";
1122
Mohsen Izadi93faac12017-07-29 04:45:151123const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1124const char kPullToRefreshDescription[] =
1125 "Pull-to-refresh gesture in response to vertical overscroll.";
1126
Brett Wilsonecb80982017-07-12 20:34:511127const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1128const char kPushApiBackgroundModeDescription[] =
1129 "Enable background mode for the Push API. This allows Chrome to continue "
1130 "running after the last window is closed, and to launch at OS startup, if "
1131 "the Push API needs it.";
1132
Piotr Swigon46929d12017-08-11 07:16:331133const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1134const char kPwaMinimalUiDescription[] =
1135 "Enables support for Minimal-UI display mode for installed PWAs";
1136
Brett Wilsonecb80982017-07-12 20:34:511137const char kQuicName[] = "Experimental QUIC protocol";
1138const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1139
1140const char kReducedReferrerGranularityName[] =
1141 "Reduce default 'referer' header granularity.";
1142const char kReducedReferrerGranularityDescription[] =
1143 "If a page hasn't set an explicit referrer policy, setting this flag will "
1144 "reduce the amount of information in the 'referer' header for cross-origin "
1145 "requests.";
1146
Mihai Sardarescu6d0f5b72017-10-30 11:24:381147const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1148 "Remove usage of the deprecated GAIA sign-in endpoint";
1149const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1150 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1151 "This flags controls wheter it should no longer be used during a sign-in "
1152 " flow.";
1153
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351154const char kRendererSideResourceSchedulerName[] =
1155 "Renderer side ResourceScheduler";
1156const char kRendererSideResourceSchedulerDescription[] =
1157 "Migrate some ResourceScheduler functionalities to renderer";
1158
Brett Wilsonecb80982017-07-12 20:34:511159const char kRequestTabletSiteName[] =
1160 "Request tablet site option in the settings menu";
1161const char kRequestTabletSiteDescription[] =
1162 "Allows the user to request tablet site. Web content is often optimized "
1163 "for tablet devices. When this option is selected the user agent string is "
1164 "changed to indicate a tablet device. Web content optimized for tablets is "
1165 "received there after for the current tab.";
1166
1167const char kResetAppListInstallStateName[] =
1168 "Reset the App Launcher install state on every restart.";
1169const char kResetAppListInstallStateDescription[] =
1170 "Reset the App Launcher install state on every restart. While this flag is "
1171 "set, Chrome will forget the launcher has been installed each time it "
1172 "starts. This is used for testing the App Launcher install flow.";
1173
1174const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1175const char kResourceLoadSchedulerDescription[] =
1176 "Uses the resource load scheduler in blink to schedule and throttle "
1177 "resource load requests.";
1178
Brett Wilsonecb80982017-07-12 20:34:511179const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1180const char kSafeSearchUrlReportingDescription[] =
1181 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1182
1183const char kSaveasMenuLabelExperimentName[] =
1184 "Switch 'Save as' menu labels to 'Download'";
1185const char kSaveasMenuLabelExperimentDescription[] =
1186 "Enables an experiment to switch menu labels that use 'Save as...' to "
1187 "'Download'.";
1188
1189const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1190const char kSavePageAsMhtmlDescription[] =
1191 "Enables saving pages as MHTML: a single text file containing HTML and all "
1192 "sub-resources.";
1193
Nate Chapin9638e7102017-09-20 22:11:011194const char kSavePreviousDocumentResourcesName[] =
1195 "Save Previous Document Resources";
1196const char kSavePreviousDocumentResourcesDescription[] =
1197 "Saves an old document's cached resources until the specified point in the "
1198 "next document's lifecycle.";
1199const char kSavePreviousDocumentResourcesNever[] =
1200 "Don't explicitly save resources";
1201const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1202 "Save resources until onDOMContentLoaded completes";
1203const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1204 "Save resources until onload completes";
1205
Brett Wilsonecb80982017-07-12 20:34:511206const char kScrollPredictionName[] = "Scroll prediction";
1207const char kScrollPredictionDescription[] =
1208 "Predicts the finger's future position during scrolls allowing time to "
1209 "render the frame before the finger is there.";
1210
1211const char kSecondaryUiMd[] =
1212 "Material Design in the rest of the browser's native UI";
1213const char kSecondaryUiMdDescription[] =
1214 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1215 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1216 "browser dialogs.";
1217
1218const char kServiceWorkerNavigationPreloadName[] =
1219 "Service worker navigation preload.";
1220const char kServiceWorkerNavigationPreloadDescription[] =
1221 "Enable web pages to use the experimental service worker navigation "
1222 "preload API.";
1223
gogeraldd5061b592017-09-06 23:39:551224const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1225const char kServiceWorkerPaymentAppsDescription[] =
1226 "Enable Service Worker applications to integrate as payment apps";
1227
Makoto Shimazud9f333c2017-08-08 07:23:171228const char kServiceWorkerScriptStreamingName[] =
1229 "Service worker script streaming.";
1230const char kServiceWorkerScriptStreamingDescription[] =
1231 "Installed scripts for a service worker are sent over a dedicated "
1232 "message pipe and data pipes, and that is never be blocked on the main "
1233 "thread.";
1234
Tsuyoshi Horobcb1c642017-11-24 16:32:141235const char kServiceWorkerScriptFullCodeCacheName[] =
1236 "Service worker script full code cache.";
1237const char kServiceWorkerScriptFullCodeCacheDescription[] =
1238 "Generate V8 full code cache of Service Worker scripts while installing.";
1239
Brett Wilsonecb80982017-07-12 20:34:511240const char kSettingsWindowName[] = "Show settings in a window";
1241const char kSettingsWindowDescription[] =
1242 "Settings will be shown in a dedicated window instead of as a browser tab.";
1243
Trent Apted750ba7022017-10-23 13:36:251244const char kShowAllDialogsWithViewsToolkitName[] =
1245 "Show all dialogs with Views toolkit";
1246const char kShowAllDialogsWithViewsToolkitDescription[] =
1247 "All browser dialogs will be shown using the Views toolkit rather than "
1248 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1249
Brett Wilsonecb80982017-07-12 20:34:511250const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1251const char kShowAutofillSignaturesDescription[] =
1252 "Annotates web forms with Autofill signatures as HTML attributes.";
1253
1254const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1255const char kShowAutofillTypePredictionsDescription[] =
1256 "Annotates web forms with Autofill field type predictions as placeholder "
1257 "text.";
1258
1259const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1260const char kShowOverdrawFeedbackDescription[] =
1261 "Visualize overdraw by color-coding elements based on if they have other "
1262 "elements drawn underneath.";
1263
yiyixbdfa9a0b2017-10-23 22:21:471264const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1265const char kEnableDrawOcclusionDescription[] =
1266 "Enable the system to use draw occlusion to skip draw quads when they are "
1267 "not shown on the screen.";
1268
Brett Wilsonecb80982017-07-12 20:34:511269const char kShowSavedCopyName[] = "Show Saved Copy Button";
1270const char kShowSavedCopyDescription[] =
1271 "When a page fails to load, if a stale copy of the page exists in the "
1272 "browser cache, a button will be presented to allow the user to load that "
1273 "stale copy. The primary enabling choice puts the button in the most "
1274 "salient position on the error page; the secondary enabling choice puts it "
1275 "secondary to the reload button.";
1276const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1277const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1278const char kDisableShowSavedCopy[] = "Disable";
1279
1280const char kShowTouchHudName[] = "Show HUD for touch points";
1281const char kShowTouchHudDescription[] =
1282 "Enables a heads-up display at the top-left corner of the screen that "
1283 "lists information about the touch-points on the screen.";
1284
1285const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1286const char kSilentDebuggerExtensionApiDescription[] =
1287 "Do not show the infobar when an extension attaches to a page via "
1288 "chrome.debugger API. This is required to debug extension background "
1289 "pages.";
1290
1291const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1292const char kSimpleCacheBackendDescription[] =
1293 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1294 "disk space allocation.";
1295
1296const char kSimplifiedFullscreenUiName[] =
1297 "Simplified full screen / mouse lock UI.";
1298const char kSimplifiedFullscreenUiDescription[] =
1299 "A simplified new user experience when entering page-triggered full screen "
1300 "or mouse pointer lock states.";
1301
1302const char kSingleClickAutofillName[] = "Single-click autofill";
1303const char kSingleClickAutofillDescription[] =
1304 "Make autofill suggestions on initial mouse click on a form element.";
1305
Brett Wilsonecb80982017-07-12 20:34:511306const char kSitePerProcessName[] = "Strict site isolation";
1307const char kSitePerProcessDescription[] =
1308 "Highly experimental security mode that ensures each renderer process "
1309 "contains pages from at most one site. In this mode, out-of-process "
1310 "iframes will be used whenever an iframe is cross-site.";
1311
1312const char kSiteSettings[] = "Site settings with All sites and Site details";
1313const char kSiteSettingsDescription[] =
1314 "Adds new ways of viewing Site settings.";
1315
1316const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1317const char kSlimmingPaintInvalidationDescription[] =
1318 "Whether to enable a new paint invalidation system.";
1319
1320const char kSmoothScrollingName[] = "Smooth Scrolling";
1321const char kSmoothScrollingDescription[] =
1322 "Animate smoothly when scrolling page content.";
1323
1324const char kSoftwareRasterizerName[] = "3D software rasterizer";
1325const char kSoftwareRasterizerDescription[] =
1326 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1327
Tommy Steimel77704be2017-08-28 22:14:401328const char kSoundContentSettingName[] = "Sound content setting";
1329const char kSoundContentSettingDescription[] =
1330 "Enable site-wide muting in content settings and tab strip context menu.";
1331
Alexandr Ilinf0500ed32017-09-27 21:12:361332const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1333const char kSpeculativePreconnectDescription[] =
1334 "Enable the new implementation of preconnect and DNS preresolve. "
1335 "\"Learning\" means that only database construction is enabled, "
1336 "\"Preconnect\" enables both learning and preconnect and disables the "
1337 "existing implementation. \"No preconnect\" disables both implementations.";
1338
Brett Wilsonecb80982017-07-12 20:34:511339const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341340const char kSpeculativePrefetchDescription[] =
1341 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1342 R"*(load times, based on a local database (see chrome://predictors). )*"
1343 R"*("Learning" means that only the database construction is enabled, )*"
1344 R"*("Prefetching" that learning and prefetching are enabled.)*";
1345
Justin Donnelly4e448cb2017-07-07 21:32:131346const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1347 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131348const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1349 "If enabled, when the user enters text in the omnibox that looks like a "
1350 "a query, any service worker associated with the search engine the query "
1351 "will be sent to is started early.";
1352
Brett Wilsonecb80982017-07-12 20:34:511353const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1354const char kSpellingFeedbackFieldTrialDescription[] =
1355 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401356
Brett Wilsonecb80982017-07-12 20:34:511357const char kSuggestionsWithSubStringMatchName[] =
1358 "Substring matching for Autofill suggestions";
1359const char kSuggestionsWithSubStringMatchDescription[] =
1360 "Match Autofill suggestions based on substrings (token prefixes) rather "
1361 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341362
Brett Wilsonecb80982017-07-12 20:34:511363const char kSyncAppListName[] = "App Launcher sync";
1364const char kSyncAppListDescription[] =
1365 "Enable App Launcher sync. This also enables Folders where available (non "
1366 "OSX).";
vabr0215a8e2017-03-28 12:47:341367
Brett Wilsonecb80982017-07-12 20:34:511368const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1369const char kSyncSandboxDescription[] =
1370 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341371
Brett Wilsonecb80982017-07-12 20:34:511372const char kTabAudioMutingName[] = "Tab audio muting UI control";
1373const char kTabAudioMutingDescription[] =
1374 "When enabled, the audio indicators in the tab strip double as tab audio "
1375 "mute controls. This also adds commands in the tab context menu for "
1376 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341377
Christian Dullweberd0d96f02017-09-13 09:22:511378const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1379const char kTabsInCbdDescription[] =
1380 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1381
Becky Zhou99c22802017-10-19 05:09:271382const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1383const char kTabModalJsDialogDescription[] =
1384 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1385 " tab.";
1386
Brett Wilsonecb80982017-07-12 20:34:511387const char kTcpFastOpenName[] = "TCP Fast Open";
1388const char kTcpFastOpenDescription[] =
1389 "Enable the option to send extra authentication information in the initial "
1390 "SYN packet for a previously connected client, allowing faster data send "
1391 "start.";
vabr0215a8e2017-03-28 12:47:341392
Brett Wilsonecb80982017-07-12 20:34:511393const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1394const char kTopChromeMdDescription[] =
1395 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1396const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531397const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511398const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341399
Brett Wilsonecb80982017-07-12 20:34:511400const char kThreadedScrollingName[] = "Threaded scrolling";
1401const char kThreadedScrollingDescription[] =
1402 "Threaded handling of scroll-related input events. Disabling this will "
1403 "force all such scroll events to be handled on the main thread. Note that "
1404 "this can dramatically hurt scrolling performance of most websites and is "
1405 "intended for testing purposes only.";
1406
Steven Valdez4584b2482017-07-14 01:11:571407const char kTLS13VariantName[] = "TLS 1.3";
1408const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1409const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111410const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez4584b2482017-07-14 01:11:571411const char kTLS13VariantDraft[] = "Enabled (Draft)";
1412const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdezf00f8782017-09-13 18:05:281413const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
1414const char kTLS13VariantExperiment3[] = "Enabled (Experiment 3)";
Steven Valdez4584b2482017-07-14 01:11:571415
Brett Wilsonecb80982017-07-12 20:34:511416const char kTopDocumentIsolationName[] = "Top document isolation";
1417const char kTopDocumentIsolationDescription[] =
1418 "Highly experimental performance mode where cross-site iframes are kept in "
1419 "a separate process from the top document. In this mode, iframes from "
1420 "different third-party sites will be allowed to share a process.";
1421
Dominick Ng8896b1cd2017-10-17 23:24:361422const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1423const char kTopSitesFromSiteEngagementDescription[] =
1424 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1425 "engagement.";
1426
Brett Wilsonecb80982017-07-12 20:34:511427const char kTouchAdjustmentName[] = "Touch adjustment";
1428const char kTouchAdjustmentDescription[] =
1429 "Refine the position of a touch gesture in order to compensate for touches "
1430 "having poor resolution compared to a mouse.";
1431
1432const char kTouchDragDropName[] = "Touch initiated drag and drop";
1433const char kTouchDragDropDescription[] =
1434 "Touch drag and drop can be initiated through long press on a draggable "
1435 "element.";
1436
1437const char kTouchEventsName[] = "Touch Events API";
1438const char kTouchEventsDescription[] =
1439 "Force Touch Events API feature detection to always be enabled or "
1440 "disabled, or to be enabled when a touchscreen is detected on startup "
1441 "(Automatic, the default).";
1442
1443const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1444const char kTouchSelectionStrategyDescription[] =
1445 "Controls how text selection granularity changes when touch text selection "
1446 "handles are dragged. Non-default behavior is experimental.";
1447const char kTouchSelectionStrategyCharacter[] = "Character";
1448const char kTouchSelectionStrategyDirection[] = "Direction";
1449
1450const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1451const char kTraceUploadUrlDescription[] =
1452 "This is to be used in conjunction with the enable-navigation-tracing "
1453 "flag. Please select the label that best describes the recorded traces. "
1454 "This will choose the destination the traces are uploaded to. If you are "
1455 "not sure, select other. If left empty, no traces will be uploaded.";
1456const char kTraceUploadUrlChoiceOther[] = "Other";
1457const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1458const char kTraceUploadUrlChoiceQa[] = "QA";
1459const char kTraceUploadUrlChoiceTesting[] = "Testing";
1460
1461const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1462const char kTranslate2016q2UiDescription[] =
1463 "Improved triggering logic and look for Translate Bubble UI";
1464
Philippe Hamel7fdaa452017-09-29 17:22:491465const char kTranslateRankerEnforcementName[] =
1466 "Enforce TranslateRanker decisions";
1467const char kTranslateRankerEnforcementDescription[] =
1468 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1469 "or not Translate UI should be triggered in a given context.";
1470
Brett Wilsonecb80982017-07-12 20:34:511471const char kTrySupportedChannelLayoutsName[] =
1472 "Causes audio output streams to check if channel layouts other than the "
1473 "default hardware layout are available.";
1474const char kTrySupportedChannelLayoutsDescription[] =
1475 "Causes audio output streams to check if channel layouts other than the "
1476 "default hardware layout are available. Turning this on will allow the OS "
1477 "to do stereo to surround expansion if supported. May expose third party "
1478 "driver bugs, use with caution.";
1479
1480const char kUiPartialSwapName[] = "Partial swap";
1481const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1482
Chris Pickel3a227ae62017-08-24 10:47:261483const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1484const char kUseDdljsonApiDescription[] =
1485 "Enables the new ddljson API to fetch Doodles for the NTP.";
1486
Becca Hughes59c05b42017-11-03 13:11:581487const char kUseModernMediaControlsName[] = "New Media Controls";
1488const char kUseModernMediaControlsDescription[] =
1489 "Enables the new style native media controls.";
1490
Mustaq Ahmedc646c0a2017-10-20 20:08:301491const char kUserActivationV2Name[] = "User Activation v2";
1492const char kUserActivationV2Description[] =
1493 "Enable simple user activation for APIs that are otherwise controlled by "
1494 "user gesture tokens.";
1495
Brett Wilsonecb80982017-07-12 20:34:511496const char kUserConsentForExtensionScriptsName[] =
1497 "User consent for extension scripts";
1498const char kUserConsentForExtensionScriptsDescription[] =
1499 "Require user consent for an extension running a script on the page, if "
1500 "the extension requested permission to run on all urls.";
1501
1502const char kUseSuggestionsEvenIfFewFeatureName[] =
1503 "Disable minimum for server-side tile suggestions on NTP.";
1504const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1505 "Request server-side suggestions even if there are only very few of them "
1506 "and use them for tiles on the New Tab Page.";
1507
1508const char kV8CacheOptionsName[] = "V8 caching mode.";
1509const char kV8CacheOptionsDescription[] =
1510 "Caching mode for the V8 JavaScript engine.";
1511const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1512const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1513
Hitoshi Yoshida3e5db562017-09-11 02:31:081514const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1515const char kV8ContextSnapshotDescription[] =
1516 "Sets to use a snapshot to create V8 contexts in frame creation.";
1517
Michael Hablich896d52662017-10-23 15:59:571518const char kV8VmFutureName[] = "Future V8 VM features";
1519const char kV8VmFutureDescription[] =
1520 "This enables upcoming and experimental V8 VM features. "
1521 "This flag does not enable experimental JavaScript features.";
1522
Brett Wilsonecb80982017-07-12 20:34:511523const char kVibrateRequiresUserGestureName[] =
1524 "Requiring user gesture for the Vibration API";
1525const char kVibrateRequiresUserGestureDescription[] =
1526 "Block the Vibration API if no user gesture has been received on the frame "
1527 "or any embedded frame.";
1528
1529const char kVideoFullscreenOrientationLockName[] =
1530 "Lock screen orientation when playing a video fullscreen.";
1531const char kVideoFullscreenOrientationLockDescription[] =
1532 "Lock the screen orientation of the device to match video orientation when "
1533 "a video goes fullscreen. Only on phones.";
1534
1535const char kVideoRotateToFullscreenName[] =
1536 "Rotate-to-fullscreen gesture for videos.";
1537const char kVideoRotateToFullscreenDescription[] =
1538 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1539 "the video. Only on phones.";
1540
1541const char kWalletServiceUseSandboxName[] =
1542 "Use Google Payments sandbox servers";
1543const char kWalletServiceUseSandboxDescription[] =
1544 "For developers: use the sandbox service for Google Payments API calls.";
1545
Brett Wilsonecb80982017-07-12 20:34:511546const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1547const char kWebglDraftExtensionsDescription[] =
1548 "Enabling this option allows web applications to access the WebGL "
1549 "Extensions that are still in draft status.";
1550
1551const char kWebMidiName[] = "Web MIDI API";
1552const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1553
1554const char kWebPaymentsName[] = "Web Payments";
1555const char kWebPaymentsDescription[] =
1556 "Enable Web Payments API integration, a JavaScript API for merchants.";
1557
Mathieu Perreault51339b82017-07-20 17:06:051558const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1559const char kWebPaymentsModifiersDescription[] =
1560 "If the website provides modifiers in the payment request, show the custom "
1561 "total for each payment instrument, update the shopping cart when "
1562 "instruments are switched, and send modified payment method specific data "
1563 "to the payment app.";
1564
Brett Wilsonecb80982017-07-12 20:34:511565const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1566const char kWebrtcEchoCanceller3Description[] =
1567 "Experimental WebRTC echo canceller (AEC3).";
1568
1569const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1570const char kWebrtcHwDecodingDescription[] =
1571 "Support in WebRTC for decoding video streams using platform hardware.";
1572
1573const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1574const char kWebrtcHwEncodingDescription[] =
1575 "Support in WebRTC for encoding video streams using platform hardware.";
1576
1577const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1578const char kWebrtcHwH264EncodingDescription[] =
1579 "Support in WebRTC for encoding h264 video streams using platform "
1580 "hardware.";
1581
1582const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1583const char kWebrtcHwVP8EncodingDescription[] =
1584 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1585
1586const char kWebrtcSrtpAesGcmName[] =
1587 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1588const char kWebrtcSrtpAesGcmDescription[] =
1589 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1590
Joachim Bauch4a41d7512017-08-23 14:24:231591const char kWebrtcSrtpEncryptedHeadersName[] =
1592 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1593const char kWebrtcSrtpEncryptedHeadersDescription[] =
1594 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1595 "for SRTP.";
1596
Brett Wilsonecb80982017-07-12 20:34:511597const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1598const char kWebrtcStunOriginDescription[] =
1599 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1600 "header.";
1601
1602const char kWebvrName[] = "WebVR";
1603const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051604 "Allow web applications to access experimental "
Michael Thiessenab056202017-10-05 16:50:121605 "Virtual Reality APIs. Warning: Enabling this will also allow WebVR "
1606 "content on insecure origins to access these powerful APIs, and may pose a "
1607 "security risk.";
Brett Wilsonecb80982017-07-12 20:34:511608
David Dorwin5a496c32017-11-17 01:45:051609const char kWebVrExperimentalRenderingName[] =
1610 "WebVR experimental rendering optimizations";
1611const char kWebVrExperimentalRenderingDescription[] =
1612 "Experimental rendering path optimizations for WebVR.";
1613
Brett Wilsonecb80982017-07-12 20:34:511614const char kWifiCredentialSyncName[] = "WiFi credential sync";
1615const char kWifiCredentialSyncDescription[] =
1616 "Enables synchronizing WiFi network settings across devices. When enabled, "
1617 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1618 "credentials are synchronized subject to user preferences. (See also, "
1619 "chrome://settings/syncSetup.)";
1620
1621const char kZeroCopyName[] = "Zero-copy rasterizer";
1622const char kZeroCopyDescription[] =
1623 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341624
Brett Wilsonff596952017-07-14 01:06:551625// Android ---------------------------------------------------------------------
1626
1627#if defined(OS_ANDROID)
1628
1629const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1630const char kAiaFetchingDescription[] =
1631 "Enable intermediate certificate fetching when a server does not provide "
1632 "sufficient certificates to build a chain to a trusted root.";
1633
1634const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1635const char kAccessibilityTabSwitcherDescription[] =
1636 "Enable the accessibility tab switcher for Android.";
1637
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251638const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1639const char kAllowReaderForAccessibilityDescription[] =
1640 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1641
Brett Wilsonff596952017-07-14 01:06:551642const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1643const char kAndroidAutofillAccessibilityDescription[] =
1644 "Enable accessibility for autofill popup.";
1645
1646const char kAndroidPaymentAppsName[] = "Android payment apps";
1647const char kAndroidPaymentAppsDescription[] =
1648 "Enable third party Android apps to integrate as payment apps";
1649
Iulia Harasim0b5a4312017-07-21 16:20:501650const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1651const char kAndroidSigninPromosDescription[] =
1652 "New signin promos for Android which will be displayed in content "
1653 "suggestions, Settings, Bookmarks and Recent Tabs.";
1654
Tatiana Gornak38ab3562017-07-28 11:04:181655const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1656const char kAndroidViewPasswordsDescription[] =
1657 "Enables copying and viewing passwords in settings.";
1658
Miriam Gershenson23cfe346e2017-09-28 14:49:291659const char kAsyncDnsName[] = "Async DNS resolver";
1660const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1661
Brett Wilsonff596952017-07-14 01:06:551662const char kAutofillAccessoryViewName[] =
1663 "Autofill suggestions as keyboard accessory view";
1664const char kAutofillAccessoryViewDescription[] =
1665 "Shows Autofill suggestions on top of the keyboard rather than in a "
1666 "dropdown.";
1667
1668const char kBackgroundLoaderForDownloadsName[] =
1669 "Enables background downloading of pages.";
1670const char kBackgroundLoaderForDownloadsDescription[] =
1671 "Enables downloading pages in the background in case page is not yet "
1672 "loaded in current tab.";
1673
Theresa Wellington82d6f6ef2017-10-12 02:39:131674const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1675const char kChromeHomeOptOutSnackbarDescription[] =
1676 "Show a snackbar prompting users to take a survey the first time they"
1677 " opt-out of Chrome Home";
1678
Theresa Wellingtondd71c5c2017-10-02 15:50:381679const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1680 "Chrome Home Personalized Omnibox Suggestions";
1681const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1682 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1683
Matthew Jones4214d2a12017-09-28 18:35:111684const char kChromeHomePromoName[] = "Chrome Home Promo";
1685const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331686 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111687
Brett Wilsonff596952017-07-14 01:06:551688const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1689const char kChromeHomeSwipeLogicDescription[] =
1690 "Various swipe logic options for Chrome Home for sheet expansion.";
1691const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151692const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551693
Troy Hildebrandtf758d112017-10-18 23:05:561694const char kChromeHomeBottomNavLabelsName[] =
1695 "Chrome Home bottom navigation menu item labels.";
1696const char kChromeHomeBottomNavLabelsDescription[] =
1697 "Enables text labels for Chrome Home bottom navigation menu items.";
1698
Troy Hildebrandt9de6d422017-11-27 23:21:361699const char kChromeHomeInactivitySheetExpansionName[] =
1700 "Expansion of Chrome Home bottom sheet on startup";
1701const char kChromeHomeInactivitySheetExpansionDescription[] =
1702 "Expand bottom sheet on startup in Chrome Home after a period of"
1703 " inactivity.";
1704
Brett Wilsonff596952017-07-14 01:06:551705const char kChromeHomeName[] = "Chrome Home";
1706const char kChromeHomeDescription[] =
1707 "Enables Chrome Home on Android. You must restart the browser"
1708 " twice for changes to take effect.";
1709
Megan Jablonskic61eb1b82017-10-02 18:03:061710const char kChromeMemexName[] = "Chrome Memex";
1711const char kChromeMemexDescription[] =
1712 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1713 "Googlers.";
1714
Sarath Singapati83aef1c2017-11-16 15:54:521715const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1716const char kClearOldBrowsingDataDescription[] =
1717 "Enables clearing of browsing data which is older than a given time "
1718 "period.";
1719
Brett Wilsonff596952017-07-14 01:06:551720const char kContentSuggestionsCategoryOrderName[] =
1721 "Default content suggestions category order (e.g. on NTP)";
1722const char kContentSuggestionsCategoryOrderDescription[] =
1723 "Set default order of content suggestion categories (e.g. on the NTP).";
1724
1725const char kContentSuggestionsCategoryRankerName[] =
1726 "Content suggestions category ranker (e.g. on NTP)";
1727const char kContentSuggestionsCategoryRankerDescription[] =
1728 "Set category ranker to order categories of content suggestions (e.g. on "
1729 "the NTP).";
1730
Vitalii Iarkof52ff802017-09-14 12:34:241731const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1732const char kContentSuggestionsDebugLogDescription[] =
1733 "Enable content suggestions debug log accessible through "
1734 "snippets-internals.";
1735
Donn Denman8e58ead2017-11-04 01:44:011736const char kContextualSearchMlTapSuppressionName[] =
1737 "Contextual Search ML tap suppression";
1738const char kContextualSearchMlTapSuppressionDescription[] =
1739 "Enables tap gestures to be suppressed to improve CTR by applying machine "
1740 "learning.";
Brett Wilsonff596952017-07-14 01:06:551741
1742const char kContextualSearchName[] = "Contextual Search";
1743const char kContextualSearchDescription[] =
1744 "Whether or not Contextual Search is enabled.";
1745
Dmitry Skiba9c3efa72017-07-20 22:01:141746const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1747const char kDontPrefetchLibrariesDescription[] =
1748 "Don't prefetch libraries after loading.";
1749
Joy Ming5fd29ca62017-10-02 22:51:221750const char kDownloadsForegroundName[] = "Enable downloads foreground";
1751const char kDownloadsForegroundDescription[] =
1752 "Enable downloads as a foreground service for all versions of Android.";
1753
Brett Wilsonff596952017-07-14 01:06:551754const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1755const char kEnableAndroidPayIntegrationV1Description[] =
1756 "Enable integration with Android Pay using the first version of the API";
1757
1758const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1759const char kEnableAndroidPayIntegrationV2Description[] =
1760 "Enable integration with Android Pay using the second version of the API";
1761
Vitalii Iarkof4ed32d2017-09-26 13:15:531762const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551763const char kEnableAndroidSpellcheckerDescription[] =
1764 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551765
Vitalii Iarkof4ed32d2017-09-26 13:15:531766const char kEnableContentSuggestionsNewFaviconServerName[] =
1767 "Get favicons for content suggestions from a new server.";
1768const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1769 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1770 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551771
1772const char kEnableContentSuggestionsSettingsName[] =
1773 "Show content suggestions settings.";
1774const char kEnableContentSuggestionsSettingsDescription[] =
1775 "If enabled, the content suggestions settings will be available from the "
1776 "main settings menu.";
1777
Vitalii Iarkof4ed32d2017-09-26 13:15:531778const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1779 "Use content suggestions thumbnail dominant color.";
1780const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1781 "Use content suggestions thumbnail dominant color as a placeholder before "
1782 "the real thumbnail is fetched (requires Chrome Home).";
1783
Brett Wilsonff596952017-07-14 01:06:551784const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1785const char kEnableCopylessPasteDescription[] =
1786 "Provide suggestions for text input, based on your recent context. For "
1787 "example, if you looked at a restaurant website and switched to the Maps "
1788 "app, the keyboard would offer the name of that restaurant as a suggestion "
1789 "to enter into the search bar. The data is indexed locally, and never sent "
1790 "to the server. It's disabled in incognito mode.";
1791
1792const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1793const char kEnableCustomContextMenuDescription[] =
1794 "Enables a new context menu when a link, image, or video is pressed within "
1795 "Chrome.";
1796
1797const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1798const char kEnableCustomFeedbackUiDescription[] =
1799 "Enables a custom feedback UI when submitting feedback through Google "
1800 "Feedback. Works with Google Play Services v10.2+";
1801
1802const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471803 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551804const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471805 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551806
1807const char kEnableDataReductionProxySiteBreakdownName[] =
1808 "Data Saver Site Breakdown";
1809const char kEnableDataReductionProxySiteBreakdownDescription[] =
1810 "Enable the site breakdown on the Data Saver settings page.";
1811
1812const char kEnableOmniboxClipboardProviderName[] =
1813 "Omnibox clipboard URL suggestions";
1814const char kEnableOmniboxClipboardProviderDescription[] =
1815 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1816 "focus in the omnibox.";
1817
1818const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1819 "Use expanded autofill credit card popup layout.";
1820const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1821 "If enabled, displays autofill credit card popup using expanded layout.";
1822
1823const char kEnableFaviconsFromWebManifestName[] =
1824 "Load favicons from Web Manifests";
1825const char kEnableFaviconsFromWebManifestDescription[] =
1826 "Fetch Web Manifests on page load to read favicons from them.";
1827
Takashi Toyoshima4fa5a71442017-11-09 14:02:481828const char kEnableMidiManagerDynamicInstantiationName[] =
1829 "MIDIManager dynamic instantiation for Web MIDI.";
1830const char kEnableMidiManagerDynamicInstantiationDescription[] =
1831 "Enable MIDIManager dynamic instantiation for Web MIDI.";
1832
Brett Wilsonff596952017-07-14 01:06:551833const char kEnableNtpAssetDownloadSuggestionsName[] =
1834 "Show asset downloads on the New Tab page";
1835const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1836 "If enabled, the list of content suggestions on the New Tab page will "
1837 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1838 "later use.";
1839
1840const char kEnableNtpBookmarkSuggestionsName[] =
1841 "Show recently visited bookmarks on the New Tab page";
1842const char kEnableNtpBookmarkSuggestionsDescription[] =
1843 "If enabled, the list of content suggestions on the New Tab page will "
1844 "contain recently visited bookmarks.";
1845
1846const char kEnableNtpForeignSessionsSuggestionsName[] =
1847 "Show recent foreign tabs on the New Tab page";
1848const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1849 "If enabled, the list of content suggestions on the New Tab page will "
1850 "contain recent foreign tabs.";
1851
Brett Wilsonff596952017-07-14 01:06:551852const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1853 "Show offline page downloads on the New Tab page";
1854const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1855 "If enabled, the list of content suggestions on the New Tab page will "
1856 "contain pages that the user downloaded for later use.";
1857
1858const char kEnableNtpRemoteSuggestionsName[] =
1859 "Show server-side suggestions on the New Tab page";
1860const char kEnableNtpRemoteSuggestionsDescription[] =
1861 "If enabled, the list of content suggestions on the New Tab page will "
1862 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1863 "allows to override the source used to retrieve these server-side "
1864 "suggestions.";
1865
1866const char kEnableNtpSnippetsVisibilityName[] =
1867 "Make New Tab Page Snippets more visible.";
1868const char kEnableNtpSnippetsVisibilityDescription[] =
1869 "If enabled, the NTP snippets will become more discoverable with a larger "
1870 "portion of the first card above the fold.";
1871
1872const char kEnableNtpSuggestionsNotificationsName[] =
1873 "Notify about new content suggestions available at the New Tab page";
1874const char kEnableNtpSuggestionsNotificationsDescription[] =
1875 "If enabled, notifications will inform about new content suggestions on "
1876 "the New Tab page.";
1877
1878const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1879const char kEnablePhysicalWebDescription[] =
1880 "Enable scanning for URLs from Physical Web objects.";
1881
1882const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1883const char kEnableOfflinePreviewsDescription[] =
1884 "Enable showing offline page previews on slow networks.";
1885
1886const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1887const char kEnableOskOverscrollDescription[] =
1888 "Enable OSK overscroll support. With this flag on, the OSK will only "
1889 "resize the visual viewport.";
1890
1891const char kEnableSpecialLocaleName[] =
1892 "Enable custom logic for special locales.";
1893const char kEnableSpecialLocaleDescription[] =
1894 "Enable custom logic for special locales. In this mode, Chrome might "
1895 "behave differently in some locales.";
1896
Brett Wilsonff596952017-07-14 01:06:551897const char kEnableWebNfcName[] = "WebNFC";
1898const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1899
gogeraldf3cbb422017-07-26 14:37:121900const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1901 "Enable Web Payments method section order V2.";
1902const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1903 "Enable this option to display payment method section above address "
1904 "section instead of below it.";
1905
Brett Wilsonff596952017-07-14 01:06:551906const char kEnableWebPaymentsSingleAppUiSkipName[] =
1907 "Enable Web Payments single app UI skip";
1908const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1909 "Enable Web Payments to skip showing its UI if the developer specifies a "
1910 "single app.";
1911
1912const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1913const char kHerbPrototypeChoicesDescription[] =
1914 "Switching this option changes which tab management prototype is being "
1915 "tested.";
1916const char kHerbPrototypeFlavorElderberry[] =
1917 "ELDERBERRY: All View Intents in CCT v2";
1918
1919const char kKeepPrefetchedContentSuggestionsName[] =
1920 "Keep prefetched content suggestions";
1921const char kKeepPrefetchedContentSuggestionsDescription[] =
1922 "If enabled, some of prefetched content suggestions are not replaced by "
1923 "the new fetched suggestions.";
1924
1925const char kLsdPermissionPromptName[] =
1926 "Location Settings Dialog Permission Prompt";
1927const char kLsdPermissionPromptDescription[] =
1928 "Whether to use the Google Play Services Location Settings Dialog "
1929 "permission dialog.";
1930
Brett Wilsonff596952017-07-14 01:06:551931const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1932const char kMediaScreenCaptureDescription[] =
1933 "Enable this option for experimental ScreenCapture feature on Android.";
1934
1935const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1936const char kModalPermissionPromptsDescription[] =
1937 "Whether to use permission dialogs in place of permission infobars.";
1938
Brett Wilsonff596952017-07-14 01:06:551939const char kNewPhotoPickerName[] = "Enable new Photopicker";
1940const char kNewPhotoPickerDescription[] =
1941 "Activates the new picker for selecting photos.";
1942
1943const char kNoCreditCardAbort[] = "No Credit Card Abort";
1944const char kNoCreditCardAbortDescription[] =
1945 "Whether or not the No Credit Card Abort is enabled.";
1946
1947const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1948const char kNtpCondensedLayoutDescription[] =
1949 "Show a condensed layout on the New Tab Page.";
1950
1951const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1952const char kNtpCondensedTileLayoutDescription[] =
1953 "Show a condensed tile layout on the New Tab Page.";
1954
Michael van Ouwerkerkcdbbe332017-11-24 15:07:061955const char kNtpModernLayoutName[] = "Modern NTP layout";
1956const char kNtpModernLayoutDescription[] =
1957 "Show a modern layout on the New Tab Page.";
1958
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041959const char kSiteExplorationUiName[] = "Site Exploration UI";
1960const char kSiteExplorationUiDescription[] =
1961 "Show site suggestions in the Exploration UI";
1962
Brett Wilsonff596952017-07-14 01:06:551963const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1964const char kNtpGoogleGInOmniboxDescription[] =
1965 "Show a Google G in the omnibox on the New Tab Page.";
1966
1967const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1968const char kNtpOfflinePagesDescription[] =
1969 "Enables badging of offline pages on the New Tab page. Only relevant if "
1970 "offline pages are enabled.";
1971
1972const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1973const char kNtpPopularSitesDescription[] =
1974 "Pre-populate the New Tab page with popular sites.";
1975
Brett Wilsonff596952017-07-14 01:06:551976const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1977const char kOfflineBookmarksDescription[] =
1978 "Enable saving bookmarked pages for offline viewing.";
1979
1980const char kOfflinePagesAsyncDownloadName[] =
1981 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1982const char kOfflinePagesAsyncDownloadDescription[] =
1983 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1984 R"*(that the user can click on it to download the page later.)*";
1985
1986const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1987const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1988
1989const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1990const char kOfflinePagesCtV2Description[] =
1991 "V2 features include attributing pages to the app that initiated the "
1992 "custom tabs, and being able to query for pages by page attribution.";
1993
1994const char kOfflinePagesLoadSignalCollectingName[] =
1995 "Enables collecting load timing data for offline page snapshots.";
1996const char kOfflinePagesLoadSignalCollectingDescription[] =
1997 "Enables loading completeness data collection while writing an offline "
1998 "page. This data is collected in the snapshotted offline page to allow "
1999 "data analysis to improve deciding when to make the offline snapshot.";
2000
2001const char kOfflinePagesPrefetchingName[] =
2002 "Enables suggested offline pages to be prefetched.";
2003const char kOfflinePagesPrefetchingDescription[] =
2004 "Enables suggested offline pages to be prefetched, so useful content is "
2005 "available while offline.";
2006
Cathy Li3d5379e2017-09-07 00:11:092007const char kOfflinePagesPrefetchingUIName[] =
2008 "Enables prefetched offline pages to be shown in UI.";
2009const char kOfflinePagesPrefetchingUIDescription[] =
2010 "Enables prefetched offline pages to raise notifications and be shown in "
2011 "download home UI.";
2012
Pete Williamson7845dff2017-09-20 11:06:192013const char kOfflinePagesResourceBasedSnapshotName[] =
2014 "Enables offline page snapshots to be based on percentage of page loaded.";
2015const char kOfflinePagesResourceBasedSnapshotDescription[] =
2016 "Enables offline page snapshots to use a resource percentage based "
2017 "approach for determining when the page is loaded as opposed to a time "
2018 "based approach";
2019
Collin Baker17f92a52017-07-19 21:41:252020const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2021const char kOfflinePagesRenovationsDescription[] =
2022 "Enables offline page renovations which correct issues with dynamic "
2023 "content that occur when offlining pages that use JavaScript.";
2024
Brett Wilsonff596952017-07-14 01:06:552025const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2026const char kOfflinePagesSharingDescription[] =
2027 "Enables the saved offline pages to be shared via other applications.";
2028
2029const char kOfflinePagesSvelteConcurrentLoadingName[] =
2030 "Enables concurrent background loading on svelte.";
2031const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2032 "Enables concurrent background loading (or downloading) of pages on "
2033 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2034 "happen when the svelte device is idle.";
2035
2036const char kOffliningRecentPagesName[] =
2037 "Enable offlining of recently visited pages";
2038const char kOffliningRecentPagesDescription[] =
2039 "Enable storing recently visited pages locally for offline use. Requires "
2040 "Offline Pages to be enabled.";
2041
Lei Zhang2eca9082017-10-17 20:42:502042const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2043const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552044 "Enable Pay with Google integration into Web Payments with API version "
2045 "'1'.";
2046
Matthew Jonesa88b95852017-11-08 23:13:502047const char kProgressBarThrottleName[] = "Android progress update throttling.";
2048const char kProgressBarThrottleDescription[] =
2049 "Limit the maximum progress update to make progress appear smoother.";
2050
Brett Wilsonff596952017-07-14 01:06:552051const char kProgressBarCompletionName[] =
2052 "Android phone page load progress bar completion time.";
2053const char kProgressBarCompletionDescription[] =
2054 "Configures Android phone page loading progress bar completion time.";
2055const char kProgressBarCompletionLoadEvent[] =
2056 R"*(Top loading frame's onload event ("everything" is done in the )*"
2057 R"*(page, historical behavior).)*";
2058const char kProgressBarCompletionResourcesBeforeDcl[] =
2059 "Main frame's domContentLoaded and all resources loads started before "
2060 "domContentLoaded (iframes ignored).";
2061const char kProgressBarCompletionDomContentLoaded[] =
2062 "Main frame's domContentLoaded (iframes ignored).";
2063const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
2064 "domContentLoaded and all resources loads started before domContentLoaded "
2065 "(main frame and same origin iframes).";
2066
2067const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2068const char kPullToRefreshEffectDescription[] =
2069 "Page reloads triggered by vertically overscrolling content.";
2070
Piotr Swigon7c296ef2017-08-29 04:32:002071const char kPwaImprovedSplashScreenName[] =
2072 "Improved Splash Screen for standalone PWAs";
2073const char kPwaImprovedSplashScreenDescription[] =
2074 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2075 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492076const char kPwaPersistentNotificationName[] =
2077 "Persistent notification in standalone PWA";
2078const char kPwaPersistentNotificationDescription[] =
2079 "Enables a persistent Android notification for standalone PWAs";
2080
Brett Wilsonff596952017-07-14 01:06:552081const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2082const char kReaderModeHeuristicsDescription[] =
2083 "Determines what pages the Reader Mode infobar is shown on.";
2084const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2085const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2086const char kReaderModeHeuristicsAllArticles[] = "All articles";
2087const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2088const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2089
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182090const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2091const char kReaderModeInCCTDescription[] =
2092 "Open Reader Mode in Chrome Custom Tabs.";
2093
Brett Wilsonff596952017-07-14 01:06:552094const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2095const char kSetMarketUrlForTestingDescription[] =
2096 "When enabled, sets the market URL for use in testing the update menu "
2097 "item.";
2098
2099const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2100const char kSpannableInlineAutocompleteDescription[] =
2101 "A new type of inline autocomplete for the omnibox that works with "
2102 "keyboards that compose text.";
2103
Brett Wilsonff596952017-07-14 01:06:552104const char kTranslateCompactUIName[] = "New Translate Infobar";
2105const char kTranslateCompactUIDescription[] =
2106 "Enable the new Translate compact infobar UI.";
2107
2108const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2109const char kUpdateMenuBadgeDescription[] =
2110 "When enabled, an update badge will be shown on the app menu button.";
2111
2112const char kUpdateMenuItemCustomSummaryDescription[] =
2113 "When this flag and the force show update menu item flag are enabled, a "
2114 "custom summary string will be displayed below the update menu item.";
2115const char kUpdateMenuItemCustomSummaryName[] =
2116 "Update menu item custom summary";
2117
2118const char kUpdateMenuItemName[] = "Force show update menu item";
2119const char kUpdateMenuItemDescription[] =
2120 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2121 R"*(menu.)*";
2122
Marc Treib93af46a2017-08-23 13:30:002123const char kThirdPartyDoodlesName[] =
2124 "Enable Doodles for third-party search engines";
2125const char kThirdPartyDoodlesDescription[] =
2126 "Enables fetching and displaying Doodles on the NTP for third-party search "
2127 "engines.";
2128
Brett Wilson7b44537e2017-08-18 01:38:282129// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552130
Brett Wilson7b44537e2017-08-18 01:38:282131#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482132
Brett Wilson7b44537e2017-08-18 01:38:282133const char kAccountConsistencyName[] =
2134 "Identity consistency between browser and cookie jar";
2135const char kAccountConsistencyDescription[] =
2136 "When enabled, the browser manages signing in and out of Google accounts.";
2137const char kAccountConsistencyChoiceMirror[] = "Mirror";
2138const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342139
Chris Pickel3a227ae62017-08-24 10:47:262140const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2141const char kDoodlesOnLocalNtpDescription[] =
2142 "Show doodles on the local New Tab page if Google is the default search "
2143 "engine.";
2144
mlamouriff56c092017-05-11 15:31:392145const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392146const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342147 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392148const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392149const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392150const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342151 "Enabled (Flash lowers volume when interrupted by other sound, "
2152 "experimental)";
2153
Brett Wilson7b44537e2017-08-18 01:38:282154const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2155const char kEnableNewAppMenuIconDescription[] =
2156 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342157
2158const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342159const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282160 "Enable receiving entity suggestions - disambiguation descriptions - for "
2161 "Omnibox suggestions.";
2162
Kevin Bailey898669972017-11-06 15:34:492163const char kOmniboxTabSwitchSuggestionsName[] =
2164 "Omnibox tab switch suggestions";
2165const char kOmniboxTabSwitchSuggestionsDescription[] =
2166 "Enable suggestions for switching to open tabs within the Omnibox.";
2167
krbcc621412017-06-01 19:40:282168const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2169const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192170 "Enable receiving tail suggestions, a type of search suggestion based on "
2171 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342172
Brett Wilson7b44537e2017-08-18 01:38:282173const char kOneGoogleBarOnLocalNtpName[] =
2174 "Enable the OneGoogleBar on the local NTP";
2175const char kOneGoogleBarOnLocalNtpDescription[] =
2176 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2177 "search engine.";
2178
ojan38c678352017-04-11 20:27:552179const char kPauseBackgroundTabsName[] = "Pause background tabs";
2180const char kPauseBackgroundTabsDescription[] =
2181 "Pause timers in background tabs after 5 minutes on desktop.";
2182
Brett Wilson7b44537e2017-08-18 01:38:282183const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2184const char kUseGoogleLocalNtpDescription[] =
2185 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322186
Brett Wilson7b44537e2017-08-18 01:38:282187const char kVoiceSearchOnLocalNtpName[] =
2188 "Enable Voice Search on the local NTP";
2189const char kVoiceSearchOnLocalNtpDescription[] =
2190 "Show a microphone for voice search on the local New Tab page "
2191 "if Google is the default search engine.";
2192
2193#if defined(GOOGLE_CHROME_BUILD)
2194
2195const char kGoogleBrandedContextMenuName[] =
2196 "Google branding in the context menu";
2197const char kGoogleBrandedContextMenuDescription[] =
2198 "Shows a Google icon next to context menu items powered by Google "
2199 "services.";
2200
2201#endif // !defined(GOOGLE_CHROME_BUILD)
2202
2203#endif // !defined(OS_ANDROID)
2204
2205// Windows ---------------------------------------------------------------------
2206
2207#if defined(OS_WIN)
2208
2209const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2210const char kCloudPrintXpsDescription[] =
2211 "XPS enables advanced options for classic printers connected to the Cloud "
2212 "Print with Chrome. Printers must be re-connected after changing this "
2213 "flag.";
2214
Dave Tapuskadd43469d2017-08-22 22:15:532215const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2216const char kDirectManipulationStylusDescription[] =
2217 "If enabled, Chrome will scroll web pages on stylus drag.";
2218
Brett Wilson7b44537e2017-08-18 01:38:282219const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2220const char kDisablePostscriptPrintingDescription[] =
2221 "Disables PostScript generation when printing to PostScript capable "
2222 "printers, and uses EMF generation in its place.";
2223
2224const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2225const char kEnableAppcontainerDescription[] =
2226 "Enables the use of an AppContainer on sandboxed processes to improve "
2227 "security.";
2228
2229const char kEnableD3DVsync[] = "D3D v-sync";
2230const char kEnableD3DVsyncDescription[] =
2231 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2232 "to occur.";
2233
2234const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2235const char kEnableDesktopIosPromotionsDescription[] =
2236 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2237 "eligible.";
2238
2239const char kGdiTextPrinting[] = "GDI Text Printing";
2240const char kGdiTextPrintingDescription[] =
2241 "Use GDI to print text as simply text";
2242
2243const char kMergeKeyCharEventsName[] =
2244 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2245 "(WM_CHAR).";
2246const char kMergeKeyCharEventsDescription[] =
2247 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2248
2249const char kTraceExportEventsToEtwName[] =
2250 "Enable exporting of tracing events to ETW.";
2251const char kTraceExportEventsToEtwDesription[] =
2252 "If enabled, trace events will be exported to the Event Tracing for "
2253 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2254 "Xperf.";
2255
2256const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2257const char kUseWinrtMidiApiDescription[] =
2258 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2259 "later).";
2260
2261const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2262const char kWindows10CustomTitlebarDescription[] =
2263 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2264 "deferring to Windows.";
2265
Wez6656c572017-08-29 22:29:582266#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502267const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2268const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582269 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2270 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2271#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2272
Brett Wilson7b44537e2017-08-18 01:38:282273#endif // defined(OS_WIN)
2274
2275// Mac -------------------------------------------------------------------------
2276
2277#if defined(OS_MACOSX)
2278
2279const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2280const char kAppInfoDialogDescription[] =
2281 "Makes the Toolkit-Views based App Info dialog accessible from "
2282 "chrome://apps or chrome://extensions in place of the native extension "
2283 "permissions dialog, or the details link (which is a link to the Web "
2284 "Store).";
2285
2286const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2287const char kAppWindowCyclingDescription[] =
2288 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2289 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2290 "browser window, and browser windows will not be cycled when a Chrome App "
2291 "is active.";
2292
Lei Zhang2eca9082017-10-17 20:42:502293const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2294const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282295 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2296
2297const char kFullscreenToolbarRevealName[] =
2298 "Enables the toolbar in fullscreen to reveal itself.";
2299const char kFullscreenToolbarRevealDescription[] =
2300 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2301 "has changed.";
2302
2303const char kContentFullscreenName[] = "Improved Content Fullscreen";
2304const char kContentFullscreenDescription[] =
2305 "Fullscreen content window detaches from main browser window and goes to "
2306 "a new space without moving or changing the original browser window.";
2307
Lei Zhang2eca9082017-10-17 20:42:502308const char kDialogTouchBarName[] = "Dialog Touch Bar";
2309const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282310 "Shows Dialog buttons on the Touch Bar.";
2311
2312const char kHostedAppsInWindowsName[] =
2313 "Allow hosted apps to be opened in windows";
2314const char kHostedAppsInWindowsDescription[] =
2315 "Allows hosted apps to be opened in windows instead of being limited to "
2316 "tabs.";
2317
Lei Zhang2eca9082017-10-17 20:42:502318const char kMacRTLName[] = "Enable RTL";
2319const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282320
Lei Zhang2eca9082017-10-17 20:42:502321const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2322const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522323 "Enables sharing via macOS share extensions.";
2324
Lei Zhang2eca9082017-10-17 20:42:502325const char kMacTouchBarName[] = "Hardware Touch Bar";
2326const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282327
2328const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2329const char kMacV2SandboxDescription[] =
2330 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2331 "entire life cycle.";
2332
2333const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2334const char kMacViewsNativeAppWindowsDescription[] =
2335 "Controls whether to use Toolkit-Views based Chrome App windows.";
2336
Jérôme Lebelff683d42017-11-10 10:24:022337const char kMacViewsProfileChooserName[] =
2338 "Profile chooser menu with toolkit-views on Mac";
2339const char kMacViewsProfileChooserDescription[] =
2340 "Enables profile chooser menu based on toolkit-views, on Mac";
2341
Brett Wilson7b44537e2017-08-18 01:38:282342const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2343const char kMacViewsTaskManagerDescription[] =
2344 "Controls whether to use the Toolkit-Views based Task Manager.";
2345
2346const char kTabDetachingInFullscreenName[] =
2347 "Allow tab detaching in fullscreen";
2348const char kTabDetachingInFullscreenDescription[] =
2349 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2350
2351const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2352const char kTabStripKeyboardFocusDescription[] =
2353 "Enable keyboard focus for the tabs in the tab strip.";
2354
2355const char kTranslateNewUxName[] = "New Translate UX";
2356const char kTranslateNewUxDescription[] =
2357 "Enable the new Translate bubble UX is offered instead of the infobar.";
2358
Brett Wilson7b44537e2017-08-18 01:38:282359#endif
2360
2361// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342362
2363#if defined(OS_CHROMEOS)
2364
Brett Wilson7b44537e2017-08-18 01:38:282365const char kAcceleratedMjpegDecodeName[] =
2366 "Hardware-accelerated mjpeg decode for captured frame";
2367const char kAcceleratedMjpegDecodeDescription[] =
2368 "Enable hardware-accelerated mjpeg decode for captured frame where "
2369 "available.";
vabr0215a8e2017-03-28 12:47:342370
Brett Wilson7b44537e2017-08-18 01:38:282371const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2372const char kAllowTouchpadThreeFingerClickDescription[] =
2373 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342374
Brett Wilson7b44537e2017-08-18 01:38:282375const char kArcBootCompleted[] = "Load Android apps automatically";
2376const char kArcBootCompletedDescription[] =
2377 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342378
Lev Rumyantsev7a8544312017-08-18 19:26:512379const char kArcNativeBridgeExperimentName[] =
2380 "Enable native bridge experiment for ARC";
2381const char kArcNativeBridgeExperimentDescription[] =
2382 "Enables experimental native bridge feature.";
2383
Kevin Cernekeeb7f96a52017-10-25 17:40:182384const char kArcVpnName[] = "Enable ARC VPN integration";
2385const char kArcVpnDescription[] =
2386 "Allow Android VPN clients to tunnel Chrome traffic.";
2387
Brett Wilson7b44537e2017-08-18 01:38:282388const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2389const char kAshEnableUnifiedDesktopDescription[] =
2390 "Enable unified desktop mode which allows a window to span multiple "
2391 "displays.";
vabr0215a8e2017-03-28 12:47:342392
Brett Wilson7b44537e2017-08-18 01:38:282393const char kBootAnimationName[] = "Boot animation";
2394const char kBootAnimationDescription[] =
2395 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342396
Sean Kau5e956192017-10-06 22:25:172397const char kBulkPrintersName[] = "Bulk Printers Policy";
2398const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2399
Brett Wilson7b44537e2017-08-18 01:38:282400const char kCaptivePortalBypassProxyName[] =
2401 "Bypass proxy for Captive Portal Authorization";
2402const char kCaptivePortalBypassProxyDescription[] =
2403 "If proxy is configured, it usually prevents from authorization on "
2404 "different captive portals. This enables opening captive portal "
2405 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342406
Brett Wilson7b44537e2017-08-18 01:38:282407const char kCrOSComponentName[] = "Chrome OS Component";
2408const char kCrOSComponentDescription[] =
2409 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342410
Xiaochu Liu51d03fd2017-09-08 23:51:022411const char kCrOSContainerName[] = "Chrome OS Container";
2412const char kCrOSContainerDescription[] =
2413 "Enable the use of Chrome OS Container utility.";
2414
Brett Wilson7b44537e2017-08-18 01:38:282415const char kCrosRegionsModeName[] = "Cros-regions load mode";
2416const char kCrosRegionsModeDescription[] =
2417 "This flag controls cros-regions load mode";
2418const char kCrosRegionsModeDefault[] = "Default";
2419const char kCrosRegionsModeOverride[] = "Override VPD values.";
2420const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342421
Jacob Dufault2becbc482017-08-25 00:36:352422const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2423const char kDisableLockScreenAppsDescription[] =
2424 "Disable new-note action handler apps on the lock screen. The user will "
2425 "not be able to launch the preferred note-taking action from the lock "
2426 "screen, provided that the app supports lock screen note taking.";
2427
Sammie Quonef6b4882017-09-14 16:50:052428const char kDisableTabletAutohideTitlebarsName[] =
2429 "Disable autohide titlebars in tablet mode";
2430const char kDisableTabletAutohideTitlebarsDescription[] =
2431 "Disable tablet mode autohide titlebars functionality. The user will be "
2432 "able to see the titlebar in tablet mode.";
2433
Brett Wilson7b44537e2017-08-18 01:38:282434const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2435const char kEnablePerUserTimezoneDescription[] =
2436 "Chrome OS system timezone preference is stored and handled for each user "
2437 "individually.";
vabr0215a8e2017-03-28 12:47:342438
Brett Wilson7b44537e2017-08-18 01:38:282439const char kDisableSystemTimezoneAutomaticDetectionName[] =
2440 "SystemTimezoneAutomaticDetection policy support";
2441const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2442 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342443
Lei Zhang2eca9082017-10-17 20:42:502444const char kEnableBackgroundBlurName[] = "Enable background blur.";
2445const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422446 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392447
Brett Wilson7b44537e2017-08-18 01:38:282448const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2449const char kEnableAndroidWallpapersAppDescription[] =
2450 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2451 "OS.";
vabr0215a8e2017-03-28 12:47:342452
Brett Wilson7b44537e2017-08-18 01:38:282453const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2454const char kEnableChromevoxArcSupportDescription[] =
2455 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342456
Brett Wilson7b44537e2017-08-18 01:38:282457const char kEnableEhvInputName[] =
2458 "Emoji, handwriting and voice input on opt-in IME menu";
2459const char kEnableEhvInputDescription[] =
2460 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342461
Brett Wilson7b44537e2017-08-18 01:38:282462const char kEnableEncryptionMigrationName[] =
2463 "Enable encryption migration of user data";
2464const char kEnableEncryptionMigrationDescription[] =
2465 "If enabled and the device supports ARC, the user will be asked to update "
2466 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342467
Blake O'Hare9e9317b22017-10-24 02:49:352468const char kEnableFloatingVirtualKeyboardName[] =
2469 "Enable floating virtual keyboard";
2470const char kEnableFloatingVirtualKeyboardDescription[] =
2471 "If enabled, the keyboard will use floating behavior by default.";
2472
Brett Wilson7b44537e2017-08-18 01:38:282473const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2474const char kEnableImeMenuDescription[] =
2475 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342476
xdai6459d0ca2017-10-11 19:23:102477const char kEnableTabletSplitViewName[] = "Split view in Tablet mode";
2478const char kEnableTabletSplitViewDescription[] =
2479 "Enable split view for Chrome OS tablet mode.";
2480
Klemen Kozjek05fc4512017-10-18 12:51:102481const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2482const char kEnableZipArchiverPackerDescription[] =
2483 "Enable the ability to archive files on Drive in the Files app";
2484
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412485const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2486const char kZipArchiverUnpackerDescription[] =
2487 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282488
2489const char kEolNotificationName[] = "Disable Device End of Life notification.";
2490const char kEolNotificationDescription[] =
2491 "Disable Notifcation when Device is End of Life.";
2492
2493const char kExperimentalAccessibilityFeaturesName[] =
2494 "Experimental accessibility features";
2495const char kExperimentalAccessibilityFeaturesDescription[] =
2496 "Enable additional accessibility features in the Settings page.";
2497
2498const char kExperimentalInputViewFeaturesName[] =
2499 "Experimental input view features";
2500const char kExperimentalInputViewFeaturesDescription[] =
2501 "Enable experimental features for IME input views.";
2502
2503const char kFileManagerTouchModeName[] = "Files App. touch mode";
2504const char kFileManagerTouchModeDescription[] =
2505 "Touchscreen-specific interactions of the Files app.";
2506
2507const char kFirstRunUiTransitionsName[] =
2508 "Animated transitions in the first-run tutorial";
2509const char kFirstRunUiTransitionsDescription[] =
2510 "Transitions during first-run tutorial are animated.";
2511
Brett Wilson7b44537e2017-08-18 01:38:282512const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2513const char kForceEnableStylusToolsDescription[] =
2514 "Forces display of the stylus tools menu in the shelf and the stylus "
2515 "section in settings, even if there is no attached stylus device.";
2516
2517const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2518const char kGestureEditingDescription[] =
2519 "Enable/Disable gesture editing option in the settings page for the "
2520 "virtual keyboard.";
2521
2522const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2523const char kGestureTypingDescription[] =
2524 "Enable/Disable gesture typing option in the settings page for the virtual "
2525 "keyboard.";
2526
2527const char kInputViewName[] = "Input views";
2528const char kInputViewDescription[] =
2529 "Enable IME extensions to supply custom views for user input such as "
2530 "virtual keyboards.";
2531
2532const char kMemoryPressureThresholdName[] =
2533 "Memory discard strategy for advanced pressure handling";
2534const char kMemoryPressureThresholdDescription[] =
2535 "Memory discarding strategy to use";
2536const char kConservativeThresholds[] =
2537 "Conservative memory pressure release strategy";
2538const char kAggressiveCacheDiscardThresholds[] =
2539 "Aggressive cache release strategy";
2540const char kAggressiveTabDiscardThresholds[] =
2541 "Aggressive tab release strategy";
2542const char kAggressiveThresholds[] =
2543 "Aggressive tab and cache release strategy";
2544
2545const char kMtpWriteSupportName[] = "MTP write support";
2546const char kMtpWriteSupportDescription[] =
2547 "MTP write support in File System API (and file manager). In-place editing "
2548 "operations are not supported.";
2549
2550const char kMultideviceName[] = "Enable multidevice features";
2551const char kMultideviceDescription[] =
2552 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342553
Bailey Berrodca8eeca02017-11-18 00:49:122554const char kNativeSmbName[] = "Native Smb Client";
2555const char kNativeSmbDescription[] =
2556 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302557
vabr0215a8e2017-03-28 12:47:342558const char kNetworkPortalNotificationName[] =
2559 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342560const char kNetworkPortalNotificationDescription[] =
2561 "If enabled, notification is displayed when device is connected to a "
2562 "network behind captive portal.";
2563
stevenjbe1d457382017-05-24 22:37:242564const char kNetworkSettingsConfigName[] =
2565 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242566const char kNetworkSettingsConfigDescription[] =
2567 "Enables the Settings based network configuration UI instead of the Views "
2568 "based configuration dialog.";
2569
Brett Wilson7b44537e2017-08-18 01:38:282570const char kNewKoreanImeName[] = "New Korean IME";
2571const char kNewKoreanImeDescription[] =
2572 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342573
Brett Wilson7b44537e2017-08-18 01:38:282574const char kNewZipUnpackerName[] = "New ZIP unpacker";
2575const char kNewZipUnpackerDescription[] =
2576 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342577
Brett Wilson7b44537e2017-08-18 01:38:282578const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2579const char kPhysicalKeyboardAutocorrectDescription[] =
2580 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2581 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342582
2583const char kPrinterProviderSearchAppName[] =
2584 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342585const char kPrinterProviderSearchAppDescription[] =
2586 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192587 "searches Chrome Web Store for extensions that support printing to a USB "
2588 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342589
Brett Wilson7b44537e2017-08-18 01:38:282590const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2591const char kQuickUnlockPinDescription[] =
2592 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2593 "device on the lock screen after you have signed into your device.";
2594const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2595const char kQuickUnlockPinSigninDescription[] =
2596 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2597 "device. After changing this flag PIN needs to be set up again.";
2598const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2599const char kQuickUnlockFingerprintDescription[] =
2600 "Enabling fingerprint quick unlock allows you to setup and use a "
2601 "fingerprint to unlock your Chromebook on the lock screen after you have "
2602 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342603
Brett Wilson7b44537e2017-08-18 01:38:282604const char kOfficeEditingComponentAppName[] =
2605 "Office Editing for Docs, Sheets & Slides";
2606const char kOfficeEditingComponentAppDescription[] =
2607 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072608
Chung-Sheng Wu468b0b32017-09-01 14:41:572609const char kSysInternalsName[] = "Enable Sys-Internals";
2610const char kSysInternalsDescription[] =
2611 "If enabled, user can monitor system information at "
2612 "chrome://sys-internals.";
2613
Brett Wilson7b44537e2017-08-18 01:38:282614const char kTeamDrivesName[] = "Enable Team Drives Integration";
2615const char kTeamDrivesDescription[] =
2616 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342617
Brett Wilson7b44537e2017-08-18 01:38:282618const char kTetherName[] = "Instant Tethering";
2619const char kTetherDescription[] =
2620 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2621 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372622
Brett Wilson7b44537e2017-08-18 01:38:282623const char kTouchscreenCalibrationName[] =
2624 "Enable/disable touchscreen calibration option in material design settings";
2625const char kTouchscreenCalibrationDescription[] =
2626 "If enabled, the user can calibrate the touch screen displays in "
2627 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092628
Mitsuru Oshima63d3f2a2017-08-23 00:12:112629// Force UI Mode
2630const char kUiModeName[] = "Force Ui Mode";
2631const char kUiModeDescription[] =
2632 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2633 R"*(despite its current orientation. "Tablet" means that the )*"
2634 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2635 R"*(means that the chromebook will act as if it were in clamshell )*"
2636 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2637 R"*(the two, based on its orientation.)*";
2638const char kUiModeTablet[] = "TouchView";
2639const char kUiModeClamshell[] = "Clamshell";
2640const char kUiModeAuto[] = "Auto (default)";
2641
bruthigeafb0c02017-06-09 13:11:532642const char kUiDevToolsName[] = "Enable native UI inspection";
2643const char kUiDevToolsDescription[] =
2644 "Enables inspection of native UI elements. For local inspection use "
2645 "chrome://inspect#other";
2646
Brett Wilson7b44537e2017-08-18 01:38:282647const char kUseMusName[] = "Mus";
2648const char kUseMusDescription[] = "Enable the Mojo UI service.";
2649const char kEnableMashDescription[] =
2650 "Mash (UI, Chrome and ash in separate services)";
2651const char kEnableMusDescription[] =
2652 "Mus (UI in separate service, Chrome and ash in same service)";
2653
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342654// TODO(mcasas): remove after https://crbug.com/771345.
2655const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2656const char kUseMonitorColorSpaceDescription[] =
2657 "Enables Chrome to use the color space information provided by the monitor"
2658 " instead of the default sRGB color space.";
2659
Brett Wilson7b44537e2017-08-18 01:38:282660const char kVideoPlayerChromecastSupportName[] =
2661 "Experimental Chromecast support for Video Player";
2662const char kVideoPlayerChromecastSupportDescription[] =
2663 "This option enables experimental Chromecast support for Video Player app "
2664 "on ChromeOS.";
2665
2666const char kVirtualKeyboardName[] = "Virtual Keyboard";
2667const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2668
2669const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2670const char kVirtualKeyboardOverscrollDescription[] =
2671 "Enables virtual keyboard overscroll support.";
2672
2673const char kVoiceInputName[] = "Voice input on virtual keyboard";
2674const char kVoiceInputDescription[] =
2675 "Enables voice input on virtual keyboard.";
2676
2677const char kWakeOnPacketsName[] = "Wake On Packets";
2678const char kWakeOnPacketsDescription[] =
2679 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202680
yhanadac5bff5b2017-05-18 06:37:092681#endif // defined(OS_CHROMEOS)
2682
Brett Wilson7b44537e2017-08-18 01:38:282683// Random platform combinations -----------------------------------------------
2684
2685#if defined(OS_WIN) || defined(OS_LINUX)
2686
2687const char kEnableInputImeApiName[] = "Enable Input IME API";
2688const char kEnableInputImeApiDescription[] =
2689 "Enable the use of chrome.input.ime API.";
2690
2691#endif // defined(OS_WIN) || defined(OS_LINUX)
2692
2693#if defined(OS_WIN) || defined(OS_MACOSX)
2694
2695const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2696const char kAutomaticTabDiscardingDescription[] =
2697 "If enabled, tabs get automatically discarded from memory when the system "
2698 "memory is low. Discarded tabs are still visible on the tab strip and get "
2699 "reloaded when clicked on. Info about discarded tabs can be found at "
2700 "chrome://discards.";
2701
2702#endif // defined(OS_WIN) || defined(OS_MACOSX)
2703
2704// Feature flags --------------------------------------------------------------
2705
2706#if BUILDFLAG(ENABLE_VR)
2707
David Dorwin5a496c32017-11-17 01:45:052708const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2709const char kWebVrVsyncAlignDescription[] =
2710 "Align WebVR application rendering with VSync for smoother animations.";
2711
Brett Wilson7b44537e2017-08-18 01:38:282712#if defined(OS_ANDROID)
2713
David Dorwin5a496c32017-11-17 01:45:052714const char kVrBrowsingName[] = "VR browsing";
2715const char kVrBrowsingDescription[] =
2716 "Browsing within a VR headset if available for this device.";
Brett Wilson7b44537e2017-08-18 01:38:282717
Yash Malik50bcfc12017-11-18 00:47:592718const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2719const char kVrBrowserKeyboardDescription[] =
2720 "Enable a virtual keyboard for Chrome VR.";
2721
David Dorwin5a496c32017-11-17 01:45:052722const char kVrBrowsingExperimentalFeaturesName[] =
2723 "VR browsing experimental features";
2724const char kVrBrowsingExperimentalFeaturesDescription[] =
2725 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282726
David Dorwin5a496c32017-11-17 01:45:052727const char kVrBrowsingExperimentalRenderingName[] =
2728 "VR browsing experimental rendering features";
2729const char kVrBrowsingExperimentalRenderingDescription[] =
2730 "Experimental rendering features for VR browsing (e.g. power-saving "
2731 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102732
David Dorwin5a496c32017-11-17 01:45:052733const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2734const char kVrBrowsingInCustomTabDescription[] =
2735 "Allow browsing within a VR headset while in a Custom Tab.";
2736
2737const char kVrLaunchIntentsName[] = "VR intents";
2738const char kVrLaunchIntentsDescription[] =
Yash Malik812aebe2017-10-31 18:17:262739 "Allow intents to launch Chrome in VR mode.";
2740
David Dorwin5a496c32017-11-17 01:45:052741const char kWebVrAutopresentFromIntentName[] =
2742 "WebVR auto presentation from intents";
2743const char kWebVrAutopresentFromIntentDescription[] =
2744 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282745
2746#endif // OS_ANDROID
2747
Bill Orr49527562017-11-22 16:58:482748#if BUILDFLAG(ENABLE_OPENVR)
2749const char kOpenVRName[] = "OpenVR hardware support";
2750const char kOpenVRDescription[] =
2751 "If enabled, Chrome will use OpenVR devices for VR.";
2752#endif // ENABLE_OPENVR
2753
Brett Wilson7b44537e2017-08-18 01:38:282754#endif // ENABLE_VR
2755
Nico Weberaf3b00b2017-09-11 17:58:172756#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282757
2758const char kNaclDebugMaskName[] =
2759 "Restrict Native Client GDB-based debugging by pattern";
2760const char kNaclDebugMaskDescription[] =
2761 "Restricts Native Client application GDB-based debugging by URL of "
2762 "manifest file. Native Client GDB-based debugging must be enabled for this "
2763 "option to work.";
2764const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2765const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2766 "Debug everything except secure shell and the PNaCl translator.";
2767const char kNaclDebugMaskChoiceIncludeDebug[] =
2768 "Debug only if manifest URL ends with debug.nmf.";
2769
2770const char kNaclDebugName[] = "Native Client GDB-based debugging";
2771const char kNaclDebugDescription[] =
2772 "Enable GDB debug stub. This will stop a Native Client application on "
2773 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2774
2775const char kNaclName[] = "Native Client";
2776const char kNaclDescription[] =
2777 "Support Native Client for all web applications, even those that were not "
2778 "installed from the Chrome Web Store.";
2779
2780const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2781const char kPnaclSubzeroDescription[] =
2782 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2783
Nico Weberaf3b00b2017-09-11 17:58:172784#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282785
Brett Wilson7b44537e2017-08-18 01:38:282786#if BUILDFLAG(ENABLE_WEBRTC)
2787
2788const char kWebrtcH264WithOpenh264FfmpegName[] =
2789 "WebRTC H.264 software video encoder/decoder";
2790const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2791 "When enabled, an H.264 software video encoder/decoder pair is included. "
2792 "If a hardware encoder/decoder is also available it may be used instead of "
2793 "this encoder/decoder.";
2794
2795#endif // BUILDFLAG(ENABLE_WEBRTC)
2796
James Cookf9d34d22017-10-04 16:39:352797#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282798
Wenzhao Zang50fb0b22017-11-07 01:38:422799const char kAshDisableLoginDimAndBlurName[] =
2800 "Disable dimming and blur on login screen.";
2801const char kAshDisableLoginDimAndBlurDescription[] =
2802 "Disable dimming and blur on login screen.";
2803
Brett Wilson7b44537e2017-08-18 01:38:282804const char kAshDisableSmoothScreenRotationName[] =
2805 "Disable smooth rotation animations.";
2806const char kAshDisableSmoothScreenRotationDescription[] =
2807 "Disable smooth rotation animations.";
2808
wutaoc70d7b92017-11-01 08:06:012809const char kAshEnableKeyboardShortcutViewerName[] =
2810 "Enable keyboard shortcut viewer.";
2811const char kAshEnableKeyboardShortcutViewerDescription[] =
2812 "Enable keyboard shortcut viewer.";
2813
Brett Wilson7b44537e2017-08-18 01:38:282814const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2815const char kAshEnableMirroredScreenDescription[] =
2816 "Enable the mirrored screen mode. This mode flips the screen image "
2817 "horizontally.";
2818
2819const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2820const char kAshShelfColorDescription[] =
2821 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2822 "--ash-shelf-color-scheme flag defines how that color is derived.";
2823
2824const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2825const char kAshShelfColorSchemeDescription[] =
2826 "Specify how the color is derived from the wallpaper. This flag is only "
2827 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2828const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2829const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2830const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2831const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2832const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2833const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2834
Mike Wassermana38a8a62017-10-02 03:04:272835const char kAshDisableShelfModelSynchronization[] =
2836 "Disable shelf model synchronization";
2837const char kAshDisableShelfModelSynchronizationDescription[] =
2838 "Use a single in-process shelf data model shared between Chrome and Ash. "
2839 "This only applies to the Classic Ash and Mus configs; synchronization "
2840 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372841
Brett Wilson7b44537e2017-08-18 01:38:282842const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372843 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282844const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2845 "Sets the speed of the experimental visual feedback animations for "
2846 "material design.";
2847const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2848const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2849
2850const char kUiShowCompositedLayerBordersName[] =
2851 "Show UI composited layer borders";
2852const char kUiShowCompositedLayerBordersDescription[] =
2853 "Show border around composited layers created by UI.";
2854const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2855const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2856const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2857const char kUiShowCompositedLayerBordersAll[] = "All";
2858
2859const char kUiSlowAnimationsName[] = "Slow UI animations";
2860const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2861
James Cookf9d34d22017-10-04 16:39:352862#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282863
Brett Wilson735e1452017-11-13 21:04:092864#if defined(TOOLKIT_VIEWS)
2865
2866const char kExperimentalTabControllerName[] = "Experimental tab controller.";
2867const char kExperimentalTabControllerDescription[] =
2868 "Enable controller for highly experimental tab policies.";
2869
2870#endif // defined(TOOLKIT_VIEWS)
2871
Brett Wilson7b44537e2017-08-18 01:38:282872#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2873
2874const char kAutofillCreditCardUploadName[] =
2875 "Enable offering upload of Autofilled credit cards";
2876const char kAutofillCreditCardUploadDescription[] =
2877 "Enables a new option to upload credit cards to Google Payments for sync "
2878 "to all Chrome devices.";
2879
2880#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2881
2882// ============================================================================
2883// Don't just add flags to the end, put them in the right section in
2884// alphabetical order just like the header file.
2885// ============================================================================
2886
vabr0215a8e2017-03-28 12:47:342887} // namespace flag_descriptions