blob: 373ebda72155e7298f1875b77839dfbd626544af [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
38const char kAppBannersName[] = "App Banners";
39const char kAppBannersDescription[] =
40 "Enable the display of Progressive Web App banners, which prompt a user to "
41 "add a web app to their shelf, or other platform-specific equivalent.";
42
Khushalba202212017-07-12 19:53:4943const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
44const char kAsyncImageDecodingDescription[] =
45 "Enables asynchronous decoding of images from raster for web content";
46
Brett Wilsonf27ff602017-07-07 22:28:4747const char kAutoplayPolicyName[] = "Autoplay policy";
48const char kAutoplayPolicyDescription[] =
49 "Policy used when deciding if audio or video is allowed to autoplay.";
50
51const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
52 "User gesture is required for cross-origin iframes.";
53const char kAutoplayPolicyNoUserGestureRequired[] =
54 "No user gesture is required.";
55const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
56const char kAutoplayPolicyDocumentUserActivation[] =
57 "Document user activation is required.";
58
59const char kBackgroundVideoTrackOptimizationName[] =
60 "Optimize background video playback.";
61const char kBackgroundVideoTrackOptimizationDescription[] =
62 "Disable video tracks when the video is played in the background to "
63 "optimize performance.";
64
65const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
66const char kBleAdvertisingInExtensionsDescription[] =
67 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
68 "with regular use of Bluetooth Low Energy features.";
69
Charles Harrisond629cc62017-10-05 01:39:5470const char kBlockTabUndersName[] = "Block tab-unders";
71const char kBlockTabUndersDescription[] =
72 "Blocks tab-unders in Chrome with some native UI to allow the user to "
73 "proceed.";
74
Brett Wilsonf27ff602017-07-07 22:28:4775const char kBrowserSideNavigationName[] = "Enable browser side navigation";
horodb71a5a2017-06-09 16:08:2476const char kBrowserSideNavigationDescription[] =
horo3beccfb2017-06-19 14:47:0177 "Enable browser side navigation (aka PlzNavigate).";
horodb71a5a2017-06-09 16:08:2478
Brett Wilsonf27ff602017-07-07 22:28:4779const char kBrowserTaskSchedulerName[] = "Task Scheduler";
80const char kBrowserTaskSchedulerDescription[] =
81 "Enables redirection of some task posting APIs to the task scheduler.";
82
83const char kBypassAppBannerEngagementChecksName[] =
84 "Bypass user engagement checks";
85const char kBypassAppBannerEngagementChecksDescription[] =
86 "Bypasses user engagement checks for displaying app banners, such as "
87 "requiring that users have visited the site before and that the banner "
88 "hasn't been shown recently. This allows developers to test that other "
89 "eligibility requirements for showing app banners, such as having a "
90 "manifest, are met.";
91
Marc Treib026acc532017-10-17 18:39:5992const char kCaptureThumbnailOnNavigatingAwayName[] =
93 "Capture page thumbnail on navigating away";
94const char kCaptureThumbnailOnNavigatingAwayDescription[] =
95 "Capture a page thumbnail (for use on the New Tab page) when navigating "
96 "away from the current page, in addition to other times a thumbnail may be "
97 "captured.";
98
Brett Wilsonf27ff602017-07-07 22:28:4799const char kCastStreamingHwEncodingName[] =
100 "Cast Streaming hardware video encoding";
101const char kCastStreamingHwEncodingDescription[] =
102 "This option enables support in Cast Streaming for encoding video streams "
103 "using platform hardware.";
104
Amber Won478561d2017-08-19 01:02:59105const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
106const char kClickToOpenPDFDescription[] =
107 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
108 "embedded PDFs.";
109
Brett Wilsonf27ff602017-07-07 22:28:47110const char kCloudImportName[] = "Cloud Import";
111const char kCloudImportDescription[] = "Allows the cloud-import feature.";
112
Christopher Cameronceb8727d2017-09-07 23:53:16113const char kForceColorProfileSRGB[] = "sRGB";
114const char kForceColorProfileP3[] = "Display P3 D65";
115const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
116const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
117
118const char kForceColorProfileName[] = "Force color profile";
119const char kForceColorProfileDescription[] =
120 "Forces Chrome to use a specific color profile instead of the color "
121 "of the window's current monitor, as specified by the operating system.";
122
Brett Wilsonf27ff602017-07-07 22:28:47123const char kCompositedLayerBordersName[] = "Composited render layer borders";
124const char kCompositedLayerBordersDescription[] =
125 "Renders a border around composited Render Layers to help debug and study "
126 "layer compositing.";
127
128const char kContextualSuggestionsCarouselName[] =
129 "Enable Contextual Suggestions";
130const char kContextualSuggestionsCarouselDescription[] =
131 "If enabled, shows contextual suggestions in a horizontal carousel in "
132 "bottom sheet content.";
133
134const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
135const char kCreditCardAssistDescription[] =
136 "Enable assisted credit card filling on certain sites.";
137
138const char kCrossProcessGuestViewIsolationName[] =
139 "Cross process frames for guests";
140const char kCrossProcessGuestViewIsolationDescription[] =
141 "Highly experimental where guests such as <webview> are implemented on "
142 "the out-of-process iframe infrastructure.";
143
Brett Wilsonf27ff602017-07-07 22:28:47144const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
145const char kDataReductionProxyLoFiDescription[] =
146 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
147 "cellular connections, or disabled. Data Saver must be enabled for Lo-Fi "
148 "mode to be used.";
149const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
150const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
151const char kDataReductionProxyLoFiDisabled[] = "Disable";
152const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
153 "Slow connections only";
154
155const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
156const char kDatasaverPromptDescription[] =
157 "Enables a prompt, which appears when a cellular network connection is "
158 "detected, to take the user to the Data Saver extension page on Chrome Web "
159 "Store.";
160const char kDatasaverPromptDemoMode[] = "Demo mode";
161
162const char kDebugPackedAppName[] = "Debugging for packed apps";
163const char kDebugPackedAppDescription[] =
164 "Enables debugging context menu options such as Inspect Element for packed "
165 "applications.";
166
167const char kDefaultTileHeightName[] = "Default tile height";
168const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
169const char kDefaultTileHeightShort[] = "128";
170const char kDefaultTileHeightTall[] = "256";
171const char kDefaultTileHeightGrande[] = "512";
172const char kDefaultTileHeightVenti[] = "1024";
173
174const char kDefaultTileWidthName[] = "Default tile width";
175const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
176const char kDefaultTileWidthShort[] = "128";
177const char kDefaultTileWidthTall[] = "256";
178const char kDefaultTileWidthGrande[] = "512";
179const char kDefaultTileWidthVenti[] = "1024";
180
181const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
182const char kDebugShortcutsDescription[] =
183 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
184
185const char kDeviceDiscoveryNotificationsName[] =
186 "Device Discovery Notifications";
187const char kDeviceDiscoveryNotificationsDescription[] =
188 "Device discovery notifications on local network.";
189
190const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
191const char kDevtoolsExperimentsDescription[] =
192 "Enables Developer Tools experiments. Use Settings panel in Developer "
193 "Tools to toggle individual experiments.";
194
195const char kDisableAudioForDesktopShareName[] =
196 "Disable Audio For Desktop Share";
197const char kDisableAudioForDesktopShareDescription[] =
198 "With this flag on, desktop share picker window will not let the user "
199 "choose whether to share audio.";
200
Brett Wilsonf27ff602017-07-07 22:28:47201const char kDisableTabForDesktopShareName[] =
202 "Disable Desktop Share with tab source";
203const char kDisableTabForDesktopShareDescription[] =
204 "This flag controls whether users can choose a tab for desktop share.";
205
206const char kDisallowDocWrittenScriptsUiName[] =
207 "Block scripts loaded via document.write";
208const char kDisallowDocWrittenScriptsUiDescription[] =
209 "Disallows fetches for third-party parser-blocking scripts inserted into "
210 "the main frame via document.write.";
211
212const char kDisplayList2dCanvasName[] = "Display list 2D canvas";
213const char kDisplayList2dCanvasDescription[] =
214 "Enables the use of display lists to record 2D canvas commands. This "
215 "allows 2D canvas rasterization to be performed on separate thread.";
216
217const char kDistanceFieldTextName[] = "Distance field text";
218const char kDistanceFieldTextDescription[] =
219 "Text is rendered with signed distance fields rather than bitmap alpha "
220 "masks.";
221
222const char kDriveSearchInChromeLauncherName[] =
223 "Drive Search in Chrome App Launcher";
224const char kDriveSearchInChromeLauncherDescription[] =
225 "Files from Drive will show up when searching the Chrome App Launcher.";
226
227const char kDropSyncCredentialName[] =
228 "Drop sync credentials from password manager";
229const char kDropSyncCredentialDescription[] =
230 "The password manager will not offer to save the credential used to sync.";
231
232const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
233 "Smart Lock Bluetooth Low Energy Discovery";
234const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07235 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47236 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
237 "phone is in its proximity.";
238
Gustavo Sacomotofb11164f2017-07-21 12:56:18239const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
240const char kEasyUnlockPromotionsDescription[] =
241 "Enables Smart Lock promotions. Promotions will be periodically display "
242 "if the user is eligible.";
243
Brett Wilsonf27ff602017-07-07 22:28:47244const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
245const char kEmbeddedExtensionOptionsDescription[] =
246 "Display extension options as an embedded element in chrome://extensions "
247 "rather than opening a new tab.";
248
249const char kEnableAsmWasmName[] =
250 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
251const char kEnableAsmWasmDescription[] =
252 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
253 R"*(WebAssembly.)*";
254
Shanfeng Zhang19c16562017-10-17 02:30:40255const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
256 "Credit card autofill ablation experiment.";
257const char kEnableAutofillCreditCardAblationExperimentDescription[] =
258 "If enabled, credit card autofill suggestions will not display.";
259
Brett Wilsonf27ff602017-07-07 22:28:47260const char kEnableAutofillCreditCardBankNameDisplayName[] =
261 "Display the issuer bank name of a credit card in autofill.";
262const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
263 "If enabled, displays the issuer bank name of a credit card in autofill.";
264
265const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
266 "Display the last used date of a credit card in autofill.";
267const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
268 "If enabled, display the last used date of a credit card in autofill.";
269
270const char kEnableAutofillCreditCardUploadCvcPromptName[] =
271 "Enable requesting missing CVC during Autofill credit card upload";
272const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
273 "If enabled, requests missing CVC when offering to upload credit cards to "
274 "Google Payments.";
275
Jared Saule4446d12017-08-15 20:01:13276const char kEnableAutofillCreditCardUploadGoogleLogoName[] =
277 "Show Google Logo for Autofill credit card upload";
278const char kEnableAutofillCreditCardUploadGoogleLogoDescription[] =
279 "If enabled, displays the Google logo in the save prompt when offering to "
280 "upload credit cards to Google Payments.";
281
jsaul19ef81c2017-08-09 18:53:40282const char kEnableAutofillCreditCardUploadNewUiName[] =
283 "Enable updated UI for Autofill credit card upload";
284const char kEnableAutofillCreditCardUploadNewUiDescription[] =
285 "If enabled, displays a new save card bubble/infobar design when offering "
286 "to upload credit cards to Google Payments.";
287
Jason Guo71f621e2017-10-13 04:18:53288const char kEnableAutofillSendBillingCustomerNumberName[] =
289 "Enable autofill sending billing customer number when calling Google "
290 "Payments";
291const char kEnableAutofillSendBillingCustomerNumberDescription[] =
292 "If enabled, autofill sends billing customer number when calling Google "
293 "Payments.";
294
Vitalii Iarko4f9834ce2017-08-04 07:05:19295const char kEnableBreakingNewsPushName[] = "Breaking News Push";
296const char kEnableBreakingNewsPushDescription[] =
297 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
298 "through Google Cloud Messaging.";
299
Brett Wilsonf27ff602017-07-07 22:28:47300const char kEnableBrotliName[] = "Brotli Content-Encoding.";
301const char kEnableBrotliDescription[] =
302 "Enable Brotli Content-Encoding support.";
303
304const char kEnableClearBrowsingDataCountersName[] =
305 "Enable Clear browsing data counters.";
306const char kEnableClearBrowsingDataCountersDescription[] =
307 "Shows data volume counters in the Clear browsing data dialog.";
308
sclittle50e4bb92017-07-08 02:23:03309const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
310
311const char kEnableClientLoFiDescription[] =
312 "Enable showing low fidelity images on some pages on slow networks.";
313
Doug Arnett08b4067b2017-10-12 20:14:44314const char kEnableNoScriptPreviewsName[] = "NoScript previews";
315
316const char kEnableNoScriptPreviewsDescription[] =
317 "Enable disabling JavaScript on some pages on slow networks.";
318
Brett Wilsonf27ff602017-07-07 22:28:47319const char kEnableDataReductionProxyLitePageName[] =
320 "Lite pages for Data Saver Lo-Fi mode";
321const char kEnableDataReductionProxyLitePageDescription[] =
322 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
323 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
324 "Lo-Fi must be enabled for lite pages to be shown.";
325
326const char kDataReductionProxyServerAlternative[] =
327 "Use alternative server configuration";
328const char kEnableDataReductionProxyServerExperimentName[] =
329 "Use an alternative Data Saver back end configuration.";
330const char kEnableDataReductionProxyServerExperimentDescription[] =
331 "Enable a different approach to saving data by configuring the back end "
332 "server";
333
334const char kEnableDataReductionProxySavingsPromoName[] =
335 "Data Saver 1 MB Savings Promo";
336const char kEnableDataReductionProxySavingsPromoDescription[] =
337 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
338 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
339 "enabled for the promo to be shown.";
340
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17341const char kEnableDesktopPWAWindowingName[] =
342 "Windowing related features for desktop PWAs.";
343const char kEnableDesktopPWAWindowingDescription[] =
344 "Enable experimental windowing features for desktop PWAs.";
345
Brett Wilsonf27ff602017-07-07 22:28:47346const char kEnableEnumeratingAudioDevicesName[] =
347 "Experimentally enable enumerating audio devices.";
348const char kEnableEnumeratingAudioDevicesDescription[] =
349 "Experimentally enable the use of enumerating audio devices.";
350
351const char kEnableGenericSensorName[] = "Generic Sensor";
352const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25353 "Enables motion sensor classes based on Generic Sensor API, i.e. "
354 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
355 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
356
357const char kEnableGenericSensorExtraClassesName[] =
358 "Generic Sensor Extra Classes";
359const char kEnableGenericSensorExtraClassesDescription[] =
360 "Enables an extra set of sensor classes based on Generic Sensor API, which "
361 "expose previously unavailable platform features, i.e. AmbientLightSensor "
362 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47363
Brett Wilsonf27ff602017-07-07 22:28:47364const char kEnableHDRName[] = "HDR mode";
365const char kEnableHDRDescription[] =
366 "Enables HDR support on compatible displays.";
367
368const char kEnableHeapProfilingName[] = "Heap profiling";
369const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
370const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
371const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
372const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
373
374const char kEnableHttpFormWarningName[] =
375 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15376 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47377const char kEnableHttpFormWarningDescription[] =
378 "Attaches a warning UI to any password or credit card fields detected when "
379 "the top-level page is not HTTPS";
380
Sidney San Martín9375b892017-09-09 00:29:54381const char kEnableMacMaterialDesignDownloadShelfName[] =
382 "Enable Material Design download shelf";
383
384const char kEnableMacMaterialDesignDownloadShelfDescription[] =
385 "If enabled, the download shelf uses Material Design.";
386
Tatiana Gornakafb40452017-07-31 13:50:04387const char kEnableManualFallbacksFillingName[] =
388 "Manual fallbacks for password manager forms filling";
389const char kEnableManualFallbacksFillingDescription[] =
390 "If enabled, then if user clicks on the password field on a form, popup "
391 "might contain generation fallbacks or 'Show all saved passwords' "
392 "fallback.";
393
vabr0215a8e2017-03-28 12:47:34394const char kEnableMaterialDesignBookmarksName[] =
395 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34396const char kEnableMaterialDesignBookmarksDescription[] =
397 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
398 "bookmarks page.";
399
vabr0215a8e2017-03-28 12:47:34400const char kEnableMaterialDesignExtensionsName[] =
401 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34402const char kEnableMaterialDesignExtensionsDescription[] =
403 "If enabled, the chrome://extensions/ URL loads the Material Design "
404 "extensions page.";
405
Anton Urusov47cd4932017-09-19 14:41:41406const char kEnablePolicyToolName[] = "Enable policy management page";
407const char kEnablePolicyToolDescription[] =
408 "If enabled, the chrome://policy-tool URL loads a page for managing "
409 "policies.";
410
Brett Wilsonf27ff602017-07-07 22:28:47411const char kEnableMidiManagerDynamicInstantiationName[] =
412 "MIDIManager dynamic instantiation for Web MIDI.";
413const char kEnableMidiManagerDynamicInstantiationDescription[] =
414 "Enable MIDIManager dynamic instantiation for Web MIDI.";
415
416const char kEnableNavigationTracingName[] = "Enable navigation tracing";
417const char kEnableNavigationTracingDescription[] =
418 "This is to be used in conjunction with the trace-upload-url flag. "
419 "WARNING: When enabled, Chrome will record performance data for every "
420 "navigation and upload it to the URL specified by the trace-upload-url "
421 "flag. The trace may include personally identifiable information (PII) "
422 "such as the titles and URLs of websites you visit.";
423
424const char kEnableNetworkServiceName[] = "Enable network service";
425const char kEnableNetworkServiceDescription[] =
426 "Enables the network service, which makes network requests through a "
427 "separate service. Note: most features don't work with this yet.";
428
Ahmed Fakhry2fd8fc82017-07-28 16:31:12429const char kEnableNightLightName[] = "Enable Night Light";
430const char kEnableNightLightDescription[] =
431 "Enable the Night Light feature which controls the color temperature of "
432 "the screen.";
433
Yutaka Hirano98be3272017-08-07 17:55:39434const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
435const char kEnableOutOfBlinkCORSDescription[] =
436 "CORS handling logic is moved out of blink.";
437
Erik Chen49bbfa22017-08-18 08:49:56438const char kEnableOutOfProcessHeapProfilingName[] =
439 "Out of process heap profiling.";
440const char kEnableOutOfProcessHeapProfilingDescription[] =
441 "Creates a profiling service that records stacktraces for all live, "
442 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36443const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
444 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56445const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
446
Brett Wilsonf27ff602017-07-07 22:28:47447const char kEnablePictureInPictureName[] = "Enable picture in picture.";
448const char kEnablePictureInPictureDescription[] =
449 "Enable the picture in picture feature for videos.";
450
F#m59d036e2017-09-13 07:22:17451const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
452const char kEnablePixelCanvasRecordingDescription[] =
453 "Pixel canvas recording allows the compositor to raster contents aligned "
454 "with the pixel and improves text rendering. This should be enabled when a "
455 "device is using fractional scale factor.";
456
Brett Wilsonf27ff602017-07-07 22:28:47457const char kEnableTokenBindingName[] = "Token Binding.";
458const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
459
Irmak Kavasoglu7e16af02017-07-19 09:52:47460const char kEnableUsernameCorrectionName[] = "Enable username correction";
461const char kEnableUsernameCorrectionDescription[] =
462 "While on the pending password state, add an edit button to the bubble so "
463 "that user can edit the username.";
464
Brett Wilsonf27ff602017-07-07 22:28:47465const char kEnableUseZoomForDsfName[] =
466 "Use Blink's zoom for device scale factor.";
467const char kEnableUseZoomForDsfDescription[] =
468 "If enabled, Blink uses its zooming mechanism to scale content for device "
469 "scale factor.";
470const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
471const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
472const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
473
474const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
475const char kEnableScrollAnchoringDescription[] =
476 "Adjusts scroll position to prevent visible jumps when offscreen content "
477 "changes.";
478
479const char kEnableSharedArrayBufferName[] =
480 "Experimental enabled SharedArrayBuffer support in JavaScript.";
481const char kEnableSharedArrayBufferDescription[] =
482 "Enable SharedArrayBuffer support in JavaScript.";
483
484const char kEnableWasmName[] = "WebAssembly structured cloning support.";
485const char kEnableWasmDescription[] =
486 "Enable web pages to use WebAssembly structured cloning.";
487
Brett Wilsonf27ff602017-07-07 22:28:47488const char kEnableImageCaptureAPIName[] = "Image Capture API";
489const char kEnableImageCaptureAPIDescription[] =
490 "Enables the Web Platform Image Capture API: takePhoto(), "
491 "getPhotoCapabilities(), etc.";
492
493const char kEnableZeroSuggestRedirectToChromeName[] =
494 "Experimental contextual omnibox suggestion";
495const char kEnableZeroSuggestRedirectToChromeDescription[] =
496 "Change omnibox contextual suggestions to an experimental source. Note "
497 "that this is not an on/off switch for contextual omnibox and it only "
498 "applies to suggestions provided before the user starts typing a URL or a "
499 "search query (i.e. zero suggest).";
500
501const char kEnableWasmStreamingName[] =
502 "WebAssembly streaming compile/instantiate support.";
503const char kEnableWasmStreamingDescription[] =
504 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
505
Brett Wilsonf27ff602017-07-07 22:28:47506const char kEnableWebNotificationCustomLayoutsName[] =
507 "Enable custom layouts for Web Notifications.";
508const char kEnableWebNotificationCustomLayoutsDescription[] =
509 "Enable custom layouts for Web Notifications. They will have subtle layout "
510 "improvements that are otherwise not possible.";
511
512const char kExpensiveBackgroundTimerThrottlingName[] =
513 "Throttle expensive background timers";
514const char kExpensiveBackgroundTimerThrottlingDescription[] =
515 "Enables intervention to limit CPU usage of background timers to 1%.";
516
517const char kExperimentalAppBannersName[] = "Experimental app banners";
518const char kExperimentalAppBannersDescription[] =
519 "Enables a new experimental app banner flow and UI";
520
521const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
522const char kExperimentalCanvasFeaturesDescription[] =
523 "Enables the use of experimental canvas features which are still in "
524 "development.";
525
526const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
527const char kExperimentalExtensionApisDescription[] =
528 "Enables experimental extension APIs. Note that the extension gallery "
529 "doesn't allow you to upload extensions that use experimental APIs.";
530
531const char kExperimentalFullscreenExitUIName[] =
532 "Experimental fullscreen exit UI";
533const char kExperimentalFullscreenExitUIDescription[] =
534 "Displays experimental UI to allow mouse and touch input methods to exit "
535 "fullscreen mode.";
536
537const char kExperimentalHotwordHardwareName[] =
538 "Simulated hardware 'Ok Google' features";
539const char kExperimentalHotwordHardwareDescription[] =
540 "Enables an experimental version of 'Ok Google' hotword detection features "
541 "that have a hardware dependency.";
542
543const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
544const char kExperimentalKeyboardLockUiDescription[] =
545 "An experimental full screen with keyboard lock mode requiring users to "
546 "hold Esc to exit.";
547
548const char kExperimentalSecurityFeaturesName[] =
549 "Potentially annoying security features";
550const char kExperimentalSecurityFeaturesDescription[] =
551 "Enables several security features that will likely break one or more "
552 "pages that you visit on a daily basis. Strict mixed content checking, for "
553 "example. And locking powerful features to secure contexts. This flag will "
554 "probably annoy you.";
555
Ian Vollick3a0cffc2017-10-13 04:42:11556const char kExperimentalVRFeaturesName[] = "Experimental VR features";
557const char kExperimentalVRFeaturesDescription[] =
558 "Enables VR browsing features that are under development.";
559
Brett Wilsonf27ff602017-07-07 22:28:47560const char kExperimentalWebPlatformFeaturesName[] =
561 "Experimental Web Platform features";
562const char kExperimentalWebPlatformFeaturesDescription[] =
563 "Enables experimental Web Platform features that are in development.";
564
565const char kExtensionContentVerificationName[] =
566 "Extension Content Verification";
567const char kExtensionContentVerificationDescription[] =
568 "This flag can be used to turn on verification that the contents of the "
569 "files on disk for extensions from the webstore match what they're "
570 "expected to be. This can be used to turn on this feature if it would not "
571 "otherwise have been turned on, but cannot be used to turn it off (because "
572 "this setting can be tampered with by malware).";
573const char kExtensionContentVerificationBootstrap[] =
574 "Bootstrap (get expected hashes, but do not enforce them)";
575const char kExtensionContentVerificationEnforce[] =
576 "Enforce (try to get hashes, and enforce them if successful)";
577const char kExtensionContentVerificationEnforceStrict[] =
578 "Enforce strict (hard fail if we can't get hashes)";
579
580const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
581const char kExtensionsOnChromeUrlsDescription[] =
582 "Enables running extensions on chrome:// URLs, where extensions explicitly "
583 "request this permission.";
galinapae72e152017-05-12 13:12:28584
Brett Wilsonecb80982017-07-12 20:34:51585const char kFastUnloadName[] = "Fast tab/window close";
586const char kFastUnloadDescription[] =
587 "Enables fast tab/window closing - runs a tab's onunload js handler "
588 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34589
Brett Wilsonecb80982017-07-12 20:34:51590const char kFeaturePolicyName[] = "Feature Policy";
591const char kFeaturePolicyDescription[] =
592 "Enables granting and removing access to features through the "
593 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34594
Brett Wilsonecb80982017-07-12 20:34:51595const char kFetchKeepaliveTimeoutSettingName[] =
596 "Fetch API keepalive timeout setting";
597const char kFetchKeepaliveTimeoutSettingDescription[] =
598 "This is for setting the timeout value for Fetch API with keepalive option "
599 "and SendBeacon";
600
601const char kFontCacheScalingName[] = "FontCache scaling";
602const char kFontCacheScalingDescription[] =
603 "Reuse a cached font in the renderer to serve different sizes of font for "
604 "faster layout.";
605
606const char kForceEffectiveConnectionTypeName[] =
607 "Override effective connection type";
608const char kForceEffectiveConnectionTypeDescription[] =
609 "Overrides the effective connection type of the current connection "
610 "returned by the network quality estimator.";
611const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
612const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
613const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
614const char kEffectiveConnectionType2GDescription[] = "2G";
615const char kEffectiveConnectionType3GDescription[] = "3G";
616const char kEffectiveConnectionType4GDescription[] = "4G";
617
618const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
619const char kFillOnAccountSelectDescription[] =
620 "Filling of passwords when an account is explicitly selected by the user "
621 "rather than autofilling credentials on page load.";
622
Brett Wilsonecb80982017-07-12 20:34:51623const char kForceTextDirectionName[] = "Force text direction";
624const char kForceTextDirectionDescription[] =
625 "Explicitly force the per-character directionality of UI text to "
626 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
627 "direction of the character language.";
628const char kForceDirectionLtr[] = "Left-to-right";
629const char kForceDirectionRtl[] = "Right-to-left";
630
631const char kForceUiDirectionName[] = "Force UI direction";
632const char kForceUiDirectionDescription[] =
633 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
634 "mode, overriding the default direction of the UI language.";
635
636const char kFramebustingName[] =
637 "Framebusting requires same-origin or a user gesture";
638const char kFramebustingDescription[] =
639 "Don't permit an iframe to navigate the top level browsing context unless "
640 "they are same-origin or the iframe is processing a user gesture.";
641
642const char kGamepadExtensionsName[] = "Gamepad Extensions";
643const char kGamepadExtensionsDescription[] =
644 "Enabling this option allows web applications to access experimental "
645 "extensions to the Gamepad APIs.";
646
sohan3f00ffc2017-07-14 22:28:08647const char kGlCompositedOverlayCandidateQuadBordersName[] =
648 "GL composited overlay candidate quad borders";
649const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39650 "Renders a border around GL composited overlay candidate quads to help "
651 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51652
653const char kGpuRasterizationMsaaSampleCountName[] =
654 "GPU rasterization MSAA sample count.";
655const char kGpuRasterizationMsaaSampleCountDescription[] =
656 "Specify the number of MSAA samples for GPU rasterization.";
657const char kGpuRasterizationMsaaSampleCountZero[] = "0";
658const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
659const char kGpuRasterizationMsaaSampleCountFour[] = "4";
660const char kGpuRasterizationMsaaSampleCountEight[] = "8";
661const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
662
663const char kGpuRasterizationName[] = "GPU rasterization";
664const char kGpuRasterizationDescription[] =
665 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28666const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51667
668const char kGoogleProfileInfoName[] = "Google profile name and icon";
669const char kGoogleProfileInfoDescription[] =
670 "Enables using Google information to populate the profile name and icon in "
671 "the avatar menu.";
672
673const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
674const char kHarfbuzzRendertextDescription[] =
675 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
676 "web content.";
677
678const char kHistoryRequiresUserGestureName[] =
679 "New history entries require a user gesture.";
680const char kHistoryRequiresUserGestureDescription[] =
681 "Require a user gesture to add a history entry.";
682const char kHyperlinkAuditingName[] = "Hyperlink auditing";
683const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
684
685const char kHostedAppQuitNotificationName[] =
686 "Quit notification for hosted apps";
687const char kHostedAppQuitNotificationDescription[] =
688 "Display a notification when quitting Chrome if hosted apps are currently "
689 "running.";
690
691const char kHostedAppShimCreationName[] =
692 "Creation of app shims for hosted apps on Mac";
693const char kHostedAppShimCreationDescription[] =
694 "Create app shims on Mac when creating a hosted app.";
695
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48696const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
697const char kHtmlBasedUsernameDetectorDescription[] =
698 "Use HTML-based username detector for the password manager.";
699
Brett Wilsonecb80982017-07-12 20:34:51700const char kIconNtpName[] = "Large icons on the New Tab page";
701const char kIconNtpDescription[] =
702 "Enable the experimental New Tab page using large icons.";
703
704const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
705const char kIgnoreGpuBlacklistDescription[] =
706 "Overrides the built-in software rendering list and enables "
707 "GPU-acceleration on unsupported system configurations.";
708
709const char kImportantSitesInCbdName[] =
710 "Important sites options in clear browsing data dialog";
711const char kImportantSitesInCbdDescription[] =
712 "Include the option to whitelist important sites in the clear browsing "
713 "data dialog.";
714
715const char kInertVisualViewportName[] = "Inert visual viewport.";
716const char kInertVisualViewportDescription[] =
717 "Experiment to have all APIs reflect the layout viewport. This will make "
718 "window.scroll properties relative to the layout viewport.";
719
720const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
721const char kInProductHelpDemoModeChoiceDescription[] =
722 "Selects the In-Product Help demo mode.";
723
724const char kJavascriptHarmonyName[] = "Experimental JavaScript";
725const char kJavascriptHarmonyDescription[] =
726 "Enable web pages to use experimental JavaScript features.";
727
728const char kJavascriptHarmonyShippingName[] =
729 "Latest stable JavaScript features";
730const char kJavascriptHarmonyShippingDescription[] =
731 "Some web pages use legacy or non-standard JavaScript extensions that may "
732 "conflict with the latest JavaScript features. This flag allows disabling "
733 "support of those features for compatibility with such pages.";
734
Yutaka Hiranof7f2f632017-09-06 10:40:08735const char kKeepAliveRendererForKeepaliveRequestsName[] =
736 "Keep a renderer alive for keepalive fetch requests";
737const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
738 "Keep a render process alive when the process has a pending fetch request "
739 "with `keepalive' specified.";
740
Brett Wilsonecb80982017-07-12 20:34:51741const char kLcdTextName[] = "LCD text antialiasing";
742const char kLcdTextDescription[] =
743 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
744 "(subpixel) when doing accelerated compositing.";
745
Matt Giucac399982f2017-10-06 07:51:29746const char kLeftToRightUrlsName[] =
747 "Render bidirectional URLs from left to right";
748const char kLeftToRightUrlsDescription[] =
749 "An experimental Bidi URL rendering algorithm where the URL components are "
750 "always shown in order from left to right, regardless of any RTL "
751 "characters. (The contents of each component are still rendered with the "
752 "normal Bidi algorithm.)";
753
Brett Wilsonecb80982017-07-12 20:34:51754const char kLoadMediaRouterComponentExtensionName[] =
755 "Load Media Router Component Extension";
756const char kLoadMediaRouterComponentExtensionDescription[] =
757 "Loads the Media Router component extension at startup.";
758
759const char kManualPasswordGenerationName[] = "Manual password generation.";
760const char kManualPasswordGenerationDescription[] =
761 "Show a 'Generate Password' option on the context menu for all password "
762 "fields.";
763
Dominic Battref27e8762017-08-23 11:16:25764const char kManualPasswordSavingName[] = "Manual password saving.";
765const char kManualPasswordSavingDescription[] =
766 "Show the password manager icon when typing into a password filed. "
767 "Clicking it allows to save the password without submitting the form.";
768
Brett Wilsonecb80982017-07-12 20:34:51769const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
770const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
771const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
772const char kMarkHttpAsNonSecureAfterEditing[] =
773 "Warn on HTTP after editing forms";
774const char kMarkHttpAsNonSecureWhileIncognito[] =
775 "Warn on HTTP while in Incognito mode";
776const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
777 "Warn on HTTP while in Incognito mode or after editing forms";
778
Lei Zhang2eca9082017-10-17 20:42:50779const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
780const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51781 "If enabled, the Incognito New Tab page uses the new material design with "
782 "a better readable text.";
783
784const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
785const char kMediaRemotingDescription[] =
786 "When Casting a tab to a remote device, enabling this turns on an "
787 "optimization that forwards the content bitstream directly to the remote "
788 "device when a video is fullscreened.";
789
790const char kMemoryAblationName[] = "Memory ablation experiment";
791const char kMemoryAblationDescription[] =
792 "Allocates extra memory in the browser process.";
793
794const char kMemoryCoordinatorName[] = "Memory coordinator";
795const char kMemoryCoordinatorDescription[] =
796 "Enable memory coordinator instead of memory pressure listeners.";
797
798const char kMessageCenterNewStyleNotificationName[] = "New style notification";
799const char kMessageCenterNewStyleNotificationDescription[] =
800 "Enables the experiment style of material-design notification";
801
Brett Wilsonecb80982017-07-12 20:34:51802const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
803const char kMhtmlGeneratorOptionDescription[] =
804 "Provides experimental options for MHTML file generator.";
805const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
806const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
807
808const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
809const char kMojoLoadingDescription[] =
810 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
811
Miguel Casas-Sanchez10769c82017-07-27 23:52:04812const char kMojoVideoEncodeAcceleratorName[] =
813 "Hardware-accelerated video encoder accessed using Mojo IPC";
814const char kMojoVideoEncodeAcceleratorDescription[] =
815 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
816 "available.";
817
Brett Wilsonecb80982017-07-12 20:34:51818const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
819const char kModuleScriptsDescription[] =
820 "Enables ECMAScript 6 modules support in Blink.";
821
Kouhei Ueno08445c22017-09-05 03:58:30822const char kModuleScriptsDynamicImportName[] =
823 "Enable ECMAScript 6 modules dynamic import";
824const char kModuleScriptsDynamicImportDescription[] =
825 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
826 "Blink.";
827
Brett Wilsonecb80982017-07-12 20:34:51828const char kNewAudioRenderingMixingStrategyName[] =
829 "New audio rendering mixing strategy";
830const char kNewAudioRenderingMixingStrategyDescription[] =
831 "Use the new audio rendering mixing strategy.";
832
833const char kNewBookmarkAppsName[] = "The new bookmark app system";
834const char kNewBookmarkAppsDescription[] =
835 "Enables the new system for creating bookmark apps.";
836
837const char kNewOmniboxAnswerTypesName[] =
838 "New omnibox answers in suggest types";
839const char kNewOmniboxAnswerTypesDescription[] =
840 "Enables new types of answers in the omnibox suggest drop-down: currency "
841 "conversions, dictionary definitions, sports scores, translations, and "
842 "when is.";
843
844const char kNewRemotePlaybackPipelineName[] =
845 "Enable the new remote playback pipeline.";
846const char kNewRemotePlaybackPipelineDescription[] =
847 "Enable the new pipeline for playing media element remotely via "
848 "RemotePlayback API or native controls.";
849
850const char kNewUsbBackendName[] = "Enable new USB backend";
851const char kNewUsbBackendDescription[] =
852 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34853
brettw5f9c1642017-05-14 17:12:48854const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34855const char kNostatePrefetchDescription[] =
856 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
857 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
858 R"*(improve load times even more. "Simple Load" does nothing and is )*"
859 R"*(similar to disabling the feature, but collects more metrics for )*"
860 R"*(comparison purposes.)*";
861
Brett Wilsonecb80982017-07-12 20:34:51862const char kNotificationsNativeFlagName[] = "Enable native notifications.";
863const char kNotificationsNativeFlagDescription[] =
864 "Enable support for using the native notification toasts and notification "
865 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34866
Brett Wilsonecb80982017-07-12 20:34:51867const char kNumRasterThreadsName[] = "Number of raster threads";
868const char kNumRasterThreadsDescription[] =
869 "Specify the number of raster threads.";
870const char kNumRasterThreadsOne[] = "1";
871const char kNumRasterThreadsTwo[] = "2";
872const char kNumRasterThreadsThree[] = "3";
873const char kNumRasterThreadsFour[] = "4";
874
875const char kOfferStoreUnmaskedWalletCardsName[] =
876 "Google Payments card saving checkbox";
877const char kOfferStoreUnmaskedWalletCardsDescription[] =
878 "Show the checkbox to offer local saving of a credit card downloaded from "
879 "the server.";
880
881const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
882const char kOfflineAutoReloadDescription[] =
883 "Pages that fail to load while the browser is offline will be "
884 "auto-reloaded when the browser is online again.";
885
886const char kOfflineAutoReloadVisibleOnlyName[] =
887 "Only Auto-Reload Visible Tabs";
888const char kOfflineAutoReloadVisibleOnlyDescription[] =
889 "Pages that fail to load while the browser is offline will only be "
890 "auto-reloaded if their tab is visible.";
891
892const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
893const char kOffMainThreadFetchDescription[] =
894 "If enabled, the resource fetches from worker threads will not be blocked "
895 "by the busy main thread.";
896
897const char kOmniboxDisplayTitleForCurrentUrlName[] =
898 "Include title for the current URL in the omnibox";
899const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
900 "In the event that the omnibox provides suggestions on-focus, the URL of "
901 "the current page is provided as the first suggestion without a title. "
902 "Enabling this flag causes the title to be displayed.";
903
Benoit Lizeab08362c2017-07-19 14:50:54904const char kOmniboxSpareRendererName[] =
905 "Start spare renderer on omnibox focus";
906const char kOmniboxSpareRendererDescription[] =
907 "When the omnibox is focused, start an empty spare renderer. This can "
908 "speed up the load of the navigation from the omnibox.";
909
Tommy C. Li8875a442017-08-23 00:10:59910const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
911 "Omnibox UI Elide Suggestion URL After Host";
912const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
913 "Elides the path, query, and ref of suggested URLs in the Omnibox "
914 "dropdown.";
915
Brett Wilsonecb80982017-07-12 20:34:51916const char kOmniboxUIHideSuggestionUrlSchemeName[] =
917 "Omnibox UI Hide Suggestion URL Scheme";
918const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
919 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
920
921const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
922 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
923const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
924 "Elides trivially informative subdomains from suggested URLs in the "
925 "Omnibox dropdown (e.g. www. and m.).";
926
927const char kOmniboxUIMaxAutocompleteMatchesName[] =
928 "Omnibox UI Max Autocomplete Matches";
929
930const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
931 "Changes the maximum number of autocomplete matches displayed in the "
932 "Omnibox UI.";
933
934const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
935const char kOmniboxUINarrowDropdownDescription[] =
936 "Makes the suggestions dropdown width match the omnibox width.";
937
Justin Donnelly65c9e8b2017-10-01 05:15:01938const char kOmniboxUIShowSuggestionFaviconsName[] =
939 "Omnibox UI Show Suggestion Favicons";
940const char kOmniboxUIShowSuggestionFaviconsDescription[] =
941 "Shows favicons instead of generic vector icons for URL suggestions in the "
942 "Omnibox dropdown.";
943
944const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
945const char kOmniboxUISwapTitleAndUrlDescription[] =
946 "In the omnibox dropdown, shows titles before URLs when both are "
947 "available.";
948
Brett Wilsonecb80982017-07-12 20:34:51949const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
950const char kOmniboxUIVerticalLayoutDescription[] =
951 "Displays Omnibox sugestions in 2 lines - title over origin.";
952
953const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
954const char kOmniboxUIVerticalMarginDescription[] =
955 "Changes the vertical margin in the Omnibox UI.";
956
957const char kOriginTrialsName[] = "Origin Trials";
958const char kOriginTrialsDescription[] =
959 "Enables origin trials for controlling access to feature/API experiments.";
960
Becca Hughes930d8cd2017-10-02 11:09:12961const char kOverflowIconsForMediaControlsName[] =
962 "Icons on Media Controls Overflow Menu";
963const char kOverflowIconsForMediaControlsDescription[] =
964 "Displays icons on the overflow menu of the native media controls";
965
Brett Wilsonecb80982017-07-12 20:34:51966const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
967const char kOverlayScrollbarsDescription[] =
968 "Enable the experimental overlay scrollbars implementation. You must also "
969 "enable threaded compositing to have the scrollbars animate.";
970
chaopenge8aa016b2017-08-24 15:20:19971const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
972 "Flash Overlay Scrollbars After Any Scroll Update";
973const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
974 "Flash Overlay Scrollbars After any scroll update happends in page. You"
975 " must also enable Overlay Scrollbars.";
976
chaopeng343678022017-08-24 18:45:00977const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
978 "Flash Overlay Scrollbars When Mouse Enter";
979const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
980 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
981 " enable Overlay Scrollbars.";
982
Claudio Magni81326f92017-09-01 05:21:18983const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
984const char kUseNewAcceptLanguageHeaderDescription[] =
985 "Adds the base language code after other corresponding language+region "
986 "codes. This ensures that users receive content in their preferred "
987 "language.";
988
Brett Wilsonecb80982017-07-12 20:34:51989const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
990const char kOverscrollHistoryNavigationDescription[] =
991 "Experimental history navigation in response to horizontal overscroll.";
992const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
993
994const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
995const char kOverscrollStartThresholdDescription[] =
996 "Changes overscroll start threshold relative to the default value.";
997const char kOverscrollStartThreshold133Percent[] = "133%";
998const char kOverscrollStartThreshold166Percent[] = "166%";
999const char kOverscrollStartThreshold200Percent[] = "200%";
1000
Xing Liu5400a002017-09-15 21:48:291001const char kParallelDownloadingName[] = "Parallel downloading";
1002const char kParallelDownloadingDescription[] =
1003 "Enable parallel downloading to"
1004 "accelerate download speed.";
1005
Brett Wilsonecb80982017-07-12 20:34:511006const char kPassiveEventListenerDefaultName[] =
1007 "Passive Event Listener Override";
1008const char kPassiveEventListenerDefaultDescription[] =
1009 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1010 "haven't requested otherwise) to be treated as passive. This will break "
1011 "touch/wheel behavior on some websites but is useful for demonstrating the "
1012 "potential performance benefits of adopting passive event listeners.";
1013const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1014const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1015
1016const char kPassiveEventListenersDueToFlingName[] =
1017 "Touch Event Listeners Passive Default During Fling";
1018const char kPassiveEventListenersDueToFlingDescription[] =
1019 "Forces touchstart, and first touchmove per scroll event listeners during "
1020 "fling to be treated as passive.";
1021
1022const char kPassiveDocumentEventListenersName[] =
1023 "Document Level Event Listeners Passive Default";
1024const char kPassiveDocumentEventListenersDescription[] =
1025 "Forces touchstart, and touchmove event listeners on document level "
1026 "targets (which haven't requested otherwise) to be treated as passive.";
1027
1028const char kPasswordForceSavingName[] = "Force-saving of passwords";
1029const char kPasswordForceSavingDescription[] =
1030 "Allow the user to manually enforce password saving instead of relying on "
1031 "password manager's heuristics.";
1032
1033const char kPasswordGenerationName[] = "Password generation";
1034const char kPasswordGenerationDescription[] =
1035 "Allow the user to have Chrome generate passwords when it detects account "
1036 "creation pages.";
1037
1038const char kPasswordImportExportName[] = "Password import and export";
1039const char kPasswordImportExportDescription[] =
1040 "Import and Export functionality in password settings.";
1041
Maxim Kolosovskiyd97b94612017-09-19 20:10:391042const char kPasswordSelectionName[] =
1043 "Password selection and eye icon in prompt";
1044const char kPasswordSelectionDescription[] =
1045 "Show a password selector and an eye icon in prompt";
1046
Brett Wilsonecb80982017-07-12 20:34:511047const char kPermissionActionReportingName[] = "Permission Action Reporting";
1048const char kPermissionActionReportingDescription[] =
1049 "Enables permission action reporting to Safe Browsing servers for opted in "
1050 "users.";
1051
1052const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1053const char kPermissionsBlacklistDescription[] =
1054 "Enables the Permissions Blacklist, which blocks permissions for "
1055 "blacklisted sites for Safe Browsing users.";
1056
1057const char kPinchScaleName[] = "Pinch scale";
1058const char kPinchScaleDescription[] =
1059 "Enables experimental support for scale using pinch.";
1060
Brett Wilsonecb80982017-07-12 20:34:511061const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1062const char kPrintPdfAsImageDescription[] =
1063 "If enabled, an option to print PDF files as images will be available in "
1064 "print preview.";
1065
1066const char kPrintPreviewRegisterPromosName[] =
1067 "Print Preview Registration Promos";
1068const char kPrintPreviewRegisterPromosDescription[] =
1069 "Enable registering unregistered cloud printers from print preview.";
1070
1071const char kProtectSyncCredentialName[] = "Autofill sync credential";
1072const char kProtectSyncCredentialDescription[] =
1073 "How the password manager handles autofill for the sync credential.";
1074
1075const char kProtectSyncCredentialOnReauthName[] =
1076 "Autofill sync credential only for transactional reauth pages";
1077const char kProtectSyncCredentialOnReauthDescription[] =
1078 "How the password manager handles autofill for the sync credential only "
1079 "for transactional reauth pages.";
1080
Mohsen Izadi93faac12017-07-29 04:45:151081const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1082const char kPullToRefreshDescription[] =
1083 "Pull-to-refresh gesture in response to vertical overscroll.";
1084
Brett Wilsonecb80982017-07-12 20:34:511085const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1086const char kPushApiBackgroundModeDescription[] =
1087 "Enable background mode for the Push API. This allows Chrome to continue "
1088 "running after the last window is closed, and to launch at OS startup, if "
1089 "the Push API needs it.";
1090
Piotr Swigon46929d12017-08-11 07:16:331091const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1092const char kPwaMinimalUiDescription[] =
1093 "Enables support for Minimal-UI display mode for installed PWAs";
1094
Brett Wilsonecb80982017-07-12 20:34:511095const char kQuicName[] = "Experimental QUIC protocol";
1096const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1097
1098const char kReducedReferrerGranularityName[] =
1099 "Reduce default 'referer' header granularity.";
1100const char kReducedReferrerGranularityDescription[] =
1101 "If a page hasn't set an explicit referrer policy, setting this flag will "
1102 "reduce the amount of information in the 'referer' header for cross-origin "
1103 "requests.";
1104
1105const char kRequestTabletSiteName[] =
1106 "Request tablet site option in the settings menu";
1107const char kRequestTabletSiteDescription[] =
1108 "Allows the user to request tablet site. Web content is often optimized "
1109 "for tablet devices. When this option is selected the user agent string is "
1110 "changed to indicate a tablet device. Web content optimized for tablets is "
1111 "received there after for the current tab.";
1112
1113const char kResetAppListInstallStateName[] =
1114 "Reset the App Launcher install state on every restart.";
1115const char kResetAppListInstallStateDescription[] =
1116 "Reset the App Launcher install state on every restart. While this flag is "
1117 "set, Chrome will forget the launcher has been installed each time it "
1118 "starts. This is used for testing the App Launcher install flow.";
1119
1120const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1121const char kResourceLoadSchedulerDescription[] =
1122 "Uses the resource load scheduler in blink to schedule and throttle "
1123 "resource load requests.";
1124
Brett Wilsonecb80982017-07-12 20:34:511125const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1126const char kSafeSearchUrlReportingDescription[] =
1127 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1128
1129const char kSaveasMenuLabelExperimentName[] =
1130 "Switch 'Save as' menu labels to 'Download'";
1131const char kSaveasMenuLabelExperimentDescription[] =
1132 "Enables an experiment to switch menu labels that use 'Save as...' to "
1133 "'Download'.";
1134
1135const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1136const char kSavePageAsMhtmlDescription[] =
1137 "Enables saving pages as MHTML: a single text file containing HTML and all "
1138 "sub-resources.";
1139
Nate Chapin9638e7102017-09-20 22:11:011140const char kSavePreviousDocumentResourcesName[] =
1141 "Save Previous Document Resources";
1142const char kSavePreviousDocumentResourcesDescription[] =
1143 "Saves an old document's cached resources until the specified point in the "
1144 "next document's lifecycle.";
1145const char kSavePreviousDocumentResourcesNever[] =
1146 "Don't explicitly save resources";
1147const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1148 "Save resources until onDOMContentLoaded completes";
1149const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1150 "Save resources until onload completes";
1151
Brett Wilsonecb80982017-07-12 20:34:511152const char kScrollPredictionName[] = "Scroll prediction";
1153const char kScrollPredictionDescription[] =
1154 "Predicts the finger's future position during scrolls allowing time to "
1155 "render the frame before the finger is there.";
1156
1157const char kSecondaryUiMd[] =
1158 "Material Design in the rest of the browser's native UI";
1159const char kSecondaryUiMdDescription[] =
1160 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1161 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1162 "browser dialogs.";
1163
1164const char kServiceWorkerNavigationPreloadName[] =
1165 "Service worker navigation preload.";
1166const char kServiceWorkerNavigationPreloadDescription[] =
1167 "Enable web pages to use the experimental service worker navigation "
1168 "preload API.";
1169
gogeraldd5061b592017-09-06 23:39:551170const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1171const char kServiceWorkerPaymentAppsDescription[] =
1172 "Enable Service Worker applications to integrate as payment apps";
1173
Makoto Shimazud9f333c2017-08-08 07:23:171174const char kServiceWorkerScriptStreamingName[] =
1175 "Service worker script streaming.";
1176const char kServiceWorkerScriptStreamingDescription[] =
1177 "Installed scripts for a service worker are sent over a dedicated "
1178 "message pipe and data pipes, and that is never be blocked on the main "
1179 "thread.";
1180
Brett Wilsonecb80982017-07-12 20:34:511181const char kSettingsWindowName[] = "Show settings in a window";
1182const char kSettingsWindowDescription[] =
1183 "Settings will be shown in a dedicated window instead of as a browser tab.";
1184
1185const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1186const char kShowAutofillSignaturesDescription[] =
1187 "Annotates web forms with Autofill signatures as HTML attributes.";
1188
1189const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1190const char kShowAutofillTypePredictionsDescription[] =
1191 "Annotates web forms with Autofill field type predictions as placeholder "
1192 "text.";
1193
1194const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1195const char kShowOverdrawFeedbackDescription[] =
1196 "Visualize overdraw by color-coding elements based on if they have other "
1197 "elements drawn underneath.";
1198
1199const char kShowSavedCopyName[] = "Show Saved Copy Button";
1200const char kShowSavedCopyDescription[] =
1201 "When a page fails to load, if a stale copy of the page exists in the "
1202 "browser cache, a button will be presented to allow the user to load that "
1203 "stale copy. The primary enabling choice puts the button in the most "
1204 "salient position on the error page; the secondary enabling choice puts it "
1205 "secondary to the reload button.";
1206const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1207const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1208const char kDisableShowSavedCopy[] = "Disable";
1209
1210const char kShowTouchHudName[] = "Show HUD for touch points";
1211const char kShowTouchHudDescription[] =
1212 "Enables a heads-up display at the top-left corner of the screen that "
1213 "lists information about the touch-points on the screen.";
1214
1215const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1216const char kSilentDebuggerExtensionApiDescription[] =
1217 "Do not show the infobar when an extension attaches to a page via "
1218 "chrome.debugger API. This is required to debug extension background "
1219 "pages.";
1220
1221const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1222const char kSimpleCacheBackendDescription[] =
1223 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1224 "disk space allocation.";
1225
1226const char kSimplifiedFullscreenUiName[] =
1227 "Simplified full screen / mouse lock UI.";
1228const char kSimplifiedFullscreenUiDescription[] =
1229 "A simplified new user experience when entering page-triggered full screen "
1230 "or mouse pointer lock states.";
1231
1232const char kSingleClickAutofillName[] = "Single-click autofill";
1233const char kSingleClickAutofillDescription[] =
1234 "Make autofill suggestions on initial mouse click on a form element.";
1235
1236const char kSiteDetails[] = "Site Details";
1237const char kSiteDetailsDescription[] =
1238 "Adds UI in MD Settings to view all content settings for a specific "
1239 "origin.";
1240
1241const char kSitePerProcessName[] = "Strict site isolation";
1242const char kSitePerProcessDescription[] =
1243 "Highly experimental security mode that ensures each renderer process "
1244 "contains pages from at most one site. In this mode, out-of-process "
1245 "iframes will be used whenever an iframe is cross-site.";
1246
1247const char kSiteSettings[] = "Site settings with All sites and Site details";
1248const char kSiteSettingsDescription[] =
1249 "Adds new ways of viewing Site settings.";
1250
1251const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1252const char kSlimmingPaintInvalidationDescription[] =
1253 "Whether to enable a new paint invalidation system.";
1254
1255const char kSmoothScrollingName[] = "Smooth Scrolling";
1256const char kSmoothScrollingDescription[] =
1257 "Animate smoothly when scrolling page content.";
1258
1259const char kSoftwareRasterizerName[] = "3D software rasterizer";
1260const char kSoftwareRasterizerDescription[] =
1261 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1262
Tommy Steimel77704be2017-08-28 22:14:401263const char kSoundContentSettingName[] = "Sound content setting";
1264const char kSoundContentSettingDescription[] =
1265 "Enable site-wide muting in content settings and tab strip context menu.";
1266
Alexandr Ilinf0500ed32017-09-27 21:12:361267const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1268const char kSpeculativePreconnectDescription[] =
1269 "Enable the new implementation of preconnect and DNS preresolve. "
1270 "\"Learning\" means that only database construction is enabled, "
1271 "\"Preconnect\" enables both learning and preconnect and disables the "
1272 "existing implementation. \"No preconnect\" disables both implementations.";
1273
Brett Wilsonecb80982017-07-12 20:34:511274const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341275const char kSpeculativePrefetchDescription[] =
1276 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1277 R"*(load times, based on a local database (see chrome://predictors). )*"
1278 R"*("Learning" means that only the database construction is enabled, )*"
1279 R"*("Prefetching" that learning and prefetching are enabled.)*";
1280
Justin Donnelly4e448cb2017-07-07 21:32:131281const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1282 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131283const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1284 "If enabled, when the user enters text in the omnibox that looks like a "
1285 "a query, any service worker associated with the search engine the query "
1286 "will be sent to is started early.";
1287
Brett Wilsonecb80982017-07-12 20:34:511288const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1289const char kSpellingFeedbackFieldTrialDescription[] =
1290 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401291
Brett Wilsonecb80982017-07-12 20:34:511292const char kSuggestionsWithSubStringMatchName[] =
1293 "Substring matching for Autofill suggestions";
1294const char kSuggestionsWithSubStringMatchDescription[] =
1295 "Match Autofill suggestions based on substrings (token prefixes) rather "
1296 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341297
Brett Wilsonecb80982017-07-12 20:34:511298const char kSyncAppListName[] = "App Launcher sync";
1299const char kSyncAppListDescription[] =
1300 "Enable App Launcher sync. This also enables Folders where available (non "
1301 "OSX).";
vabr0215a8e2017-03-28 12:47:341302
Brett Wilsonecb80982017-07-12 20:34:511303const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1304const char kSyncSandboxDescription[] =
1305 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341306
Brett Wilsonecb80982017-07-12 20:34:511307const char kTabAudioMutingName[] = "Tab audio muting UI control";
1308const char kTabAudioMutingDescription[] =
1309 "When enabled, the audio indicators in the tab strip double as tab audio "
1310 "mute controls. This also adds commands in the tab context menu for "
1311 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341312
Christian Dullweberd0d96f02017-09-13 09:22:511313const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1314const char kTabsInCbdDescription[] =
1315 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1316
Brett Wilsonecb80982017-07-12 20:34:511317const char kTcpFastOpenName[] = "TCP Fast Open";
1318const char kTcpFastOpenDescription[] =
1319 "Enable the option to send extra authentication information in the initial "
1320 "SYN packet for a previously connected client, allowing faster data send "
1321 "start.";
vabr0215a8e2017-03-28 12:47:341322
Brett Wilsonecb80982017-07-12 20:34:511323const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1324const char kTopChromeMdDescription[] =
1325 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1326const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531327const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511328const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341329
Brett Wilsonecb80982017-07-12 20:34:511330const char kThreadedScrollingName[] = "Threaded scrolling";
1331const char kThreadedScrollingDescription[] =
1332 "Threaded handling of scroll-related input events. Disabling this will "
1333 "force all such scroll events to be handled on the main thread. Note that "
1334 "this can dramatically hurt scrolling performance of most websites and is "
1335 "intended for testing purposes only.";
1336
Steven Valdez4584b2482017-07-14 01:11:571337const char kTLS13VariantName[] = "TLS 1.3";
1338const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1339const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111340const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez4584b2482017-07-14 01:11:571341const char kTLS13VariantDraft[] = "Enabled (Draft)";
1342const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdezf00f8782017-09-13 18:05:281343const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
1344const char kTLS13VariantExperiment3[] = "Enabled (Experiment 3)";
Steven Valdez4584b2482017-07-14 01:11:571345
Brett Wilsonecb80982017-07-12 20:34:511346const char kTopDocumentIsolationName[] = "Top document isolation";
1347const char kTopDocumentIsolationDescription[] =
1348 "Highly experimental performance mode where cross-site iframes are kept in "
1349 "a separate process from the top document. In this mode, iframes from "
1350 "different third-party sites will be allowed to share a process.";
1351
1352const char kTouchAdjustmentName[] = "Touch adjustment";
1353const char kTouchAdjustmentDescription[] =
1354 "Refine the position of a touch gesture in order to compensate for touches "
1355 "having poor resolution compared to a mouse.";
1356
1357const char kTouchDragDropName[] = "Touch initiated drag and drop";
1358const char kTouchDragDropDescription[] =
1359 "Touch drag and drop can be initiated through long press on a draggable "
1360 "element.";
1361
1362const char kTouchEventsName[] = "Touch Events API";
1363const char kTouchEventsDescription[] =
1364 "Force Touch Events API feature detection to always be enabled or "
1365 "disabled, or to be enabled when a touchscreen is detected on startup "
1366 "(Automatic, the default).";
1367
1368const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1369const char kTouchSelectionStrategyDescription[] =
1370 "Controls how text selection granularity changes when touch text selection "
1371 "handles are dragged. Non-default behavior is experimental.";
1372const char kTouchSelectionStrategyCharacter[] = "Character";
1373const char kTouchSelectionStrategyDirection[] = "Direction";
1374
1375const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1376const char kTraceUploadUrlDescription[] =
1377 "This is to be used in conjunction with the enable-navigation-tracing "
1378 "flag. Please select the label that best describes the recorded traces. "
1379 "This will choose the destination the traces are uploaded to. If you are "
1380 "not sure, select other. If left empty, no traces will be uploaded.";
1381const char kTraceUploadUrlChoiceOther[] = "Other";
1382const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1383const char kTraceUploadUrlChoiceQa[] = "QA";
1384const char kTraceUploadUrlChoiceTesting[] = "Testing";
1385
1386const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1387const char kTranslate2016q2UiDescription[] =
1388 "Improved triggering logic and look for Translate Bubble UI";
1389
1390const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1391const char kTranslateLanguageByUlpDescription[] =
1392 "Improved translate target language and triggering logic by considering "
1393 "information from User Language Profile (ULP).";
1394
Philippe Hamel7fdaa452017-09-29 17:22:491395const char kTranslateRankerEnforcementName[] =
1396 "Enforce TranslateRanker decisions";
1397const char kTranslateRankerEnforcementDescription[] =
1398 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1399 "or not Translate UI should be triggered in a given context.";
1400
Brett Wilsonecb80982017-07-12 20:34:511401const char kTrySupportedChannelLayoutsName[] =
1402 "Causes audio output streams to check if channel layouts other than the "
1403 "default hardware layout are available.";
1404const char kTrySupportedChannelLayoutsDescription[] =
1405 "Causes audio output streams to check if channel layouts other than the "
1406 "default hardware layout are available. Turning this on will allow the OS "
1407 "to do stereo to surround expansion if supported. May expose third party "
1408 "driver bugs, use with caution.";
1409
1410const char kUiPartialSwapName[] = "Partial swap";
1411const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1412
Chris Pickel3a227ae62017-08-24 10:47:261413const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1414const char kUseDdljsonApiDescription[] =
1415 "Enables the new ddljson API to fetch Doodles for the NTP.";
1416
Brett Wilsonecb80982017-07-12 20:34:511417const char kUserConsentForExtensionScriptsName[] =
1418 "User consent for extension scripts";
1419const char kUserConsentForExtensionScriptsDescription[] =
1420 "Require user consent for an extension running a script on the page, if "
1421 "the extension requested permission to run on all urls.";
1422
1423const char kUseSuggestionsEvenIfFewFeatureName[] =
1424 "Disable minimum for server-side tile suggestions on NTP.";
1425const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1426 "Request server-side suggestions even if there are only very few of them "
1427 "and use them for tiles on the New Tab Page.";
1428
1429const char kV8CacheOptionsName[] = "V8 caching mode.";
1430const char kV8CacheOptionsDescription[] =
1431 "Caching mode for the V8 JavaScript engine.";
1432const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1433const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1434
1435const char kV8CacheStrategiesForCacheStorageName[] =
1436 "V8 caching strategy for CacheStorage.";
1437const char kV8CacheStrategiesForCacheStorageDescription[] =
1438 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1439const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1440const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1441
Hitoshi Yoshida3e5db562017-09-11 02:31:081442const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1443const char kV8ContextSnapshotDescription[] =
1444 "Sets to use a snapshot to create V8 contexts in frame creation.";
1445
Brett Wilsonecb80982017-07-12 20:34:511446const char kVibrateRequiresUserGestureName[] =
1447 "Requiring user gesture for the Vibration API";
1448const char kVibrateRequiresUserGestureDescription[] =
1449 "Block the Vibration API if no user gesture has been received on the frame "
1450 "or any embedded frame.";
1451
1452const char kVideoFullscreenOrientationLockName[] =
1453 "Lock screen orientation when playing a video fullscreen.";
1454const char kVideoFullscreenOrientationLockDescription[] =
1455 "Lock the screen orientation of the device to match video orientation when "
1456 "a video goes fullscreen. Only on phones.";
1457
1458const char kVideoRotateToFullscreenName[] =
1459 "Rotate-to-fullscreen gesture for videos.";
1460const char kVideoRotateToFullscreenDescription[] =
1461 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1462 "the video. Only on phones.";
1463
1464const char kWalletServiceUseSandboxName[] =
1465 "Use Google Payments sandbox servers";
1466const char kWalletServiceUseSandboxDescription[] =
1467 "For developers: use the sandbox service for Google Payments API calls.";
1468
Brett Wilsonecb80982017-07-12 20:34:511469const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1470const char kWebglDraftExtensionsDescription[] =
1471 "Enabling this option allows web applications to access the WebGL "
1472 "Extensions that are still in draft status.";
1473
1474const char kWebMidiName[] = "Web MIDI API";
1475const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1476
1477const char kWebPaymentsName[] = "Web Payments";
1478const char kWebPaymentsDescription[] =
1479 "Enable Web Payments API integration, a JavaScript API for merchants.";
1480
Mathieu Perreault51339b82017-07-20 17:06:051481const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1482const char kWebPaymentsModifiersDescription[] =
1483 "If the website provides modifiers in the payment request, show the custom "
1484 "total for each payment instrument, update the shopping cart when "
1485 "instruments are switched, and send modified payment method specific data "
1486 "to the payment app.";
1487
Brett Wilsonecb80982017-07-12 20:34:511488const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1489const char kWebrtcEchoCanceller3Description[] =
1490 "Experimental WebRTC echo canceller (AEC3).";
1491
1492const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1493const char kWebrtcHwDecodingDescription[] =
1494 "Support in WebRTC for decoding video streams using platform hardware.";
1495
1496const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1497const char kWebrtcHwEncodingDescription[] =
1498 "Support in WebRTC for encoding video streams using platform hardware.";
1499
1500const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1501const char kWebrtcHwH264EncodingDescription[] =
1502 "Support in WebRTC for encoding h264 video streams using platform "
1503 "hardware.";
1504
1505const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1506const char kWebrtcHwVP8EncodingDescription[] =
1507 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1508
1509const char kWebrtcSrtpAesGcmName[] =
1510 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1511const char kWebrtcSrtpAesGcmDescription[] =
1512 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1513
Joachim Bauch4a41d7512017-08-23 14:24:231514const char kWebrtcSrtpEncryptedHeadersName[] =
1515 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1516const char kWebrtcSrtpEncryptedHeadersDescription[] =
1517 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1518 "for SRTP.";
1519
Brett Wilsonecb80982017-07-12 20:34:511520const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1521const char kWebrtcStunOriginDescription[] =
1522 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1523 "header.";
1524
1525const char kWebvrName[] = "WebVR";
1526const char kWebvrDescription[] =
1527 "Enabling this option allows web applications to access experimental "
Michael Thiessenab056202017-10-05 16:50:121528 "Virtual Reality APIs. Warning: Enabling this will also allow WebVR "
1529 "content on insecure origins to access these powerful APIs, and may pose a "
1530 "security risk.";
Brett Wilsonecb80982017-07-12 20:34:511531
1532const char kWifiCredentialSyncName[] = "WiFi credential sync";
1533const char kWifiCredentialSyncDescription[] =
1534 "Enables synchronizing WiFi network settings across devices. When enabled, "
1535 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1536 "credentials are synchronized subject to user preferences. (See also, "
1537 "chrome://settings/syncSetup.)";
1538
1539const char kZeroCopyName[] = "Zero-copy rasterizer";
1540const char kZeroCopyDescription[] =
1541 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341542
Brett Wilsonff596952017-07-14 01:06:551543// Android ---------------------------------------------------------------------
1544
1545#if defined(OS_ANDROID)
1546
1547const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1548const char kAiaFetchingDescription[] =
1549 "Enable intermediate certificate fetching when a server does not provide "
1550 "sufficient certificates to build a chain to a trusted root.";
1551
1552const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1553const char kAccessibilityTabSwitcherDescription[] =
1554 "Enable the accessibility tab switcher for Android.";
1555
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251556const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1557const char kAllowReaderForAccessibilityDescription[] =
1558 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1559
Brett Wilsonff596952017-07-14 01:06:551560const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1561const char kAndroidAutofillAccessibilityDescription[] =
1562 "Enable accessibility for autofill popup.";
1563
1564const char kAndroidPaymentAppsName[] = "Android payment apps";
1565const char kAndroidPaymentAppsDescription[] =
1566 "Enable third party Android apps to integrate as payment apps";
1567
Iulia Harasim0b5a4312017-07-21 16:20:501568const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1569const char kAndroidSigninPromosDescription[] =
1570 "New signin promos for Android which will be displayed in content "
1571 "suggestions, Settings, Bookmarks and Recent Tabs.";
1572
Tatiana Gornak38ab3562017-07-28 11:04:181573const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1574const char kAndroidViewPasswordsDescription[] =
1575 "Enables copying and viewing passwords in settings.";
1576
Miriam Gershenson23cfe346e2017-09-28 14:49:291577const char kAsyncDnsName[] = "Async DNS resolver";
1578const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1579
Brett Wilsonff596952017-07-14 01:06:551580const char kAutofillAccessoryViewName[] =
1581 "Autofill suggestions as keyboard accessory view";
1582const char kAutofillAccessoryViewDescription[] =
1583 "Shows Autofill suggestions on top of the keyboard rather than in a "
1584 "dropdown.";
1585
1586const char kBackgroundLoaderForDownloadsName[] =
1587 "Enables background downloading of pages.";
1588const char kBackgroundLoaderForDownloadsDescription[] =
1589 "Enables downloading pages in the background in case page is not yet "
1590 "loaded in current tab.";
1591
Theresa Wellington37014d92017-08-23 02:09:201592const char kChromeHomeDoodleName[] = "Chrome Home Doodle.";
1593const char kChromeHomeDoodleDescription[] =
1594 "Enables showing the Doodle on the NTP for Chrome Home.";
1595
Theresa Wellington82d6f6ef2017-10-12 02:39:131596const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1597const char kChromeHomeOptOutSnackbarDescription[] =
1598 "Show a snackbar prompting users to take a survey the first time they"
1599 " opt-out of Chrome Home";
1600
Theresa Wellingtondd71c5c2017-10-02 15:50:381601const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1602 "Chrome Home Personalized Omnibox Suggestions";
1603const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1604 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1605
Matthew Jones4214d2a12017-09-28 18:35:111606const char kChromeHomePromoName[] = "Chrome Home Promo";
1607const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331608 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111609
Brett Wilsonff596952017-07-14 01:06:551610const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1611const char kChromeHomeSwipeLogicDescription[] =
1612 "Various swipe logic options for Chrome Home for sheet expansion.";
1613const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Brett Wilsonff596952017-07-14 01:06:551614
1615const char kChromeHomeName[] = "Chrome Home";
1616const char kChromeHomeDescription[] =
1617 "Enables Chrome Home on Android. You must restart the browser"
1618 " twice for changes to take effect.";
1619
Megan Jablonskic61eb1b82017-10-02 18:03:061620const char kChromeMemexName[] = "Chrome Memex";
1621const char kChromeMemexDescription[] =
1622 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1623 "Googlers.";
1624
Brett Wilsonff596952017-07-14 01:06:551625const char kContentSuggestionsCategoryOrderName[] =
1626 "Default content suggestions category order (e.g. on NTP)";
1627const char kContentSuggestionsCategoryOrderDescription[] =
1628 "Set default order of content suggestion categories (e.g. on the NTP).";
1629
1630const char kContentSuggestionsCategoryRankerName[] =
1631 "Content suggestions category ranker (e.g. on NTP)";
1632const char kContentSuggestionsCategoryRankerDescription[] =
1633 "Set category ranker to order categories of content suggestions (e.g. on "
1634 "the NTP).";
1635
Vitalii Iarkof52ff802017-09-14 12:34:241636const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1637const char kContentSuggestionsDebugLogDescription[] =
1638 "Enable content suggestions debug log accessible through "
1639 "snippets-internals.";
1640
Brett Wilsonff596952017-07-14 01:06:551641const char kContextualSearchContextualCardsBarIntegration[] =
1642 "Contextual Search - Contextual Cards Integration";
1643const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1644 "Whether or not integration of Contextual Cards data in the Contextual "
1645 "Search Bar is enabled.";
1646
1647const char kContextualSearchSingleActionsName[] =
1648 "Contextual Search - Single Actions";
1649const char kContextualSearchSingleActionsDescription[] =
1650 "Whether or not single actions using Contextual Cards data in the "
1651 "Contextual Search Bar is enabled.";
1652
1653const char kContextualSearchUrlActionsName[] =
1654 "Contextual Search - URL Actions";
1655const char kContextualSearchUrlActionsDescription[] =
1656 "Whether or not URL actions using Contextual Cards data in the Contextual "
1657 "Search Bar is enabled.";
1658
1659const char kContextualSearchName[] = "Contextual Search";
1660const char kContextualSearchDescription[] =
1661 "Whether or not Contextual Search is enabled.";
1662
Dmitry Skiba9c3efa72017-07-20 22:01:141663const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1664const char kDontPrefetchLibrariesDescription[] =
1665 "Don't prefetch libraries after loading.";
1666
Joy Ming5fd29ca62017-10-02 22:51:221667const char kDownloadsForegroundName[] = "Enable downloads foreground";
1668const char kDownloadsForegroundDescription[] =
1669 "Enable downloads as a foreground service for all versions of Android.";
1670
Brett Wilsonff596952017-07-14 01:06:551671const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1672const char kEnableAndroidPayIntegrationV1Description[] =
1673 "Enable integration with Android Pay using the first version of the API";
1674
1675const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1676const char kEnableAndroidPayIntegrationV2Description[] =
1677 "Enable integration with Android Pay using the second version of the API";
1678
Vitalii Iarkof4ed32d2017-09-26 13:15:531679const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551680const char kEnableAndroidSpellcheckerDescription[] =
1681 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551682
1683const char kEnableContentSuggestionsLargeThumbnailName[] =
1684 "Large thumbnails layout for content suggestions cards.";
1685const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1686 "If enabled, the content suggestions cards will use large thumbnails and "
1687 "some related adjustments.";
1688
Vitalii Iarkof4ed32d2017-09-26 13:15:531689const char kEnableContentSuggestionsNewFaviconServerName[] =
1690 "Get favicons for content suggestions from a new server.";
1691const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1692 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1693 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551694
1695const char kEnableContentSuggestionsSettingsName[] =
1696 "Show content suggestions settings.";
1697const char kEnableContentSuggestionsSettingsDescription[] =
1698 "If enabled, the content suggestions settings will be available from the "
1699 "main settings menu.";
1700
Vitalii Iarkof4ed32d2017-09-26 13:15:531701const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1702 "Use content suggestions thumbnail dominant color.";
1703const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1704 "Use content suggestions thumbnail dominant color as a placeholder before "
1705 "the real thumbnail is fetched (requires Chrome Home).";
1706
Brett Wilsonff596952017-07-14 01:06:551707const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1708const char kEnableCopylessPasteDescription[] =
1709 "Provide suggestions for text input, based on your recent context. For "
1710 "example, if you looked at a restaurant website and switched to the Maps "
1711 "app, the keyboard would offer the name of that restaurant as a suggestion "
1712 "to enter into the search bar. The data is indexed locally, and never sent "
1713 "to the server. It's disabled in incognito mode.";
1714
1715const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1716const char kEnableCustomContextMenuDescription[] =
1717 "Enables a new context menu when a link, image, or video is pressed within "
1718 "Chrome.";
1719
1720const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1721const char kEnableCustomFeedbackUiDescription[] =
1722 "Enables a custom feedback UI when submitting feedback through Google "
1723 "Feedback. Works with Google Play Services v10.2+";
1724
1725const char kEnableDataReductionProxyMainMenuName[] =
1726 "Enable Data Saver main menu footer";
1727const char kEnableDataReductionProxyMainMenuDescription[] =
1728 "Enables the Data Saver footer in the main menu";
1729
1730const char kEnableDataReductionProxySiteBreakdownName[] =
1731 "Data Saver Site Breakdown";
1732const char kEnableDataReductionProxySiteBreakdownDescription[] =
1733 "Enable the site breakdown on the Data Saver settings page.";
1734
1735const char kEnableOmniboxClipboardProviderName[] =
1736 "Omnibox clipboard URL suggestions";
1737const char kEnableOmniboxClipboardProviderDescription[] =
1738 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1739 "focus in the omnibox.";
1740
1741const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1742 "Use expanded autofill credit card popup layout.";
1743const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1744 "If enabled, displays autofill credit card popup using expanded layout.";
1745
1746const char kEnableFaviconsFromWebManifestName[] =
1747 "Load favicons from Web Manifests";
1748const char kEnableFaviconsFromWebManifestDescription[] =
1749 "Fetch Web Manifests on page load to read favicons from them.";
1750
1751const char kEnableNtpAssetDownloadSuggestionsName[] =
1752 "Show asset downloads on the New Tab page";
1753const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1754 "If enabled, the list of content suggestions on the New Tab page will "
1755 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1756 "later use.";
1757
1758const char kEnableNtpBookmarkSuggestionsName[] =
1759 "Show recently visited bookmarks on the New Tab page";
1760const char kEnableNtpBookmarkSuggestionsDescription[] =
1761 "If enabled, the list of content suggestions on the New Tab page will "
1762 "contain recently visited bookmarks.";
1763
1764const char kEnableNtpForeignSessionsSuggestionsName[] =
1765 "Show recent foreign tabs on the New Tab page";
1766const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1767 "If enabled, the list of content suggestions on the New Tab page will "
1768 "contain recent foreign tabs.";
1769
1770const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1771 "Download favicons for NTP tiles from Google.";
1772const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1773 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1774 "This only applies to tiles that originate from synced history.";
1775
Jan Krcal7fadbd32017-08-04 10:49:211776const char kNtpTilesLowerResolutionFaviconsName[] =
1777 "Show also lower resolution favicons in NTP tiles.";
1778const char kNtpTilesLowerResolutionFaviconsDescription[] =
1779 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1780 "decreases. Tiles where the largest available favicon is below this limit "
1781 "get displayed as colored tiles.";
1782
Brett Wilsonff596952017-07-14 01:06:551783const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1784 "Show offline page downloads on the New Tab page";
1785const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1786 "If enabled, the list of content suggestions on the New Tab page will "
1787 "contain pages that the user downloaded for later use.";
1788
1789const char kEnableNtpRemoteSuggestionsName[] =
1790 "Show server-side suggestions on the New Tab page";
1791const char kEnableNtpRemoteSuggestionsDescription[] =
1792 "If enabled, the list of content suggestions on the New Tab page will "
1793 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1794 "allows to override the source used to retrieve these server-side "
1795 "suggestions.";
1796
1797const char kEnableNtpSnippetsVisibilityName[] =
1798 "Make New Tab Page Snippets more visible.";
1799const char kEnableNtpSnippetsVisibilityDescription[] =
1800 "If enabled, the NTP snippets will become more discoverable with a larger "
1801 "portion of the first card above the fold.";
1802
1803const char kEnableNtpSuggestionsNotificationsName[] =
1804 "Notify about new content suggestions available at the New Tab page";
1805const char kEnableNtpSuggestionsNotificationsDescription[] =
1806 "If enabled, notifications will inform about new content suggestions on "
1807 "the New Tab page.";
1808
1809const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1810const char kEnablePhysicalWebDescription[] =
1811 "Enable scanning for URLs from Physical Web objects.";
1812
1813const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1814const char kEnableOfflinePreviewsDescription[] =
1815 "Enable showing offline page previews on slow networks.";
1816
1817const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1818const char kEnableOskOverscrollDescription[] =
1819 "Enable OSK overscroll support. With this flag on, the OSK will only "
1820 "resize the visual viewport.";
1821
1822const char kEnableSpecialLocaleName[] =
1823 "Enable custom logic for special locales.";
1824const char kEnableSpecialLocaleDescription[] =
1825 "Enable custom logic for special locales. In this mode, Chrome might "
1826 "behave differently in some locales.";
1827
Brett Wilsonff596952017-07-14 01:06:551828const char kEnableWebNfcName[] = "WebNFC";
1829const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1830
gogeraldf3cbb422017-07-26 14:37:121831const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1832 "Enable Web Payments method section order V2.";
1833const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1834 "Enable this option to display payment method section above address "
1835 "section instead of below it.";
1836
Brett Wilsonff596952017-07-14 01:06:551837const char kEnableWebPaymentsSingleAppUiSkipName[] =
1838 "Enable Web Payments single app UI skip";
1839const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1840 "Enable Web Payments to skip showing its UI if the developer specifies a "
1841 "single app.";
1842
1843const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1844const char kHerbPrototypeChoicesDescription[] =
1845 "Switching this option changes which tab management prototype is being "
1846 "tested.";
1847const char kHerbPrototypeFlavorElderberry[] =
1848 "ELDERBERRY: All View Intents in CCT v2";
1849
1850const char kKeepPrefetchedContentSuggestionsName[] =
1851 "Keep prefetched content suggestions";
1852const char kKeepPrefetchedContentSuggestionsDescription[] =
1853 "If enabled, some of prefetched content suggestions are not replaced by "
1854 "the new fetched suggestions.";
1855
1856const char kLsdPermissionPromptName[] =
1857 "Location Settings Dialog Permission Prompt";
1858const char kLsdPermissionPromptDescription[] =
1859 "Whether to use the Google Play Services Location Settings Dialog "
1860 "permission dialog.";
1861
Brett Wilsonff596952017-07-14 01:06:551862const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1863const char kMediaScreenCaptureDescription[] =
1864 "Enable this option for experimental ScreenCapture feature on Android.";
1865
1866const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1867const char kModalPermissionPromptsDescription[] =
1868 "Whether to use permission dialogs in place of permission infobars.";
1869
Brett Wilsonff596952017-07-14 01:06:551870const char kNewPhotoPickerName[] = "Enable new Photopicker";
1871const char kNewPhotoPickerDescription[] =
1872 "Activates the new picker for selecting photos.";
1873
1874const char kNoCreditCardAbort[] = "No Credit Card Abort";
1875const char kNoCreditCardAbortDescription[] =
1876 "Whether or not the No Credit Card Abort is enabled.";
1877
1878const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1879const char kNtpCondensedLayoutDescription[] =
1880 "Show a condensed layout on the New Tab Page.";
1881
1882const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1883const char kNtpCondensedTileLayoutDescription[] =
1884 "Show a condensed tile layout on the New Tab Page.";
1885
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041886const char kSiteExplorationUiName[] = "Site Exploration UI";
1887const char kSiteExplorationUiDescription[] =
1888 "Show site suggestions in the Exploration UI";
1889
Brett Wilsonff596952017-07-14 01:06:551890const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1891const char kNtpGoogleGInOmniboxDescription[] =
1892 "Show a Google G in the omnibox on the New Tab Page.";
1893
1894const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1895const char kNtpOfflinePagesDescription[] =
1896 "Enables badging of offline pages on the New Tab page. Only relevant if "
1897 "offline pages are enabled.";
1898
1899const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1900const char kNtpPopularSitesDescription[] =
1901 "Pre-populate the New Tab page with popular sites.";
1902
Brett Wilsonff596952017-07-14 01:06:551903const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1904const char kOfflineBookmarksDescription[] =
1905 "Enable saving bookmarked pages for offline viewing.";
1906
1907const char kOfflinePagesAsyncDownloadName[] =
1908 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1909const char kOfflinePagesAsyncDownloadDescription[] =
1910 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1911 R"*(that the user can click on it to download the page later.)*";
1912
1913const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1914const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1915
1916const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1917const char kOfflinePagesCtV2Description[] =
1918 "V2 features include attributing pages to the app that initiated the "
1919 "custom tabs, and being able to query for pages by page attribution.";
1920
1921const char kOfflinePagesLoadSignalCollectingName[] =
1922 "Enables collecting load timing data for offline page snapshots.";
1923const char kOfflinePagesLoadSignalCollectingDescription[] =
1924 "Enables loading completeness data collection while writing an offline "
1925 "page. This data is collected in the snapshotted offline page to allow "
1926 "data analysis to improve deciding when to make the offline snapshot.";
1927
1928const char kOfflinePagesPrefetchingName[] =
1929 "Enables suggested offline pages to be prefetched.";
1930const char kOfflinePagesPrefetchingDescription[] =
1931 "Enables suggested offline pages to be prefetched, so useful content is "
1932 "available while offline.";
1933
Cathy Li3d5379e2017-09-07 00:11:091934const char kOfflinePagesPrefetchingUIName[] =
1935 "Enables prefetched offline pages to be shown in UI.";
1936const char kOfflinePagesPrefetchingUIDescription[] =
1937 "Enables prefetched offline pages to raise notifications and be shown in "
1938 "download home UI.";
1939
Pete Williamson7845dff2017-09-20 11:06:191940const char kOfflinePagesResourceBasedSnapshotName[] =
1941 "Enables offline page snapshots to be based on percentage of page loaded.";
1942const char kOfflinePagesResourceBasedSnapshotDescription[] =
1943 "Enables offline page snapshots to use a resource percentage based "
1944 "approach for determining when the page is loaded as opposed to a time "
1945 "based approach";
1946
Collin Baker17f92a52017-07-19 21:41:251947const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1948const char kOfflinePagesRenovationsDescription[] =
1949 "Enables offline page renovations which correct issues with dynamic "
1950 "content that occur when offlining pages that use JavaScript.";
1951
Brett Wilsonff596952017-07-14 01:06:551952const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1953const char kOfflinePagesSharingDescription[] =
1954 "Enables the saved offline pages to be shared via other applications.";
1955
1956const char kOfflinePagesSvelteConcurrentLoadingName[] =
1957 "Enables concurrent background loading on svelte.";
1958const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1959 "Enables concurrent background loading (or downloading) of pages on "
1960 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1961 "happen when the svelte device is idle.";
1962
1963const char kOffliningRecentPagesName[] =
1964 "Enable offlining of recently visited pages";
1965const char kOffliningRecentPagesDescription[] =
1966 "Enable storing recently visited pages locally for offline use. Requires "
1967 "Offline Pages to be enabled.";
1968
Lei Zhang2eca9082017-10-17 20:42:501969const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1970const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:551971 "Enable Pay with Google integration into Web Payments with API version "
1972 "'1'.";
1973
Matthew Jones7c37430cd2017-09-11 15:59:281974const char kProgressBarThrottleName[] = "Android progress update throttling.";
1975const char kProgressBarThrottleDescription[] =
1976 "Limit the maximum progress update to make progress appear smoother.";
1977
Brett Wilsonff596952017-07-14 01:06:551978const char kProgressBarCompletionName[] =
1979 "Android phone page load progress bar completion time.";
1980const char kProgressBarCompletionDescription[] =
1981 "Configures Android phone page loading progress bar completion time.";
1982const char kProgressBarCompletionLoadEvent[] =
1983 R"*(Top loading frame's onload event ("everything" is done in the )*"
1984 R"*(page, historical behavior).)*";
1985const char kProgressBarCompletionResourcesBeforeDcl[] =
1986 "Main frame's domContentLoaded and all resources loads started before "
1987 "domContentLoaded (iframes ignored).";
1988const char kProgressBarCompletionDomContentLoaded[] =
1989 "Main frame's domContentLoaded (iframes ignored).";
1990const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1991 "domContentLoaded and all resources loads started before domContentLoaded "
1992 "(main frame and same origin iframes).";
1993
1994const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1995const char kPullToRefreshEffectDescription[] =
1996 "Page reloads triggered by vertically overscrolling content.";
1997
Piotr Swigon7c296ef2017-08-29 04:32:001998const char kPwaImprovedSplashScreenName[] =
1999 "Improved Splash Screen for standalone PWAs";
2000const char kPwaImprovedSplashScreenDescription[] =
2001 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2002 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492003const char kPwaPersistentNotificationName[] =
2004 "Persistent notification in standalone PWA";
2005const char kPwaPersistentNotificationDescription[] =
2006 "Enables a persistent Android notification for standalone PWAs";
2007
Brett Wilsonff596952017-07-14 01:06:552008const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2009const char kReaderModeHeuristicsDescription[] =
2010 "Determines what pages the Reader Mode infobar is shown on.";
2011const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2012const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2013const char kReaderModeHeuristicsAllArticles[] = "All articles";
2014const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2015const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2016
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182017const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2018const char kReaderModeInCCTDescription[] =
2019 "Open Reader Mode in Chrome Custom Tabs.";
2020
Brett Wilsonff596952017-07-14 01:06:552021const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2022const char kSetMarketUrlForTestingDescription[] =
2023 "When enabled, sets the market URL for use in testing the update menu "
2024 "item.";
2025
2026const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2027const char kSpannableInlineAutocompleteDescription[] =
2028 "A new type of inline autocomplete for the omnibox that works with "
2029 "keyboards that compose text.";
2030
Brett Wilsonff596952017-07-14 01:06:552031const char kTranslateCompactUIName[] = "New Translate Infobar";
2032const char kTranslateCompactUIDescription[] =
2033 "Enable the new Translate compact infobar UI.";
2034
2035const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2036const char kUpdateMenuBadgeDescription[] =
2037 "When enabled, an update badge will be shown on the app menu button.";
2038
2039const char kUpdateMenuItemCustomSummaryDescription[] =
2040 "When this flag and the force show update menu item flag are enabled, a "
2041 "custom summary string will be displayed below the update menu item.";
2042const char kUpdateMenuItemCustomSummaryName[] =
2043 "Update menu item custom summary";
2044
2045const char kUpdateMenuItemName[] = "Force show update menu item";
2046const char kUpdateMenuItemDescription[] =
2047 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2048 R"*(menu.)*";
2049
2050const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2051const char kUseAndroidMidiApiDescription[] =
2052 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2053 "devices).";
2054
Marc Treib93af46a2017-08-23 13:30:002055const char kThirdPartyDoodlesName[] =
2056 "Enable Doodles for third-party search engines";
2057const char kThirdPartyDoodlesDescription[] =
2058 "Enables fetching and displaying Doodles on the NTP for third-party search "
2059 "engines.";
2060
Brett Wilson7b44537e2017-08-18 01:38:282061// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552062
Brett Wilson7b44537e2017-08-18 01:38:282063#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482064
Brett Wilson7b44537e2017-08-18 01:38:282065const char kAccountConsistencyName[] =
2066 "Identity consistency between browser and cookie jar";
2067const char kAccountConsistencyDescription[] =
2068 "When enabled, the browser manages signing in and out of Google accounts.";
2069const char kAccountConsistencyChoiceMirror[] = "Mirror";
2070const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342071
Chris Pickel3a227ae62017-08-24 10:47:262072const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2073const char kDoodlesOnLocalNtpDescription[] =
2074 "Show doodles on the local New Tab page if Google is the default search "
2075 "engine.";
2076
mlamouriff56c092017-05-11 15:31:392077const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392078const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342079 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392080const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392081const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392082const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342083 "Enabled (Flash lowers volume when interrupted by other sound, "
2084 "experimental)";
2085
Brett Wilson7b44537e2017-08-18 01:38:282086const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2087const char kEnableNewAppMenuIconDescription[] =
2088 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342089
2090const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342091const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282092 "Enable receiving entity suggestions - disambiguation descriptions - for "
2093 "Omnibox suggestions.";
2094
2095const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2096const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192097 "Enable receiving tail suggestions, a type of search suggestion based on "
2098 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342099
Brett Wilson7b44537e2017-08-18 01:38:282100const char kOneGoogleBarOnLocalNtpName[] =
2101 "Enable the OneGoogleBar on the local NTP";
2102const char kOneGoogleBarOnLocalNtpDescription[] =
2103 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2104 "search engine.";
2105
ojan38c678352017-04-11 20:27:552106const char kPauseBackgroundTabsName[] = "Pause background tabs";
2107const char kPauseBackgroundTabsDescription[] =
2108 "Pause timers in background tabs after 5 minutes on desktop.";
2109
Brett Wilson7b44537e2017-08-18 01:38:282110const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2111const char kUseGoogleLocalNtpDescription[] =
2112 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322113
Brett Wilson7b44537e2017-08-18 01:38:282114const char kVoiceSearchOnLocalNtpName[] =
2115 "Enable Voice Search on the local NTP";
2116const char kVoiceSearchOnLocalNtpDescription[] =
2117 "Show a microphone for voice search on the local New Tab page "
2118 "if Google is the default search engine.";
2119
2120#if defined(GOOGLE_CHROME_BUILD)
2121
2122const char kGoogleBrandedContextMenuName[] =
2123 "Google branding in the context menu";
2124const char kGoogleBrandedContextMenuDescription[] =
2125 "Shows a Google icon next to context menu items powered by Google "
2126 "services.";
2127
2128#endif // !defined(GOOGLE_CHROME_BUILD)
2129
2130#endif // !defined(OS_ANDROID)
2131
2132// Windows ---------------------------------------------------------------------
2133
2134#if defined(OS_WIN)
2135
2136const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2137const char kCloudPrintXpsDescription[] =
2138 "XPS enables advanced options for classic printers connected to the Cloud "
2139 "Print with Chrome. Printers must be re-connected after changing this "
2140 "flag.";
2141
Dave Tapuskadd43469d2017-08-22 22:15:532142const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2143const char kDirectManipulationStylusDescription[] =
2144 "If enabled, Chrome will scroll web pages on stylus drag.";
2145
Brett Wilson7b44537e2017-08-18 01:38:282146const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2147const char kDisablePostscriptPrintingDescription[] =
2148 "Disables PostScript generation when printing to PostScript capable "
2149 "printers, and uses EMF generation in its place.";
2150
2151const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2152const char kEnableAppcontainerDescription[] =
2153 "Enables the use of an AppContainer on sandboxed processes to improve "
2154 "security.";
2155
2156const char kEnableD3DVsync[] = "D3D v-sync";
2157const char kEnableD3DVsyncDescription[] =
2158 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2159 "to occur.";
2160
2161const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2162const char kEnableDesktopIosPromotionsDescription[] =
2163 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2164 "eligible.";
2165
2166const char kGdiTextPrinting[] = "GDI Text Printing";
2167const char kGdiTextPrintingDescription[] =
2168 "Use GDI to print text as simply text";
2169
2170const char kMergeKeyCharEventsName[] =
2171 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2172 "(WM_CHAR).";
2173const char kMergeKeyCharEventsDescription[] =
2174 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2175
2176const char kTraceExportEventsToEtwName[] =
2177 "Enable exporting of tracing events to ETW.";
2178const char kTraceExportEventsToEtwDesription[] =
2179 "If enabled, trace events will be exported to the Event Tracing for "
2180 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2181 "Xperf.";
2182
2183const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2184const char kUseWinrtMidiApiDescription[] =
2185 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2186 "later).";
2187
2188const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2189const char kWindows10CustomTitlebarDescription[] =
2190 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2191 "deferring to Windows.";
2192
Wez6656c572017-08-29 22:29:582193#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502194const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2195const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582196 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2197 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2198#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2199
Brett Wilson7b44537e2017-08-18 01:38:282200#endif // defined(OS_WIN)
2201
2202// Mac -------------------------------------------------------------------------
2203
2204#if defined(OS_MACOSX)
2205
2206const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2207const char kAppInfoDialogDescription[] =
2208 "Makes the Toolkit-Views based App Info dialog accessible from "
2209 "chrome://apps or chrome://extensions in place of the native extension "
2210 "permissions dialog, or the details link (which is a link to the Web "
2211 "Store).";
2212
2213const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2214const char kAppWindowCyclingDescription[] =
2215 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2216 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2217 "browser window, and browser windows will not be cycled when a Chrome App "
2218 "is active.";
2219
Lei Zhang2eca9082017-10-17 20:42:502220const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2221const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282222 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2223
2224const char kFullscreenToolbarRevealName[] =
2225 "Enables the toolbar in fullscreen to reveal itself.";
2226const char kFullscreenToolbarRevealDescription[] =
2227 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2228 "has changed.";
2229
2230const char kContentFullscreenName[] = "Improved Content Fullscreen";
2231const char kContentFullscreenDescription[] =
2232 "Fullscreen content window detaches from main browser window and goes to "
2233 "a new space without moving or changing the original browser window.";
2234
Lei Zhang2eca9082017-10-17 20:42:502235const char kDialogTouchBarName[] = "Dialog Touch Bar";
2236const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282237 "Shows Dialog buttons on the Touch Bar.";
2238
2239const char kHostedAppsInWindowsName[] =
2240 "Allow hosted apps to be opened in windows";
2241const char kHostedAppsInWindowsDescription[] =
2242 "Allows hosted apps to be opened in windows instead of being limited to "
2243 "tabs.";
2244
Lei Zhang2eca9082017-10-17 20:42:502245const char kMacRTLName[] = "Enable RTL";
2246const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282247
Lei Zhang2eca9082017-10-17 20:42:502248const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2249const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522250 "Enables sharing via macOS share extensions.";
2251
Lei Zhang2eca9082017-10-17 20:42:502252const char kMacTouchBarName[] = "Hardware Touch Bar";
2253const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282254
2255const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2256const char kMacV2SandboxDescription[] =
2257 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2258 "entire life cycle.";
2259
2260const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2261const char kMacViewsNativeAppWindowsDescription[] =
2262 "Controls whether to use Toolkit-Views based Chrome App windows.";
2263
2264const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2265const char kMacViewsTaskManagerDescription[] =
2266 "Controls whether to use the Toolkit-Views based Task Manager.";
2267
2268const char kTabDetachingInFullscreenName[] =
2269 "Allow tab detaching in fullscreen";
2270const char kTabDetachingInFullscreenDescription[] =
2271 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2272
2273const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2274const char kTabStripKeyboardFocusDescription[] =
2275 "Enable keyboard focus for the tabs in the tab strip.";
2276
2277const char kTranslateNewUxName[] = "New Translate UX";
2278const char kTranslateNewUxDescription[] =
2279 "Enable the new Translate bubble UX is offered instead of the infobar.";
2280
2281// Non-Mac ---------------------------------------------------------------------
2282
2283#else // !defined(OS_MACOSX)
2284
2285const char kPermissionPromptPersistenceToggleName[] =
2286 "Persistence Toggle in Permission Prompts";
2287const char kPermissionPromptPersistenceToggleDescription[] =
2288 "Whether to display a persistence toggle in permission prompts.";
2289
2290#endif
2291
2292// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342293
2294#if defined(OS_CHROMEOS)
2295
Brett Wilson7b44537e2017-08-18 01:38:282296const char kAcceleratedMjpegDecodeName[] =
2297 "Hardware-accelerated mjpeg decode for captured frame";
2298const char kAcceleratedMjpegDecodeDescription[] =
2299 "Enable hardware-accelerated mjpeg decode for captured frame where "
2300 "available.";
vabr0215a8e2017-03-28 12:47:342301
Brett Wilson7b44537e2017-08-18 01:38:282302const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2303const char kAllowTouchpadThreeFingerClickDescription[] =
2304 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342305
Brett Wilson7b44537e2017-08-18 01:38:282306const char kArcBootCompleted[] = "Load Android apps automatically";
2307const char kArcBootCompletedDescription[] =
2308 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342309
Lev Rumyantsev7a8544312017-08-18 19:26:512310const char kArcNativeBridgeExperimentName[] =
2311 "Enable native bridge experiment for ARC";
2312const char kArcNativeBridgeExperimentDescription[] =
2313 "Enables experimental native bridge feature.";
2314
Brett Wilson7b44537e2017-08-18 01:38:282315const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2316const char kAshEnableUnifiedDesktopDescription[] =
2317 "Enable unified desktop mode which allows a window to span multiple "
2318 "displays.";
vabr0215a8e2017-03-28 12:47:342319
Brett Wilson7b44537e2017-08-18 01:38:282320const char kBootAnimationName[] = "Boot animation";
2321const char kBootAnimationDescription[] =
2322 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342323
Sean Kau5e956192017-10-06 22:25:172324const char kBulkPrintersName[] = "Bulk Printers Policy";
2325const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2326
Brett Wilson7b44537e2017-08-18 01:38:282327const char kCaptivePortalBypassProxyName[] =
2328 "Bypass proxy for Captive Portal Authorization";
2329const char kCaptivePortalBypassProxyDescription[] =
2330 "If proxy is configured, it usually prevents from authorization on "
2331 "different captive portals. This enables opening captive portal "
2332 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342333
Brett Wilson7b44537e2017-08-18 01:38:282334const char kCrOSComponentName[] = "Chrome OS Component";
2335const char kCrOSComponentDescription[] =
2336 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342337
Xiaochu Liu51d03fd2017-09-08 23:51:022338const char kCrOSContainerName[] = "Chrome OS Container";
2339const char kCrOSContainerDescription[] =
2340 "Enable the use of Chrome OS Container utility.";
2341
Brett Wilson7b44537e2017-08-18 01:38:282342const char kCrosRegionsModeName[] = "Cros-regions load mode";
2343const char kCrosRegionsModeDescription[] =
2344 "This flag controls cros-regions load mode";
2345const char kCrosRegionsModeDefault[] = "Default";
2346const char kCrosRegionsModeOverride[] = "Override VPD values.";
2347const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342348
Jacob Dufault2becbc482017-08-25 00:36:352349const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2350const char kDisableLockScreenAppsDescription[] =
2351 "Disable new-note action handler apps on the lock screen. The user will "
2352 "not be able to launch the preferred note-taking action from the lock "
2353 "screen, provided that the app supports lock screen note taking.";
2354
Sammie Quonef6b4882017-09-14 16:50:052355const char kDisableTabletAutohideTitlebarsName[] =
2356 "Disable autohide titlebars in tablet mode";
2357const char kDisableTabletAutohideTitlebarsDescription[] =
2358 "Disable tablet mode autohide titlebars functionality. The user will be "
2359 "able to see the titlebar in tablet mode.";
2360
Brett Wilson7b44537e2017-08-18 01:38:282361const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2362const char kEnablePerUserTimezoneDescription[] =
2363 "Chrome OS system timezone preference is stored and handled for each user "
2364 "individually.";
vabr0215a8e2017-03-28 12:47:342365
Brett Wilson7b44537e2017-08-18 01:38:282366const char kDisableSystemTimezoneAutomaticDetectionName[] =
2367 "SystemTimezoneAutomaticDetection policy support";
2368const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2369 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342370
newcomer403ac142017-07-05 18:26:302371const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
newcomer403ac142017-07-05 18:26:302372const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192373 "The peeking launcher UI supports touch and provides more space for "
2374 "upcoming features.";
newcomer403ac142017-07-05 18:26:302375
Lei Zhang2eca9082017-10-17 20:42:502376const char kEnableBackgroundBlurName[] = "Enable background blur.";
2377const char kEnableBackgroundBlurDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:392378 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2379 "Switcher.";
2380
Brett Wilson7b44537e2017-08-18 01:38:282381const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2382const char kEnableAndroidWallpapersAppDescription[] =
2383 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2384 "OS.";
vabr0215a8e2017-03-28 12:47:342385
Brett Wilson7b44537e2017-08-18 01:38:282386const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2387const char kEnableChromevoxArcSupportDescription[] =
2388 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342389
Brett Wilson7b44537e2017-08-18 01:38:282390const char kEnableEhvInputName[] =
2391 "Emoji, handwriting and voice input on opt-in IME menu";
2392const char kEnableEhvInputDescription[] =
2393 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342394
Brett Wilson7b44537e2017-08-18 01:38:282395const char kEnableEncryptionMigrationName[] =
2396 "Enable encryption migration of user data";
2397const char kEnableEncryptionMigrationDescription[] =
2398 "If enabled and the device supports ARC, the user will be asked to update "
2399 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342400
Klemen Kozjekf2b30e452017-09-01 05:04:512401const char kEnableExternalDriveRename[] = "Enable external drive rename";
2402const char kEnableExternalDriveRenameDescription[] =
2403 "If enabled, external removable drives will get 'Rename' action in the "
2404 "context menu";
2405
Brett Wilson7b44537e2017-08-18 01:38:282406const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2407const char kEnableImeMenuDescription[] =
2408 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342409
xdai6459d0ca2017-10-11 19:23:102410const char kEnableTabletSplitViewName[] = "Split view in Tablet mode";
2411const char kEnableTabletSplitViewDescription[] =
2412 "Enable split view for Chrome OS tablet mode.";
2413
Brett Wilson7b44537e2017-08-18 01:38:282414const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
2415const char kEnableZipArchiverOnFileManagerDescription[] =
2416 "Enable the ability to archive and unpack files on Drive in the Files app";
2417
2418const char kEolNotificationName[] = "Disable Device End of Life notification.";
2419const char kEolNotificationDescription[] =
2420 "Disable Notifcation when Device is End of Life.";
2421
2422const char kExperimentalAccessibilityFeaturesName[] =
2423 "Experimental accessibility features";
2424const char kExperimentalAccessibilityFeaturesDescription[] =
2425 "Enable additional accessibility features in the Settings page.";
2426
2427const char kExperimentalInputViewFeaturesName[] =
2428 "Experimental input view features";
2429const char kExperimentalInputViewFeaturesDescription[] =
2430 "Enable experimental features for IME input views.";
2431
2432const char kFileManagerTouchModeName[] = "Files App. touch mode";
2433const char kFileManagerTouchModeDescription[] =
2434 "Touchscreen-specific interactions of the Files app.";
2435
2436const char kFirstRunUiTransitionsName[] =
2437 "Animated transitions in the first-run tutorial";
2438const char kFirstRunUiTransitionsDescription[] =
2439 "Transitions during first-run tutorial are animated.";
2440
2441const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2442const char kFloatingVirtualKeyboardDescription[] =
2443 "Enable/Disable floating virtual keyboard.";
2444
2445const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2446const char kForceEnableStylusToolsDescription[] =
2447 "Forces display of the stylus tools menu in the shelf and the stylus "
2448 "section in settings, even if there is no attached stylus device.";
2449
2450const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2451const char kGestureEditingDescription[] =
2452 "Enable/Disable gesture editing option in the settings page for the "
2453 "virtual keyboard.";
2454
2455const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2456const char kGestureTypingDescription[] =
2457 "Enable/Disable gesture typing option in the settings page for the virtual "
2458 "keyboard.";
2459
2460const char kInputViewName[] = "Input views";
2461const char kInputViewDescription[] =
2462 "Enable IME extensions to supply custom views for user input such as "
2463 "virtual keyboards.";
2464
2465const char kMemoryPressureThresholdName[] =
2466 "Memory discard strategy for advanced pressure handling";
2467const char kMemoryPressureThresholdDescription[] =
2468 "Memory discarding strategy to use";
2469const char kConservativeThresholds[] =
2470 "Conservative memory pressure release strategy";
2471const char kAggressiveCacheDiscardThresholds[] =
2472 "Aggressive cache release strategy";
2473const char kAggressiveTabDiscardThresholds[] =
2474 "Aggressive tab release strategy";
2475const char kAggressiveThresholds[] =
2476 "Aggressive tab and cache release strategy";
2477
2478const char kMtpWriteSupportName[] = "MTP write support";
2479const char kMtpWriteSupportDescription[] =
2480 "MTP write support in File System API (and file manager). In-place editing "
2481 "operations are not supported.";
2482
2483const char kMultideviceName[] = "Enable multidevice features";
2484const char kMultideviceDescription[] =
2485 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342486
2487const char kNetworkPortalNotificationName[] =
2488 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342489const char kNetworkPortalNotificationDescription[] =
2490 "If enabled, notification is displayed when device is connected to a "
2491 "network behind captive portal.";
2492
stevenjbe1d457382017-05-24 22:37:242493const char kNetworkSettingsConfigName[] =
2494 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242495const char kNetworkSettingsConfigDescription[] =
2496 "Enables the Settings based network configuration UI instead of the Views "
2497 "based configuration dialog.";
2498
Brett Wilson7b44537e2017-08-18 01:38:282499const char kNewKoreanImeName[] = "New Korean IME";
2500const char kNewKoreanImeDescription[] =
2501 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342502
Brett Wilson7b44537e2017-08-18 01:38:282503const char kNewZipUnpackerName[] = "New ZIP unpacker";
2504const char kNewZipUnpackerDescription[] =
2505 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342506
Brett Wilson7b44537e2017-08-18 01:38:282507const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2508const char kPhysicalKeyboardAutocorrectDescription[] =
2509 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2510 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342511
2512const char kPrinterProviderSearchAppName[] =
2513 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342514const char kPrinterProviderSearchAppDescription[] =
2515 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192516 "searches Chrome Web Store for extensions that support printing to a USB "
2517 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342518
Brett Wilson7b44537e2017-08-18 01:38:282519const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2520const char kQuickUnlockPinDescription[] =
2521 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2522 "device on the lock screen after you have signed into your device.";
2523const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2524const char kQuickUnlockPinSigninDescription[] =
2525 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2526 "device. After changing this flag PIN needs to be set up again.";
2527const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2528const char kQuickUnlockFingerprintDescription[] =
2529 "Enabling fingerprint quick unlock allows you to setup and use a "
2530 "fingerprint to unlock your Chromebook on the lock screen after you have "
2531 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342532
Brett Wilson7b44537e2017-08-18 01:38:282533const char kOfficeEditingComponentAppName[] =
2534 "Office Editing for Docs, Sheets & Slides";
2535const char kOfficeEditingComponentAppDescription[] =
2536 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072537
2538const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2539const char kSpuriousPowerButtonWindowDescription[] =
2540 "Number of recent accelerometer samples to examine to determine if a power "
2541 "button event was spurious.";
2542
2543const char kSpuriousPowerButtonAccelCountName[] =
2544 "Spurious power button acceleration count";
2545const char kSpuriousPowerButtonAccelCountDescription[] =
2546 "Number of recent acceleration samples that must meet or exceed exceed the "
2547 "threshold in order for a power button event to be considered spurious.";
2548
2549const char kSpuriousPowerButtonScreenAccelName[] =
2550 "Spurious power button screen acceleration threshold";
2551const char kSpuriousPowerButtonScreenAccelDescription[] =
2552 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2553 "meet or exceed for a power button event to be considered spurious.";
2554
2555const char kSpuriousPowerButtonKeyboardAccelName[] =
2556 "Spurious power button keyboard acceleration threshold";
2557const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2558 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2559 "must meet or exceed for a power button event to be considered spurious.";
2560
2561const char kSpuriousPowerButtonLidAngleChangeName[] =
2562 "Spurious power button lid angle change threshold";
2563const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2564 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2565 "met or exceeded for a power button event to be considered spurious.";
2566
Chung-Sheng Wu468b0b32017-09-01 14:41:572567const char kSysInternalsName[] = "Enable Sys-Internals";
2568const char kSysInternalsDescription[] =
2569 "If enabled, user can monitor system information at "
2570 "chrome://sys-internals.";
2571
Brett Wilson7b44537e2017-08-18 01:38:282572const char kTeamDrivesName[] = "Enable Team Drives Integration";
2573const char kTeamDrivesDescription[] =
2574 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342575
Brett Wilson7b44537e2017-08-18 01:38:282576const char kTetherName[] = "Instant Tethering";
2577const char kTetherDescription[] =
2578 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2579 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372580
Brett Wilson7b44537e2017-08-18 01:38:282581const char kTouchscreenCalibrationName[] =
2582 "Enable/disable touchscreen calibration option in material design settings";
2583const char kTouchscreenCalibrationDescription[] =
2584 "If enabled, the user can calibrate the touch screen displays in "
2585 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092586
Mitsuru Oshima63d3f2a2017-08-23 00:12:112587// Force UI Mode
2588const char kUiModeName[] = "Force Ui Mode";
2589const char kUiModeDescription[] =
2590 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2591 R"*(despite its current orientation. "Tablet" means that the )*"
2592 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2593 R"*(means that the chromebook will act as if it were in clamshell )*"
2594 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2595 R"*(the two, based on its orientation.)*";
2596const char kUiModeTablet[] = "TouchView";
2597const char kUiModeClamshell[] = "Clamshell";
2598const char kUiModeAuto[] = "Auto (default)";
2599
bruthigeafb0c02017-06-09 13:11:532600const char kUiDevToolsName[] = "Enable native UI inspection";
2601const char kUiDevToolsDescription[] =
2602 "Enables inspection of native UI elements. For local inspection use "
2603 "chrome://inspect#other";
2604
Brett Wilson7b44537e2017-08-18 01:38:282605const char kUseMusName[] = "Mus";
2606const char kUseMusDescription[] = "Enable the Mojo UI service.";
2607const char kEnableMashDescription[] =
2608 "Mash (UI, Chrome and ash in separate services)";
2609const char kEnableMusDescription[] =
2610 "Mus (UI in separate service, Chrome and ash in same service)";
2611
2612const char kVideoPlayerChromecastSupportName[] =
2613 "Experimental Chromecast support for Video Player";
2614const char kVideoPlayerChromecastSupportDescription[] =
2615 "This option enables experimental Chromecast support for Video Player app "
2616 "on ChromeOS.";
2617
2618const char kVirtualKeyboardName[] = "Virtual Keyboard";
2619const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2620
2621const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2622const char kVirtualKeyboardOverscrollDescription[] =
2623 "Enables virtual keyboard overscroll support.";
2624
2625const char kVoiceInputName[] = "Voice input on virtual keyboard";
2626const char kVoiceInputDescription[] =
2627 "Enables voice input on virtual keyboard.";
2628
2629const char kWakeOnPacketsName[] = "Wake On Packets";
2630const char kWakeOnPacketsDescription[] =
2631 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202632
yhanadac5bff5b2017-05-18 06:37:092633#endif // defined(OS_CHROMEOS)
2634
Brett Wilson7b44537e2017-08-18 01:38:282635// Random platform combinations -----------------------------------------------
2636
2637#if defined(OS_WIN) || defined(OS_LINUX)
2638
2639const char kEnableInputImeApiName[] = "Enable Input IME API";
2640const char kEnableInputImeApiDescription[] =
2641 "Enable the use of chrome.input.ime API.";
2642
2643#endif // defined(OS_WIN) || defined(OS_LINUX)
2644
2645#if defined(OS_WIN) || defined(OS_MACOSX)
2646
2647const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2648const char kAutomaticTabDiscardingDescription[] =
2649 "If enabled, tabs get automatically discarded from memory when the system "
2650 "memory is low. Discarded tabs are still visible on the tab strip and get "
2651 "reloaded when clicked on. Info about discarded tabs can be found at "
2652 "chrome://discards.";
2653
2654#endif // defined(OS_WIN) || defined(OS_MACOSX)
2655
2656// Feature flags --------------------------------------------------------------
2657
2658#if BUILDFLAG(ENABLE_VR)
2659
2660#if defined(OS_ANDROID)
2661
2662const char kEnableVrShellName[] = "Enable Chrome VR.";
2663const char kEnableVrShellDescription[] =
2664 "Allow browsing with a VR headset if available for this device.";
2665
2666const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2667const char kVrCustomTabBrowsingDescription[] =
2668 "Allow browsing with a VR headset in a Custom Tab if available for this "
2669 "device.";
2670
2671const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2672const char kWebVrAutopresentDescription[] =
2673 "Allows auto presentation of WebVr content from trusted first-party apps";
2674
2675const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2676const char kWebVrVsyncAlignDescription[] =
2677 "Enabling this option aligns WebVR application rendering with VSync "
2678 "for smoother animations.";
2679
2680#endif // OS_ANDROID
2681
2682const char kWebvrExperimentalRenderingName[] =
2683 "WebVR experimental rendering optimizations";
2684const char kWebvrExperimentalRenderingDescription[] =
2685 "Enabling this option activates experimental rendering path optimizations "
2686 "for WebVR.";
2687
2688#endif // ENABLE_VR
2689
Nico Weberaf3b00b2017-09-11 17:58:172690#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282691
2692const char kNaclDebugMaskName[] =
2693 "Restrict Native Client GDB-based debugging by pattern";
2694const char kNaclDebugMaskDescription[] =
2695 "Restricts Native Client application GDB-based debugging by URL of "
2696 "manifest file. Native Client GDB-based debugging must be enabled for this "
2697 "option to work.";
2698const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2699const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2700 "Debug everything except secure shell and the PNaCl translator.";
2701const char kNaclDebugMaskChoiceIncludeDebug[] =
2702 "Debug only if manifest URL ends with debug.nmf.";
2703
2704const char kNaclDebugName[] = "Native Client GDB-based debugging";
2705const char kNaclDebugDescription[] =
2706 "Enable GDB debug stub. This will stop a Native Client application on "
2707 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2708
2709const char kNaclName[] = "Native Client";
2710const char kNaclDescription[] =
2711 "Support Native Client for all web applications, even those that were not "
2712 "installed from the Chrome Web Store.";
2713
2714const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2715const char kPnaclSubzeroDescription[] =
2716 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2717
Nico Weberaf3b00b2017-09-11 17:58:172718#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282719
Brett Wilson7b44537e2017-08-18 01:38:282720#if BUILDFLAG(ENABLE_WEBRTC)
2721
2722const char kWebrtcH264WithOpenh264FfmpegName[] =
2723 "WebRTC H.264 software video encoder/decoder";
2724const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2725 "When enabled, an H.264 software video encoder/decoder pair is included. "
2726 "If a hardware encoder/decoder is also available it may be used instead of "
2727 "this encoder/decoder.";
2728
2729#endif // BUILDFLAG(ENABLE_WEBRTC)
2730
James Cookf9d34d22017-10-04 16:39:352731#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282732
2733const char kAshDisableSmoothScreenRotationName[] =
2734 "Disable smooth rotation animations.";
2735const char kAshDisableSmoothScreenRotationDescription[] =
2736 "Disable smooth rotation animations.";
2737
2738const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2739const char kAshEnableMirroredScreenDescription[] =
2740 "Enable the mirrored screen mode. This mode flips the screen image "
2741 "horizontally.";
2742
2743const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2744const char kAshShelfColorDescription[] =
2745 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2746 "--ash-shelf-color-scheme flag defines how that color is derived.";
2747
2748const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2749const char kAshShelfColorSchemeDescription[] =
2750 "Specify how the color is derived from the wallpaper. This flag is only "
2751 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2752const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2753const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2754const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2755const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2756const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2757const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2758
Mike Wassermana38a8a62017-10-02 03:04:272759const char kAshDisableShelfModelSynchronization[] =
2760 "Disable shelf model synchronization";
2761const char kAshDisableShelfModelSynchronizationDescription[] =
2762 "Use a single in-process shelf data model shared between Chrome and Ash. "
2763 "This only applies to the Classic Ash and Mus configs; synchronization "
2764 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372765
Brett Wilson7b44537e2017-08-18 01:38:282766const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372767 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282768const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2769 "Sets the speed of the experimental visual feedback animations for "
2770 "material design.";
2771const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2772const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2773
2774const char kUiShowCompositedLayerBordersName[] =
2775 "Show UI composited layer borders";
2776const char kUiShowCompositedLayerBordersDescription[] =
2777 "Show border around composited layers created by UI.";
2778const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2779const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2780const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2781const char kUiShowCompositedLayerBordersAll[] = "All";
2782
2783const char kUiSlowAnimationsName[] = "Slow UI animations";
2784const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2785
James Cookf9d34d22017-10-04 16:39:352786#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282787
Brett Wilson7b44537e2017-08-18 01:38:282788#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2789
2790const char kAutofillCreditCardUploadName[] =
2791 "Enable offering upload of Autofilled credit cards";
2792const char kAutofillCreditCardUploadDescription[] =
2793 "Enables a new option to upload credit cards to Google Payments for sync "
2794 "to all Chrome devices.";
2795
2796#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2797
2798// ============================================================================
2799// Don't just add flags to the end, put them in the right section in
2800// alphabetical order just like the header file.
2801// ============================================================================
2802
vabr0215a8e2017-03-28 12:47:342803} // namespace flag_descriptions