blob: 8693b6d29b7998ff116b2a026c3ef35bfe3d33cb [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
Brett Wilsonf27ff602017-07-07 22:28:47479const char kEnableWasmName[] = "WebAssembly structured cloning support.";
480const char kEnableWasmDescription[] =
481 "Enable web pages to use WebAssembly structured cloning.";
482
Brett Wilsonf27ff602017-07-07 22:28:47483const char kEnableImageCaptureAPIName[] = "Image Capture API";
484const char kEnableImageCaptureAPIDescription[] =
485 "Enables the Web Platform Image Capture API: takePhoto(), "
486 "getPhotoCapabilities(), etc.";
487
488const char kEnableZeroSuggestRedirectToChromeName[] =
489 "Experimental contextual omnibox suggestion";
490const char kEnableZeroSuggestRedirectToChromeDescription[] =
491 "Change omnibox contextual suggestions to an experimental source. Note "
492 "that this is not an on/off switch for contextual omnibox and it only "
493 "applies to suggestions provided before the user starts typing a URL or a "
494 "search query (i.e. zero suggest).";
495
496const char kEnableWasmStreamingName[] =
497 "WebAssembly streaming compile/instantiate support.";
498const char kEnableWasmStreamingDescription[] =
499 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
500
Brett Wilsonf27ff602017-07-07 22:28:47501const char kEnableWebNotificationCustomLayoutsName[] =
502 "Enable custom layouts for Web Notifications.";
503const char kEnableWebNotificationCustomLayoutsDescription[] =
504 "Enable custom layouts for Web Notifications. They will have subtle layout "
505 "improvements that are otherwise not possible.";
506
507const char kExpensiveBackgroundTimerThrottlingName[] =
508 "Throttle expensive background timers";
509const char kExpensiveBackgroundTimerThrottlingDescription[] =
510 "Enables intervention to limit CPU usage of background timers to 1%.";
511
512const char kExperimentalAppBannersName[] = "Experimental app banners";
513const char kExperimentalAppBannersDescription[] =
514 "Enables a new experimental app banner flow and UI";
515
516const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
517const char kExperimentalCanvasFeaturesDescription[] =
518 "Enables the use of experimental canvas features which are still in "
519 "development.";
520
521const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
522const char kExperimentalExtensionApisDescription[] =
523 "Enables experimental extension APIs. Note that the extension gallery "
524 "doesn't allow you to upload extensions that use experimental APIs.";
525
526const char kExperimentalFullscreenExitUIName[] =
527 "Experimental fullscreen exit UI";
528const char kExperimentalFullscreenExitUIDescription[] =
529 "Displays experimental UI to allow mouse and touch input methods to exit "
530 "fullscreen mode.";
531
532const char kExperimentalHotwordHardwareName[] =
533 "Simulated hardware 'Ok Google' features";
534const char kExperimentalHotwordHardwareDescription[] =
535 "Enables an experimental version of 'Ok Google' hotword detection features "
536 "that have a hardware dependency.";
537
538const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
539const char kExperimentalKeyboardLockUiDescription[] =
540 "An experimental full screen with keyboard lock mode requiring users to "
541 "hold Esc to exit.";
542
543const char kExperimentalSecurityFeaturesName[] =
544 "Potentially annoying security features";
545const char kExperimentalSecurityFeaturesDescription[] =
546 "Enables several security features that will likely break one or more "
547 "pages that you visit on a daily basis. Strict mixed content checking, for "
548 "example. And locking powerful features to secure contexts. This flag will "
549 "probably annoy you.";
550
Ian Vollick3a0cffc2017-10-13 04:42:11551const char kExperimentalVRFeaturesName[] = "Experimental VR features";
552const char kExperimentalVRFeaturesDescription[] =
553 "Enables VR browsing features that are under development.";
554
Brett Wilsonf27ff602017-07-07 22:28:47555const char kExperimentalWebPlatformFeaturesName[] =
556 "Experimental Web Platform features";
557const char kExperimentalWebPlatformFeaturesDescription[] =
558 "Enables experimental Web Platform features that are in development.";
559
560const char kExtensionContentVerificationName[] =
561 "Extension Content Verification";
562const char kExtensionContentVerificationDescription[] =
563 "This flag can be used to turn on verification that the contents of the "
564 "files on disk for extensions from the webstore match what they're "
565 "expected to be. This can be used to turn on this feature if it would not "
566 "otherwise have been turned on, but cannot be used to turn it off (because "
567 "this setting can be tampered with by malware).";
568const char kExtensionContentVerificationBootstrap[] =
569 "Bootstrap (get expected hashes, but do not enforce them)";
570const char kExtensionContentVerificationEnforce[] =
571 "Enforce (try to get hashes, and enforce them if successful)";
572const char kExtensionContentVerificationEnforceStrict[] =
573 "Enforce strict (hard fail if we can't get hashes)";
574
575const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
576const char kExtensionsOnChromeUrlsDescription[] =
577 "Enables running extensions on chrome:// URLs, where extensions explicitly "
578 "request this permission.";
galinapae72e152017-05-12 13:12:28579
Brett Wilsonecb80982017-07-12 20:34:51580const char kFastUnloadName[] = "Fast tab/window close";
581const char kFastUnloadDescription[] =
582 "Enables fast tab/window closing - runs a tab's onunload js handler "
583 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34584
Brett Wilsonecb80982017-07-12 20:34:51585const char kFeaturePolicyName[] = "Feature Policy";
586const char kFeaturePolicyDescription[] =
587 "Enables granting and removing access to features through the "
588 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34589
Brett Wilsonecb80982017-07-12 20:34:51590const char kFetchKeepaliveTimeoutSettingName[] =
591 "Fetch API keepalive timeout setting";
592const char kFetchKeepaliveTimeoutSettingDescription[] =
593 "This is for setting the timeout value for Fetch API with keepalive option "
594 "and SendBeacon";
595
596const char kFontCacheScalingName[] = "FontCache scaling";
597const char kFontCacheScalingDescription[] =
598 "Reuse a cached font in the renderer to serve different sizes of font for "
599 "faster layout.";
600
601const char kForceEffectiveConnectionTypeName[] =
602 "Override effective connection type";
603const char kForceEffectiveConnectionTypeDescription[] =
604 "Overrides the effective connection type of the current connection "
605 "returned by the network quality estimator.";
606const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
607const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
608const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
609const char kEffectiveConnectionType2GDescription[] = "2G";
610const char kEffectiveConnectionType3GDescription[] = "3G";
611const char kEffectiveConnectionType4GDescription[] = "4G";
612
613const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
614const char kFillOnAccountSelectDescription[] =
615 "Filling of passwords when an account is explicitly selected by the user "
616 "rather than autofilling credentials on page load.";
617
Brett Wilsonecb80982017-07-12 20:34:51618const char kForceTextDirectionName[] = "Force text direction";
619const char kForceTextDirectionDescription[] =
620 "Explicitly force the per-character directionality of UI text to "
621 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
622 "direction of the character language.";
623const char kForceDirectionLtr[] = "Left-to-right";
624const char kForceDirectionRtl[] = "Right-to-left";
625
626const char kForceUiDirectionName[] = "Force UI direction";
627const char kForceUiDirectionDescription[] =
628 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
629 "mode, overriding the default direction of the UI language.";
630
631const char kFramebustingName[] =
632 "Framebusting requires same-origin or a user gesture";
633const char kFramebustingDescription[] =
634 "Don't permit an iframe to navigate the top level browsing context unless "
635 "they are same-origin or the iframe is processing a user gesture.";
636
637const char kGamepadExtensionsName[] = "Gamepad Extensions";
638const char kGamepadExtensionsDescription[] =
639 "Enabling this option allows web applications to access experimental "
640 "extensions to the Gamepad APIs.";
641
sohan3f00ffc2017-07-14 22:28:08642const char kGlCompositedOverlayCandidateQuadBordersName[] =
643 "GL composited overlay candidate quad borders";
644const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39645 "Renders a border around GL composited overlay candidate quads to help "
646 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51647
648const char kGpuRasterizationMsaaSampleCountName[] =
649 "GPU rasterization MSAA sample count.";
650const char kGpuRasterizationMsaaSampleCountDescription[] =
651 "Specify the number of MSAA samples for GPU rasterization.";
652const char kGpuRasterizationMsaaSampleCountZero[] = "0";
653const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
654const char kGpuRasterizationMsaaSampleCountFour[] = "4";
655const char kGpuRasterizationMsaaSampleCountEight[] = "8";
656const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
657
658const char kGpuRasterizationName[] = "GPU rasterization";
659const char kGpuRasterizationDescription[] =
660 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28661const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51662
663const char kGoogleProfileInfoName[] = "Google profile name and icon";
664const char kGoogleProfileInfoDescription[] =
665 "Enables using Google information to populate the profile name and icon in "
666 "the avatar menu.";
667
668const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
669const char kHarfbuzzRendertextDescription[] =
670 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
671 "web content.";
672
673const char kHistoryRequiresUserGestureName[] =
674 "New history entries require a user gesture.";
675const char kHistoryRequiresUserGestureDescription[] =
676 "Require a user gesture to add a history entry.";
677const char kHyperlinkAuditingName[] = "Hyperlink auditing";
678const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
679
680const char kHostedAppQuitNotificationName[] =
681 "Quit notification for hosted apps";
682const char kHostedAppQuitNotificationDescription[] =
683 "Display a notification when quitting Chrome if hosted apps are currently "
684 "running.";
685
686const char kHostedAppShimCreationName[] =
687 "Creation of app shims for hosted apps on Mac";
688const char kHostedAppShimCreationDescription[] =
689 "Create app shims on Mac when creating a hosted app.";
690
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48691const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
692const char kHtmlBasedUsernameDetectorDescription[] =
693 "Use HTML-based username detector for the password manager.";
694
Brett Wilsonecb80982017-07-12 20:34:51695const char kIconNtpName[] = "Large icons on the New Tab page";
696const char kIconNtpDescription[] =
697 "Enable the experimental New Tab page using large icons.";
698
699const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
700const char kIgnoreGpuBlacklistDescription[] =
701 "Overrides the built-in software rendering list and enables "
702 "GPU-acceleration on unsupported system configurations.";
703
704const char kImportantSitesInCbdName[] =
705 "Important sites options in clear browsing data dialog";
706const char kImportantSitesInCbdDescription[] =
707 "Include the option to whitelist important sites in the clear browsing "
708 "data dialog.";
709
710const char kInertVisualViewportName[] = "Inert visual viewport.";
711const char kInertVisualViewportDescription[] =
712 "Experiment to have all APIs reflect the layout viewport. This will make "
713 "window.scroll properties relative to the layout viewport.";
714
715const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
716const char kInProductHelpDemoModeChoiceDescription[] =
717 "Selects the In-Product Help demo mode.";
718
719const char kJavascriptHarmonyName[] = "Experimental JavaScript";
720const char kJavascriptHarmonyDescription[] =
721 "Enable web pages to use experimental JavaScript features.";
722
723const char kJavascriptHarmonyShippingName[] =
724 "Latest stable JavaScript features";
725const char kJavascriptHarmonyShippingDescription[] =
726 "Some web pages use legacy or non-standard JavaScript extensions that may "
727 "conflict with the latest JavaScript features. This flag allows disabling "
728 "support of those features for compatibility with such pages.";
729
Yutaka Hiranof7f2f632017-09-06 10:40:08730const char kKeepAliveRendererForKeepaliveRequestsName[] =
731 "Keep a renderer alive for keepalive fetch requests";
732const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
733 "Keep a render process alive when the process has a pending fetch request "
734 "with `keepalive' specified.";
735
Brett Wilsonecb80982017-07-12 20:34:51736const char kLcdTextName[] = "LCD text antialiasing";
737const char kLcdTextDescription[] =
738 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
739 "(subpixel) when doing accelerated compositing.";
740
Matt Giucac399982f2017-10-06 07:51:29741const char kLeftToRightUrlsName[] =
742 "Render bidirectional URLs from left to right";
743const char kLeftToRightUrlsDescription[] =
744 "An experimental Bidi URL rendering algorithm where the URL components are "
745 "always shown in order from left to right, regardless of any RTL "
746 "characters. (The contents of each component are still rendered with the "
747 "normal Bidi algorithm.)";
748
Brett Wilsonecb80982017-07-12 20:34:51749const char kLoadMediaRouterComponentExtensionName[] =
750 "Load Media Router Component Extension";
751const char kLoadMediaRouterComponentExtensionDescription[] =
752 "Loads the Media Router component extension at startup.";
753
754const char kManualPasswordGenerationName[] = "Manual password generation.";
755const char kManualPasswordGenerationDescription[] =
756 "Show a 'Generate Password' option on the context menu for all password "
757 "fields.";
758
Dominic Battref27e8762017-08-23 11:16:25759const char kManualPasswordSavingName[] = "Manual password saving.";
760const char kManualPasswordSavingDescription[] =
761 "Show the password manager icon when typing into a password filed. "
762 "Clicking it allows to save the password without submitting the form.";
763
Brett Wilsonecb80982017-07-12 20:34:51764const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
765const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
766const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
Brett Wilsonecb80982017-07-12 20:34:51767
Lei Zhang2eca9082017-10-17 20:42:50768const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
769const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51770 "If enabled, the Incognito New Tab page uses the new material design with "
771 "a better readable text.";
772
773const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
774const char kMediaRemotingDescription[] =
775 "When Casting a tab to a remote device, enabling this turns on an "
776 "optimization that forwards the content bitstream directly to the remote "
777 "device when a video is fullscreened.";
778
779const char kMemoryAblationName[] = "Memory ablation experiment";
780const char kMemoryAblationDescription[] =
781 "Allocates extra memory in the browser process.";
782
783const char kMemoryCoordinatorName[] = "Memory coordinator";
784const char kMemoryCoordinatorDescription[] =
785 "Enable memory coordinator instead of memory pressure listeners.";
786
787const char kMessageCenterNewStyleNotificationName[] = "New style notification";
788const char kMessageCenterNewStyleNotificationDescription[] =
789 "Enables the experiment style of material-design notification";
790
Brett Wilsonecb80982017-07-12 20:34:51791const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
792const char kMhtmlGeneratorOptionDescription[] =
793 "Provides experimental options for MHTML file generator.";
794const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
795const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
796
797const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
798const char kMojoLoadingDescription[] =
799 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
800
Miguel Casas-Sanchez10769c82017-07-27 23:52:04801const char kMojoVideoEncodeAcceleratorName[] =
802 "Hardware-accelerated video encoder accessed using Mojo IPC";
803const char kMojoVideoEncodeAcceleratorDescription[] =
804 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
805 "available.";
806
Brett Wilsonecb80982017-07-12 20:34:51807const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
808const char kModuleScriptsDescription[] =
809 "Enables ECMAScript 6 modules support in Blink.";
810
Kouhei Ueno08445c22017-09-05 03:58:30811const char kModuleScriptsDynamicImportName[] =
812 "Enable ECMAScript 6 modules dynamic import";
813const char kModuleScriptsDynamicImportDescription[] =
814 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
815 "Blink.";
816
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05817const char kModuleScriptsImportMetaUrlName[] =
818 "Enable ECMAScript 6 modules import.meta.url";
819const char kModuleScriptsImportMetaUrlDescription[] =
820 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
821 "Blink.";
822
Brett Wilsonecb80982017-07-12 20:34:51823const char kNewAudioRenderingMixingStrategyName[] =
824 "New audio rendering mixing strategy";
825const char kNewAudioRenderingMixingStrategyDescription[] =
826 "Use the new audio rendering mixing strategy.";
827
828const char kNewBookmarkAppsName[] = "The new bookmark app system";
829const char kNewBookmarkAppsDescription[] =
830 "Enables the new system for creating bookmark apps.";
831
832const char kNewOmniboxAnswerTypesName[] =
833 "New omnibox answers in suggest types";
834const char kNewOmniboxAnswerTypesDescription[] =
835 "Enables new types of answers in the omnibox suggest drop-down: currency "
836 "conversions, dictionary definitions, sports scores, translations, and "
837 "when is.";
838
839const char kNewRemotePlaybackPipelineName[] =
840 "Enable the new remote playback pipeline.";
841const char kNewRemotePlaybackPipelineDescription[] =
842 "Enable the new pipeline for playing media element remotely via "
843 "RemotePlayback API or native controls.";
844
845const char kNewUsbBackendName[] = "Enable new USB backend";
846const char kNewUsbBackendDescription[] =
847 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34848
brettw5f9c1642017-05-14 17:12:48849const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34850const char kNostatePrefetchDescription[] =
851 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
852 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
853 R"*(improve load times even more. "Simple Load" does nothing and is )*"
854 R"*(similar to disabling the feature, but collects more metrics for )*"
855 R"*(comparison purposes.)*";
856
Brett Wilsonecb80982017-07-12 20:34:51857const char kNotificationsNativeFlagName[] = "Enable native notifications.";
858const char kNotificationsNativeFlagDescription[] =
859 "Enable support for using the native notification toasts and notification "
860 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34861
Zentaro Kavanaghbad511c2017-10-18 22:29:00862#if defined(OS_POSIX)
863const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
864const char kNtlmV2EnabledDescription[] =
865 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
866#endif
867
Brett Wilsonecb80982017-07-12 20:34:51868const char kNumRasterThreadsName[] = "Number of raster threads";
869const char kNumRasterThreadsDescription[] =
870 "Specify the number of raster threads.";
871const char kNumRasterThreadsOne[] = "1";
872const char kNumRasterThreadsTwo[] = "2";
873const char kNumRasterThreadsThree[] = "3";
874const char kNumRasterThreadsFour[] = "4";
875
876const char kOfferStoreUnmaskedWalletCardsName[] =
877 "Google Payments card saving checkbox";
878const char kOfferStoreUnmaskedWalletCardsDescription[] =
879 "Show the checkbox to offer local saving of a credit card downloaded from "
880 "the server.";
881
882const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
883const char kOfflineAutoReloadDescription[] =
884 "Pages that fail to load while the browser is offline will be "
885 "auto-reloaded when the browser is online again.";
886
887const char kOfflineAutoReloadVisibleOnlyName[] =
888 "Only Auto-Reload Visible Tabs";
889const char kOfflineAutoReloadVisibleOnlyDescription[] =
890 "Pages that fail to load while the browser is offline will only be "
891 "auto-reloaded if their tab is visible.";
892
893const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
894const char kOffMainThreadFetchDescription[] =
895 "If enabled, the resource fetches from worker threads will not be blocked "
896 "by the busy main thread.";
897
898const char kOmniboxDisplayTitleForCurrentUrlName[] =
899 "Include title for the current URL in the omnibox";
900const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
901 "In the event that the omnibox provides suggestions on-focus, the URL of "
902 "the current page is provided as the first suggestion without a title. "
903 "Enabling this flag causes the title to be displayed.";
904
Benoit Lizeab08362c2017-07-19 14:50:54905const char kOmniboxSpareRendererName[] =
906 "Start spare renderer on omnibox focus";
907const char kOmniboxSpareRendererDescription[] =
908 "When the omnibox is focused, start an empty spare renderer. This can "
909 "speed up the load of the navigation from the omnibox.";
910
Tommy C. Li8875a442017-08-23 00:10:59911const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
912 "Omnibox UI Elide Suggestion URL After Host";
913const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
914 "Elides the path, query, and ref of suggested URLs in the Omnibox "
915 "dropdown.";
916
Brett Wilsonecb80982017-07-12 20:34:51917const char kOmniboxUIHideSuggestionUrlSchemeName[] =
918 "Omnibox UI Hide Suggestion URL Scheme";
919const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
920 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
921
922const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
923 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
924const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
925 "Elides trivially informative subdomains from suggested URLs in the "
926 "Omnibox dropdown (e.g. www. and m.).";
927
928const char kOmniboxUIMaxAutocompleteMatchesName[] =
929 "Omnibox UI Max Autocomplete Matches";
930
931const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
932 "Changes the maximum number of autocomplete matches displayed in the "
933 "Omnibox UI.";
934
935const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
936const char kOmniboxUINarrowDropdownDescription[] =
937 "Makes the suggestions dropdown width match the omnibox width.";
938
Justin Donnelly65c9e8b2017-10-01 05:15:01939const char kOmniboxUIShowSuggestionFaviconsName[] =
940 "Omnibox UI Show Suggestion Favicons";
941const char kOmniboxUIShowSuggestionFaviconsDescription[] =
942 "Shows favicons instead of generic vector icons for URL suggestions in the "
943 "Omnibox dropdown.";
944
945const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
946const char kOmniboxUISwapTitleAndUrlDescription[] =
947 "In the omnibox dropdown, shows titles before URLs when both are "
948 "available.";
949
Brett Wilsonecb80982017-07-12 20:34:51950const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
951const char kOmniboxUIVerticalLayoutDescription[] =
952 "Displays Omnibox sugestions in 2 lines - title over origin.";
953
954const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
955const char kOmniboxUIVerticalMarginDescription[] =
956 "Changes the vertical margin in the Omnibox UI.";
957
958const char kOriginTrialsName[] = "Origin Trials";
959const char kOriginTrialsDescription[] =
960 "Enables origin trials for controlling access to feature/API experiments.";
961
Becca Hughes930d8cd2017-10-02 11:09:12962const char kOverflowIconsForMediaControlsName[] =
963 "Icons on Media Controls Overflow Menu";
964const char kOverflowIconsForMediaControlsDescription[] =
965 "Displays icons on the overflow menu of the native media controls";
966
Brett Wilsonecb80982017-07-12 20:34:51967const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
968const char kOverlayScrollbarsDescription[] =
969 "Enable the experimental overlay scrollbars implementation. You must also "
970 "enable threaded compositing to have the scrollbars animate.";
971
chaopenge8aa016b2017-08-24 15:20:19972const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
973 "Flash Overlay Scrollbars After Any Scroll Update";
974const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
975 "Flash Overlay Scrollbars After any scroll update happends in page. You"
976 " must also enable Overlay Scrollbars.";
977
chaopeng343678022017-08-24 18:45:00978const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
979 "Flash Overlay Scrollbars When Mouse Enter";
980const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
981 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
982 " enable Overlay Scrollbars.";
983
Claudio Magni81326f92017-09-01 05:21:18984const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
985const char kUseNewAcceptLanguageHeaderDescription[] =
986 "Adds the base language code after other corresponding language+region "
987 "codes. This ensures that users receive content in their preferred "
988 "language.";
989
Brett Wilsonecb80982017-07-12 20:34:51990const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
991const char kOverscrollHistoryNavigationDescription[] =
992 "Experimental history navigation in response to horizontal overscroll.";
993const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
994
995const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
996const char kOverscrollStartThresholdDescription[] =
997 "Changes overscroll start threshold relative to the default value.";
998const char kOverscrollStartThreshold133Percent[] = "133%";
999const char kOverscrollStartThreshold166Percent[] = "166%";
1000const char kOverscrollStartThreshold200Percent[] = "200%";
1001
Xing Liu5400a002017-09-15 21:48:291002const char kParallelDownloadingName[] = "Parallel downloading";
1003const char kParallelDownloadingDescription[] =
1004 "Enable parallel downloading to"
1005 "accelerate download speed.";
1006
Brett Wilsonecb80982017-07-12 20:34:511007const char kPassiveEventListenerDefaultName[] =
1008 "Passive Event Listener Override";
1009const char kPassiveEventListenerDefaultDescription[] =
1010 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1011 "haven't requested otherwise) to be treated as passive. This will break "
1012 "touch/wheel behavior on some websites but is useful for demonstrating the "
1013 "potential performance benefits of adopting passive event listeners.";
1014const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1015const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1016
1017const char kPassiveEventListenersDueToFlingName[] =
1018 "Touch Event Listeners Passive Default During Fling";
1019const char kPassiveEventListenersDueToFlingDescription[] =
1020 "Forces touchstart, and first touchmove per scroll event listeners during "
1021 "fling to be treated as passive.";
1022
1023const char kPassiveDocumentEventListenersName[] =
1024 "Document Level Event Listeners Passive Default";
1025const char kPassiveDocumentEventListenersDescription[] =
1026 "Forces touchstart, and touchmove event listeners on document level "
1027 "targets (which haven't requested otherwise) to be treated as passive.";
1028
1029const char kPasswordForceSavingName[] = "Force-saving of passwords";
1030const char kPasswordForceSavingDescription[] =
1031 "Allow the user to manually enforce password saving instead of relying on "
1032 "password manager's heuristics.";
1033
1034const char kPasswordGenerationName[] = "Password generation";
1035const char kPasswordGenerationDescription[] =
1036 "Allow the user to have Chrome generate passwords when it detects account "
1037 "creation pages.";
1038
1039const char kPasswordImportExportName[] = "Password import and export";
1040const char kPasswordImportExportDescription[] =
1041 "Import and Export functionality in password settings.";
1042
Maxim Kolosovskiyd97b94612017-09-19 20:10:391043const char kPasswordSelectionName[] =
1044 "Password selection and eye icon in prompt";
1045const char kPasswordSelectionDescription[] =
1046 "Show a password selector and an eye icon in prompt";
1047
Brett Wilsonecb80982017-07-12 20:34:511048const char kPermissionActionReportingName[] = "Permission Action Reporting";
1049const char kPermissionActionReportingDescription[] =
1050 "Enables permission action reporting to Safe Browsing servers for opted in "
1051 "users.";
1052
1053const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1054const char kPermissionsBlacklistDescription[] =
1055 "Enables the Permissions Blacklist, which blocks permissions for "
1056 "blacklisted sites for Safe Browsing users.";
1057
1058const char kPinchScaleName[] = "Pinch scale";
1059const char kPinchScaleDescription[] =
1060 "Enables experimental support for scale using pinch.";
1061
Brett Wilsonecb80982017-07-12 20:34:511062const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1063const char kPrintPdfAsImageDescription[] =
1064 "If enabled, an option to print PDF files as images will be available in "
1065 "print preview.";
1066
1067const char kPrintPreviewRegisterPromosName[] =
1068 "Print Preview Registration Promos";
1069const char kPrintPreviewRegisterPromosDescription[] =
1070 "Enable registering unregistered cloud printers from print preview.";
1071
1072const char kProtectSyncCredentialName[] = "Autofill sync credential";
1073const char kProtectSyncCredentialDescription[] =
1074 "How the password manager handles autofill for the sync credential.";
1075
1076const char kProtectSyncCredentialOnReauthName[] =
1077 "Autofill sync credential only for transactional reauth pages";
1078const char kProtectSyncCredentialOnReauthDescription[] =
1079 "How the password manager handles autofill for the sync credential only "
1080 "for transactional reauth pages.";
1081
Mohsen Izadi93faac12017-07-29 04:45:151082const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1083const char kPullToRefreshDescription[] =
1084 "Pull-to-refresh gesture in response to vertical overscroll.";
1085
Brett Wilsonecb80982017-07-12 20:34:511086const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1087const char kPushApiBackgroundModeDescription[] =
1088 "Enable background mode for the Push API. This allows Chrome to continue "
1089 "running after the last window is closed, and to launch at OS startup, if "
1090 "the Push API needs it.";
1091
Piotr Swigon46929d12017-08-11 07:16:331092const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1093const char kPwaMinimalUiDescription[] =
1094 "Enables support for Minimal-UI display mode for installed PWAs";
1095
Brett Wilsonecb80982017-07-12 20:34:511096const char kQuicName[] = "Experimental QUIC protocol";
1097const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1098
1099const char kReducedReferrerGranularityName[] =
1100 "Reduce default 'referer' header granularity.";
1101const char kReducedReferrerGranularityDescription[] =
1102 "If a page hasn't set an explicit referrer policy, setting this flag will "
1103 "reduce the amount of information in the 'referer' header for cross-origin "
1104 "requests.";
1105
1106const char kRequestTabletSiteName[] =
1107 "Request tablet site option in the settings menu";
1108const char kRequestTabletSiteDescription[] =
1109 "Allows the user to request tablet site. Web content is often optimized "
1110 "for tablet devices. When this option is selected the user agent string is "
1111 "changed to indicate a tablet device. Web content optimized for tablets is "
1112 "received there after for the current tab.";
1113
1114const char kResetAppListInstallStateName[] =
1115 "Reset the App Launcher install state on every restart.";
1116const char kResetAppListInstallStateDescription[] =
1117 "Reset the App Launcher install state on every restart. While this flag is "
1118 "set, Chrome will forget the launcher has been installed each time it "
1119 "starts. This is used for testing the App Launcher install flow.";
1120
1121const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1122const char kResourceLoadSchedulerDescription[] =
1123 "Uses the resource load scheduler in blink to schedule and throttle "
1124 "resource load requests.";
1125
Brett Wilsonecb80982017-07-12 20:34:511126const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1127const char kSafeSearchUrlReportingDescription[] =
1128 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1129
1130const char kSaveasMenuLabelExperimentName[] =
1131 "Switch 'Save as' menu labels to 'Download'";
1132const char kSaveasMenuLabelExperimentDescription[] =
1133 "Enables an experiment to switch menu labels that use 'Save as...' to "
1134 "'Download'.";
1135
1136const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1137const char kSavePageAsMhtmlDescription[] =
1138 "Enables saving pages as MHTML: a single text file containing HTML and all "
1139 "sub-resources.";
1140
Nate Chapin9638e7102017-09-20 22:11:011141const char kSavePreviousDocumentResourcesName[] =
1142 "Save Previous Document Resources";
1143const char kSavePreviousDocumentResourcesDescription[] =
1144 "Saves an old document's cached resources until the specified point in the "
1145 "next document's lifecycle.";
1146const char kSavePreviousDocumentResourcesNever[] =
1147 "Don't explicitly save resources";
1148const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1149 "Save resources until onDOMContentLoaded completes";
1150const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1151 "Save resources until onload completes";
1152
Brett Wilsonecb80982017-07-12 20:34:511153const char kScrollPredictionName[] = "Scroll prediction";
1154const char kScrollPredictionDescription[] =
1155 "Predicts the finger's future position during scrolls allowing time to "
1156 "render the frame before the finger is there.";
1157
1158const char kSecondaryUiMd[] =
1159 "Material Design in the rest of the browser's native UI";
1160const char kSecondaryUiMdDescription[] =
1161 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1162 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1163 "browser dialogs.";
1164
1165const char kServiceWorkerNavigationPreloadName[] =
1166 "Service worker navigation preload.";
1167const char kServiceWorkerNavigationPreloadDescription[] =
1168 "Enable web pages to use the experimental service worker navigation "
1169 "preload API.";
1170
gogeraldd5061b592017-09-06 23:39:551171const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1172const char kServiceWorkerPaymentAppsDescription[] =
1173 "Enable Service Worker applications to integrate as payment apps";
1174
Makoto Shimazud9f333c2017-08-08 07:23:171175const char kServiceWorkerScriptStreamingName[] =
1176 "Service worker script streaming.";
1177const char kServiceWorkerScriptStreamingDescription[] =
1178 "Installed scripts for a service worker are sent over a dedicated "
1179 "message pipe and data pipes, and that is never be blocked on the main "
1180 "thread.";
1181
Brett Wilsonecb80982017-07-12 20:34:511182const char kSettingsWindowName[] = "Show settings in a window";
1183const char kSettingsWindowDescription[] =
1184 "Settings will be shown in a dedicated window instead of as a browser tab.";
1185
Trent Apted750ba7022017-10-23 13:36:251186const char kShowAllDialogsWithViewsToolkitName[] =
1187 "Show all dialogs with Views toolkit";
1188const char kShowAllDialogsWithViewsToolkitDescription[] =
1189 "All browser dialogs will be shown using the Views toolkit rather than "
1190 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1191
Brett Wilsonecb80982017-07-12 20:34:511192const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1193const char kShowAutofillSignaturesDescription[] =
1194 "Annotates web forms with Autofill signatures as HTML attributes.";
1195
1196const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1197const char kShowAutofillTypePredictionsDescription[] =
1198 "Annotates web forms with Autofill field type predictions as placeholder "
1199 "text.";
1200
1201const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1202const char kShowOverdrawFeedbackDescription[] =
1203 "Visualize overdraw by color-coding elements based on if they have other "
1204 "elements drawn underneath.";
1205
1206const char kShowSavedCopyName[] = "Show Saved Copy Button";
1207const char kShowSavedCopyDescription[] =
1208 "When a page fails to load, if a stale copy of the page exists in the "
1209 "browser cache, a button will be presented to allow the user to load that "
1210 "stale copy. The primary enabling choice puts the button in the most "
1211 "salient position on the error page; the secondary enabling choice puts it "
1212 "secondary to the reload button.";
1213const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1214const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1215const char kDisableShowSavedCopy[] = "Disable";
1216
1217const char kShowTouchHudName[] = "Show HUD for touch points";
1218const char kShowTouchHudDescription[] =
1219 "Enables a heads-up display at the top-left corner of the screen that "
1220 "lists information about the touch-points on the screen.";
1221
1222const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1223const char kSilentDebuggerExtensionApiDescription[] =
1224 "Do not show the infobar when an extension attaches to a page via "
1225 "chrome.debugger API. This is required to debug extension background "
1226 "pages.";
1227
1228const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1229const char kSimpleCacheBackendDescription[] =
1230 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1231 "disk space allocation.";
1232
1233const char kSimplifiedFullscreenUiName[] =
1234 "Simplified full screen / mouse lock UI.";
1235const char kSimplifiedFullscreenUiDescription[] =
1236 "A simplified new user experience when entering page-triggered full screen "
1237 "or mouse pointer lock states.";
1238
1239const char kSingleClickAutofillName[] = "Single-click autofill";
1240const char kSingleClickAutofillDescription[] =
1241 "Make autofill suggestions on initial mouse click on a form element.";
1242
1243const char kSiteDetails[] = "Site Details";
1244const char kSiteDetailsDescription[] =
1245 "Adds UI in MD Settings to view all content settings for a specific "
1246 "origin.";
1247
1248const char kSitePerProcessName[] = "Strict site isolation";
1249const char kSitePerProcessDescription[] =
1250 "Highly experimental security mode that ensures each renderer process "
1251 "contains pages from at most one site. In this mode, out-of-process "
1252 "iframes will be used whenever an iframe is cross-site.";
1253
1254const char kSiteSettings[] = "Site settings with All sites and Site details";
1255const char kSiteSettingsDescription[] =
1256 "Adds new ways of viewing Site settings.";
1257
1258const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1259const char kSlimmingPaintInvalidationDescription[] =
1260 "Whether to enable a new paint invalidation system.";
1261
1262const char kSmoothScrollingName[] = "Smooth Scrolling";
1263const char kSmoothScrollingDescription[] =
1264 "Animate smoothly when scrolling page content.";
1265
1266const char kSoftwareRasterizerName[] = "3D software rasterizer";
1267const char kSoftwareRasterizerDescription[] =
1268 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1269
Tommy Steimel77704be2017-08-28 22:14:401270const char kSoundContentSettingName[] = "Sound content setting";
1271const char kSoundContentSettingDescription[] =
1272 "Enable site-wide muting in content settings and tab strip context menu.";
1273
Alexandr Ilinf0500ed32017-09-27 21:12:361274const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1275const char kSpeculativePreconnectDescription[] =
1276 "Enable the new implementation of preconnect and DNS preresolve. "
1277 "\"Learning\" means that only database construction is enabled, "
1278 "\"Preconnect\" enables both learning and preconnect and disables the "
1279 "existing implementation. \"No preconnect\" disables both implementations.";
1280
Brett Wilsonecb80982017-07-12 20:34:511281const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341282const char kSpeculativePrefetchDescription[] =
1283 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1284 R"*(load times, based on a local database (see chrome://predictors). )*"
1285 R"*("Learning" means that only the database construction is enabled, )*"
1286 R"*("Prefetching" that learning and prefetching are enabled.)*";
1287
Justin Donnelly4e448cb2017-07-07 21:32:131288const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1289 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131290const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1291 "If enabled, when the user enters text in the omnibox that looks like a "
1292 "a query, any service worker associated with the search engine the query "
1293 "will be sent to is started early.";
1294
Brett Wilsonecb80982017-07-12 20:34:511295const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1296const char kSpellingFeedbackFieldTrialDescription[] =
1297 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401298
Brett Wilsonecb80982017-07-12 20:34:511299const char kSuggestionsWithSubStringMatchName[] =
1300 "Substring matching for Autofill suggestions";
1301const char kSuggestionsWithSubStringMatchDescription[] =
1302 "Match Autofill suggestions based on substrings (token prefixes) rather "
1303 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341304
Brett Wilsonecb80982017-07-12 20:34:511305const char kSyncAppListName[] = "App Launcher sync";
1306const char kSyncAppListDescription[] =
1307 "Enable App Launcher sync. This also enables Folders where available (non "
1308 "OSX).";
vabr0215a8e2017-03-28 12:47:341309
Brett Wilsonecb80982017-07-12 20:34:511310const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1311const char kSyncSandboxDescription[] =
1312 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341313
Brett Wilsonecb80982017-07-12 20:34:511314const char kTabAudioMutingName[] = "Tab audio muting UI control";
1315const char kTabAudioMutingDescription[] =
1316 "When enabled, the audio indicators in the tab strip double as tab audio "
1317 "mute controls. This also adds commands in the tab context menu for "
1318 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341319
Christian Dullweberd0d96f02017-09-13 09:22:511320const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1321const char kTabsInCbdDescription[] =
1322 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1323
Becky Zhou99c22802017-10-19 05:09:271324const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1325const char kTabModalJsDialogDescription[] =
1326 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1327 " tab.";
1328
Brett Wilsonecb80982017-07-12 20:34:511329const char kTcpFastOpenName[] = "TCP Fast Open";
1330const char kTcpFastOpenDescription[] =
1331 "Enable the option to send extra authentication information in the initial "
1332 "SYN packet for a previously connected client, allowing faster data send "
1333 "start.";
vabr0215a8e2017-03-28 12:47:341334
Brett Wilsonecb80982017-07-12 20:34:511335const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1336const char kTopChromeMdDescription[] =
1337 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1338const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531339const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511340const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341341
Brett Wilsonecb80982017-07-12 20:34:511342const char kThreadedScrollingName[] = "Threaded scrolling";
1343const char kThreadedScrollingDescription[] =
1344 "Threaded handling of scroll-related input events. Disabling this will "
1345 "force all such scroll events to be handled on the main thread. Note that "
1346 "this can dramatically hurt scrolling performance of most websites and is "
1347 "intended for testing purposes only.";
1348
Steven Valdez4584b2482017-07-14 01:11:571349const char kTLS13VariantName[] = "TLS 1.3";
1350const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1351const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111352const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez4584b2482017-07-14 01:11:571353const char kTLS13VariantDraft[] = "Enabled (Draft)";
1354const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdezf00f8782017-09-13 18:05:281355const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
1356const char kTLS13VariantExperiment3[] = "Enabled (Experiment 3)";
Steven Valdez4584b2482017-07-14 01:11:571357
Brett Wilsonecb80982017-07-12 20:34:511358const char kTopDocumentIsolationName[] = "Top document isolation";
1359const char kTopDocumentIsolationDescription[] =
1360 "Highly experimental performance mode where cross-site iframes are kept in "
1361 "a separate process from the top document. In this mode, iframes from "
1362 "different third-party sites will be allowed to share a process.";
1363
Dominick Ng8896b1cd2017-10-17 23:24:361364const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1365const char kTopSitesFromSiteEngagementDescription[] =
1366 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1367 "engagement.";
1368
Brett Wilsonecb80982017-07-12 20:34:511369const char kTouchAdjustmentName[] = "Touch adjustment";
1370const char kTouchAdjustmentDescription[] =
1371 "Refine the position of a touch gesture in order to compensate for touches "
1372 "having poor resolution compared to a mouse.";
1373
1374const char kTouchDragDropName[] = "Touch initiated drag and drop";
1375const char kTouchDragDropDescription[] =
1376 "Touch drag and drop can be initiated through long press on a draggable "
1377 "element.";
1378
1379const char kTouchEventsName[] = "Touch Events API";
1380const char kTouchEventsDescription[] =
1381 "Force Touch Events API feature detection to always be enabled or "
1382 "disabled, or to be enabled when a touchscreen is detected on startup "
1383 "(Automatic, the default).";
1384
1385const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1386const char kTouchSelectionStrategyDescription[] =
1387 "Controls how text selection granularity changes when touch text selection "
1388 "handles are dragged. Non-default behavior is experimental.";
1389const char kTouchSelectionStrategyCharacter[] = "Character";
1390const char kTouchSelectionStrategyDirection[] = "Direction";
1391
1392const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1393const char kTraceUploadUrlDescription[] =
1394 "This is to be used in conjunction with the enable-navigation-tracing "
1395 "flag. Please select the label that best describes the recorded traces. "
1396 "This will choose the destination the traces are uploaded to. If you are "
1397 "not sure, select other. If left empty, no traces will be uploaded.";
1398const char kTraceUploadUrlChoiceOther[] = "Other";
1399const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1400const char kTraceUploadUrlChoiceQa[] = "QA";
1401const char kTraceUploadUrlChoiceTesting[] = "Testing";
1402
1403const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1404const char kTranslate2016q2UiDescription[] =
1405 "Improved triggering logic and look for Translate Bubble UI";
1406
1407const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1408const char kTranslateLanguageByUlpDescription[] =
1409 "Improved translate target language and triggering logic by considering "
1410 "information from User Language Profile (ULP).";
1411
Philippe Hamel7fdaa452017-09-29 17:22:491412const char kTranslateRankerEnforcementName[] =
1413 "Enforce TranslateRanker decisions";
1414const char kTranslateRankerEnforcementDescription[] =
1415 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1416 "or not Translate UI should be triggered in a given context.";
1417
Brett Wilsonecb80982017-07-12 20:34:511418const char kTrySupportedChannelLayoutsName[] =
1419 "Causes audio output streams to check if channel layouts other than the "
1420 "default hardware layout are available.";
1421const char kTrySupportedChannelLayoutsDescription[] =
1422 "Causes audio output streams to check if channel layouts other than the "
1423 "default hardware layout are available. Turning this on will allow the OS "
1424 "to do stereo to surround expansion if supported. May expose third party "
1425 "driver bugs, use with caution.";
1426
1427const char kUiPartialSwapName[] = "Partial swap";
1428const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1429
Chris Pickel3a227ae62017-08-24 10:47:261430const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1431const char kUseDdljsonApiDescription[] =
1432 "Enables the new ddljson API to fetch Doodles for the NTP.";
1433
Mustaq Ahmedc646c0a2017-10-20 20:08:301434const char kUserActivationV2Name[] = "User Activation v2";
1435const char kUserActivationV2Description[] =
1436 "Enable simple user activation for APIs that are otherwise controlled by "
1437 "user gesture tokens.";
1438
Brett Wilsonecb80982017-07-12 20:34:511439const char kUserConsentForExtensionScriptsName[] =
1440 "User consent for extension scripts";
1441const char kUserConsentForExtensionScriptsDescription[] =
1442 "Require user consent for an extension running a script on the page, if "
1443 "the extension requested permission to run on all urls.";
1444
1445const char kUseSuggestionsEvenIfFewFeatureName[] =
1446 "Disable minimum for server-side tile suggestions on NTP.";
1447const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1448 "Request server-side suggestions even if there are only very few of them "
1449 "and use them for tiles on the New Tab Page.";
1450
1451const char kV8CacheOptionsName[] = "V8 caching mode.";
1452const char kV8CacheOptionsDescription[] =
1453 "Caching mode for the V8 JavaScript engine.";
1454const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1455const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1456
1457const char kV8CacheStrategiesForCacheStorageName[] =
1458 "V8 caching strategy for CacheStorage.";
1459const char kV8CacheStrategiesForCacheStorageDescription[] =
1460 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1461const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1462const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1463
Hitoshi Yoshida3e5db562017-09-11 02:31:081464const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1465const char kV8ContextSnapshotDescription[] =
1466 "Sets to use a snapshot to create V8 contexts in frame creation.";
1467
Brett Wilsonecb80982017-07-12 20:34:511468const char kVibrateRequiresUserGestureName[] =
1469 "Requiring user gesture for the Vibration API";
1470const char kVibrateRequiresUserGestureDescription[] =
1471 "Block the Vibration API if no user gesture has been received on the frame "
1472 "or any embedded frame.";
1473
1474const char kVideoFullscreenOrientationLockName[] =
1475 "Lock screen orientation when playing a video fullscreen.";
1476const char kVideoFullscreenOrientationLockDescription[] =
1477 "Lock the screen orientation of the device to match video orientation when "
1478 "a video goes fullscreen. Only on phones.";
1479
1480const char kVideoRotateToFullscreenName[] =
1481 "Rotate-to-fullscreen gesture for videos.";
1482const char kVideoRotateToFullscreenDescription[] =
1483 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1484 "the video. Only on phones.";
1485
1486const char kWalletServiceUseSandboxName[] =
1487 "Use Google Payments sandbox servers";
1488const char kWalletServiceUseSandboxDescription[] =
1489 "For developers: use the sandbox service for Google Payments API calls.";
1490
Brett Wilsonecb80982017-07-12 20:34:511491const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1492const char kWebglDraftExtensionsDescription[] =
1493 "Enabling this option allows web applications to access the WebGL "
1494 "Extensions that are still in draft status.";
1495
1496const char kWebMidiName[] = "Web MIDI API";
1497const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1498
1499const char kWebPaymentsName[] = "Web Payments";
1500const char kWebPaymentsDescription[] =
1501 "Enable Web Payments API integration, a JavaScript API for merchants.";
1502
Mathieu Perreault51339b82017-07-20 17:06:051503const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1504const char kWebPaymentsModifiersDescription[] =
1505 "If the website provides modifiers in the payment request, show the custom "
1506 "total for each payment instrument, update the shopping cart when "
1507 "instruments are switched, and send modified payment method specific data "
1508 "to the payment app.";
1509
Brett Wilsonecb80982017-07-12 20:34:511510const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1511const char kWebrtcEchoCanceller3Description[] =
1512 "Experimental WebRTC echo canceller (AEC3).";
1513
1514const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1515const char kWebrtcHwDecodingDescription[] =
1516 "Support in WebRTC for decoding video streams using platform hardware.";
1517
1518const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1519const char kWebrtcHwEncodingDescription[] =
1520 "Support in WebRTC for encoding video streams using platform hardware.";
1521
1522const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1523const char kWebrtcHwH264EncodingDescription[] =
1524 "Support in WebRTC for encoding h264 video streams using platform "
1525 "hardware.";
1526
1527const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1528const char kWebrtcHwVP8EncodingDescription[] =
1529 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1530
1531const char kWebrtcSrtpAesGcmName[] =
1532 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1533const char kWebrtcSrtpAesGcmDescription[] =
1534 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1535
Joachim Bauch4a41d7512017-08-23 14:24:231536const char kWebrtcSrtpEncryptedHeadersName[] =
1537 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1538const char kWebrtcSrtpEncryptedHeadersDescription[] =
1539 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1540 "for SRTP.";
1541
Brett Wilsonecb80982017-07-12 20:34:511542const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1543const char kWebrtcStunOriginDescription[] =
1544 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1545 "header.";
1546
1547const char kWebvrName[] = "WebVR";
1548const char kWebvrDescription[] =
1549 "Enabling this option allows web applications to access experimental "
Michael Thiessenab056202017-10-05 16:50:121550 "Virtual Reality APIs. Warning: Enabling this will also allow WebVR "
1551 "content on insecure origins to access these powerful APIs, and may pose a "
1552 "security risk.";
Brett Wilsonecb80982017-07-12 20:34:511553
1554const char kWifiCredentialSyncName[] = "WiFi credential sync";
1555const char kWifiCredentialSyncDescription[] =
1556 "Enables synchronizing WiFi network settings across devices. When enabled, "
1557 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1558 "credentials are synchronized subject to user preferences. (See also, "
1559 "chrome://settings/syncSetup.)";
1560
1561const char kZeroCopyName[] = "Zero-copy rasterizer";
1562const char kZeroCopyDescription[] =
1563 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341564
Brett Wilsonff596952017-07-14 01:06:551565// Android ---------------------------------------------------------------------
1566
1567#if defined(OS_ANDROID)
1568
1569const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1570const char kAiaFetchingDescription[] =
1571 "Enable intermediate certificate fetching when a server does not provide "
1572 "sufficient certificates to build a chain to a trusted root.";
1573
1574const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1575const char kAccessibilityTabSwitcherDescription[] =
1576 "Enable the accessibility tab switcher for Android.";
1577
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251578const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1579const char kAllowReaderForAccessibilityDescription[] =
1580 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1581
Brett Wilsonff596952017-07-14 01:06:551582const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1583const char kAndroidAutofillAccessibilityDescription[] =
1584 "Enable accessibility for autofill popup.";
1585
1586const char kAndroidPaymentAppsName[] = "Android payment apps";
1587const char kAndroidPaymentAppsDescription[] =
1588 "Enable third party Android apps to integrate as payment apps";
1589
Iulia Harasim0b5a4312017-07-21 16:20:501590const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1591const char kAndroidSigninPromosDescription[] =
1592 "New signin promos for Android which will be displayed in content "
1593 "suggestions, Settings, Bookmarks and Recent Tabs.";
1594
Tatiana Gornak38ab3562017-07-28 11:04:181595const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1596const char kAndroidViewPasswordsDescription[] =
1597 "Enables copying and viewing passwords in settings.";
1598
Miriam Gershenson23cfe346e2017-09-28 14:49:291599const char kAsyncDnsName[] = "Async DNS resolver";
1600const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1601
Brett Wilsonff596952017-07-14 01:06:551602const char kAutofillAccessoryViewName[] =
1603 "Autofill suggestions as keyboard accessory view";
1604const char kAutofillAccessoryViewDescription[] =
1605 "Shows Autofill suggestions on top of the keyboard rather than in a "
1606 "dropdown.";
1607
1608const char kBackgroundLoaderForDownloadsName[] =
1609 "Enables background downloading of pages.";
1610const char kBackgroundLoaderForDownloadsDescription[] =
1611 "Enables downloading pages in the background in case page is not yet "
1612 "loaded in current tab.";
1613
Theresa Wellington82d6f6ef2017-10-12 02:39:131614const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1615const char kChromeHomeOptOutSnackbarDescription[] =
1616 "Show a snackbar prompting users to take a survey the first time they"
1617 " opt-out of Chrome Home";
1618
Theresa Wellingtondd71c5c2017-10-02 15:50:381619const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1620 "Chrome Home Personalized Omnibox Suggestions";
1621const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1622 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1623
Matthew Jones4214d2a12017-09-28 18:35:111624const char kChromeHomePromoName[] = "Chrome Home Promo";
1625const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331626 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111627
Brett Wilsonff596952017-07-14 01:06:551628const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1629const char kChromeHomeSwipeLogicDescription[] =
1630 "Various swipe logic options for Chrome Home for sheet expansion.";
1631const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Brett Wilsonff596952017-07-14 01:06:551632
Troy Hildebrandtf758d112017-10-18 23:05:561633const char kChromeHomeBottomNavLabelsName[] =
1634 "Chrome Home bottom navigation menu item labels.";
1635const char kChromeHomeBottomNavLabelsDescription[] =
1636 "Enables text labels for Chrome Home bottom navigation menu items.";
1637
Brett Wilsonff596952017-07-14 01:06:551638const char kChromeHomeName[] = "Chrome Home";
1639const char kChromeHomeDescription[] =
1640 "Enables Chrome Home on Android. You must restart the browser"
1641 " twice for changes to take effect.";
1642
Megan Jablonskic61eb1b82017-10-02 18:03:061643const char kChromeMemexName[] = "Chrome Memex";
1644const char kChromeMemexDescription[] =
1645 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1646 "Googlers.";
1647
Brett Wilsonff596952017-07-14 01:06:551648const char kContentSuggestionsCategoryOrderName[] =
1649 "Default content suggestions category order (e.g. on NTP)";
1650const char kContentSuggestionsCategoryOrderDescription[] =
1651 "Set default order of content suggestion categories (e.g. on the NTP).";
1652
1653const char kContentSuggestionsCategoryRankerName[] =
1654 "Content suggestions category ranker (e.g. on NTP)";
1655const char kContentSuggestionsCategoryRankerDescription[] =
1656 "Set category ranker to order categories of content suggestions (e.g. on "
1657 "the NTP).";
1658
Vitalii Iarkof52ff802017-09-14 12:34:241659const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1660const char kContentSuggestionsDebugLogDescription[] =
1661 "Enable content suggestions debug log accessible through "
1662 "snippets-internals.";
1663
Brett Wilsonff596952017-07-14 01:06:551664const char kContextualSearchContextualCardsBarIntegration[] =
1665 "Contextual Search - Contextual Cards Integration";
1666const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1667 "Whether or not integration of Contextual Cards data in the Contextual "
1668 "Search Bar is enabled.";
1669
1670const char kContextualSearchSingleActionsName[] =
1671 "Contextual Search - Single Actions";
1672const char kContextualSearchSingleActionsDescription[] =
1673 "Whether or not single actions using Contextual Cards data in the "
1674 "Contextual Search Bar is enabled.";
1675
1676const char kContextualSearchUrlActionsName[] =
1677 "Contextual Search - URL Actions";
1678const char kContextualSearchUrlActionsDescription[] =
1679 "Whether or not URL actions using Contextual Cards data in the Contextual "
1680 "Search Bar is enabled.";
1681
1682const char kContextualSearchName[] = "Contextual Search";
1683const char kContextualSearchDescription[] =
1684 "Whether or not Contextual Search is enabled.";
1685
Dmitry Skiba9c3efa72017-07-20 22:01:141686const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1687const char kDontPrefetchLibrariesDescription[] =
1688 "Don't prefetch libraries after loading.";
1689
Joy Ming5fd29ca62017-10-02 22:51:221690const char kDownloadsForegroundName[] = "Enable downloads foreground";
1691const char kDownloadsForegroundDescription[] =
1692 "Enable downloads as a foreground service for all versions of Android.";
1693
Brett Wilsonff596952017-07-14 01:06:551694const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1695const char kEnableAndroidPayIntegrationV1Description[] =
1696 "Enable integration with Android Pay using the first version of the API";
1697
1698const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1699const char kEnableAndroidPayIntegrationV2Description[] =
1700 "Enable integration with Android Pay using the second version of the API";
1701
Vitalii Iarkof4ed32d2017-09-26 13:15:531702const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551703const char kEnableAndroidSpellcheckerDescription[] =
1704 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551705
1706const char kEnableContentSuggestionsLargeThumbnailName[] =
1707 "Large thumbnails layout for content suggestions cards.";
1708const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1709 "If enabled, the content suggestions cards will use large thumbnails and "
1710 "some related adjustments.";
1711
Vitalii Iarkof4ed32d2017-09-26 13:15:531712const char kEnableContentSuggestionsNewFaviconServerName[] =
1713 "Get favicons for content suggestions from a new server.";
1714const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1715 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1716 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551717
1718const char kEnableContentSuggestionsSettingsName[] =
1719 "Show content suggestions settings.";
1720const char kEnableContentSuggestionsSettingsDescription[] =
1721 "If enabled, the content suggestions settings will be available from the "
1722 "main settings menu.";
1723
Vitalii Iarkof4ed32d2017-09-26 13:15:531724const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1725 "Use content suggestions thumbnail dominant color.";
1726const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1727 "Use content suggestions thumbnail dominant color as a placeholder before "
1728 "the real thumbnail is fetched (requires Chrome Home).";
1729
Brett Wilsonff596952017-07-14 01:06:551730const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1731const char kEnableCopylessPasteDescription[] =
1732 "Provide suggestions for text input, based on your recent context. For "
1733 "example, if you looked at a restaurant website and switched to the Maps "
1734 "app, the keyboard would offer the name of that restaurant as a suggestion "
1735 "to enter into the search bar. The data is indexed locally, and never sent "
1736 "to the server. It's disabled in incognito mode.";
1737
1738const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1739const char kEnableCustomContextMenuDescription[] =
1740 "Enables a new context menu when a link, image, or video is pressed within "
1741 "Chrome.";
1742
1743const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1744const char kEnableCustomFeedbackUiDescription[] =
1745 "Enables a custom feedback UI when submitting feedback through Google "
1746 "Feedback. Works with Google Play Services v10.2+";
1747
1748const char kEnableDataReductionProxyMainMenuName[] =
1749 "Enable Data Saver main menu footer";
1750const char kEnableDataReductionProxyMainMenuDescription[] =
1751 "Enables the Data Saver footer in the main menu";
1752
1753const char kEnableDataReductionProxySiteBreakdownName[] =
1754 "Data Saver Site Breakdown";
1755const char kEnableDataReductionProxySiteBreakdownDescription[] =
1756 "Enable the site breakdown on the Data Saver settings page.";
1757
1758const char kEnableOmniboxClipboardProviderName[] =
1759 "Omnibox clipboard URL suggestions";
1760const char kEnableOmniboxClipboardProviderDescription[] =
1761 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1762 "focus in the omnibox.";
1763
1764const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1765 "Use expanded autofill credit card popup layout.";
1766const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1767 "If enabled, displays autofill credit card popup using expanded layout.";
1768
1769const char kEnableFaviconsFromWebManifestName[] =
1770 "Load favicons from Web Manifests";
1771const char kEnableFaviconsFromWebManifestDescription[] =
1772 "Fetch Web Manifests on page load to read favicons from them.";
1773
1774const char kEnableNtpAssetDownloadSuggestionsName[] =
1775 "Show asset downloads on the New Tab page";
1776const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1777 "If enabled, the list of content suggestions on the New Tab page will "
1778 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1779 "later use.";
1780
1781const char kEnableNtpBookmarkSuggestionsName[] =
1782 "Show recently visited bookmarks on the New Tab page";
1783const char kEnableNtpBookmarkSuggestionsDescription[] =
1784 "If enabled, the list of content suggestions on the New Tab page will "
1785 "contain recently visited bookmarks.";
1786
1787const char kEnableNtpForeignSessionsSuggestionsName[] =
1788 "Show recent foreign tabs on the New Tab page";
1789const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1790 "If enabled, the list of content suggestions on the New Tab page will "
1791 "contain recent foreign tabs.";
1792
1793const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1794 "Download favicons for NTP tiles from Google.";
1795const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1796 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1797 "This only applies to tiles that originate from synced history.";
1798
Jan Krcal7fadbd32017-08-04 10:49:211799const char kNtpTilesLowerResolutionFaviconsName[] =
1800 "Show also lower resolution favicons in NTP tiles.";
1801const char kNtpTilesLowerResolutionFaviconsDescription[] =
1802 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1803 "decreases. Tiles where the largest available favicon is below this limit "
1804 "get displayed as colored tiles.";
1805
Brett Wilsonff596952017-07-14 01:06:551806const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1807 "Show offline page downloads on the New Tab page";
1808const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1809 "If enabled, the list of content suggestions on the New Tab page will "
1810 "contain pages that the user downloaded for later use.";
1811
1812const char kEnableNtpRemoteSuggestionsName[] =
1813 "Show server-side suggestions on the New Tab page";
1814const char kEnableNtpRemoteSuggestionsDescription[] =
1815 "If enabled, the list of content suggestions on the New Tab page will "
1816 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1817 "allows to override the source used to retrieve these server-side "
1818 "suggestions.";
1819
1820const char kEnableNtpSnippetsVisibilityName[] =
1821 "Make New Tab Page Snippets more visible.";
1822const char kEnableNtpSnippetsVisibilityDescription[] =
1823 "If enabled, the NTP snippets will become more discoverable with a larger "
1824 "portion of the first card above the fold.";
1825
1826const char kEnableNtpSuggestionsNotificationsName[] =
1827 "Notify about new content suggestions available at the New Tab page";
1828const char kEnableNtpSuggestionsNotificationsDescription[] =
1829 "If enabled, notifications will inform about new content suggestions on "
1830 "the New Tab page.";
1831
1832const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1833const char kEnablePhysicalWebDescription[] =
1834 "Enable scanning for URLs from Physical Web objects.";
1835
1836const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1837const char kEnableOfflinePreviewsDescription[] =
1838 "Enable showing offline page previews on slow networks.";
1839
1840const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1841const char kEnableOskOverscrollDescription[] =
1842 "Enable OSK overscroll support. With this flag on, the OSK will only "
1843 "resize the visual viewport.";
1844
1845const char kEnableSpecialLocaleName[] =
1846 "Enable custom logic for special locales.";
1847const char kEnableSpecialLocaleDescription[] =
1848 "Enable custom logic for special locales. In this mode, Chrome might "
1849 "behave differently in some locales.";
1850
Brett Wilsonff596952017-07-14 01:06:551851const char kEnableWebNfcName[] = "WebNFC";
1852const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1853
gogeraldf3cbb422017-07-26 14:37:121854const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1855 "Enable Web Payments method section order V2.";
1856const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1857 "Enable this option to display payment method section above address "
1858 "section instead of below it.";
1859
Brett Wilsonff596952017-07-14 01:06:551860const char kEnableWebPaymentsSingleAppUiSkipName[] =
1861 "Enable Web Payments single app UI skip";
1862const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1863 "Enable Web Payments to skip showing its UI if the developer specifies a "
1864 "single app.";
1865
1866const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1867const char kHerbPrototypeChoicesDescription[] =
1868 "Switching this option changes which tab management prototype is being "
1869 "tested.";
1870const char kHerbPrototypeFlavorElderberry[] =
1871 "ELDERBERRY: All View Intents in CCT v2";
1872
1873const char kKeepPrefetchedContentSuggestionsName[] =
1874 "Keep prefetched content suggestions";
1875const char kKeepPrefetchedContentSuggestionsDescription[] =
1876 "If enabled, some of prefetched content suggestions are not replaced by "
1877 "the new fetched suggestions.";
1878
1879const char kLsdPermissionPromptName[] =
1880 "Location Settings Dialog Permission Prompt";
1881const char kLsdPermissionPromptDescription[] =
1882 "Whether to use the Google Play Services Location Settings Dialog "
1883 "permission dialog.";
1884
Brett Wilsonff596952017-07-14 01:06:551885const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1886const char kMediaScreenCaptureDescription[] =
1887 "Enable this option for experimental ScreenCapture feature on Android.";
1888
1889const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1890const char kModalPermissionPromptsDescription[] =
1891 "Whether to use permission dialogs in place of permission infobars.";
1892
Brett Wilsonff596952017-07-14 01:06:551893const char kNewPhotoPickerName[] = "Enable new Photopicker";
1894const char kNewPhotoPickerDescription[] =
1895 "Activates the new picker for selecting photos.";
1896
1897const char kNoCreditCardAbort[] = "No Credit Card Abort";
1898const char kNoCreditCardAbortDescription[] =
1899 "Whether or not the No Credit Card Abort is enabled.";
1900
1901const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1902const char kNtpCondensedLayoutDescription[] =
1903 "Show a condensed layout on the New Tab Page.";
1904
1905const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1906const char kNtpCondensedTileLayoutDescription[] =
1907 "Show a condensed tile layout on the New Tab Page.";
1908
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041909const char kSiteExplorationUiName[] = "Site Exploration UI";
1910const char kSiteExplorationUiDescription[] =
1911 "Show site suggestions in the Exploration UI";
1912
Brett Wilsonff596952017-07-14 01:06:551913const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1914const char kNtpGoogleGInOmniboxDescription[] =
1915 "Show a Google G in the omnibox on the New Tab Page.";
1916
1917const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1918const char kNtpOfflinePagesDescription[] =
1919 "Enables badging of offline pages on the New Tab page. Only relevant if "
1920 "offline pages are enabled.";
1921
1922const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1923const char kNtpPopularSitesDescription[] =
1924 "Pre-populate the New Tab page with popular sites.";
1925
Brett Wilsonff596952017-07-14 01:06:551926const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1927const char kOfflineBookmarksDescription[] =
1928 "Enable saving bookmarked pages for offline viewing.";
1929
1930const char kOfflinePagesAsyncDownloadName[] =
1931 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1932const char kOfflinePagesAsyncDownloadDescription[] =
1933 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1934 R"*(that the user can click on it to download the page later.)*";
1935
1936const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1937const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1938
1939const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1940const char kOfflinePagesCtV2Description[] =
1941 "V2 features include attributing pages to the app that initiated the "
1942 "custom tabs, and being able to query for pages by page attribution.";
1943
1944const char kOfflinePagesLoadSignalCollectingName[] =
1945 "Enables collecting load timing data for offline page snapshots.";
1946const char kOfflinePagesLoadSignalCollectingDescription[] =
1947 "Enables loading completeness data collection while writing an offline "
1948 "page. This data is collected in the snapshotted offline page to allow "
1949 "data analysis to improve deciding when to make the offline snapshot.";
1950
1951const char kOfflinePagesPrefetchingName[] =
1952 "Enables suggested offline pages to be prefetched.";
1953const char kOfflinePagesPrefetchingDescription[] =
1954 "Enables suggested offline pages to be prefetched, so useful content is "
1955 "available while offline.";
1956
Cathy Li3d5379e2017-09-07 00:11:091957const char kOfflinePagesPrefetchingUIName[] =
1958 "Enables prefetched offline pages to be shown in UI.";
1959const char kOfflinePagesPrefetchingUIDescription[] =
1960 "Enables prefetched offline pages to raise notifications and be shown in "
1961 "download home UI.";
1962
Pete Williamson7845dff2017-09-20 11:06:191963const char kOfflinePagesResourceBasedSnapshotName[] =
1964 "Enables offline page snapshots to be based on percentage of page loaded.";
1965const char kOfflinePagesResourceBasedSnapshotDescription[] =
1966 "Enables offline page snapshots to use a resource percentage based "
1967 "approach for determining when the page is loaded as opposed to a time "
1968 "based approach";
1969
Collin Baker17f92a52017-07-19 21:41:251970const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1971const char kOfflinePagesRenovationsDescription[] =
1972 "Enables offline page renovations which correct issues with dynamic "
1973 "content that occur when offlining pages that use JavaScript.";
1974
Brett Wilsonff596952017-07-14 01:06:551975const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1976const char kOfflinePagesSharingDescription[] =
1977 "Enables the saved offline pages to be shared via other applications.";
1978
1979const char kOfflinePagesSvelteConcurrentLoadingName[] =
1980 "Enables concurrent background loading on svelte.";
1981const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1982 "Enables concurrent background loading (or downloading) of pages on "
1983 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1984 "happen when the svelte device is idle.";
1985
1986const char kOffliningRecentPagesName[] =
1987 "Enable offlining of recently visited pages";
1988const char kOffliningRecentPagesDescription[] =
1989 "Enable storing recently visited pages locally for offline use. Requires "
1990 "Offline Pages to be enabled.";
1991
Lei Zhang2eca9082017-10-17 20:42:501992const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1993const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:551994 "Enable Pay with Google integration into Web Payments with API version "
1995 "'1'.";
1996
Matthew Jones7c37430cd2017-09-11 15:59:281997const char kProgressBarThrottleName[] = "Android progress update throttling.";
1998const char kProgressBarThrottleDescription[] =
1999 "Limit the maximum progress update to make progress appear smoother.";
2000
Brett Wilsonff596952017-07-14 01:06:552001const char kProgressBarCompletionName[] =
2002 "Android phone page load progress bar completion time.";
2003const char kProgressBarCompletionDescription[] =
2004 "Configures Android phone page loading progress bar completion time.";
2005const char kProgressBarCompletionLoadEvent[] =
2006 R"*(Top loading frame's onload event ("everything" is done in the )*"
2007 R"*(page, historical behavior).)*";
2008const char kProgressBarCompletionResourcesBeforeDcl[] =
2009 "Main frame's domContentLoaded and all resources loads started before "
2010 "domContentLoaded (iframes ignored).";
2011const char kProgressBarCompletionDomContentLoaded[] =
2012 "Main frame's domContentLoaded (iframes ignored).";
2013const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
2014 "domContentLoaded and all resources loads started before domContentLoaded "
2015 "(main frame and same origin iframes).";
2016
2017const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2018const char kPullToRefreshEffectDescription[] =
2019 "Page reloads triggered by vertically overscrolling content.";
2020
Piotr Swigon7c296ef2017-08-29 04:32:002021const char kPwaImprovedSplashScreenName[] =
2022 "Improved Splash Screen for standalone PWAs";
2023const char kPwaImprovedSplashScreenDescription[] =
2024 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2025 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492026const char kPwaPersistentNotificationName[] =
2027 "Persistent notification in standalone PWA";
2028const char kPwaPersistentNotificationDescription[] =
2029 "Enables a persistent Android notification for standalone PWAs";
2030
Brett Wilsonff596952017-07-14 01:06:552031const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2032const char kReaderModeHeuristicsDescription[] =
2033 "Determines what pages the Reader Mode infobar is shown on.";
2034const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2035const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2036const char kReaderModeHeuristicsAllArticles[] = "All articles";
2037const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2038const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2039
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182040const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2041const char kReaderModeInCCTDescription[] =
2042 "Open Reader Mode in Chrome Custom Tabs.";
2043
Brett Wilsonff596952017-07-14 01:06:552044const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2045const char kSetMarketUrlForTestingDescription[] =
2046 "When enabled, sets the market URL for use in testing the update menu "
2047 "item.";
2048
2049const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2050const char kSpannableInlineAutocompleteDescription[] =
2051 "A new type of inline autocomplete for the omnibox that works with "
2052 "keyboards that compose text.";
2053
Brett Wilsonff596952017-07-14 01:06:552054const char kTranslateCompactUIName[] = "New Translate Infobar";
2055const char kTranslateCompactUIDescription[] =
2056 "Enable the new Translate compact infobar UI.";
2057
2058const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2059const char kUpdateMenuBadgeDescription[] =
2060 "When enabled, an update badge will be shown on the app menu button.";
2061
2062const char kUpdateMenuItemCustomSummaryDescription[] =
2063 "When this flag and the force show update menu item flag are enabled, a "
2064 "custom summary string will be displayed below the update menu item.";
2065const char kUpdateMenuItemCustomSummaryName[] =
2066 "Update menu item custom summary";
2067
2068const char kUpdateMenuItemName[] = "Force show update menu item";
2069const char kUpdateMenuItemDescription[] =
2070 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2071 R"*(menu.)*";
2072
2073const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2074const char kUseAndroidMidiApiDescription[] =
2075 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2076 "devices).";
2077
Marc Treib93af46a2017-08-23 13:30:002078const char kThirdPartyDoodlesName[] =
2079 "Enable Doodles for third-party search engines";
2080const char kThirdPartyDoodlesDescription[] =
2081 "Enables fetching and displaying Doodles on the NTP for third-party search "
2082 "engines.";
2083
Brett Wilson7b44537e2017-08-18 01:38:282084// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552085
Brett Wilson7b44537e2017-08-18 01:38:282086#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482087
Brett Wilson7b44537e2017-08-18 01:38:282088const char kAccountConsistencyName[] =
2089 "Identity consistency between browser and cookie jar";
2090const char kAccountConsistencyDescription[] =
2091 "When enabled, the browser manages signing in and out of Google accounts.";
2092const char kAccountConsistencyChoiceMirror[] = "Mirror";
2093const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342094
Chris Pickel3a227ae62017-08-24 10:47:262095const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2096const char kDoodlesOnLocalNtpDescription[] =
2097 "Show doodles on the local New Tab page if Google is the default search "
2098 "engine.";
2099
mlamouriff56c092017-05-11 15:31:392100const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392101const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342102 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392103const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392104const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392105const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342106 "Enabled (Flash lowers volume when interrupted by other sound, "
2107 "experimental)";
2108
Brett Wilson7b44537e2017-08-18 01:38:282109const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2110const char kEnableNewAppMenuIconDescription[] =
2111 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342112
2113const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342114const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282115 "Enable receiving entity suggestions - disambiguation descriptions - for "
2116 "Omnibox suggestions.";
2117
2118const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2119const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192120 "Enable receiving tail suggestions, a type of search suggestion based on "
2121 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342122
Brett Wilson7b44537e2017-08-18 01:38:282123const char kOneGoogleBarOnLocalNtpName[] =
2124 "Enable the OneGoogleBar on the local NTP";
2125const char kOneGoogleBarOnLocalNtpDescription[] =
2126 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2127 "search engine.";
2128
ojan38c678352017-04-11 20:27:552129const char kPauseBackgroundTabsName[] = "Pause background tabs";
2130const char kPauseBackgroundTabsDescription[] =
2131 "Pause timers in background tabs after 5 minutes on desktop.";
2132
Brett Wilson7b44537e2017-08-18 01:38:282133const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2134const char kUseGoogleLocalNtpDescription[] =
2135 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322136
Brett Wilson7b44537e2017-08-18 01:38:282137const char kVoiceSearchOnLocalNtpName[] =
2138 "Enable Voice Search on the local NTP";
2139const char kVoiceSearchOnLocalNtpDescription[] =
2140 "Show a microphone for voice search on the local New Tab page "
2141 "if Google is the default search engine.";
2142
2143#if defined(GOOGLE_CHROME_BUILD)
2144
2145const char kGoogleBrandedContextMenuName[] =
2146 "Google branding in the context menu";
2147const char kGoogleBrandedContextMenuDescription[] =
2148 "Shows a Google icon next to context menu items powered by Google "
2149 "services.";
2150
2151#endif // !defined(GOOGLE_CHROME_BUILD)
2152
2153#endif // !defined(OS_ANDROID)
2154
2155// Windows ---------------------------------------------------------------------
2156
2157#if defined(OS_WIN)
2158
2159const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2160const char kCloudPrintXpsDescription[] =
2161 "XPS enables advanced options for classic printers connected to the Cloud "
2162 "Print with Chrome. Printers must be re-connected after changing this "
2163 "flag.";
2164
Dave Tapuskadd43469d2017-08-22 22:15:532165const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2166const char kDirectManipulationStylusDescription[] =
2167 "If enabled, Chrome will scroll web pages on stylus drag.";
2168
Brett Wilson7b44537e2017-08-18 01:38:282169const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2170const char kDisablePostscriptPrintingDescription[] =
2171 "Disables PostScript generation when printing to PostScript capable "
2172 "printers, and uses EMF generation in its place.";
2173
2174const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2175const char kEnableAppcontainerDescription[] =
2176 "Enables the use of an AppContainer on sandboxed processes to improve "
2177 "security.";
2178
2179const char kEnableD3DVsync[] = "D3D v-sync";
2180const char kEnableD3DVsyncDescription[] =
2181 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2182 "to occur.";
2183
2184const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2185const char kEnableDesktopIosPromotionsDescription[] =
2186 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2187 "eligible.";
2188
2189const char kGdiTextPrinting[] = "GDI Text Printing";
2190const char kGdiTextPrintingDescription[] =
2191 "Use GDI to print text as simply text";
2192
2193const char kMergeKeyCharEventsName[] =
2194 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2195 "(WM_CHAR).";
2196const char kMergeKeyCharEventsDescription[] =
2197 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2198
2199const char kTraceExportEventsToEtwName[] =
2200 "Enable exporting of tracing events to ETW.";
2201const char kTraceExportEventsToEtwDesription[] =
2202 "If enabled, trace events will be exported to the Event Tracing for "
2203 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2204 "Xperf.";
2205
2206const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2207const char kUseWinrtMidiApiDescription[] =
2208 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2209 "later).";
2210
2211const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2212const char kWindows10CustomTitlebarDescription[] =
2213 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2214 "deferring to Windows.";
2215
Wez6656c572017-08-29 22:29:582216#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502217const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2218const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582219 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2220 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2221#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2222
Brett Wilson7b44537e2017-08-18 01:38:282223#endif // defined(OS_WIN)
2224
2225// Mac -------------------------------------------------------------------------
2226
2227#if defined(OS_MACOSX)
2228
2229const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2230const char kAppInfoDialogDescription[] =
2231 "Makes the Toolkit-Views based App Info dialog accessible from "
2232 "chrome://apps or chrome://extensions in place of the native extension "
2233 "permissions dialog, or the details link (which is a link to the Web "
2234 "Store).";
2235
2236const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2237const char kAppWindowCyclingDescription[] =
2238 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2239 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2240 "browser window, and browser windows will not be cycled when a Chrome App "
2241 "is active.";
2242
Lei Zhang2eca9082017-10-17 20:42:502243const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2244const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282245 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2246
2247const char kFullscreenToolbarRevealName[] =
2248 "Enables the toolbar in fullscreen to reveal itself.";
2249const char kFullscreenToolbarRevealDescription[] =
2250 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2251 "has changed.";
2252
2253const char kContentFullscreenName[] = "Improved Content Fullscreen";
2254const char kContentFullscreenDescription[] =
2255 "Fullscreen content window detaches from main browser window and goes to "
2256 "a new space without moving or changing the original browser window.";
2257
Lei Zhang2eca9082017-10-17 20:42:502258const char kDialogTouchBarName[] = "Dialog Touch Bar";
2259const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282260 "Shows Dialog buttons on the Touch Bar.";
2261
2262const char kHostedAppsInWindowsName[] =
2263 "Allow hosted apps to be opened in windows";
2264const char kHostedAppsInWindowsDescription[] =
2265 "Allows hosted apps to be opened in windows instead of being limited to "
2266 "tabs.";
2267
Lei Zhang2eca9082017-10-17 20:42:502268const char kMacRTLName[] = "Enable RTL";
2269const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282270
Lei Zhang2eca9082017-10-17 20:42:502271const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2272const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522273 "Enables sharing via macOS share extensions.";
2274
Lei Zhang2eca9082017-10-17 20:42:502275const char kMacTouchBarName[] = "Hardware Touch Bar";
2276const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282277
2278const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2279const char kMacV2SandboxDescription[] =
2280 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2281 "entire life cycle.";
2282
2283const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2284const char kMacViewsNativeAppWindowsDescription[] =
2285 "Controls whether to use Toolkit-Views based Chrome App windows.";
2286
2287const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2288const char kMacViewsTaskManagerDescription[] =
2289 "Controls whether to use the Toolkit-Views based Task Manager.";
2290
2291const char kTabDetachingInFullscreenName[] =
2292 "Allow tab detaching in fullscreen";
2293const char kTabDetachingInFullscreenDescription[] =
2294 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2295
2296const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2297const char kTabStripKeyboardFocusDescription[] =
2298 "Enable keyboard focus for the tabs in the tab strip.";
2299
2300const char kTranslateNewUxName[] = "New Translate UX";
2301const char kTranslateNewUxDescription[] =
2302 "Enable the new Translate bubble UX is offered instead of the infobar.";
2303
2304// Non-Mac ---------------------------------------------------------------------
2305
2306#else // !defined(OS_MACOSX)
2307
2308const char kPermissionPromptPersistenceToggleName[] =
2309 "Persistence Toggle in Permission Prompts";
2310const char kPermissionPromptPersistenceToggleDescription[] =
2311 "Whether to display a persistence toggle in permission prompts.";
2312
2313#endif
2314
2315// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342316
2317#if defined(OS_CHROMEOS)
2318
Brett Wilson7b44537e2017-08-18 01:38:282319const char kAcceleratedMjpegDecodeName[] =
2320 "Hardware-accelerated mjpeg decode for captured frame";
2321const char kAcceleratedMjpegDecodeDescription[] =
2322 "Enable hardware-accelerated mjpeg decode for captured frame where "
2323 "available.";
vabr0215a8e2017-03-28 12:47:342324
Brett Wilson7b44537e2017-08-18 01:38:282325const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2326const char kAllowTouchpadThreeFingerClickDescription[] =
2327 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342328
Brett Wilson7b44537e2017-08-18 01:38:282329const char kArcBootCompleted[] = "Load Android apps automatically";
2330const char kArcBootCompletedDescription[] =
2331 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342332
Lev Rumyantsev7a8544312017-08-18 19:26:512333const char kArcNativeBridgeExperimentName[] =
2334 "Enable native bridge experiment for ARC";
2335const char kArcNativeBridgeExperimentDescription[] =
2336 "Enables experimental native bridge feature.";
2337
Brett Wilson7b44537e2017-08-18 01:38:282338const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2339const char kAshEnableUnifiedDesktopDescription[] =
2340 "Enable unified desktop mode which allows a window to span multiple "
2341 "displays.";
vabr0215a8e2017-03-28 12:47:342342
Brett Wilson7b44537e2017-08-18 01:38:282343const char kBootAnimationName[] = "Boot animation";
2344const char kBootAnimationDescription[] =
2345 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342346
Sean Kau5e956192017-10-06 22:25:172347const char kBulkPrintersName[] = "Bulk Printers Policy";
2348const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2349
Brett Wilson7b44537e2017-08-18 01:38:282350const char kCaptivePortalBypassProxyName[] =
2351 "Bypass proxy for Captive Portal Authorization";
2352const char kCaptivePortalBypassProxyDescription[] =
2353 "If proxy is configured, it usually prevents from authorization on "
2354 "different captive portals. This enables opening captive portal "
2355 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342356
Brett Wilson7b44537e2017-08-18 01:38:282357const char kCrOSComponentName[] = "Chrome OS Component";
2358const char kCrOSComponentDescription[] =
2359 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342360
Xiaochu Liu51d03fd2017-09-08 23:51:022361const char kCrOSContainerName[] = "Chrome OS Container";
2362const char kCrOSContainerDescription[] =
2363 "Enable the use of Chrome OS Container utility.";
2364
Brett Wilson7b44537e2017-08-18 01:38:282365const char kCrosRegionsModeName[] = "Cros-regions load mode";
2366const char kCrosRegionsModeDescription[] =
2367 "This flag controls cros-regions load mode";
2368const char kCrosRegionsModeDefault[] = "Default";
2369const char kCrosRegionsModeOverride[] = "Override VPD values.";
2370const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342371
Jacob Dufault2becbc482017-08-25 00:36:352372const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2373const char kDisableLockScreenAppsDescription[] =
2374 "Disable new-note action handler apps on the lock screen. The user will "
2375 "not be able to launch the preferred note-taking action from the lock "
2376 "screen, provided that the app supports lock screen note taking.";
2377
Sammie Quonef6b4882017-09-14 16:50:052378const char kDisableTabletAutohideTitlebarsName[] =
2379 "Disable autohide titlebars in tablet mode";
2380const char kDisableTabletAutohideTitlebarsDescription[] =
2381 "Disable tablet mode autohide titlebars functionality. The user will be "
2382 "able to see the titlebar in tablet mode.";
2383
Brett Wilson7b44537e2017-08-18 01:38:282384const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2385const char kEnablePerUserTimezoneDescription[] =
2386 "Chrome OS system timezone preference is stored and handled for each user "
2387 "individually.";
vabr0215a8e2017-03-28 12:47:342388
Brett Wilson7b44537e2017-08-18 01:38:282389const char kDisableSystemTimezoneAutomaticDetectionName[] =
2390 "SystemTimezoneAutomaticDetection policy support";
2391const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2392 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342393
newcomer403ac142017-07-05 18:26:302394const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
newcomer403ac142017-07-05 18:26:302395const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192396 "The peeking launcher UI supports touch and provides more space for "
2397 "upcoming features.";
newcomer403ac142017-07-05 18:26:302398
Lei Zhang2eca9082017-10-17 20:42:502399const char kEnableBackgroundBlurName[] = "Enable background blur.";
2400const char kEnableBackgroundBlurDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:392401 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2402 "Switcher.";
2403
Brett Wilson7b44537e2017-08-18 01:38:282404const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2405const char kEnableAndroidWallpapersAppDescription[] =
2406 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2407 "OS.";
vabr0215a8e2017-03-28 12:47:342408
Brett Wilson7b44537e2017-08-18 01:38:282409const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2410const char kEnableChromevoxArcSupportDescription[] =
2411 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342412
Brett Wilson7b44537e2017-08-18 01:38:282413const char kEnableEhvInputName[] =
2414 "Emoji, handwriting and voice input on opt-in IME menu";
2415const char kEnableEhvInputDescription[] =
2416 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342417
Brett Wilson7b44537e2017-08-18 01:38:282418const char kEnableEncryptionMigrationName[] =
2419 "Enable encryption migration of user data";
2420const char kEnableEncryptionMigrationDescription[] =
2421 "If enabled and the device supports ARC, the user will be asked to update "
2422 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342423
Klemen Kozjekf2b30e452017-09-01 05:04:512424const char kEnableExternalDriveRename[] = "Enable external drive rename";
2425const char kEnableExternalDriveRenameDescription[] =
2426 "If enabled, external removable drives will get 'Rename' action in the "
2427 "context menu";
2428
Brett Wilson7b44537e2017-08-18 01:38:282429const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2430const char kEnableImeMenuDescription[] =
2431 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342432
xdai6459d0ca2017-10-11 19:23:102433const char kEnableTabletSplitViewName[] = "Split view in Tablet mode";
2434const char kEnableTabletSplitViewDescription[] =
2435 "Enable split view for Chrome OS tablet mode.";
2436
Klemen Kozjek05fc4512017-10-18 12:51:102437const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2438const char kEnableZipArchiverPackerDescription[] =
2439 "Enable the ability to archive files on Drive in the Files app";
2440
2441const char kEnableZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2442const char kEnableZipArchiverUnpackerDescription[] =
2443 "Enable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282444
2445const char kEolNotificationName[] = "Disable Device End of Life notification.";
2446const char kEolNotificationDescription[] =
2447 "Disable Notifcation when Device is End of Life.";
2448
2449const char kExperimentalAccessibilityFeaturesName[] =
2450 "Experimental accessibility features";
2451const char kExperimentalAccessibilityFeaturesDescription[] =
2452 "Enable additional accessibility features in the Settings page.";
2453
2454const char kExperimentalInputViewFeaturesName[] =
2455 "Experimental input view features";
2456const char kExperimentalInputViewFeaturesDescription[] =
2457 "Enable experimental features for IME input views.";
2458
2459const char kFileManagerTouchModeName[] = "Files App. touch mode";
2460const char kFileManagerTouchModeDescription[] =
2461 "Touchscreen-specific interactions of the Files app.";
2462
2463const char kFirstRunUiTransitionsName[] =
2464 "Animated transitions in the first-run tutorial";
2465const char kFirstRunUiTransitionsDescription[] =
2466 "Transitions during first-run tutorial are animated.";
2467
2468const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2469const char kFloatingVirtualKeyboardDescription[] =
2470 "Enable/Disable floating virtual keyboard.";
2471
2472const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2473const char kForceEnableStylusToolsDescription[] =
2474 "Forces display of the stylus tools menu in the shelf and the stylus "
2475 "section in settings, even if there is no attached stylus device.";
2476
2477const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2478const char kGestureEditingDescription[] =
2479 "Enable/Disable gesture editing option in the settings page for the "
2480 "virtual keyboard.";
2481
2482const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2483const char kGestureTypingDescription[] =
2484 "Enable/Disable gesture typing option in the settings page for the virtual "
2485 "keyboard.";
2486
2487const char kInputViewName[] = "Input views";
2488const char kInputViewDescription[] =
2489 "Enable IME extensions to supply custom views for user input such as "
2490 "virtual keyboards.";
2491
2492const char kMemoryPressureThresholdName[] =
2493 "Memory discard strategy for advanced pressure handling";
2494const char kMemoryPressureThresholdDescription[] =
2495 "Memory discarding strategy to use";
2496const char kConservativeThresholds[] =
2497 "Conservative memory pressure release strategy";
2498const char kAggressiveCacheDiscardThresholds[] =
2499 "Aggressive cache release strategy";
2500const char kAggressiveTabDiscardThresholds[] =
2501 "Aggressive tab release strategy";
2502const char kAggressiveThresholds[] =
2503 "Aggressive tab and cache release strategy";
2504
2505const char kMtpWriteSupportName[] = "MTP write support";
2506const char kMtpWriteSupportDescription[] =
2507 "MTP write support in File System API (and file manager). In-place editing "
2508 "operations are not supported.";
2509
2510const char kMultideviceName[] = "Enable multidevice features";
2511const char kMultideviceDescription[] =
2512 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342513
2514const char kNetworkPortalNotificationName[] =
2515 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342516const char kNetworkPortalNotificationDescription[] =
2517 "If enabled, notification is displayed when device is connected to a "
2518 "network behind captive portal.";
2519
stevenjbe1d457382017-05-24 22:37:242520const char kNetworkSettingsConfigName[] =
2521 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242522const char kNetworkSettingsConfigDescription[] =
2523 "Enables the Settings based network configuration UI instead of the Views "
2524 "based configuration dialog.";
2525
Brett Wilson7b44537e2017-08-18 01:38:282526const char kNewKoreanImeName[] = "New Korean IME";
2527const char kNewKoreanImeDescription[] =
2528 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342529
Brett Wilson7b44537e2017-08-18 01:38:282530const char kNewZipUnpackerName[] = "New ZIP unpacker";
2531const char kNewZipUnpackerDescription[] =
2532 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342533
Brett Wilson7b44537e2017-08-18 01:38:282534const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2535const char kPhysicalKeyboardAutocorrectDescription[] =
2536 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2537 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342538
2539const char kPrinterProviderSearchAppName[] =
2540 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342541const char kPrinterProviderSearchAppDescription[] =
2542 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192543 "searches Chrome Web Store for extensions that support printing to a USB "
2544 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342545
Brett Wilson7b44537e2017-08-18 01:38:282546const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2547const char kQuickUnlockPinDescription[] =
2548 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2549 "device on the lock screen after you have signed into your device.";
2550const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2551const char kQuickUnlockPinSigninDescription[] =
2552 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2553 "device. After changing this flag PIN needs to be set up again.";
2554const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2555const char kQuickUnlockFingerprintDescription[] =
2556 "Enabling fingerprint quick unlock allows you to setup and use a "
2557 "fingerprint to unlock your Chromebook on the lock screen after you have "
2558 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342559
Brett Wilson7b44537e2017-08-18 01:38:282560const char kOfficeEditingComponentAppName[] =
2561 "Office Editing for Docs, Sheets & Slides";
2562const char kOfficeEditingComponentAppDescription[] =
2563 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072564
2565const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2566const char kSpuriousPowerButtonWindowDescription[] =
2567 "Number of recent accelerometer samples to examine to determine if a power "
2568 "button event was spurious.";
2569
2570const char kSpuriousPowerButtonAccelCountName[] =
2571 "Spurious power button acceleration count";
2572const char kSpuriousPowerButtonAccelCountDescription[] =
2573 "Number of recent acceleration samples that must meet or exceed exceed the "
2574 "threshold in order for a power button event to be considered spurious.";
2575
2576const char kSpuriousPowerButtonScreenAccelName[] =
2577 "Spurious power button screen acceleration threshold";
2578const char kSpuriousPowerButtonScreenAccelDescription[] =
2579 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2580 "meet or exceed for a power button event to be considered spurious.";
2581
2582const char kSpuriousPowerButtonKeyboardAccelName[] =
2583 "Spurious power button keyboard acceleration threshold";
2584const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2585 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2586 "must meet or exceed for a power button event to be considered spurious.";
2587
2588const char kSpuriousPowerButtonLidAngleChangeName[] =
2589 "Spurious power button lid angle change threshold";
2590const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2591 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2592 "met or exceeded for a power button event to be considered spurious.";
2593
Chung-Sheng Wu468b0b32017-09-01 14:41:572594const char kSysInternalsName[] = "Enable Sys-Internals";
2595const char kSysInternalsDescription[] =
2596 "If enabled, user can monitor system information at "
2597 "chrome://sys-internals.";
2598
Brett Wilson7b44537e2017-08-18 01:38:282599const char kTeamDrivesName[] = "Enable Team Drives Integration";
2600const char kTeamDrivesDescription[] =
2601 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342602
Brett Wilson7b44537e2017-08-18 01:38:282603const char kTetherName[] = "Instant Tethering";
2604const char kTetherDescription[] =
2605 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2606 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372607
Brett Wilson7b44537e2017-08-18 01:38:282608const char kTouchscreenCalibrationName[] =
2609 "Enable/disable touchscreen calibration option in material design settings";
2610const char kTouchscreenCalibrationDescription[] =
2611 "If enabled, the user can calibrate the touch screen displays in "
2612 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092613
Mitsuru Oshima63d3f2a2017-08-23 00:12:112614// Force UI Mode
2615const char kUiModeName[] = "Force Ui Mode";
2616const char kUiModeDescription[] =
2617 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2618 R"*(despite its current orientation. "Tablet" means that the )*"
2619 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2620 R"*(means that the chromebook will act as if it were in clamshell )*"
2621 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2622 R"*(the two, based on its orientation.)*";
2623const char kUiModeTablet[] = "TouchView";
2624const char kUiModeClamshell[] = "Clamshell";
2625const char kUiModeAuto[] = "Auto (default)";
2626
bruthigeafb0c02017-06-09 13:11:532627const char kUiDevToolsName[] = "Enable native UI inspection";
2628const char kUiDevToolsDescription[] =
2629 "Enables inspection of native UI elements. For local inspection use "
2630 "chrome://inspect#other";
2631
Brett Wilson7b44537e2017-08-18 01:38:282632const char kUseMusName[] = "Mus";
2633const char kUseMusDescription[] = "Enable the Mojo UI service.";
2634const char kEnableMashDescription[] =
2635 "Mash (UI, Chrome and ash in separate services)";
2636const char kEnableMusDescription[] =
2637 "Mus (UI in separate service, Chrome and ash in same service)";
2638
2639const char kVideoPlayerChromecastSupportName[] =
2640 "Experimental Chromecast support for Video Player";
2641const char kVideoPlayerChromecastSupportDescription[] =
2642 "This option enables experimental Chromecast support for Video Player app "
2643 "on ChromeOS.";
2644
2645const char kVirtualKeyboardName[] = "Virtual Keyboard";
2646const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2647
2648const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2649const char kVirtualKeyboardOverscrollDescription[] =
2650 "Enables virtual keyboard overscroll support.";
2651
2652const char kVoiceInputName[] = "Voice input on virtual keyboard";
2653const char kVoiceInputDescription[] =
2654 "Enables voice input on virtual keyboard.";
2655
2656const char kWakeOnPacketsName[] = "Wake On Packets";
2657const char kWakeOnPacketsDescription[] =
2658 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202659
yhanadac5bff5b2017-05-18 06:37:092660#endif // defined(OS_CHROMEOS)
2661
Brett Wilson7b44537e2017-08-18 01:38:282662// Random platform combinations -----------------------------------------------
2663
2664#if defined(OS_WIN) || defined(OS_LINUX)
2665
2666const char kEnableInputImeApiName[] = "Enable Input IME API";
2667const char kEnableInputImeApiDescription[] =
2668 "Enable the use of chrome.input.ime API.";
2669
2670#endif // defined(OS_WIN) || defined(OS_LINUX)
2671
2672#if defined(OS_WIN) || defined(OS_MACOSX)
2673
2674const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2675const char kAutomaticTabDiscardingDescription[] =
2676 "If enabled, tabs get automatically discarded from memory when the system "
2677 "memory is low. Discarded tabs are still visible on the tab strip and get "
2678 "reloaded when clicked on. Info about discarded tabs can be found at "
2679 "chrome://discards.";
2680
2681#endif // defined(OS_WIN) || defined(OS_MACOSX)
2682
2683// Feature flags --------------------------------------------------------------
2684
2685#if BUILDFLAG(ENABLE_VR)
2686
2687#if defined(OS_ANDROID)
2688
2689const char kEnableVrShellName[] = "Enable Chrome VR.";
2690const char kEnableVrShellDescription[] =
2691 "Allow browsing with a VR headset if available for this device.";
2692
2693const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2694const char kVrCustomTabBrowsingDescription[] =
2695 "Allow browsing with a VR headset in a Custom Tab if available for this "
2696 "device.";
2697
2698const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2699const char kWebVrAutopresentDescription[] =
2700 "Allows auto presentation of WebVr content from trusted first-party apps";
2701
2702const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2703const char kWebVrVsyncAlignDescription[] =
2704 "Enabling this option aligns WebVR application rendering with VSync "
2705 "for smoother animations.";
2706
2707#endif // OS_ANDROID
2708
2709const char kWebvrExperimentalRenderingName[] =
2710 "WebVR experimental rendering optimizations";
2711const char kWebvrExperimentalRenderingDescription[] =
2712 "Enabling this option activates experimental rendering path optimizations "
2713 "for WebVR.";
2714
2715#endif // ENABLE_VR
2716
Nico Weberaf3b00b2017-09-11 17:58:172717#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282718
2719const char kNaclDebugMaskName[] =
2720 "Restrict Native Client GDB-based debugging by pattern";
2721const char kNaclDebugMaskDescription[] =
2722 "Restricts Native Client application GDB-based debugging by URL of "
2723 "manifest file. Native Client GDB-based debugging must be enabled for this "
2724 "option to work.";
2725const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2726const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2727 "Debug everything except secure shell and the PNaCl translator.";
2728const char kNaclDebugMaskChoiceIncludeDebug[] =
2729 "Debug only if manifest URL ends with debug.nmf.";
2730
2731const char kNaclDebugName[] = "Native Client GDB-based debugging";
2732const char kNaclDebugDescription[] =
2733 "Enable GDB debug stub. This will stop a Native Client application on "
2734 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2735
2736const char kNaclName[] = "Native Client";
2737const char kNaclDescription[] =
2738 "Support Native Client for all web applications, even those that were not "
2739 "installed from the Chrome Web Store.";
2740
2741const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2742const char kPnaclSubzeroDescription[] =
2743 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2744
Nico Weberaf3b00b2017-09-11 17:58:172745#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282746
Brett Wilson7b44537e2017-08-18 01:38:282747#if BUILDFLAG(ENABLE_WEBRTC)
2748
2749const char kWebrtcH264WithOpenh264FfmpegName[] =
2750 "WebRTC H.264 software video encoder/decoder";
2751const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2752 "When enabled, an H.264 software video encoder/decoder pair is included. "
2753 "If a hardware encoder/decoder is also available it may be used instead of "
2754 "this encoder/decoder.";
2755
2756#endif // BUILDFLAG(ENABLE_WEBRTC)
2757
James Cookf9d34d22017-10-04 16:39:352758#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282759
2760const char kAshDisableSmoothScreenRotationName[] =
2761 "Disable smooth rotation animations.";
2762const char kAshDisableSmoothScreenRotationDescription[] =
2763 "Disable smooth rotation animations.";
2764
2765const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2766const char kAshEnableMirroredScreenDescription[] =
2767 "Enable the mirrored screen mode. This mode flips the screen image "
2768 "horizontally.";
2769
2770const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2771const char kAshShelfColorDescription[] =
2772 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2773 "--ash-shelf-color-scheme flag defines how that color is derived.";
2774
2775const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2776const char kAshShelfColorSchemeDescription[] =
2777 "Specify how the color is derived from the wallpaper. This flag is only "
2778 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2779const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2780const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2781const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2782const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2783const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2784const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2785
Mike Wassermana38a8a62017-10-02 03:04:272786const char kAshDisableShelfModelSynchronization[] =
2787 "Disable shelf model synchronization";
2788const char kAshDisableShelfModelSynchronizationDescription[] =
2789 "Use a single in-process shelf data model shared between Chrome and Ash. "
2790 "This only applies to the Classic Ash and Mus configs; synchronization "
2791 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372792
Brett Wilson7b44537e2017-08-18 01:38:282793const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372794 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282795const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2796 "Sets the speed of the experimental visual feedback animations for "
2797 "material design.";
2798const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2799const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2800
2801const char kUiShowCompositedLayerBordersName[] =
2802 "Show UI composited layer borders";
2803const char kUiShowCompositedLayerBordersDescription[] =
2804 "Show border around composited layers created by UI.";
2805const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2806const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2807const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2808const char kUiShowCompositedLayerBordersAll[] = "All";
2809
2810const char kUiSlowAnimationsName[] = "Slow UI animations";
2811const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2812
James Cookf9d34d22017-10-04 16:39:352813#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282814
Brett Wilson7b44537e2017-08-18 01:38:282815#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2816
2817const char kAutofillCreditCardUploadName[] =
2818 "Enable offering upload of Autofilled credit cards";
2819const char kAutofillCreditCardUploadDescription[] =
2820 "Enables a new option to upload credit cards to Google Payments for sync "
2821 "to all Chrome devices.";
2822
2823#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2824
2825// ============================================================================
2826// Don't just add flags to the end, put them in the right section in
2827// alphabetical order just like the header file.
2828// ============================================================================
2829
vabr0215a8e2017-03-28 12:47:342830} // namespace flag_descriptions