blob: 0d2cb190e6942410fec3fc52a11510eb78215f92 [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
87const char kCaptureThumbnailOnLoadFinishedName[] =
88 "Capture page thumbnail on load finished";
89const char kCaptureThumbnailOnLoadFinishedDescription[] =
90 "Capture a page thumbnail (for use on the New Tab page) when the page load "
91 "finishes, in addition to other times a thumbnail may be captured.";
92
Marc Treibe3651be2017-07-14 11:05:4093const char kCaptureThumbnailOnNavigatingAwayName[] =
94 "Capture page thumbnail on navigating away";
95const char kCaptureThumbnailOnNavigatingAwayDescription[] =
96 "Capture a page thumbnail (for use on the New Tab page) when navigating "
97 "away from the current page, in addition to other times a thumbnail may be "
98 "captured.";
99
Brett Wilsonf27ff602017-07-07 22:28:47100const char kCastStreamingHwEncodingName[] =
101 "Cast Streaming hardware video encoding";
102const char kCastStreamingHwEncodingDescription[] =
103 "This option enables support in Cast Streaming for encoding video streams "
104 "using platform hardware.";
105
Amber Won478561d2017-08-19 01:02:59106const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
107const char kClickToOpenPDFDescription[] =
108 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
109 "embedded PDFs.";
110
Brett Wilsonf27ff602017-07-07 22:28:47111const char kCloudImportName[] = "Cloud Import";
112const char kCloudImportDescription[] = "Allows the cloud-import feature.";
113
114const char kColorCorrectRenderingName[] = "Color correct rendering";
115const char kColorCorrectRenderingDescription[] =
116 "Enables color correct rendering of web content.";
117
118const 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[] =
331 "Enable sensor APIs based on Generic Sensor API.";
332
Brett Wilsonf27ff602017-07-07 22:28:47333const char kEnableHDRName[] = "HDR mode";
334const char kEnableHDRDescription[] =
335 "Enables HDR support on compatible displays.";
336
337const char kEnableHeapProfilingName[] = "Heap profiling";
338const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
339const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
340const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
341const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
342
343const char kEnableHttpFormWarningName[] =
344 "Show in-form warnings for sensitive fields when the top-level page is not "
345 "not HTTPS";
346const char kEnableHttpFormWarningDescription[] =
347 "Attaches a warning UI to any password or credit card fields detected when "
348 "the top-level page is not HTTPS";
349
350const char kEnableIdleTimeSpellCheckingName[] =
351 "Enable idle time spell checker";
352const char kEnableIdleTimeSpellCheckingDescription[] =
353 "Make spell-checking code run only when the browser is idle, so that input "
354 "latency is reduced, especially when editing long articles, emails, etc.";
vabr0215a8e2017-03-28 12:47:34355
Tatiana Gornakafb40452017-07-31 13:50:04356const char kEnableManualFallbacksFillingName[] =
357 "Manual fallbacks for password manager forms filling";
358const char kEnableManualFallbacksFillingDescription[] =
359 "If enabled, then if user clicks on the password field on a form, popup "
360 "might contain generation fallbacks or 'Show all saved passwords' "
361 "fallback.";
362
vabr0215a8e2017-03-28 12:47:34363const char kEnableMaterialDesignBookmarksName[] =
364 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34365const char kEnableMaterialDesignBookmarksDescription[] =
366 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
367 "bookmarks page.";
368
vabr0215a8e2017-03-28 12:47:34369const char kEnableMaterialDesignExtensionsName[] =
370 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34371const char kEnableMaterialDesignExtensionsDescription[] =
372 "If enabled, the chrome://extensions/ URL loads the Material Design "
373 "extensions page.";
374
vabr0215a8e2017-03-28 12:47:34375const char kEnableMaterialDesignFeedbackName[] =
376 "Enable Material Design feedback";
vabr0215a8e2017-03-28 12:47:34377const char kEnableMaterialDesignFeedbackDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:19378 "If enabled, reporting an issue will load the Material Design feedback UI.";
vabr0215a8e2017-03-28 12:47:34379
Brett Wilsonf27ff602017-07-07 22:28:47380const char kEnableMidiManagerDynamicInstantiationName[] =
381 "MIDIManager dynamic instantiation for Web MIDI.";
382const char kEnableMidiManagerDynamicInstantiationDescription[] =
383 "Enable MIDIManager dynamic instantiation for Web MIDI.";
384
385const char kEnableNavigationTracingName[] = "Enable navigation tracing";
386const char kEnableNavigationTracingDescription[] =
387 "This is to be used in conjunction with the trace-upload-url flag. "
388 "WARNING: When enabled, Chrome will record performance data for every "
389 "navigation and upload it to the URL specified by the trace-upload-url "
390 "flag. The trace may include personally identifiable information (PII) "
391 "such as the titles and URLs of websites you visit.";
392
393const char kEnableNetworkServiceName[] = "Enable network service";
394const char kEnableNetworkServiceDescription[] =
395 "Enables the network service, which makes network requests through a "
396 "separate service. Note: most features don't work with this yet.";
397
Ahmed Fakhry2fd8fc82017-07-28 16:31:12398const char kEnableNightLightName[] = "Enable Night Light";
399const char kEnableNightLightDescription[] =
400 "Enable the Night Light feature which controls the color temperature of "
401 "the screen.";
402
Yutaka Hirano98be3272017-08-07 17:55:39403const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
404const char kEnableOutOfBlinkCORSDescription[] =
405 "CORS handling logic is moved out of blink.";
406
Erik Chen49bbfa22017-08-18 08:49:56407const char kEnableOutOfProcessHeapProfilingName[] =
408 "Out of process heap profiling.";
409const char kEnableOutOfProcessHeapProfilingDescription[] =
410 "Creates a profiling service that records stacktraces for all live, "
411 "malloced objects.";
412const char kEnableOutOfProcessHeapProfilingModeBrowser[] =
413 "Profile only the browser process.";
414const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
415
Brett Wilsonf27ff602017-07-07 22:28:47416const char kEnablePictureInPictureName[] = "Enable picture in picture.";
417const char kEnablePictureInPictureDescription[] =
418 "Enable the picture in picture feature for videos.";
419
420const char kEnableTokenBindingName[] = "Token Binding.";
421const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
422
Irmak Kavasoglu7e16af02017-07-19 09:52:47423const char kEnableUsernameCorrectionName[] = "Enable username correction";
424const char kEnableUsernameCorrectionDescription[] =
425 "While on the pending password state, add an edit button to the bubble so "
426 "that user can edit the username.";
427
Brett Wilsonf27ff602017-07-07 22:28:47428const char kEnableUseZoomForDsfName[] =
429 "Use Blink's zoom for device scale factor.";
430const char kEnableUseZoomForDsfDescription[] =
431 "If enabled, Blink uses its zooming mechanism to scale content for device "
432 "scale factor.";
433const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
434const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
435const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
436
437const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
438const char kEnableScrollAnchoringDescription[] =
439 "Adjusts scroll position to prevent visible jumps when offscreen content "
440 "changes.";
441
442const char kEnableSharedArrayBufferName[] =
443 "Experimental enabled SharedArrayBuffer support in JavaScript.";
444const char kEnableSharedArrayBufferDescription[] =
445 "Enable SharedArrayBuffer support in JavaScript.";
446
447const char kEnableWasmName[] = "WebAssembly structured cloning support.";
448const char kEnableWasmDescription[] =
449 "Enable web pages to use WebAssembly structured cloning.";
450
451const char kEnableWebUsbName[] = "WebUSB";
452const char kEnableWebUsbDescription[] = "Enable WebUSB support.";
453
454const char kEnableImageCaptureAPIName[] = "Image Capture API";
455const char kEnableImageCaptureAPIDescription[] =
456 "Enables the Web Platform Image Capture API: takePhoto(), "
457 "getPhotoCapabilities(), etc.";
458
459const char kEnableZeroSuggestRedirectToChromeName[] =
460 "Experimental contextual omnibox suggestion";
461const char kEnableZeroSuggestRedirectToChromeDescription[] =
462 "Change omnibox contextual suggestions to an experimental source. Note "
463 "that this is not an on/off switch for contextual omnibox and it only "
464 "applies to suggestions provided before the user starts typing a URL or a "
465 "search query (i.e. zero suggest).";
466
467const char kEnableWasmStreamingName[] =
468 "WebAssembly streaming compile/instantiate support.";
469const char kEnableWasmStreamingDescription[] =
470 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
471
472const char kEnableWebfontsInterventionName[] =
473 "New version of User Agent Intervention for WebFonts loading.";
474const char kEnableWebfontsInterventionDescription[] =
475 "Enable New version of User Agent Intervention for WebFonts loading.";
476const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
477const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
478const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
479const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
480 "Enabled: Slow 2G";
481const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
482
483const char kEnableWebfontsInterventionTriggerName[] =
484 "Trigger User Agent Intervention for WebFonts loading always.";
485const char kEnableWebfontsInterventionTriggerDescription[] =
486 "Enable to trigger User Agent Intervention for WebFonts loading always. "
487 "This flag affects only when the intervention is enabled.";
488
489const char kEnableWebNotificationCustomLayoutsName[] =
490 "Enable custom layouts for Web Notifications.";
491const char kEnableWebNotificationCustomLayoutsDescription[] =
492 "Enable custom layouts for Web Notifications. They will have subtle layout "
493 "improvements that are otherwise not possible.";
494
495const char kExpensiveBackgroundTimerThrottlingName[] =
496 "Throttle expensive background timers";
497const char kExpensiveBackgroundTimerThrottlingDescription[] =
498 "Enables intervention to limit CPU usage of background timers to 1%.";
499
500const char kExperimentalAppBannersName[] = "Experimental app banners";
501const char kExperimentalAppBannersDescription[] =
502 "Enables a new experimental app banner flow and UI";
503
504const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
505const char kExperimentalCanvasFeaturesDescription[] =
506 "Enables the use of experimental canvas features which are still in "
507 "development.";
508
509const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
510const char kExperimentalExtensionApisDescription[] =
511 "Enables experimental extension APIs. Note that the extension gallery "
512 "doesn't allow you to upload extensions that use experimental APIs.";
513
514const char kExperimentalFullscreenExitUIName[] =
515 "Experimental fullscreen exit UI";
516const char kExperimentalFullscreenExitUIDescription[] =
517 "Displays experimental UI to allow mouse and touch input methods to exit "
518 "fullscreen mode.";
519
520const char kExperimentalHotwordHardwareName[] =
521 "Simulated hardware 'Ok Google' features";
522const char kExperimentalHotwordHardwareDescription[] =
523 "Enables an experimental version of 'Ok Google' hotword detection features "
524 "that have a hardware dependency.";
525
526const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
527const char kExperimentalKeyboardLockUiDescription[] =
528 "An experimental full screen with keyboard lock mode requiring users to "
529 "hold Esc to exit.";
530
531const char kExperimentalSecurityFeaturesName[] =
532 "Potentially annoying security features";
533const char kExperimentalSecurityFeaturesDescription[] =
534 "Enables several security features that will likely break one or more "
535 "pages that you visit on a daily basis. Strict mixed content checking, for "
536 "example. And locking powerful features to secure contexts. This flag will "
537 "probably annoy you.";
538
539const char kExperimentalWebPlatformFeaturesName[] =
540 "Experimental Web Platform features";
541const char kExperimentalWebPlatformFeaturesDescription[] =
542 "Enables experimental Web Platform features that are in development.";
543
544const char kExtensionContentVerificationName[] =
545 "Extension Content Verification";
546const char kExtensionContentVerificationDescription[] =
547 "This flag can be used to turn on verification that the contents of the "
548 "files on disk for extensions from the webstore match what they're "
549 "expected to be. This can be used to turn on this feature if it would not "
550 "otherwise have been turned on, but cannot be used to turn it off (because "
551 "this setting can be tampered with by malware).";
552const char kExtensionContentVerificationBootstrap[] =
553 "Bootstrap (get expected hashes, but do not enforce them)";
554const char kExtensionContentVerificationEnforce[] =
555 "Enforce (try to get hashes, and enforce them if successful)";
556const char kExtensionContentVerificationEnforceStrict[] =
557 "Enforce strict (hard fail if we can't get hashes)";
558
559const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
560const char kExtensionsOnChromeUrlsDescription[] =
561 "Enables running extensions on chrome:// URLs, where extensions explicitly "
562 "request this permission.";
galinapae72e152017-05-12 13:12:28563
Brett Wilsonecb80982017-07-12 20:34:51564const char kFastUnloadName[] = "Fast tab/window close";
565const char kFastUnloadDescription[] =
566 "Enables fast tab/window closing - runs a tab's onunload js handler "
567 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34568
Brett Wilsonecb80982017-07-12 20:34:51569const char kFeaturePolicyName[] = "Feature Policy";
570const char kFeaturePolicyDescription[] =
571 "Enables granting and removing access to features through the "
572 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34573
Brett Wilsonecb80982017-07-12 20:34:51574const char kFetchKeepaliveTimeoutSettingName[] =
575 "Fetch API keepalive timeout setting";
576const char kFetchKeepaliveTimeoutSettingDescription[] =
577 "This is for setting the timeout value for Fetch API with keepalive option "
578 "and SendBeacon";
579
580const char kFontCacheScalingName[] = "FontCache scaling";
581const char kFontCacheScalingDescription[] =
582 "Reuse a cached font in the renderer to serve different sizes of font for "
583 "faster layout.";
584
585const char kForceEffectiveConnectionTypeName[] =
586 "Override effective connection type";
587const char kForceEffectiveConnectionTypeDescription[] =
588 "Overrides the effective connection type of the current connection "
589 "returned by the network quality estimator.";
590const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
591const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
592const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
593const char kEffectiveConnectionType2GDescription[] = "2G";
594const char kEffectiveConnectionType3GDescription[] = "3G";
595const char kEffectiveConnectionType4GDescription[] = "4G";
596
597const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
598const char kFillOnAccountSelectDescription[] =
599 "Filling of passwords when an account is explicitly selected by the user "
600 "rather than autofilling credentials on page load.";
601
Brett Wilsonecb80982017-07-12 20:34:51602const char kForceTextDirectionName[] = "Force text direction";
603const char kForceTextDirectionDescription[] =
604 "Explicitly force the per-character directionality of UI text to "
605 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
606 "direction of the character language.";
607const char kForceDirectionLtr[] = "Left-to-right";
608const char kForceDirectionRtl[] = "Right-to-left";
609
610const char kForceUiDirectionName[] = "Force UI direction";
611const char kForceUiDirectionDescription[] =
612 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
613 "mode, overriding the default direction of the UI language.";
614
615const char kFramebustingName[] =
616 "Framebusting requires same-origin or a user gesture";
617const char kFramebustingDescription[] =
618 "Don't permit an iframe to navigate the top level browsing context unless "
619 "they are same-origin or the iframe is processing a user gesture.";
620
621const char kGamepadExtensionsName[] = "Gamepad Extensions";
622const char kGamepadExtensionsDescription[] =
623 "Enabling this option allows web applications to access experimental "
624 "extensions to the Gamepad APIs.";
625
sohan3f00ffc2017-07-14 22:28:08626const char kGlCompositedOverlayCandidateQuadBordersName[] =
627 "GL composited overlay candidate quad borders";
628const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39629 "Renders a border around GL composited overlay candidate quads to help "
630 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51631
632const char kGpuRasterizationMsaaSampleCountName[] =
633 "GPU rasterization MSAA sample count.";
634const char kGpuRasterizationMsaaSampleCountDescription[] =
635 "Specify the number of MSAA samples for GPU rasterization.";
636const char kGpuRasterizationMsaaSampleCountZero[] = "0";
637const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
638const char kGpuRasterizationMsaaSampleCountFour[] = "4";
639const char kGpuRasterizationMsaaSampleCountEight[] = "8";
640const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
641
642const char kGpuRasterizationName[] = "GPU rasterization";
643const char kGpuRasterizationDescription[] =
644 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28645const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51646
647const char kGoogleProfileInfoName[] = "Google profile name and icon";
648const char kGoogleProfileInfoDescription[] =
649 "Enables using Google information to populate the profile name and icon in "
650 "the avatar menu.";
651
652const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
653const char kHarfbuzzRendertextDescription[] =
654 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
655 "web content.";
656
657const char kHistoryRequiresUserGestureName[] =
658 "New history entries require a user gesture.";
659const char kHistoryRequiresUserGestureDescription[] =
660 "Require a user gesture to add a history entry.";
661const char kHyperlinkAuditingName[] = "Hyperlink auditing";
662const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
663
664const char kHostedAppQuitNotificationName[] =
665 "Quit notification for hosted apps";
666const char kHostedAppQuitNotificationDescription[] =
667 "Display a notification when quitting Chrome if hosted apps are currently "
668 "running.";
669
670const char kHostedAppShimCreationName[] =
671 "Creation of app shims for hosted apps on Mac";
672const char kHostedAppShimCreationDescription[] =
673 "Create app shims on Mac when creating a hosted app.";
674
675const char kIconNtpName[] = "Large icons on the New Tab page";
676const char kIconNtpDescription[] =
677 "Enable the experimental New Tab page using large icons.";
678
679const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
680const char kIgnoreGpuBlacklistDescription[] =
681 "Overrides the built-in software rendering list and enables "
682 "GPU-acceleration on unsupported system configurations.";
683
684const char kImportantSitesInCbdName[] =
685 "Important sites options in clear browsing data dialog";
686const char kImportantSitesInCbdDescription[] =
687 "Include the option to whitelist important sites in the clear browsing "
688 "data dialog.";
689
690const char kInertVisualViewportName[] = "Inert visual viewport.";
691const char kInertVisualViewportDescription[] =
692 "Experiment to have all APIs reflect the layout viewport. This will make "
693 "window.scroll properties relative to the layout viewport.";
694
695const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
696const char kInProductHelpDemoModeChoiceDescription[] =
697 "Selects the In-Product Help demo mode.";
698
699const char kJavascriptHarmonyName[] = "Experimental JavaScript";
700const char kJavascriptHarmonyDescription[] =
701 "Enable web pages to use experimental JavaScript features.";
702
703const char kJavascriptHarmonyShippingName[] =
704 "Latest stable JavaScript features";
705const char kJavascriptHarmonyShippingDescription[] =
706 "Some web pages use legacy or non-standard JavaScript extensions that may "
707 "conflict with the latest JavaScript features. This flag allows disabling "
708 "support of those features for compatibility with such pages.";
709
710const char kLcdTextName[] = "LCD text antialiasing";
711const char kLcdTextDescription[] =
712 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
713 "(subpixel) when doing accelerated compositing.";
714
715const char kLoadMediaRouterComponentExtensionName[] =
716 "Load Media Router Component Extension";
717const char kLoadMediaRouterComponentExtensionDescription[] =
718 "Loads the Media Router component extension at startup.";
719
720const char kManualPasswordGenerationName[] = "Manual password generation.";
721const char kManualPasswordGenerationDescription[] =
722 "Show a 'Generate Password' option on the context menu for all password "
723 "fields.";
724
725const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
726const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
727const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
728const char kMarkHttpAsNonSecureAfterEditing[] =
729 "Warn on HTTP after editing forms";
730const char kMarkHttpAsNonSecureWhileIncognito[] =
731 "Warn on HTTP while in Incognito mode";
732const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
733 "Warn on HTTP while in Incognito mode or after editing forms";
734
735extern const char kMaterialDesignIncognitoNTPName[] =
736 "Material Design Incognito NTP.";
737extern const char kMaterialDesignIncognitoNTPDescription[] =
738 "If enabled, the Incognito New Tab page uses the new material design with "
739 "a better readable text.";
740
741const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
742const char kMediaRemotingDescription[] =
743 "When Casting a tab to a remote device, enabling this turns on an "
744 "optimization that forwards the content bitstream directly to the remote "
745 "device when a video is fullscreened.";
746
747const char kMemoryAblationName[] = "Memory ablation experiment";
748const char kMemoryAblationDescription[] =
749 "Allocates extra memory in the browser process.";
750
751const char kMemoryCoordinatorName[] = "Memory coordinator";
752const char kMemoryCoordinatorDescription[] =
753 "Enable memory coordinator instead of memory pressure listeners.";
754
755const char kMessageCenterNewStyleNotificationName[] = "New style notification";
756const char kMessageCenterNewStyleNotificationDescription[] =
757 "Enables the experiment style of material-design notification";
758
759const char kMessageCenterAlwaysScrollUpUponRemovalName[] =
760 "Experiments that message center always scroll up upon notification "
761 "removal";
762const char kMessageCenterAlwaysScrollUpUponRemovalDescription[] =
763 "Enables experiment that message center always scroll up when a "
764 "notification is removed.";
765
766const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
767const char kMhtmlGeneratorOptionDescription[] =
768 "Provides experimental options for MHTML file generator.";
769const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
770const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
771
772const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
773const char kMojoLoadingDescription[] =
774 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
775
Miguel Casas-Sanchez10769c82017-07-27 23:52:04776const char kMojoVideoEncodeAcceleratorName[] =
777 "Hardware-accelerated video encoder accessed using Mojo IPC";
778const char kMojoVideoEncodeAcceleratorDescription[] =
779 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
780 "available.";
781
Brett Wilsonecb80982017-07-12 20:34:51782const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
783const char kModuleScriptsDescription[] =
784 "Enables ECMAScript 6 modules support in Blink.";
785
786const char kNewAudioRenderingMixingStrategyName[] =
787 "New audio rendering mixing strategy";
788const char kNewAudioRenderingMixingStrategyDescription[] =
789 "Use the new audio rendering mixing strategy.";
790
791const char kNewBookmarkAppsName[] = "The new bookmark app system";
792const char kNewBookmarkAppsDescription[] =
793 "Enables the new system for creating bookmark apps.";
794
795const char kNewOmniboxAnswerTypesName[] =
796 "New omnibox answers in suggest types";
797const char kNewOmniboxAnswerTypesDescription[] =
798 "Enables new types of answers in the omnibox suggest drop-down: currency "
799 "conversions, dictionary definitions, sports scores, translations, and "
800 "when is.";
801
802const char kNewRemotePlaybackPipelineName[] =
803 "Enable the new remote playback pipeline.";
804const char kNewRemotePlaybackPipelineDescription[] =
805 "Enable the new pipeline for playing media element remotely via "
806 "RemotePlayback API or native controls.";
807
808const char kNewUsbBackendName[] = "Enable new USB backend";
809const char kNewUsbBackendDescription[] =
810 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34811
brettw5f9c1642017-05-14 17:12:48812const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34813const char kNostatePrefetchDescription[] =
814 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
815 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
816 R"*(improve load times even more. "Simple Load" does nothing and is )*"
817 R"*(similar to disabling the feature, but collects more metrics for )*"
818 R"*(comparison purposes.)*";
819
Brett Wilsonecb80982017-07-12 20:34:51820const char kNotificationsNativeFlagName[] = "Enable native notifications.";
821const char kNotificationsNativeFlagDescription[] =
822 "Enable support for using the native notification toasts and notification "
823 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34824
Brett Wilsonecb80982017-07-12 20:34:51825const char kNumRasterThreadsName[] = "Number of raster threads";
826const char kNumRasterThreadsDescription[] =
827 "Specify the number of raster threads.";
828const char kNumRasterThreadsOne[] = "1";
829const char kNumRasterThreadsTwo[] = "2";
830const char kNumRasterThreadsThree[] = "3";
831const char kNumRasterThreadsFour[] = "4";
832
833const char kOfferStoreUnmaskedWalletCardsName[] =
834 "Google Payments card saving checkbox";
835const char kOfferStoreUnmaskedWalletCardsDescription[] =
836 "Show the checkbox to offer local saving of a credit card downloaded from "
837 "the server.";
838
839const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
840const char kOfflineAutoReloadDescription[] =
841 "Pages that fail to load while the browser is offline will be "
842 "auto-reloaded when the browser is online again.";
843
844const char kOfflineAutoReloadVisibleOnlyName[] =
845 "Only Auto-Reload Visible Tabs";
846const char kOfflineAutoReloadVisibleOnlyDescription[] =
847 "Pages that fail to load while the browser is offline will only be "
848 "auto-reloaded if their tab is visible.";
849
850const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
851const char kOffMainThreadFetchDescription[] =
852 "If enabled, the resource fetches from worker threads will not be blocked "
853 "by the busy main thread.";
854
855const char kOmniboxDisplayTitleForCurrentUrlName[] =
856 "Include title for the current URL in the omnibox";
857const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
858 "In the event that the omnibox provides suggestions on-focus, the URL of "
859 "the current page is provided as the first suggestion without a title. "
860 "Enabling this flag causes the title to be displayed.";
861
Benoit Lizeab08362c2017-07-19 14:50:54862const char kOmniboxSpareRendererName[] =
863 "Start spare renderer on omnibox focus";
864const char kOmniboxSpareRendererDescription[] =
865 "When the omnibox is focused, start an empty spare renderer. This can "
866 "speed up the load of the navigation from the omnibox.";
867
Tommy C. Li8875a442017-08-23 00:10:59868const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
869 "Omnibox UI Elide Suggestion URL After Host";
870const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
871 "Elides the path, query, and ref of suggested URLs in the Omnibox "
872 "dropdown.";
873
Brett Wilsonecb80982017-07-12 20:34:51874const char kOmniboxUIHideSuggestionUrlSchemeName[] =
875 "Omnibox UI Hide Suggestion URL Scheme";
876const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
877 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
878
879const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
880 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
881const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
882 "Elides trivially informative subdomains from suggested URLs in the "
883 "Omnibox dropdown (e.g. www. and m.).";
884
Tommy C. Li8875a442017-08-23 00:10:59885const char kOmniboxUIShowSuggestionFaviconsName[] =
886 "Omnibox UI Show Suggestion Favicons";
887const char kOmniboxUIShowSuggestionFaviconsDescription[] =
888 "Shows favicons instead of generic vector icons for URL suggestions in the "
889 "Omnibox dropdown.";
890
Brett Wilsonecb80982017-07-12 20:34:51891const char kOmniboxUIMaxAutocompleteMatchesName[] =
892 "Omnibox UI Max Autocomplete Matches";
893
894const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
895 "Changes the maximum number of autocomplete matches displayed in the "
896 "Omnibox UI.";
897
898const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
899const char kOmniboxUINarrowDropdownDescription[] =
900 "Makes the suggestions dropdown width match the omnibox width.";
901
902const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
903const char kOmniboxUIVerticalLayoutDescription[] =
904 "Displays Omnibox sugestions in 2 lines - title over origin.";
905
906const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
907const char kOmniboxUIVerticalMarginDescription[] =
908 "Changes the vertical margin in the Omnibox UI.";
909
910const char kOriginTrialsName[] = "Origin Trials";
911const char kOriginTrialsDescription[] =
912 "Enables origin trials for controlling access to feature/API experiments.";
913
914const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
915const char kOverlayScrollbarsDescription[] =
916 "Enable the experimental overlay scrollbars implementation. You must also "
917 "enable threaded compositing to have the scrollbars animate.";
918
919const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
920const char kOverscrollHistoryNavigationDescription[] =
921 "Experimental history navigation in response to horizontal overscroll.";
922const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
923
924const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
925const char kOverscrollStartThresholdDescription[] =
926 "Changes overscroll start threshold relative to the default value.";
927const char kOverscrollStartThreshold133Percent[] = "133%";
928const char kOverscrollStartThreshold166Percent[] = "166%";
929const char kOverscrollStartThreshold200Percent[] = "200%";
930
931const char kPassiveEventListenerDefaultName[] =
932 "Passive Event Listener Override";
933const char kPassiveEventListenerDefaultDescription[] =
934 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
935 "haven't requested otherwise) to be treated as passive. This will break "
936 "touch/wheel behavior on some websites but is useful for demonstrating the "
937 "potential performance benefits of adopting passive event listeners.";
938const char kPassiveEventListenerTrue[] = "True (when unspecified)";
939const char kPassiveEventListenerForceAllTrue[] = "Force All True";
940
941const char kPassiveEventListenersDueToFlingName[] =
942 "Touch Event Listeners Passive Default During Fling";
943const char kPassiveEventListenersDueToFlingDescription[] =
944 "Forces touchstart, and first touchmove per scroll event listeners during "
945 "fling to be treated as passive.";
946
947const char kPassiveDocumentEventListenersName[] =
948 "Document Level Event Listeners Passive Default";
949const char kPassiveDocumentEventListenersDescription[] =
950 "Forces touchstart, and touchmove event listeners on document level "
951 "targets (which haven't requested otherwise) to be treated as passive.";
952
953const char kPasswordForceSavingName[] = "Force-saving of passwords";
954const char kPasswordForceSavingDescription[] =
955 "Allow the user to manually enforce password saving instead of relying on "
956 "password manager's heuristics.";
957
958const char kPasswordGenerationName[] = "Password generation";
959const char kPasswordGenerationDescription[] =
960 "Allow the user to have Chrome generate passwords when it detects account "
961 "creation pages.";
962
963const char kPasswordImportExportName[] = "Password import and export";
964const char kPasswordImportExportDescription[] =
965 "Import and Export functionality in password settings.";
966
967const char kPermissionActionReportingName[] = "Permission Action Reporting";
968const char kPermissionActionReportingDescription[] =
969 "Enables permission action reporting to Safe Browsing servers for opted in "
970 "users.";
971
972const char kPermissionsBlacklistName[] = "Permissions Blacklist";
973const char kPermissionsBlacklistDescription[] =
974 "Enables the Permissions Blacklist, which blocks permissions for "
975 "blacklisted sites for Safe Browsing users.";
976
977const char kPinchScaleName[] = "Pinch scale";
978const char kPinchScaleDescription[] =
979 "Enables experimental support for scale using pinch.";
980
Brett Wilsonecb80982017-07-12 20:34:51981const char kPrintPdfAsImageName[] = "Print Pdf as Image";
982const char kPrintPdfAsImageDescription[] =
983 "If enabled, an option to print PDF files as images will be available in "
984 "print preview.";
985
986const char kPrintPreviewRegisterPromosName[] =
987 "Print Preview Registration Promos";
988const char kPrintPreviewRegisterPromosDescription[] =
989 "Enable registering unregistered cloud printers from print preview.";
990
991const char kProtectSyncCredentialName[] = "Autofill sync credential";
992const char kProtectSyncCredentialDescription[] =
993 "How the password manager handles autofill for the sync credential.";
994
995const char kProtectSyncCredentialOnReauthName[] =
996 "Autofill sync credential only for transactional reauth pages";
997const char kProtectSyncCredentialOnReauthDescription[] =
998 "How the password manager handles autofill for the sync credential only "
999 "for transactional reauth pages.";
1000
Mohsen Izadi93faac12017-07-29 04:45:151001const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1002const char kPullToRefreshDescription[] =
1003 "Pull-to-refresh gesture in response to vertical overscroll.";
1004
Brett Wilsonecb80982017-07-12 20:34:511005const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1006const char kPushApiBackgroundModeDescription[] =
1007 "Enable background mode for the Push API. This allows Chrome to continue "
1008 "running after the last window is closed, and to launch at OS startup, if "
1009 "the Push API needs it.";
1010
Piotr Swigon46929d12017-08-11 07:16:331011const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1012const char kPwaMinimalUiDescription[] =
1013 "Enables support for Minimal-UI display mode for installed PWAs";
1014
Brett Wilsonecb80982017-07-12 20:34:511015const char kQuicName[] = "Experimental QUIC protocol";
1016const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1017
1018const char kReducedReferrerGranularityName[] =
1019 "Reduce default 'referer' header granularity.";
1020const char kReducedReferrerGranularityDescription[] =
1021 "If a page hasn't set an explicit referrer policy, setting this flag will "
1022 "reduce the amount of information in the 'referer' header for cross-origin "
1023 "requests.";
1024
1025const char kRequestTabletSiteName[] =
1026 "Request tablet site option in the settings menu";
1027const char kRequestTabletSiteDescription[] =
1028 "Allows the user to request tablet site. Web content is often optimized "
1029 "for tablet devices. When this option is selected the user agent string is "
1030 "changed to indicate a tablet device. Web content optimized for tablets is "
1031 "received there after for the current tab.";
1032
1033const char kResetAppListInstallStateName[] =
1034 "Reset the App Launcher install state on every restart.";
1035const char kResetAppListInstallStateDescription[] =
1036 "Reset the App Launcher install state on every restart. While this flag is "
1037 "set, Chrome will forget the launcher has been installed each time it "
1038 "starts. This is used for testing the App Launcher install flow.";
1039
1040const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1041const char kResourceLoadSchedulerDescription[] =
1042 "Uses the resource load scheduler in blink to schedule and throttle "
1043 "resource load requests.";
1044
Brett Wilsonecb80982017-07-12 20:34:511045const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1046const char kSafeSearchUrlReportingDescription[] =
1047 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1048
1049const char kSaveasMenuLabelExperimentName[] =
1050 "Switch 'Save as' menu labels to 'Download'";
1051const char kSaveasMenuLabelExperimentDescription[] =
1052 "Enables an experiment to switch menu labels that use 'Save as...' to "
1053 "'Download'.";
1054
1055const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1056const char kSavePageAsMhtmlDescription[] =
1057 "Enables saving pages as MHTML: a single text file containing HTML and all "
1058 "sub-resources.";
1059
Brett Wilsonecb80982017-07-12 20:34:511060const char kScrollPredictionName[] = "Scroll prediction";
1061const char kScrollPredictionDescription[] =
1062 "Predicts the finger's future position during scrolls allowing time to "
1063 "render the frame before the finger is there.";
1064
1065const char kSecondaryUiMd[] =
1066 "Material Design in the rest of the browser's native UI";
1067const char kSecondaryUiMdDescription[] =
1068 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1069 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1070 "browser dialogs.";
1071
1072const char kServiceWorkerNavigationPreloadName[] =
1073 "Service worker navigation preload.";
1074const char kServiceWorkerNavigationPreloadDescription[] =
1075 "Enable web pages to use the experimental service worker navigation "
1076 "preload API.";
1077
Makoto Shimazud9f333c2017-08-08 07:23:171078const char kServiceWorkerScriptStreamingName[] =
1079 "Service worker script streaming.";
1080const char kServiceWorkerScriptStreamingDescription[] =
1081 "Installed scripts for a service worker are sent over a dedicated "
1082 "message pipe and data pipes, and that is never be blocked on the main "
1083 "thread.";
1084
Brett Wilsonecb80982017-07-12 20:34:511085const char kSettingsWindowName[] = "Show settings in a window";
1086const char kSettingsWindowDescription[] =
1087 "Settings will be shown in a dedicated window instead of as a browser tab.";
1088
1089const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1090const char kShowAutofillSignaturesDescription[] =
1091 "Annotates web forms with Autofill signatures as HTML attributes.";
1092
1093const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1094const char kShowAutofillTypePredictionsDescription[] =
1095 "Annotates web forms with Autofill field type predictions as placeholder "
1096 "text.";
1097
1098const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1099const char kShowOverdrawFeedbackDescription[] =
1100 "Visualize overdraw by color-coding elements based on if they have other "
1101 "elements drawn underneath.";
1102
1103const char kShowSavedCopyName[] = "Show Saved Copy Button";
1104const char kShowSavedCopyDescription[] =
1105 "When a page fails to load, if a stale copy of the page exists in the "
1106 "browser cache, a button will be presented to allow the user to load that "
1107 "stale copy. The primary enabling choice puts the button in the most "
1108 "salient position on the error page; the secondary enabling choice puts it "
1109 "secondary to the reload button.";
1110const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1111const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1112const char kDisableShowSavedCopy[] = "Disable";
1113
1114const char kShowTouchHudName[] = "Show HUD for touch points";
1115const char kShowTouchHudDescription[] =
1116 "Enables a heads-up display at the top-left corner of the screen that "
1117 "lists information about the touch-points on the screen.";
1118
1119const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1120const char kSilentDebuggerExtensionApiDescription[] =
1121 "Do not show the infobar when an extension attaches to a page via "
1122 "chrome.debugger API. This is required to debug extension background "
1123 "pages.";
1124
1125const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1126const char kSimpleCacheBackendDescription[] =
1127 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1128 "disk space allocation.";
1129
1130const char kSimplifiedFullscreenUiName[] =
1131 "Simplified full screen / mouse lock UI.";
1132const char kSimplifiedFullscreenUiDescription[] =
1133 "A simplified new user experience when entering page-triggered full screen "
1134 "or mouse pointer lock states.";
1135
1136const char kSingleClickAutofillName[] = "Single-click autofill";
1137const char kSingleClickAutofillDescription[] =
1138 "Make autofill suggestions on initial mouse click on a form element.";
1139
1140const char kSiteDetails[] = "Site Details";
1141const char kSiteDetailsDescription[] =
1142 "Adds UI in MD Settings to view all content settings for a specific "
1143 "origin.";
1144
1145const char kSitePerProcessName[] = "Strict site isolation";
1146const char kSitePerProcessDescription[] =
1147 "Highly experimental security mode that ensures each renderer process "
1148 "contains pages from at most one site. In this mode, out-of-process "
1149 "iframes will be used whenever an iframe is cross-site.";
1150
1151const char kSiteSettings[] = "Site settings with All sites and Site details";
1152const char kSiteSettingsDescription[] =
1153 "Adds new ways of viewing Site settings.";
1154
1155const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1156const char kSlimmingPaintInvalidationDescription[] =
1157 "Whether to enable a new paint invalidation system.";
1158
1159const char kSmoothScrollingName[] = "Smooth Scrolling";
1160const char kSmoothScrollingDescription[] =
1161 "Animate smoothly when scrolling page content.";
1162
1163const char kSoftwareRasterizerName[] = "3D software rasterizer";
1164const char kSoftwareRasterizerDescription[] =
1165 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1166
1167const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341168const char kSpeculativePrefetchDescription[] =
1169 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1170 R"*(load times, based on a local database (see chrome://predictors). )*"
1171 R"*("Learning" means that only the database construction is enabled, )*"
1172 R"*("Prefetching" that learning and prefetching are enabled.)*";
1173
Justin Donnelly4e448cb2017-07-07 21:32:131174const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1175 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131176const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1177 "If enabled, when the user enters text in the omnibox that looks like a "
1178 "a query, any service worker associated with the search engine the query "
1179 "will be sent to is started early.";
1180
Brett Wilsonecb80982017-07-12 20:34:511181const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1182const char kSpellingFeedbackFieldTrialDescription[] =
1183 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401184
Brett Wilsonecb80982017-07-12 20:34:511185const char kSuggestionsWithSubStringMatchName[] =
1186 "Substring matching for Autofill suggestions";
1187const char kSuggestionsWithSubStringMatchDescription[] =
1188 "Match Autofill suggestions based on substrings (token prefixes) rather "
1189 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341190
Brett Wilsonecb80982017-07-12 20:34:511191const char kSupervisedUserManagedBookmarksFolderName[] =
1192 "Managed bookmarks for supervised users";
1193const char kSupervisedUserManagedBookmarksFolderDescription[] =
1194 "Enable the managed bookmarks folder for supervised users.";
vabr0215a8e2017-03-28 12:47:341195
Brett Wilsonecb80982017-07-12 20:34:511196const char kSyncAppListName[] = "App Launcher sync";
1197const char kSyncAppListDescription[] =
1198 "Enable App Launcher sync. This also enables Folders where available (non "
1199 "OSX).";
vabr0215a8e2017-03-28 12:47:341200
Brett Wilsonecb80982017-07-12 20:34:511201const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1202const char kSyncSandboxDescription[] =
1203 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341204
Brett Wilsonecb80982017-07-12 20:34:511205const char kTabAudioMutingName[] = "Tab audio muting UI control";
1206const char kTabAudioMutingDescription[] =
1207 "When enabled, the audio indicators in the tab strip double as tab audio "
1208 "mute controls. This also adds commands in the tab context menu for "
1209 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341210
Brett Wilsonecb80982017-07-12 20:34:511211const char kTcpFastOpenName[] = "TCP Fast Open";
1212const char kTcpFastOpenDescription[] =
1213 "Enable the option to send extra authentication information in the initial "
1214 "SYN packet for a previously connected client, allowing faster data send "
1215 "start.";
vabr0215a8e2017-03-28 12:47:341216
Brett Wilsonecb80982017-07-12 20:34:511217const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1218const char kTopChromeMdDescription[] =
1219 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1220const char kTopChromeMdMaterial[] = "Normal";
1221const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341222
Brett Wilsonecb80982017-07-12 20:34:511223const char kThreadedScrollingName[] = "Threaded scrolling";
1224const char kThreadedScrollingDescription[] =
1225 "Threaded handling of scroll-related input events. Disabling this will "
1226 "force all such scroll events to be handled on the main thread. Note that "
1227 "this can dramatically hurt scrolling performance of most websites and is "
1228 "intended for testing purposes only.";
1229
Steven Valdez4584b2482017-07-14 01:11:571230const char kTLS13VariantName[] = "TLS 1.3";
1231const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1232const char kTLS13VariantDisabled[] = "Disabled";
1233const char kTLS13VariantDraft[] = "Enabled (Draft)";
1234const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdez2d7b4e82017-07-17 22:22:091235const char kTLS13VariantRecordTypeExperiment[] =
1236 "Enabled (Record Type Experiment)";
Steven Valdez2ee1c4a22017-07-19 20:39:311237const char kTLS13VariantNoSessionIDExperiment[] =
1238 "Enabled (No Session ID Experiment)";
Steven Valdez4584b2482017-07-14 01:11:571239
Brett Wilsonecb80982017-07-12 20:34:511240const char kTopDocumentIsolationName[] = "Top document isolation";
1241const char kTopDocumentIsolationDescription[] =
1242 "Highly experimental performance mode where cross-site iframes are kept in "
1243 "a separate process from the top document. In this mode, iframes from "
1244 "different third-party sites will be allowed to share a process.";
1245
1246const char kTouchAdjustmentName[] = "Touch adjustment";
1247const char kTouchAdjustmentDescription[] =
1248 "Refine the position of a touch gesture in order to compensate for touches "
1249 "having poor resolution compared to a mouse.";
1250
1251const char kTouchDragDropName[] = "Touch initiated drag and drop";
1252const char kTouchDragDropDescription[] =
1253 "Touch drag and drop can be initiated through long press on a draggable "
1254 "element.";
1255
1256const char kTouchEventsName[] = "Touch Events API";
1257const char kTouchEventsDescription[] =
1258 "Force Touch Events API feature detection to always be enabled or "
1259 "disabled, or to be enabled when a touchscreen is detected on startup "
1260 "(Automatic, the default).";
1261
1262const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1263const char kTouchSelectionStrategyDescription[] =
1264 "Controls how text selection granularity changes when touch text selection "
1265 "handles are dragged. Non-default behavior is experimental.";
1266const char kTouchSelectionStrategyCharacter[] = "Character";
1267const char kTouchSelectionStrategyDirection[] = "Direction";
1268
1269const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1270const char kTraceUploadUrlDescription[] =
1271 "This is to be used in conjunction with the enable-navigation-tracing "
1272 "flag. Please select the label that best describes the recorded traces. "
1273 "This will choose the destination the traces are uploaded to. If you are "
1274 "not sure, select other. If left empty, no traces will be uploaded.";
1275const char kTraceUploadUrlChoiceOther[] = "Other";
1276const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1277const char kTraceUploadUrlChoiceQa[] = "QA";
1278const char kTraceUploadUrlChoiceTesting[] = "Testing";
1279
1280const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1281const char kTranslate2016q2UiDescription[] =
1282 "Improved triggering logic and look for Translate Bubble UI";
1283
1284const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1285const char kTranslateLanguageByUlpDescription[] =
1286 "Improved translate target language and triggering logic by considering "
1287 "information from User Language Profile (ULP).";
1288
1289const char kTrySupportedChannelLayoutsName[] =
1290 "Causes audio output streams to check if channel layouts other than the "
1291 "default hardware layout are available.";
1292const char kTrySupportedChannelLayoutsDescription[] =
1293 "Causes audio output streams to check if channel layouts other than the "
1294 "default hardware layout are available. Turning this on will allow the OS "
1295 "to do stereo to surround expansion if supported. May expose third party "
1296 "driver bugs, use with caution.";
1297
1298const char kUiPartialSwapName[] = "Partial swap";
1299const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1300
1301const char kUserConsentForExtensionScriptsName[] =
1302 "User consent for extension scripts";
1303const char kUserConsentForExtensionScriptsDescription[] =
1304 "Require user consent for an extension running a script on the page, if "
1305 "the extension requested permission to run on all urls.";
1306
1307const char kUseSuggestionsEvenIfFewFeatureName[] =
1308 "Disable minimum for server-side tile suggestions on NTP.";
1309const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1310 "Request server-side suggestions even if there are only very few of them "
1311 "and use them for tiles on the New Tab Page.";
1312
1313const char kV8CacheOptionsName[] = "V8 caching mode.";
1314const char kV8CacheOptionsDescription[] =
1315 "Caching mode for the V8 JavaScript engine.";
1316const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1317const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1318
1319const char kV8CacheStrategiesForCacheStorageName[] =
1320 "V8 caching strategy for CacheStorage.";
1321const char kV8CacheStrategiesForCacheStorageDescription[] =
1322 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1323const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1324const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1325
1326const char kVibrateRequiresUserGestureName[] =
1327 "Requiring user gesture for the Vibration API";
1328const char kVibrateRequiresUserGestureDescription[] =
1329 "Block the Vibration API if no user gesture has been received on the frame "
1330 "or any embedded frame.";
1331
1332const char kVideoFullscreenOrientationLockName[] =
1333 "Lock screen orientation when playing a video fullscreen.";
1334const char kVideoFullscreenOrientationLockDescription[] =
1335 "Lock the screen orientation of the device to match video orientation when "
1336 "a video goes fullscreen. Only on phones.";
1337
1338const char kVideoRotateToFullscreenName[] =
1339 "Rotate-to-fullscreen gesture for videos.";
1340const char kVideoRotateToFullscreenDescription[] =
1341 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1342 "the video. Only on phones.";
1343
1344const char kWalletServiceUseSandboxName[] =
1345 "Use Google Payments sandbox servers";
1346const char kWalletServiceUseSandboxDescription[] =
1347 "For developers: use the sandbox service for Google Payments API calls.";
1348
1349const char kWebgl2Name[] = "WebGL 2.0";
1350const char kWebgl2Description[] = "Allow web applications to access WebGL 2.0.";
1351
1352const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1353const char kWebglDraftExtensionsDescription[] =
1354 "Enabling this option allows web applications to access the WebGL "
1355 "Extensions that are still in draft status.";
1356
1357const char kWebMidiName[] = "Web MIDI API";
1358const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1359
1360const char kWebPaymentsName[] = "Web Payments";
1361const char kWebPaymentsDescription[] =
1362 "Enable Web Payments API integration, a JavaScript API for merchants.";
1363
Mathieu Perreault51339b82017-07-20 17:06:051364const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1365const char kWebPaymentsModifiersDescription[] =
1366 "If the website provides modifiers in the payment request, show the custom "
1367 "total for each payment instrument, update the shopping cart when "
1368 "instruments are switched, and send modified payment method specific data "
1369 "to the payment app.";
1370
Brett Wilsonecb80982017-07-12 20:34:511371const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1372const char kWebrtcEchoCanceller3Description[] =
1373 "Experimental WebRTC echo canceller (AEC3).";
1374
1375const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1376const char kWebrtcHwDecodingDescription[] =
1377 "Support in WebRTC for decoding video streams using platform hardware.";
1378
1379const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1380const char kWebrtcHwEncodingDescription[] =
1381 "Support in WebRTC for encoding video streams using platform hardware.";
1382
1383const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1384const char kWebrtcHwH264EncodingDescription[] =
1385 "Support in WebRTC for encoding h264 video streams using platform "
1386 "hardware.";
1387
1388const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1389const char kWebrtcHwVP8EncodingDescription[] =
1390 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1391
1392const char kWebrtcSrtpAesGcmName[] =
1393 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1394const char kWebrtcSrtpAesGcmDescription[] =
1395 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1396
1397const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1398const char kWebrtcStunOriginDescription[] =
1399 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1400 "header.";
1401
1402const char kWebvrName[] = "WebVR";
1403const char kWebvrDescription[] =
1404 "Enabling this option allows web applications to access experimental "
1405 "Virtual Reality APIs.";
1406
1407const char kWifiCredentialSyncName[] = "WiFi credential sync";
1408const char kWifiCredentialSyncDescription[] =
1409 "Enables synchronizing WiFi network settings across devices. When enabled, "
1410 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1411 "credentials are synchronized subject to user preferences. (See also, "
1412 "chrome://settings/syncSetup.)";
1413
Tom Anderson5c3130ad2017-08-21 19:49:171414const char kWindowNavNativeFlagName[] =
1415 "Enable native window navigation buttons.";
1416const char kWindowNavNativeFlagDescription[] =
1417 "Whether the window frame buttons should be drawn using the system theme. "
1418 "Has no effect unless using the GTK3 theme.";
1419
Brett Wilsonecb80982017-07-12 20:34:511420const char kZeroCopyName[] = "Zero-copy rasterizer";
1421const char kZeroCopyDescription[] =
1422 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341423
Brett Wilsonff596952017-07-14 01:06:551424// Android ---------------------------------------------------------------------
1425
1426#if defined(OS_ANDROID)
1427
1428const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1429const char kAiaFetchingDescription[] =
1430 "Enable intermediate certificate fetching when a server does not provide "
1431 "sufficient certificates to build a chain to a trusted root.";
1432
1433const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1434const char kAccessibilityTabSwitcherDescription[] =
1435 "Enable the accessibility tab switcher for Android.";
1436
1437const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1438const char kAndroidAutofillAccessibilityDescription[] =
1439 "Enable accessibility for autofill popup.";
1440
1441const char kAndroidPaymentAppsName[] = "Android payment apps";
1442const char kAndroidPaymentAppsDescription[] =
1443 "Enable third party Android apps to integrate as payment apps";
1444
Iulia Harasim0b5a4312017-07-21 16:20:501445const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1446const char kAndroidSigninPromosDescription[] =
1447 "New signin promos for Android which will be displayed in content "
1448 "suggestions, Settings, Bookmarks and Recent Tabs.";
1449
Tatiana Gornak38ab3562017-07-28 11:04:181450const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1451const char kAndroidViewPasswordsDescription[] =
1452 "Enables copying and viewing passwords in settings.";
1453
Brett Wilsonff596952017-07-14 01:06:551454const char kAutofillAccessoryViewName[] =
1455 "Autofill suggestions as keyboard accessory view";
1456const char kAutofillAccessoryViewDescription[] =
1457 "Shows Autofill suggestions on top of the keyboard rather than in a "
1458 "dropdown.";
1459
1460const char kBackgroundLoaderForDownloadsName[] =
1461 "Enables background downloading of pages.";
1462const char kBackgroundLoaderForDownloadsDescription[] =
1463 "Enables downloading pages in the background in case page is not yet "
1464 "loaded in current tab.";
1465
1466const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1467const char kChromeHomeExpandButtonDescription[] =
1468 "Enables the expand button for Chrome Home.";
1469
Michael van Ouwerkerk66e45322017-08-04 17:25:241470const char kChromeHomeModernLayoutName[] = "Modern layout for Chrome Home.";
1471const char kChromeHomeModernLayoutDescription[] =
1472 "Enables the modern layout for Chrome Home.";
1473
Brett Wilsonff596952017-07-14 01:06:551474const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1475const char kChromeHomeSwipeLogicDescription[] =
1476 "Various swipe logic options for Chrome Home for sheet expansion.";
1477const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
1478const char kChromeHomeSwipeLogicButtonOnly[] = "Swipe on expand button";
1479
1480const char kChromeHomeName[] = "Chrome Home";
1481const char kChromeHomeDescription[] =
1482 "Enables Chrome Home on Android. You must restart the browser"
1483 " twice for changes to take effect.";
1484
1485const char kContentSuggestionsCategoryOrderName[] =
1486 "Default content suggestions category order (e.g. on NTP)";
1487const char kContentSuggestionsCategoryOrderDescription[] =
1488 "Set default order of content suggestion categories (e.g. on the NTP).";
1489
1490const char kContentSuggestionsCategoryRankerName[] =
1491 "Content suggestions category ranker (e.g. on NTP)";
1492const char kContentSuggestionsCategoryRankerDescription[] =
1493 "Set category ranker to order categories of content suggestions (e.g. on "
1494 "the NTP).";
1495
1496const char kContextualSearchContextualCardsBarIntegration[] =
1497 "Contextual Search - Contextual Cards Integration";
1498const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1499 "Whether or not integration of Contextual Cards data in the Contextual "
1500 "Search Bar is enabled.";
1501
1502const char kContextualSearchSingleActionsName[] =
1503 "Contextual Search - Single Actions";
1504const char kContextualSearchSingleActionsDescription[] =
1505 "Whether or not single actions using Contextual Cards data in the "
1506 "Contextual Search Bar is enabled.";
1507
1508const char kContextualSearchUrlActionsName[] =
1509 "Contextual Search - URL Actions";
1510const char kContextualSearchUrlActionsDescription[] =
1511 "Whether or not URL actions using Contextual Cards data in the Contextual "
1512 "Search Bar is enabled.";
1513
1514const char kContextualSearchName[] = "Contextual Search";
1515const char kContextualSearchDescription[] =
1516 "Whether or not Contextual Search is enabled.";
1517
Dmitry Skiba9c3efa72017-07-20 22:01:141518const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1519const char kDontPrefetchLibrariesDescription[] =
1520 "Don't prefetch libraries after loading.";
1521
Brett Wilsonff596952017-07-14 01:06:551522const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1523const char kEnableAndroidPayIntegrationV1Description[] =
1524 "Enable integration with Android Pay using the first version of the API";
1525
1526const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1527const char kEnableAndroidPayIntegrationV2Description[] =
1528 "Enable integration with Android Pay using the second version of the API";
1529
1530const char kEnableAndroidSpellcheckerDescription[] =
1531 "Enables use of the Android spellchecker.";
1532const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1533
1534const char kEnableConsistentOmniboxGeolocationName[] =
1535 "Have consistent omnibox geolocation access.";
1536const char kEnableConsistentOmniboxGeolocationDescription[] =
1537 "Have consistent geolocation access between the omnibox and default search "
1538 "engine.";
1539
1540const char kEnableContentSuggestionsNewFaviconServerName[] =
1541 "Get favicons for content suggestions from a new server.";
1542const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1543 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1544 "new favicon server.";
1545
1546const char kEnableContentSuggestionsLargeThumbnailName[] =
1547 "Large thumbnails layout for content suggestions cards.";
1548const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1549 "If enabled, the content suggestions cards will use large thumbnails and "
1550 "some related adjustments.";
1551
1552const char kEnableContentSuggestionsVideoOverlayName[] =
1553 "Video icon overlay on thumbnails for content suggestions cards.";
1554const char kEnableContentSuggestionsVideoOverlayDescription[] =
1555 "If enabled, the content suggestions cards for suggestions with a video "
1556 "will show a video play icon overlay on the thumbnail.";
1557
1558const char kEnableContentSuggestionsSettingsName[] =
1559 "Show content suggestions settings.";
1560const char kEnableContentSuggestionsSettingsDescription[] =
1561 "If enabled, the content suggestions settings will be available from the "
1562 "main settings menu.";
1563
1564const char kEnableContentSuggestionsShowSummaryName[] =
1565 "Show content suggestions summaries.";
1566const char kEnableContentSuggestionsShowSummaryDescription[] =
1567 "If enabled, the content suggestions summaries will be shown.";
1568
1569const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1570const char kEnableCopylessPasteDescription[] =
1571 "Provide suggestions for text input, based on your recent context. For "
1572 "example, if you looked at a restaurant website and switched to the Maps "
1573 "app, the keyboard would offer the name of that restaurant as a suggestion "
1574 "to enter into the search bar. The data is indexed locally, and never sent "
1575 "to the server. It's disabled in incognito mode.";
1576
1577const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1578const char kEnableCustomContextMenuDescription[] =
1579 "Enables a new context menu when a link, image, or video is pressed within "
1580 "Chrome.";
1581
1582const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1583const char kEnableCustomFeedbackUiDescription[] =
1584 "Enables a custom feedback UI when submitting feedback through Google "
1585 "Feedback. Works with Google Play Services v10.2+";
1586
1587const char kEnableDataReductionProxyMainMenuName[] =
1588 "Enable Data Saver main menu footer";
1589const char kEnableDataReductionProxyMainMenuDescription[] =
1590 "Enables the Data Saver footer in the main menu";
1591
1592const char kEnableDataReductionProxySiteBreakdownName[] =
1593 "Data Saver Site Breakdown";
1594const char kEnableDataReductionProxySiteBreakdownDescription[] =
1595 "Enable the site breakdown on the Data Saver settings page.";
1596
1597const char kEnableOmniboxClipboardProviderName[] =
1598 "Omnibox clipboard URL suggestions";
1599const char kEnableOmniboxClipboardProviderDescription[] =
1600 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1601 "focus in the omnibox.";
1602
1603const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1604 "Use expanded autofill credit card popup layout.";
1605const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1606 "If enabled, displays autofill credit card popup using expanded layout.";
1607
1608const char kEnableFaviconsFromWebManifestName[] =
1609 "Load favicons from Web Manifests";
1610const char kEnableFaviconsFromWebManifestDescription[] =
1611 "Fetch Web Manifests on page load to read favicons from them.";
1612
1613const char kEnableNtpAssetDownloadSuggestionsName[] =
1614 "Show asset downloads on the New Tab page";
1615const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1616 "If enabled, the list of content suggestions on the New Tab page will "
1617 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1618 "later use.";
1619
1620const char kEnableNtpBookmarkSuggestionsName[] =
1621 "Show recently visited bookmarks on the New Tab page";
1622const char kEnableNtpBookmarkSuggestionsDescription[] =
1623 "If enabled, the list of content suggestions on the New Tab page will "
1624 "contain recently visited bookmarks.";
1625
1626const char kEnableNtpForeignSessionsSuggestionsName[] =
1627 "Show recent foreign tabs on the New Tab page";
1628const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1629 "If enabled, the list of content suggestions on the New Tab page will "
1630 "contain recent foreign tabs.";
1631
1632const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1633 "Download favicons for NTP tiles from Google.";
1634const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1635 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1636 "This only applies to tiles that originate from synced history.";
1637
Jan Krcal7fadbd32017-08-04 10:49:211638const char kNtpTilesLowerResolutionFaviconsName[] =
1639 "Show also lower resolution favicons in NTP tiles.";
1640const char kNtpTilesLowerResolutionFaviconsDescription[] =
1641 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1642 "decreases. Tiles where the largest available favicon is below this limit "
1643 "get displayed as colored tiles.";
1644
Brett Wilsonff596952017-07-14 01:06:551645const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1646 "Show offline page downloads on the New Tab page";
1647const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1648 "If enabled, the list of content suggestions on the New Tab page will "
1649 "contain pages that the user downloaded for later use.";
1650
1651const char kEnableNtpRemoteSuggestionsName[] =
1652 "Show server-side suggestions on the New Tab page";
1653const char kEnableNtpRemoteSuggestionsDescription[] =
1654 "If enabled, the list of content suggestions on the New Tab page will "
1655 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1656 "allows to override the source used to retrieve these server-side "
1657 "suggestions.";
1658
1659const char kEnableNtpSnippetsVisibilityName[] =
1660 "Make New Tab Page Snippets more visible.";
1661const char kEnableNtpSnippetsVisibilityDescription[] =
1662 "If enabled, the NTP snippets will become more discoverable with a larger "
1663 "portion of the first card above the fold.";
1664
1665const char kEnableNtpSuggestionsNotificationsName[] =
1666 "Notify about new content suggestions available at the New Tab page";
1667const char kEnableNtpSuggestionsNotificationsDescription[] =
1668 "If enabled, notifications will inform about new content suggestions on "
1669 "the New Tab page.";
1670
1671const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1672const char kEnablePhysicalWebDescription[] =
1673 "Enable scanning for URLs from Physical Web objects.";
1674
1675const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1676const char kEnableOfflinePreviewsDescription[] =
1677 "Enable showing offline page previews on slow networks.";
1678
1679const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1680const char kEnableOskOverscrollDescription[] =
1681 "Enable OSK overscroll support. With this flag on, the OSK will only "
1682 "resize the visual viewport.";
1683
1684const char kEnableSpecialLocaleName[] =
1685 "Enable custom logic for special locales.";
1686const char kEnableSpecialLocaleDescription[] =
1687 "Enable custom logic for special locales. In this mode, Chrome might "
1688 "behave differently in some locales.";
1689
Brett Wilsonff596952017-07-14 01:06:551690const char kEnableWebNfcName[] = "WebNFC";
1691const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1692
gogeraldf3cbb422017-07-26 14:37:121693const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1694 "Enable Web Payments method section order V2.";
1695const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1696 "Enable this option to display payment method section above address "
1697 "section instead of below it.";
1698
Brett Wilsonff596952017-07-14 01:06:551699const char kEnableWebPaymentsSingleAppUiSkipName[] =
1700 "Enable Web Payments single app UI skip";
1701const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1702 "Enable Web Payments to skip showing its UI if the developer specifies a "
1703 "single app.";
1704
1705const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1706const char kHerbPrototypeChoicesDescription[] =
1707 "Switching this option changes which tab management prototype is being "
1708 "tested.";
1709const char kHerbPrototypeFlavorElderberry[] =
1710 "ELDERBERRY: All View Intents in CCT v2";
1711
1712const char kKeepPrefetchedContentSuggestionsName[] =
1713 "Keep prefetched content suggestions";
1714const char kKeepPrefetchedContentSuggestionsDescription[] =
1715 "If enabled, some of prefetched content suggestions are not replaced by "
1716 "the new fetched suggestions.";
1717
1718const char kLsdPermissionPromptName[] =
1719 "Location Settings Dialog Permission Prompt";
1720const char kLsdPermissionPromptDescription[] =
1721 "Whether to use the Google Play Services Location Settings Dialog "
1722 "permission dialog.";
1723
Brett Wilsonff596952017-07-14 01:06:551724const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1725const char kMediaScreenCaptureDescription[] =
1726 "Enable this option for experimental ScreenCapture feature on Android.";
1727
1728const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1729const char kModalPermissionPromptsDescription[] =
1730 "Whether to use permission dialogs in place of permission infobars.";
1731
1732const char kNewBackgroundLoaderName[] =
1733 "Use background loader instead of prerenderer to load pages.";
1734const char kNewBackgroundLoaderDescription[] =
1735 "Use background loader instead of prerenderer to asynchronously download "
1736 "pages.";
1737
1738const char kNewPhotoPickerName[] = "Enable new Photopicker";
1739const char kNewPhotoPickerDescription[] =
1740 "Activates the new picker for selecting photos.";
1741
1742const char kNoCreditCardAbort[] = "No Credit Card Abort";
1743const char kNoCreditCardAbortDescription[] =
1744 "Whether or not the No Credit Card Abort is enabled.";
1745
1746const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1747const char kNtpCondensedLayoutDescription[] =
1748 "Show a condensed layout on the New Tab Page.";
1749
1750const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1751const char kNtpCondensedTileLayoutDescription[] =
1752 "Show a condensed tile layout on the New Tab Page.";
1753
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041754const char kSiteExplorationUiName[] = "Site Exploration UI";
1755const char kSiteExplorationUiDescription[] =
1756 "Show site suggestions in the Exploration UI";
1757
Brett Wilsonff596952017-07-14 01:06:551758const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1759const char kNtpGoogleGInOmniboxDescription[] =
1760 "Show a Google G in the omnibox on the New Tab Page.";
1761
1762const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1763const char kNtpOfflinePagesDescription[] =
1764 "Enables badging of offline pages on the New Tab page. Only relevant if "
1765 "offline pages are enabled.";
1766
1767const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1768const char kNtpPopularSitesDescription[] =
1769 "Pre-populate the New Tab page with popular sites.";
1770
1771const char kNtpSwitchToExistingTabName[] =
1772 "Switch to an existing tab for New Tab Page suggestions.";
1773const char kNtpSwitchToExistingTabDescription[] =
1774 "When opening a suggested webpage from the New Tab Page, if a tab is "
1775 "already open for the suggestion, switch to that one instead of loading "
1776 "the suggestion in the new tab.";
1777const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
1778const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
1779
1780const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1781const char kOfflineBookmarksDescription[] =
1782 "Enable saving bookmarked pages for offline viewing.";
1783
1784const char kOfflinePagesAsyncDownloadName[] =
1785 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1786const char kOfflinePagesAsyncDownloadDescription[] =
1787 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1788 R"*(that the user can click on it to download the page later.)*";
1789
1790const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1791const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1792
1793const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1794const char kOfflinePagesCtV2Description[] =
1795 "V2 features include attributing pages to the app that initiated the "
1796 "custom tabs, and being able to query for pages by page attribution.";
1797
1798const char kOfflinePagesLoadSignalCollectingName[] =
1799 "Enables collecting load timing data for offline page snapshots.";
1800const char kOfflinePagesLoadSignalCollectingDescription[] =
1801 "Enables loading completeness data collection while writing an offline "
1802 "page. This data is collected in the snapshotted offline page to allow "
1803 "data analysis to improve deciding when to make the offline snapshot.";
1804
1805const char kOfflinePagesPrefetchingName[] =
1806 "Enables suggested offline pages to be prefetched.";
1807const char kOfflinePagesPrefetchingDescription[] =
1808 "Enables suggested offline pages to be prefetched, so useful content is "
1809 "available while offline.";
1810
Collin Baker17f92a52017-07-19 21:41:251811const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1812const char kOfflinePagesRenovationsDescription[] =
1813 "Enables offline page renovations which correct issues with dynamic "
1814 "content that occur when offlining pages that use JavaScript.";
1815
Brett Wilsonff596952017-07-14 01:06:551816const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1817const char kOfflinePagesSharingDescription[] =
1818 "Enables the saved offline pages to be shared via other applications.";
1819
1820const char kOfflinePagesSvelteConcurrentLoadingName[] =
1821 "Enables concurrent background loading on svelte.";
1822const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1823 "Enables concurrent background loading (or downloading) of pages on "
1824 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1825 "happen when the svelte device is idle.";
1826
1827const char kOffliningRecentPagesName[] =
1828 "Enable offlining of recently visited pages";
1829const char kOffliningRecentPagesDescription[] =
1830 "Enable storing recently visited pages locally for offline use. Requires "
1831 "Offline Pages to be enabled.";
1832
1833extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1834extern const char kPayWithGoogleV1Description[] =
1835 "Enable Pay with Google integration into Web Payments with API version "
1836 "'1'.";
1837
Brett Wilsonff596952017-07-14 01:06:551838const char kProgressBarCompletionName[] =
1839 "Android phone page load progress bar completion time.";
1840const char kProgressBarCompletionDescription[] =
1841 "Configures Android phone page loading progress bar completion time.";
1842const char kProgressBarCompletionLoadEvent[] =
1843 R"*(Top loading frame's onload event ("everything" is done in the )*"
1844 R"*(page, historical behavior).)*";
1845const char kProgressBarCompletionResourcesBeforeDcl[] =
1846 "Main frame's domContentLoaded and all resources loads started before "
1847 "domContentLoaded (iframes ignored).";
1848const char kProgressBarCompletionDomContentLoaded[] =
1849 "Main frame's domContentLoaded (iframes ignored).";
1850const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1851 "domContentLoaded and all resources loads started before domContentLoaded "
1852 "(main frame and same origin iframes).";
1853
1854const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1855const char kPullToRefreshEffectDescription[] =
1856 "Page reloads triggered by vertically overscrolling content.";
1857
Piotr Swigon9f630b32017-07-26 09:42:491858const char kPwaPersistentNotificationName[] =
1859 "Persistent notification in standalone PWA";
1860const char kPwaPersistentNotificationDescription[] =
1861 "Enables a persistent Android notification for standalone PWAs";
1862
Brett Wilsonff596952017-07-14 01:06:551863const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1864const char kReaderModeHeuristicsDescription[] =
1865 "Determines what pages the Reader Mode infobar is shown on.";
1866const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1867const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1868const char kReaderModeHeuristicsAllArticles[] = "All articles";
1869const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1870const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1871
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:181872const char kReaderModeInCCTName[] = "Reader Mode in CCT";
1873const char kReaderModeInCCTDescription[] =
1874 "Open Reader Mode in Chrome Custom Tabs.";
1875
Brett Wilsonff596952017-07-14 01:06:551876const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1877const char kServiceWorkerPaymentAppsDescription[] =
1878 "Enable Service Worker applications to integrate as payment apps";
1879
1880const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
1881const char kSetMarketUrlForTestingDescription[] =
1882 "When enabled, sets the market URL for use in testing the update menu "
1883 "item.";
1884
1885const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
1886const char kSpannableInlineAutocompleteDescription[] =
1887 "A new type of inline autocomplete for the omnibox that works with "
1888 "keyboards that compose text.";
1889
1890const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1891const char kTabsInCbdDescription[] =
1892 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1893
1894const char kTranslateCompactUIName[] = "New Translate Infobar";
1895const char kTranslateCompactUIDescription[] =
1896 "Enable the new Translate compact infobar UI.";
1897
1898const char kUpdateMenuBadgeName[] = "Force show update menu badge";
1899const char kUpdateMenuBadgeDescription[] =
1900 "When enabled, an update badge will be shown on the app menu button.";
1901
1902const char kUpdateMenuItemCustomSummaryDescription[] =
1903 "When this flag and the force show update menu item flag are enabled, a "
1904 "custom summary string will be displayed below the update menu item.";
1905const char kUpdateMenuItemCustomSummaryName[] =
1906 "Update menu item custom summary";
1907
1908const char kUpdateMenuItemName[] = "Force show update menu item";
1909const char kUpdateMenuItemDescription[] =
1910 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
1911 R"*(menu.)*";
1912
1913const char kUseAndroidMidiApiName[] = "Use Android Midi API";
1914const char kUseAndroidMidiApiDescription[] =
1915 "Use Android Midi API for WebMIDI (effective only with Android M+ "
1916 "devices).";
1917
1918const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1919const char kUseDdljsonApiDescription[] =
1920 "Enables the new ddljson API to fetch Doodles for the NTP.";
1921
Brett Wilsonff596952017-07-14 01:06:551922const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
1923const char kXGEOVisibleNetworksDescription[] =
1924 "If location permissions are granted, include visible networks in the XGEO "
1925 "Header for omnibox queries. This will only happen if location is not "
1926 "fresh or not available (for example, due to a cold start).";
1927
Brett Wilson7b44537e2017-08-18 01:38:281928// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:551929
Brett Wilson7b44537e2017-08-18 01:38:281930#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:481931
Brett Wilson7b44537e2017-08-18 01:38:281932const char kAccountConsistencyName[] =
1933 "Identity consistency between browser and cookie jar";
1934const char kAccountConsistencyDescription[] =
1935 "When enabled, the browser manages signing in and out of Google accounts.";
1936const char kAccountConsistencyChoiceMirror[] = "Mirror";
1937const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:341938
mlamouriff56c092017-05-11 15:31:391939const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:391940const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:341941 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:391942const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:391943const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:391944const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:341945 "Enabled (Flash lowers volume when interrupted by other sound, "
1946 "experimental)";
1947
Brett Wilson7b44537e2017-08-18 01:38:281948const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
1949const char kEnableNewAppMenuIconDescription[] =
1950 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:341951
1952const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:341953const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:281954 "Enable receiving entity suggestions - disambiguation descriptions - for "
1955 "Omnibox suggestions.";
1956
1957const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
1958const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191959 "Enable receiving tail suggestions, a type of search suggestion based on "
1960 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:341961
Brett Wilson7b44537e2017-08-18 01:38:281962const char kOneGoogleBarOnLocalNtpName[] =
1963 "Enable the OneGoogleBar on the local NTP";
1964const char kOneGoogleBarOnLocalNtpDescription[] =
1965 "Show a OneGoogleBar on the local New Tab page if Google is the default "
1966 "search engine.";
1967
ojan38c678352017-04-11 20:27:551968const char kPauseBackgroundTabsName[] = "Pause background tabs";
1969const char kPauseBackgroundTabsDescription[] =
1970 "Pause timers in background tabs after 5 minutes on desktop.";
1971
Brett Wilson7b44537e2017-08-18 01:38:281972const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
1973const char kUseGoogleLocalNtpDescription[] =
1974 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:321975
Brett Wilson7b44537e2017-08-18 01:38:281976const char kVoiceSearchOnLocalNtpName[] =
1977 "Enable Voice Search on the local NTP";
1978const char kVoiceSearchOnLocalNtpDescription[] =
1979 "Show a microphone for voice search on the local New Tab page "
1980 "if Google is the default search engine.";
1981
1982#if defined(GOOGLE_CHROME_BUILD)
1983
1984const char kGoogleBrandedContextMenuName[] =
1985 "Google branding in the context menu";
1986const char kGoogleBrandedContextMenuDescription[] =
1987 "Shows a Google icon next to context menu items powered by Google "
1988 "services.";
1989
1990#endif // !defined(GOOGLE_CHROME_BUILD)
1991
1992#endif // !defined(OS_ANDROID)
1993
1994// Windows ---------------------------------------------------------------------
1995
1996#if defined(OS_WIN)
1997
1998const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
1999const char kCloudPrintXpsDescription[] =
2000 "XPS enables advanced options for classic printers connected to the Cloud "
2001 "Print with Chrome. Printers must be re-connected after changing this "
2002 "flag.";
2003
Dave Tapuskadd43469d2017-08-22 22:15:532004const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2005const char kDirectManipulationStylusDescription[] =
2006 "If enabled, Chrome will scroll web pages on stylus drag.";
2007
Brett Wilson7b44537e2017-08-18 01:38:282008const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2009const char kDisablePostscriptPrintingDescription[] =
2010 "Disables PostScript generation when printing to PostScript capable "
2011 "printers, and uses EMF generation in its place.";
2012
2013const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2014const char kEnableAppcontainerDescription[] =
2015 "Enables the use of an AppContainer on sandboxed processes to improve "
2016 "security.";
2017
2018const char kEnableD3DVsync[] = "D3D v-sync";
2019const char kEnableD3DVsyncDescription[] =
2020 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2021 "to occur.";
2022
2023const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2024const char kEnableDesktopIosPromotionsDescription[] =
2025 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2026 "eligible.";
2027
2028const char kGdiTextPrinting[] = "GDI Text Printing";
2029const char kGdiTextPrintingDescription[] =
2030 "Use GDI to print text as simply text";
2031
2032const char kMergeKeyCharEventsName[] =
2033 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2034 "(WM_CHAR).";
2035const char kMergeKeyCharEventsDescription[] =
2036 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2037
2038const char kTraceExportEventsToEtwName[] =
2039 "Enable exporting of tracing events to ETW.";
2040const char kTraceExportEventsToEtwDesription[] =
2041 "If enabled, trace events will be exported to the Event Tracing for "
2042 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2043 "Xperf.";
2044
2045const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2046const char kUseWinrtMidiApiDescription[] =
2047 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2048 "later).";
2049
2050const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2051const char kWindows10CustomTitlebarDescription[] =
2052 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2053 "deferring to Windows.";
2054
2055#endif // defined(OS_WIN)
2056
2057// Mac -------------------------------------------------------------------------
2058
2059#if defined(OS_MACOSX)
2060
2061const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2062const char kAppInfoDialogDescription[] =
2063 "Makes the Toolkit-Views based App Info dialog accessible from "
2064 "chrome://apps or chrome://extensions in place of the native extension "
2065 "permissions dialog, or the details link (which is a link to the Web "
2066 "Store).";
2067
2068const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2069const char kAppWindowCyclingDescription[] =
2070 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2071 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2072 "browser window, and browser windows will not be cycled when a Chrome App "
2073 "is active.";
2074
2075extern const char kCreditCardAutofillTouchBarName[] =
2076 "Credit Card Autofill Touch Bar";
2077extern const char kCreditCardAutofillTouchBarDescription[] =
2078 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2079
2080const char kFullscreenToolbarRevealName[] =
2081 "Enables the toolbar in fullscreen to reveal itself.";
2082const char kFullscreenToolbarRevealDescription[] =
2083 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2084 "has changed.";
2085
2086const char kContentFullscreenName[] = "Improved Content Fullscreen";
2087const char kContentFullscreenDescription[] =
2088 "Fullscreen content window detaches from main browser window and goes to "
2089 "a new space without moving or changing the original browser window.";
2090
2091extern const char kDialogTouchBarName[] = "Dialog Touch Bar";
2092extern const char kDialogTouchBarDescription[] =
2093 "Shows Dialog buttons on the Touch Bar.";
2094
2095const char kHostedAppsInWindowsName[] =
2096 "Allow hosted apps to be opened in windows";
2097const char kHostedAppsInWindowsDescription[] =
2098 "Allows hosted apps to be opened in windows instead of being limited to "
2099 "tabs.";
2100
2101extern const char kMacRTLName[] = "Enable RTL";
2102extern const char kMacRTLDescription[] =
2103 "Mirrors the UI for RTL language users";
2104
2105extern const char kMacTouchBarName[] = "Hardware Touch Bar";
2106extern const char kMacTouchBarDescription[] =
2107 "Control the use of the Touch Bar.";
2108
2109const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2110const char kMacV2SandboxDescription[] =
2111 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2112 "entire life cycle.";
2113
2114const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2115const char kMacViewsNativeAppWindowsDescription[] =
2116 "Controls whether to use Toolkit-Views based Chrome App windows.";
2117
2118const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2119const char kMacViewsTaskManagerDescription[] =
2120 "Controls whether to use the Toolkit-Views based Task Manager.";
2121
2122const char kTabDetachingInFullscreenName[] =
2123 "Allow tab detaching in fullscreen";
2124const char kTabDetachingInFullscreenDescription[] =
2125 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2126
2127const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2128const char kTabStripKeyboardFocusDescription[] =
2129 "Enable keyboard focus for the tabs in the tab strip.";
2130
2131const char kTranslateNewUxName[] = "New Translate UX";
2132const char kTranslateNewUxDescription[] =
2133 "Enable the new Translate bubble UX is offered instead of the infobar.";
2134
2135// Non-Mac ---------------------------------------------------------------------
2136
2137#else // !defined(OS_MACOSX)
2138
2139const char kPermissionPromptPersistenceToggleName[] =
2140 "Persistence Toggle in Permission Prompts";
2141const char kPermissionPromptPersistenceToggleDescription[] =
2142 "Whether to display a persistence toggle in permission prompts.";
2143
2144#endif
2145
2146// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342147
2148#if defined(OS_CHROMEOS)
2149
Brett Wilson7b44537e2017-08-18 01:38:282150const char kAcceleratedMjpegDecodeName[] =
2151 "Hardware-accelerated mjpeg decode for captured frame";
2152const char kAcceleratedMjpegDecodeDescription[] =
2153 "Enable hardware-accelerated mjpeg decode for captured frame where "
2154 "available.";
vabr0215a8e2017-03-28 12:47:342155
Brett Wilson7b44537e2017-08-18 01:38:282156const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2157const char kAllowTouchpadThreeFingerClickDescription[] =
2158 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342159
Brett Wilson7b44537e2017-08-18 01:38:282160const char kArcBootCompleted[] = "Load Android apps automatically";
2161const char kArcBootCompletedDescription[] =
2162 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342163
Lev Rumyantsev7a8544312017-08-18 19:26:512164const char kArcNativeBridgeExperimentName[] =
2165 "Enable native bridge experiment for ARC";
2166const char kArcNativeBridgeExperimentDescription[] =
2167 "Enables experimental native bridge feature.";
2168
Brett Wilson7b44537e2017-08-18 01:38:282169const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2170const char kAshEnableUnifiedDesktopDescription[] =
2171 "Enable unified desktop mode which allows a window to span multiple "
2172 "displays.";
vabr0215a8e2017-03-28 12:47:342173
Brett Wilson7b44537e2017-08-18 01:38:282174const char kBootAnimationName[] = "Boot animation";
2175const char kBootAnimationDescription[] =
2176 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342177
Brett Wilson7b44537e2017-08-18 01:38:282178const char kCaptivePortalBypassProxyName[] =
2179 "Bypass proxy for Captive Portal Authorization";
2180const char kCaptivePortalBypassProxyDescription[] =
2181 "If proxy is configured, it usually prevents from authorization on "
2182 "different captive portals. This enables opening captive portal "
2183 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342184
Brett Wilson7b44537e2017-08-18 01:38:282185const char kCrOSComponentName[] = "Chrome OS Component";
2186const char kCrOSComponentDescription[] =
2187 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342188
Brett Wilson7b44537e2017-08-18 01:38:282189const char kCrosRegionsModeName[] = "Cros-regions load mode";
2190const char kCrosRegionsModeDescription[] =
2191 "This flag controls cros-regions load mode";
2192const char kCrosRegionsModeDefault[] = "Default";
2193const char kCrosRegionsModeOverride[] = "Override VPD values.";
2194const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342195
Brett Wilson7b44537e2017-08-18 01:38:282196const char kDisableNewVirtualKeyboardBehaviorName[] =
2197 "New window behavior for the accessibility keyboard";
2198const char kDisableNewVirtualKeyboardBehaviorDescription[] =
2199 "Disable new window behavior for the accessibility keyboard in non-sticky "
2200 "mode (do not change work area in non-sticky mode).";
vabr0215a8e2017-03-28 12:47:342201
Brett Wilson7b44537e2017-08-18 01:38:282202const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2203const char kEnablePerUserTimezoneDescription[] =
2204 "Chrome OS system timezone preference is stored and handled for each user "
2205 "individually.";
vabr0215a8e2017-03-28 12:47:342206
Brett Wilson7b44537e2017-08-18 01:38:282207const char kDisableSystemTimezoneAutomaticDetectionName[] =
2208 "SystemTimezoneAutomaticDetection policy support";
2209const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2210 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342211
newcomer403ac142017-07-05 18:26:302212const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
newcomer403ac142017-07-05 18:26:302213const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192214 "The peeking launcher UI supports touch and provides more space for "
2215 "upcoming features.";
newcomer403ac142017-07-05 18:26:302216
Alex Newcomer43cb7f12017-07-28 17:37:392217extern const char kEnableBackgroundBlurName[] = "Enable background blur.";
2218extern const char kEnableBackgroundBlurDescription[] =
2219 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2220 "Switcher.";
2221
Brett Wilson7b44537e2017-08-18 01:38:282222const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2223const char kEnableAndroidWallpapersAppDescription[] =
2224 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2225 "OS.";
vabr0215a8e2017-03-28 12:47:342226
Brett Wilson7b44537e2017-08-18 01:38:282227const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2228const char kEnableChromevoxArcSupportDescription[] =
2229 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342230
Brett Wilson7b44537e2017-08-18 01:38:282231const char kEnableEhvInputName[] =
2232 "Emoji, handwriting and voice input on opt-in IME menu";
2233const char kEnableEhvInputDescription[] =
2234 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342235
Brett Wilson7b44537e2017-08-18 01:38:282236const char kEnableEncryptionMigrationName[] =
2237 "Enable encryption migration of user data";
2238const char kEnableEncryptionMigrationDescription[] =
2239 "If enabled and the device supports ARC, the user will be asked to update "
2240 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342241
Brett Wilson7b44537e2017-08-18 01:38:282242const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2243const char kEnableImeMenuDescription[] =
2244 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342245
Toni Barzic0f3440a62017-07-19 20:19:312246const char kEnableLockScreenAppsName[] = "Enable lock screen note taking";
Toni Barzic0f3440a62017-07-19 20:19:312247const char kEnableLockScreenAppsDescription[] =
2248 "Enable new-note action handler apps on the lock screen. The user will be "
2249 "able to launch the preferred note-taking action from the lock screen, "
2250 "provided that the app supports lock screen note taking.";
2251
Brett Wilson7b44537e2017-08-18 01:38:282252const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
2253const char kEnableZipArchiverOnFileManagerDescription[] =
2254 "Enable the ability to archive and unpack files on Drive in the Files app";
2255
2256const char kEolNotificationName[] = "Disable Device End of Life notification.";
2257const char kEolNotificationDescription[] =
2258 "Disable Notifcation when Device is End of Life.";
2259
2260const char kExperimentalAccessibilityFeaturesName[] =
2261 "Experimental accessibility features";
2262const char kExperimentalAccessibilityFeaturesDescription[] =
2263 "Enable additional accessibility features in the Settings page.";
2264
2265const char kExperimentalInputViewFeaturesName[] =
2266 "Experimental input view features";
2267const char kExperimentalInputViewFeaturesDescription[] =
2268 "Enable experimental features for IME input views.";
2269
2270const char kFileManagerTouchModeName[] = "Files App. touch mode";
2271const char kFileManagerTouchModeDescription[] =
2272 "Touchscreen-specific interactions of the Files app.";
2273
2274const char kFirstRunUiTransitionsName[] =
2275 "Animated transitions in the first-run tutorial";
2276const char kFirstRunUiTransitionsDescription[] =
2277 "Transitions during first-run tutorial are animated.";
2278
2279const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2280const char kFloatingVirtualKeyboardDescription[] =
2281 "Enable/Disable floating virtual keyboard.";
2282
2283const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2284const char kForceEnableStylusToolsDescription[] =
2285 "Forces display of the stylus tools menu in the shelf and the stylus "
2286 "section in settings, even if there is no attached stylus device.";
2287
2288const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2289const char kGestureEditingDescription[] =
2290 "Enable/Disable gesture editing option in the settings page for the "
2291 "virtual keyboard.";
2292
2293const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2294const char kGestureTypingDescription[] =
2295 "Enable/Disable gesture typing option in the settings page for the virtual "
2296 "keyboard.";
2297
2298const char kInputViewName[] = "Input views";
2299const char kInputViewDescription[] =
2300 "Enable IME extensions to supply custom views for user input such as "
2301 "virtual keyboards.";
2302
2303const char kMemoryPressureThresholdName[] =
2304 "Memory discard strategy for advanced pressure handling";
2305const char kMemoryPressureThresholdDescription[] =
2306 "Memory discarding strategy to use";
2307const char kConservativeThresholds[] =
2308 "Conservative memory pressure release strategy";
2309const char kAggressiveCacheDiscardThresholds[] =
2310 "Aggressive cache release strategy";
2311const char kAggressiveTabDiscardThresholds[] =
2312 "Aggressive tab release strategy";
2313const char kAggressiveThresholds[] =
2314 "Aggressive tab and cache release strategy";
2315
2316const char kMtpWriteSupportName[] = "MTP write support";
2317const char kMtpWriteSupportDescription[] =
2318 "MTP write support in File System API (and file manager). In-place editing "
2319 "operations are not supported.";
2320
2321const char kMultideviceName[] = "Enable multidevice features";
2322const char kMultideviceDescription[] =
2323 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342324
2325const char kNetworkPortalNotificationName[] =
2326 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342327const char kNetworkPortalNotificationDescription[] =
2328 "If enabled, notification is displayed when device is connected to a "
2329 "network behind captive portal.";
2330
stevenjbe1d457382017-05-24 22:37:242331const char kNetworkSettingsConfigName[] =
2332 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242333const char kNetworkSettingsConfigDescription[] =
2334 "Enables the Settings based network configuration UI instead of the Views "
2335 "based configuration dialog.";
2336
Brett Wilson7b44537e2017-08-18 01:38:282337const char kNewKoreanImeName[] = "New Korean IME";
2338const char kNewKoreanImeDescription[] =
2339 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342340
Brett Wilson7b44537e2017-08-18 01:38:282341const char kNewZipUnpackerName[] = "New ZIP unpacker";
2342const char kNewZipUnpackerDescription[] =
2343 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342344
Brett Wilson7b44537e2017-08-18 01:38:282345const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2346const char kPhysicalKeyboardAutocorrectDescription[] =
2347 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2348 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342349
2350const char kPrinterProviderSearchAppName[] =
2351 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342352const char kPrinterProviderSearchAppDescription[] =
2353 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192354 "searches Chrome Web Store for extensions that support printing to a USB "
2355 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342356
Brett Wilson7b44537e2017-08-18 01:38:282357const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2358const char kQuickUnlockPinDescription[] =
2359 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2360 "device on the lock screen after you have signed into your device.";
2361const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2362const char kQuickUnlockPinSigninDescription[] =
2363 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2364 "device. After changing this flag PIN needs to be set up again.";
2365const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2366const char kQuickUnlockFingerprintDescription[] =
2367 "Enabling fingerprint quick unlock allows you to setup and use a "
2368 "fingerprint to unlock your Chromebook on the lock screen after you have "
2369 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342370
Brett Wilson7b44537e2017-08-18 01:38:282371const char kOfficeEditingComponentAppName[] =
2372 "Office Editing for Docs, Sheets & Slides";
2373const char kOfficeEditingComponentAppDescription[] =
2374 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072375
2376const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2377const char kSpuriousPowerButtonWindowDescription[] =
2378 "Number of recent accelerometer samples to examine to determine if a power "
2379 "button event was spurious.";
2380
2381const char kSpuriousPowerButtonAccelCountName[] =
2382 "Spurious power button acceleration count";
2383const char kSpuriousPowerButtonAccelCountDescription[] =
2384 "Number of recent acceleration samples that must meet or exceed exceed the "
2385 "threshold in order for a power button event to be considered spurious.";
2386
2387const char kSpuriousPowerButtonScreenAccelName[] =
2388 "Spurious power button screen acceleration threshold";
2389const char kSpuriousPowerButtonScreenAccelDescription[] =
2390 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2391 "meet or exceed for a power button event to be considered spurious.";
2392
2393const char kSpuriousPowerButtonKeyboardAccelName[] =
2394 "Spurious power button keyboard acceleration threshold";
2395const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2396 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2397 "must meet or exceed for a power button event to be considered spurious.";
2398
2399const char kSpuriousPowerButtonLidAngleChangeName[] =
2400 "Spurious power button lid angle change threshold";
2401const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2402 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2403 "met or exceeded for a power button event to be considered spurious.";
2404
Brett Wilson7b44537e2017-08-18 01:38:282405const char kTeamDrivesName[] = "Enable Team Drives Integration";
2406const char kTeamDrivesDescription[] =
2407 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342408
Brett Wilson7b44537e2017-08-18 01:38:282409const char kTetherName[] = "Instant Tethering";
2410const char kTetherDescription[] =
2411 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2412 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372413
Brett Wilson7b44537e2017-08-18 01:38:282414const char kTouchscreenCalibrationName[] =
2415 "Enable/disable touchscreen calibration option in material design settings";
2416const char kTouchscreenCalibrationDescription[] =
2417 "If enabled, the user can calibrate the touch screen displays in "
2418 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092419
Mitsuru Oshima63d3f2a2017-08-23 00:12:112420// Force UI Mode
2421const char kUiModeName[] = "Force Ui Mode";
2422const char kUiModeDescription[] =
2423 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2424 R"*(despite its current orientation. "Tablet" means that the )*"
2425 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2426 R"*(means that the chromebook will act as if it were in clamshell )*"
2427 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2428 R"*(the two, based on its orientation.)*";
2429const char kUiModeTablet[] = "TouchView";
2430const char kUiModeClamshell[] = "Clamshell";
2431const char kUiModeAuto[] = "Auto (default)";
2432
bruthigeafb0c02017-06-09 13:11:532433const char kUiDevToolsName[] = "Enable native UI inspection";
2434const char kUiDevToolsDescription[] =
2435 "Enables inspection of native UI elements. For local inspection use "
2436 "chrome://inspect#other";
2437
Takashi Toyoshima14f64f562017-07-19 08:38:202438const char kUseCrosMidiServiceName[] = "Use Chrome OS MIDI Service";
2439const char kUseCrosMidiServiceNameDescription[] =
2440 "Use Chrome OS MIDI Service for Web MIDI and allow ARC to support Android "
2441 "MIDI.";
2442
Brett Wilson7b44537e2017-08-18 01:38:282443const char kUseMusName[] = "Mus";
2444const char kUseMusDescription[] = "Enable the Mojo UI service.";
2445const char kEnableMashDescription[] =
2446 "Mash (UI, Chrome and ash in separate services)";
2447const char kEnableMusDescription[] =
2448 "Mus (UI in separate service, Chrome and ash in same service)";
2449
2450const char kVideoPlayerChromecastSupportName[] =
2451 "Experimental Chromecast support for Video Player";
2452const char kVideoPlayerChromecastSupportDescription[] =
2453 "This option enables experimental Chromecast support for Video Player app "
2454 "on ChromeOS.";
2455
2456const char kVirtualKeyboardName[] = "Virtual Keyboard";
2457const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2458
2459const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2460const char kVirtualKeyboardOverscrollDescription[] =
2461 "Enables virtual keyboard overscroll support.";
2462
2463const char kVoiceInputName[] = "Voice input on virtual keyboard";
2464const char kVoiceInputDescription[] =
2465 "Enables voice input on virtual keyboard.";
2466
2467const char kWakeOnPacketsName[] = "Wake On Packets";
2468const char kWakeOnPacketsDescription[] =
2469 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202470
yhanadac5bff5b2017-05-18 06:37:092471#endif // defined(OS_CHROMEOS)
2472
Brett Wilson7b44537e2017-08-18 01:38:282473// Random platform combinations -----------------------------------------------
2474
2475#if defined(OS_WIN) || defined(OS_LINUX)
2476
2477const char kEnableInputImeApiName[] = "Enable Input IME API";
2478const char kEnableInputImeApiDescription[] =
2479 "Enable the use of chrome.input.ime API.";
2480
2481#endif // defined(OS_WIN) || defined(OS_LINUX)
2482
2483#if defined(OS_WIN) || defined(OS_MACOSX)
2484
2485const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2486const char kAutomaticTabDiscardingDescription[] =
2487 "If enabled, tabs get automatically discarded from memory when the system "
2488 "memory is low. Discarded tabs are still visible on the tab strip and get "
2489 "reloaded when clicked on. Info about discarded tabs can be found at "
2490 "chrome://discards.";
2491
2492#endif // defined(OS_WIN) || defined(OS_MACOSX)
2493
2494// Feature flags --------------------------------------------------------------
2495
2496#if BUILDFLAG(ENABLE_VR)
2497
2498#if defined(OS_ANDROID)
2499
2500const char kEnableVrShellName[] = "Enable Chrome VR.";
2501const char kEnableVrShellDescription[] =
2502 "Allow browsing with a VR headset if available for this device.";
2503
2504const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2505const char kVrCustomTabBrowsingDescription[] =
2506 "Allow browsing with a VR headset in a Custom Tab if available for this "
2507 "device.";
2508
2509const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2510const char kWebVrAutopresentDescription[] =
2511 "Allows auto presentation of WebVr content from trusted first-party apps";
2512
2513const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2514const char kWebVrVsyncAlignDescription[] =
2515 "Enabling this option aligns WebVR application rendering with VSync "
2516 "for smoother animations.";
2517
2518#endif // OS_ANDROID
2519
2520const char kWebvrExperimentalRenderingName[] =
2521 "WebVR experimental rendering optimizations";
2522const char kWebvrExperimentalRenderingDescription[] =
2523 "Enabling this option activates experimental rendering path optimizations "
2524 "for WebVR.";
2525
2526#endif // ENABLE_VR
2527
2528#if !defined(DISABLE_NACL)
2529
2530const char kNaclDebugMaskName[] =
2531 "Restrict Native Client GDB-based debugging by pattern";
2532const char kNaclDebugMaskDescription[] =
2533 "Restricts Native Client application GDB-based debugging by URL of "
2534 "manifest file. Native Client GDB-based debugging must be enabled for this "
2535 "option to work.";
2536const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2537const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2538 "Debug everything except secure shell and the PNaCl translator.";
2539const char kNaclDebugMaskChoiceIncludeDebug[] =
2540 "Debug only if manifest URL ends with debug.nmf.";
2541
2542const char kNaclDebugName[] = "Native Client GDB-based debugging";
2543const char kNaclDebugDescription[] =
2544 "Enable GDB debug stub. This will stop a Native Client application on "
2545 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2546
2547const char kNaclName[] = "Native Client";
2548const char kNaclDescription[] =
2549 "Support Native Client for all web applications, even those that were not "
2550 "installed from the Chrome Web Store.";
2551
2552const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2553const char kPnaclSubzeroDescription[] =
2554 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2555
2556#endif // !defined(DISABLE_NACL)
2557
Brett Wilson7b44537e2017-08-18 01:38:282558#if BUILDFLAG(ENABLE_WEBRTC)
2559
2560const char kWebrtcH264WithOpenh264FfmpegName[] =
2561 "WebRTC H.264 software video encoder/decoder";
2562const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2563 "When enabled, an H.264 software video encoder/decoder pair is included. "
2564 "If a hardware encoder/decoder is also available it may be used instead of "
2565 "this encoder/decoder.";
2566
2567#endif // BUILDFLAG(ENABLE_WEBRTC)
2568
2569#if defined(USE_ASH)
2570
2571const char kAshDisableSmoothScreenRotationName[] =
2572 "Disable smooth rotation animations.";
2573const char kAshDisableSmoothScreenRotationDescription[] =
2574 "Disable smooth rotation animations.";
2575
2576const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2577const char kAshEnableMirroredScreenDescription[] =
2578 "Enable the mirrored screen mode. This mode flips the screen image "
2579 "horizontally.";
2580
2581const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2582const char kAshShelfColorDescription[] =
2583 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2584 "--ash-shelf-color-scheme flag defines how that color is derived.";
2585
2586const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2587const char kAshShelfColorSchemeDescription[] =
2588 "Specify how the color is derived from the wallpaper. This flag is only "
2589 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2590const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2591const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2592const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2593const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2594const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2595const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2596
2597const char kMaterialDesignInkDropAnimationSpeedName[] =
2598 "Material Design Ink Drop Animation Speed";
2599const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2600 "Sets the speed of the experimental visual feedback animations for "
2601 "material design.";
2602const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2603const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2604
2605const char kUiShowCompositedLayerBordersName[] =
2606 "Show UI composited layer borders";
2607const char kUiShowCompositedLayerBordersDescription[] =
2608 "Show border around composited layers created by UI.";
2609const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2610const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2611const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2612const char kUiShowCompositedLayerBordersAll[] = "All";
2613
2614const char kUiSlowAnimationsName[] = "Slow UI animations";
2615const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2616
2617#endif // defined(USE_ASH)
2618
2619#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
2620
2621const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
2622const char kShowCertLinkOnPageInfoDescription[] =
2623 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
2624 "sites.";
2625
2626#endif // defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
2627
2628#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2629
2630const char kAutofillCreditCardUploadName[] =
2631 "Enable offering upload of Autofilled credit cards";
2632const char kAutofillCreditCardUploadDescription[] =
2633 "Enables a new option to upload credit cards to Google Payments for sync "
2634 "to all Chrome devices.";
2635
2636#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2637
2638// ============================================================================
2639// Don't just add flags to the end, put them in the right section in
2640// alphabetical order just like the header file.
2641// ============================================================================
2642
vabr0215a8e2017-03-28 12:47:342643} // namespace flag_descriptions