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