blob: bfef50911bae1c13c70ad118b146ca9ca9a86df5 [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
602const char kForceTabletModeName[] = "Force Tablet Mode";
603const char kForceTabletModeDescription[] =
604 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
605 R"*(despite its current orientation. "TouchView" means that the )*"
606 R"*(chromebook will act as if it were in touch view mode. "Clamshell" )*"
607 R"*(means that the chromebook will act as if it were in clamshell )*"
608 R"*(mode . "Auto" means that the chromebook will alternate between )*"
609 R"*(the two, based on its orientation.)*";
610const char kForceTabletModeTouchview[] = "TouchView";
611const char kForceTabletModeClamshell[] = "Clamshell";
612const char kForceTabletModeAuto[] = "Auto (default)";
613
614const char kForceTextDirectionName[] = "Force text direction";
615const char kForceTextDirectionDescription[] =
616 "Explicitly force the per-character directionality of UI text to "
617 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
618 "direction of the character language.";
619const char kForceDirectionLtr[] = "Left-to-right";
620const char kForceDirectionRtl[] = "Right-to-left";
621
622const char kForceUiDirectionName[] = "Force UI direction";
623const char kForceUiDirectionDescription[] =
624 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
625 "mode, overriding the default direction of the UI language.";
626
627const char kFramebustingName[] =
628 "Framebusting requires same-origin or a user gesture";
629const char kFramebustingDescription[] =
630 "Don't permit an iframe to navigate the top level browsing context unless "
631 "they are same-origin or the iframe is processing a user gesture.";
632
633const char kGamepadExtensionsName[] = "Gamepad Extensions";
634const char kGamepadExtensionsDescription[] =
635 "Enabling this option allows web applications to access experimental "
636 "extensions to the Gamepad APIs.";
637
sohan3f00ffc2017-07-14 22:28:08638const char kGlCompositedOverlayCandidateQuadBordersName[] =
639 "GL composited overlay candidate quad borders";
640const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39641 "Renders a border around GL composited overlay candidate quads to help "
642 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51643
644const char kGpuRasterizationMsaaSampleCountName[] =
645 "GPU rasterization MSAA sample count.";
646const char kGpuRasterizationMsaaSampleCountDescription[] =
647 "Specify the number of MSAA samples for GPU rasterization.";
648const char kGpuRasterizationMsaaSampleCountZero[] = "0";
649const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
650const char kGpuRasterizationMsaaSampleCountFour[] = "4";
651const char kGpuRasterizationMsaaSampleCountEight[] = "8";
652const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
653
654const char kGpuRasterizationName[] = "GPU rasterization";
655const char kGpuRasterizationDescription[] =
656 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28657const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51658
659const char kGoogleProfileInfoName[] = "Google profile name and icon";
660const char kGoogleProfileInfoDescription[] =
661 "Enables using Google information to populate the profile name and icon in "
662 "the avatar menu.";
663
664const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
665const char kHarfbuzzRendertextDescription[] =
666 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
667 "web content.";
668
669const char kHistoryRequiresUserGestureName[] =
670 "New history entries require a user gesture.";
671const char kHistoryRequiresUserGestureDescription[] =
672 "Require a user gesture to add a history entry.";
673const char kHyperlinkAuditingName[] = "Hyperlink auditing";
674const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
675
676const char kHostedAppQuitNotificationName[] =
677 "Quit notification for hosted apps";
678const char kHostedAppQuitNotificationDescription[] =
679 "Display a notification when quitting Chrome if hosted apps are currently "
680 "running.";
681
682const char kHostedAppShimCreationName[] =
683 "Creation of app shims for hosted apps on Mac";
684const char kHostedAppShimCreationDescription[] =
685 "Create app shims on Mac when creating a hosted app.";
686
687const char kIconNtpName[] = "Large icons on the New Tab page";
688const char kIconNtpDescription[] =
689 "Enable the experimental New Tab page using large icons.";
690
691const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
692const char kIgnoreGpuBlacklistDescription[] =
693 "Overrides the built-in software rendering list and enables "
694 "GPU-acceleration on unsupported system configurations.";
695
696const char kImportantSitesInCbdName[] =
697 "Important sites options in clear browsing data dialog";
698const char kImportantSitesInCbdDescription[] =
699 "Include the option to whitelist important sites in the clear browsing "
700 "data dialog.";
701
702const char kInertVisualViewportName[] = "Inert visual viewport.";
703const char kInertVisualViewportDescription[] =
704 "Experiment to have all APIs reflect the layout viewport. This will make "
705 "window.scroll properties relative to the layout viewport.";
706
707const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
708const char kInProductHelpDemoModeChoiceDescription[] =
709 "Selects the In-Product Help demo mode.";
710
711const char kJavascriptHarmonyName[] = "Experimental JavaScript";
712const char kJavascriptHarmonyDescription[] =
713 "Enable web pages to use experimental JavaScript features.";
714
715const char kJavascriptHarmonyShippingName[] =
716 "Latest stable JavaScript features";
717const char kJavascriptHarmonyShippingDescription[] =
718 "Some web pages use legacy or non-standard JavaScript extensions that may "
719 "conflict with the latest JavaScript features. This flag allows disabling "
720 "support of those features for compatibility with such pages.";
721
722const char kLcdTextName[] = "LCD text antialiasing";
723const char kLcdTextDescription[] =
724 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
725 "(subpixel) when doing accelerated compositing.";
726
727const char kLoadMediaRouterComponentExtensionName[] =
728 "Load Media Router Component Extension";
729const char kLoadMediaRouterComponentExtensionDescription[] =
730 "Loads the Media Router component extension at startup.";
731
732const char kManualPasswordGenerationName[] = "Manual password generation.";
733const char kManualPasswordGenerationDescription[] =
734 "Show a 'Generate Password' option on the context menu for all password "
735 "fields.";
736
737const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
738const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
739const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
740const char kMarkHttpAsNonSecureAfterEditing[] =
741 "Warn on HTTP after editing forms";
742const char kMarkHttpAsNonSecureWhileIncognito[] =
743 "Warn on HTTP while in Incognito mode";
744const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
745 "Warn on HTTP while in Incognito mode or after editing forms";
746
747extern const char kMaterialDesignIncognitoNTPName[] =
748 "Material Design Incognito NTP.";
749extern const char kMaterialDesignIncognitoNTPDescription[] =
750 "If enabled, the Incognito New Tab page uses the new material design with "
751 "a better readable text.";
752
753const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
754const char kMediaRemotingDescription[] =
755 "When Casting a tab to a remote device, enabling this turns on an "
756 "optimization that forwards the content bitstream directly to the remote "
757 "device when a video is fullscreened.";
758
759const char kMemoryAblationName[] = "Memory ablation experiment";
760const char kMemoryAblationDescription[] =
761 "Allocates extra memory in the browser process.";
762
763const char kMemoryCoordinatorName[] = "Memory coordinator";
764const char kMemoryCoordinatorDescription[] =
765 "Enable memory coordinator instead of memory pressure listeners.";
766
767const char kMessageCenterNewStyleNotificationName[] = "New style notification";
768const char kMessageCenterNewStyleNotificationDescription[] =
769 "Enables the experiment style of material-design notification";
770
771const char kMessageCenterAlwaysScrollUpUponRemovalName[] =
772 "Experiments that message center always scroll up upon notification "
773 "removal";
774const char kMessageCenterAlwaysScrollUpUponRemovalDescription[] =
775 "Enables experiment that message center always scroll up when a "
776 "notification is removed.";
777
778const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
779const char kMhtmlGeneratorOptionDescription[] =
780 "Provides experimental options for MHTML file generator.";
781const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
782const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
783
784const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
785const char kMojoLoadingDescription[] =
786 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
787
Miguel Casas-Sanchez10769c82017-07-27 23:52:04788const char kMojoVideoEncodeAcceleratorName[] =
789 "Hardware-accelerated video encoder accessed using Mojo IPC";
790const char kMojoVideoEncodeAcceleratorDescription[] =
791 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
792 "available.";
793
Brett Wilsonecb80982017-07-12 20:34:51794const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
795const char kModuleScriptsDescription[] =
796 "Enables ECMAScript 6 modules support in Blink.";
797
798const char kNewAudioRenderingMixingStrategyName[] =
799 "New audio rendering mixing strategy";
800const char kNewAudioRenderingMixingStrategyDescription[] =
801 "Use the new audio rendering mixing strategy.";
802
803const char kNewBookmarkAppsName[] = "The new bookmark app system";
804const char kNewBookmarkAppsDescription[] =
805 "Enables the new system for creating bookmark apps.";
806
807const char kNewOmniboxAnswerTypesName[] =
808 "New omnibox answers in suggest types";
809const char kNewOmniboxAnswerTypesDescription[] =
810 "Enables new types of answers in the omnibox suggest drop-down: currency "
811 "conversions, dictionary definitions, sports scores, translations, and "
812 "when is.";
813
814const char kNewRemotePlaybackPipelineName[] =
815 "Enable the new remote playback pipeline.";
816const char kNewRemotePlaybackPipelineDescription[] =
817 "Enable the new pipeline for playing media element remotely via "
818 "RemotePlayback API or native controls.";
819
820const char kNewUsbBackendName[] = "Enable new USB backend";
821const char kNewUsbBackendDescription[] =
822 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34823
brettw5f9c1642017-05-14 17:12:48824const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34825const char kNostatePrefetchDescription[] =
826 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
827 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
828 R"*(improve load times even more. "Simple Load" does nothing and is )*"
829 R"*(similar to disabling the feature, but collects more metrics for )*"
830 R"*(comparison purposes.)*";
831
Brett Wilsonecb80982017-07-12 20:34:51832const char kNotificationsNativeFlagName[] = "Enable native notifications.";
833const char kNotificationsNativeFlagDescription[] =
834 "Enable support for using the native notification toasts and notification "
835 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34836
Brett Wilsonecb80982017-07-12 20:34:51837const char kNumRasterThreadsName[] = "Number of raster threads";
838const char kNumRasterThreadsDescription[] =
839 "Specify the number of raster threads.";
840const char kNumRasterThreadsOne[] = "1";
841const char kNumRasterThreadsTwo[] = "2";
842const char kNumRasterThreadsThree[] = "3";
843const char kNumRasterThreadsFour[] = "4";
844
845const char kOfferStoreUnmaskedWalletCardsName[] =
846 "Google Payments card saving checkbox";
847const char kOfferStoreUnmaskedWalletCardsDescription[] =
848 "Show the checkbox to offer local saving of a credit card downloaded from "
849 "the server.";
850
851const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
852const char kOfflineAutoReloadDescription[] =
853 "Pages that fail to load while the browser is offline will be "
854 "auto-reloaded when the browser is online again.";
855
856const char kOfflineAutoReloadVisibleOnlyName[] =
857 "Only Auto-Reload Visible Tabs";
858const char kOfflineAutoReloadVisibleOnlyDescription[] =
859 "Pages that fail to load while the browser is offline will only be "
860 "auto-reloaded if their tab is visible.";
861
862const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
863const char kOffMainThreadFetchDescription[] =
864 "If enabled, the resource fetches from worker threads will not be blocked "
865 "by the busy main thread.";
866
867const char kOmniboxDisplayTitleForCurrentUrlName[] =
868 "Include title for the current URL in the omnibox";
869const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
870 "In the event that the omnibox provides suggestions on-focus, the URL of "
871 "the current page is provided as the first suggestion without a title. "
872 "Enabling this flag causes the title to be displayed.";
873
Benoit Lizeab08362c2017-07-19 14:50:54874const char kOmniboxSpareRendererName[] =
875 "Start spare renderer on omnibox focus";
876const char kOmniboxSpareRendererDescription[] =
877 "When the omnibox is focused, start an empty spare renderer. This can "
878 "speed up the load of the navigation from the omnibox.";
879
Tommy C. Li8875a442017-08-23 00:10:59880const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
881 "Omnibox UI Elide Suggestion URL After Host";
882const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
883 "Elides the path, query, and ref of suggested URLs in the Omnibox "
884 "dropdown.";
885
Brett Wilsonecb80982017-07-12 20:34:51886const char kOmniboxUIHideSuggestionUrlSchemeName[] =
887 "Omnibox UI Hide Suggestion URL Scheme";
888const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
889 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
890
891const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
892 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
893const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
894 "Elides trivially informative subdomains from suggested URLs in the "
895 "Omnibox dropdown (e.g. www. and m.).";
896
Tommy C. Li8875a442017-08-23 00:10:59897const char kOmniboxUIShowSuggestionFaviconsName[] =
898 "Omnibox UI Show Suggestion Favicons";
899const char kOmniboxUIShowSuggestionFaviconsDescription[] =
900 "Shows favicons instead of generic vector icons for URL suggestions in the "
901 "Omnibox dropdown.";
902
Brett Wilsonecb80982017-07-12 20:34:51903const char kOmniboxUIMaxAutocompleteMatchesName[] =
904 "Omnibox UI Max Autocomplete Matches";
905
906const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
907 "Changes the maximum number of autocomplete matches displayed in the "
908 "Omnibox UI.";
909
910const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
911const char kOmniboxUINarrowDropdownDescription[] =
912 "Makes the suggestions dropdown width match the omnibox width.";
913
914const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
915const char kOmniboxUIVerticalLayoutDescription[] =
916 "Displays Omnibox sugestions in 2 lines - title over origin.";
917
918const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
919const char kOmniboxUIVerticalMarginDescription[] =
920 "Changes the vertical margin in the Omnibox UI.";
921
922const char kOriginTrialsName[] = "Origin Trials";
923const char kOriginTrialsDescription[] =
924 "Enables origin trials for controlling access to feature/API experiments.";
925
926const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
927const char kOverlayScrollbarsDescription[] =
928 "Enable the experimental overlay scrollbars implementation. You must also "
929 "enable threaded compositing to have the scrollbars animate.";
930
931const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
932const char kOverscrollHistoryNavigationDescription[] =
933 "Experimental history navigation in response to horizontal overscroll.";
934const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
935
936const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
937const char kOverscrollStartThresholdDescription[] =
938 "Changes overscroll start threshold relative to the default value.";
939const char kOverscrollStartThreshold133Percent[] = "133%";
940const char kOverscrollStartThreshold166Percent[] = "166%";
941const char kOverscrollStartThreshold200Percent[] = "200%";
942
943const char kPassiveEventListenerDefaultName[] =
944 "Passive Event Listener Override";
945const char kPassiveEventListenerDefaultDescription[] =
946 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
947 "haven't requested otherwise) to be treated as passive. This will break "
948 "touch/wheel behavior on some websites but is useful for demonstrating the "
949 "potential performance benefits of adopting passive event listeners.";
950const char kPassiveEventListenerTrue[] = "True (when unspecified)";
951const char kPassiveEventListenerForceAllTrue[] = "Force All True";
952
953const char kPassiveEventListenersDueToFlingName[] =
954 "Touch Event Listeners Passive Default During Fling";
955const char kPassiveEventListenersDueToFlingDescription[] =
956 "Forces touchstart, and first touchmove per scroll event listeners during "
957 "fling to be treated as passive.";
958
959const char kPassiveDocumentEventListenersName[] =
960 "Document Level Event Listeners Passive Default";
961const char kPassiveDocumentEventListenersDescription[] =
962 "Forces touchstart, and touchmove event listeners on document level "
963 "targets (which haven't requested otherwise) to be treated as passive.";
964
965const char kPasswordForceSavingName[] = "Force-saving of passwords";
966const char kPasswordForceSavingDescription[] =
967 "Allow the user to manually enforce password saving instead of relying on "
968 "password manager's heuristics.";
969
970const char kPasswordGenerationName[] = "Password generation";
971const char kPasswordGenerationDescription[] =
972 "Allow the user to have Chrome generate passwords when it detects account "
973 "creation pages.";
974
975const char kPasswordImportExportName[] = "Password import and export";
976const char kPasswordImportExportDescription[] =
977 "Import and Export functionality in password settings.";
978
979const char kPermissionActionReportingName[] = "Permission Action Reporting";
980const char kPermissionActionReportingDescription[] =
981 "Enables permission action reporting to Safe Browsing servers for opted in "
982 "users.";
983
984const char kPermissionsBlacklistName[] = "Permissions Blacklist";
985const char kPermissionsBlacklistDescription[] =
986 "Enables the Permissions Blacklist, which blocks permissions for "
987 "blacklisted sites for Safe Browsing users.";
988
989const char kPinchScaleName[] = "Pinch scale";
990const char kPinchScaleDescription[] =
991 "Enables experimental support for scale using pinch.";
992
Brett Wilsonecb80982017-07-12 20:34:51993const char kPrintPdfAsImageName[] = "Print Pdf as Image";
994const char kPrintPdfAsImageDescription[] =
995 "If enabled, an option to print PDF files as images will be available in "
996 "print preview.";
997
998const char kPrintPreviewRegisterPromosName[] =
999 "Print Preview Registration Promos";
1000const char kPrintPreviewRegisterPromosDescription[] =
1001 "Enable registering unregistered cloud printers from print preview.";
1002
1003const char kProtectSyncCredentialName[] = "Autofill sync credential";
1004const char kProtectSyncCredentialDescription[] =
1005 "How the password manager handles autofill for the sync credential.";
1006
1007const char kProtectSyncCredentialOnReauthName[] =
1008 "Autofill sync credential only for transactional reauth pages";
1009const char kProtectSyncCredentialOnReauthDescription[] =
1010 "How the password manager handles autofill for the sync credential only "
1011 "for transactional reauth pages.";
1012
Mohsen Izadi93faac12017-07-29 04:45:151013const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1014const char kPullToRefreshDescription[] =
1015 "Pull-to-refresh gesture in response to vertical overscroll.";
1016
Brett Wilsonecb80982017-07-12 20:34:511017const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1018const char kPushApiBackgroundModeDescription[] =
1019 "Enable background mode for the Push API. This allows Chrome to continue "
1020 "running after the last window is closed, and to launch at OS startup, if "
1021 "the Push API needs it.";
1022
Piotr Swigon46929d12017-08-11 07:16:331023const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1024const char kPwaMinimalUiDescription[] =
1025 "Enables support for Minimal-UI display mode for installed PWAs";
1026
Brett Wilsonecb80982017-07-12 20:34:511027const char kQuicName[] = "Experimental QUIC protocol";
1028const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1029
1030const char kReducedReferrerGranularityName[] =
1031 "Reduce default 'referer' header granularity.";
1032const char kReducedReferrerGranularityDescription[] =
1033 "If a page hasn't set an explicit referrer policy, setting this flag will "
1034 "reduce the amount of information in the 'referer' header for cross-origin "
1035 "requests.";
1036
1037const char kRequestTabletSiteName[] =
1038 "Request tablet site option in the settings menu";
1039const char kRequestTabletSiteDescription[] =
1040 "Allows the user to request tablet site. Web content is often optimized "
1041 "for tablet devices. When this option is selected the user agent string is "
1042 "changed to indicate a tablet device. Web content optimized for tablets is "
1043 "received there after for the current tab.";
1044
1045const char kResetAppListInstallStateName[] =
1046 "Reset the App Launcher install state on every restart.";
1047const char kResetAppListInstallStateDescription[] =
1048 "Reset the App Launcher install state on every restart. While this flag is "
1049 "set, Chrome will forget the launcher has been installed each time it "
1050 "starts. This is used for testing the App Launcher install flow.";
1051
1052const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1053const char kResourceLoadSchedulerDescription[] =
1054 "Uses the resource load scheduler in blink to schedule and throttle "
1055 "resource load requests.";
1056
Brett Wilsonecb80982017-07-12 20:34:511057const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1058const char kSafeSearchUrlReportingDescription[] =
1059 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1060
1061const char kSaveasMenuLabelExperimentName[] =
1062 "Switch 'Save as' menu labels to 'Download'";
1063const char kSaveasMenuLabelExperimentDescription[] =
1064 "Enables an experiment to switch menu labels that use 'Save as...' to "
1065 "'Download'.";
1066
1067const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1068const char kSavePageAsMhtmlDescription[] =
1069 "Enables saving pages as MHTML: a single text file containing HTML and all "
1070 "sub-resources.";
1071
Brett Wilsonecb80982017-07-12 20:34:511072const char kScrollPredictionName[] = "Scroll prediction";
1073const char kScrollPredictionDescription[] =
1074 "Predicts the finger's future position during scrolls allowing time to "
1075 "render the frame before the finger is there.";
1076
1077const char kSecondaryUiMd[] =
1078 "Material Design in the rest of the browser's native UI";
1079const char kSecondaryUiMdDescription[] =
1080 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1081 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1082 "browser dialogs.";
1083
1084const char kServiceWorkerNavigationPreloadName[] =
1085 "Service worker navigation preload.";
1086const char kServiceWorkerNavigationPreloadDescription[] =
1087 "Enable web pages to use the experimental service worker navigation "
1088 "preload API.";
1089
Makoto Shimazud9f333c2017-08-08 07:23:171090const char kServiceWorkerScriptStreamingName[] =
1091 "Service worker script streaming.";
1092const char kServiceWorkerScriptStreamingDescription[] =
1093 "Installed scripts for a service worker are sent over a dedicated "
1094 "message pipe and data pipes, and that is never be blocked on the main "
1095 "thread.";
1096
Brett Wilsonecb80982017-07-12 20:34:511097const char kSettingsWindowName[] = "Show settings in a window";
1098const char kSettingsWindowDescription[] =
1099 "Settings will be shown in a dedicated window instead of as a browser tab.";
1100
1101const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1102const char kShowAutofillSignaturesDescription[] =
1103 "Annotates web forms with Autofill signatures as HTML attributes.";
1104
1105const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1106const char kShowAutofillTypePredictionsDescription[] =
1107 "Annotates web forms with Autofill field type predictions as placeholder "
1108 "text.";
1109
1110const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1111const char kShowOverdrawFeedbackDescription[] =
1112 "Visualize overdraw by color-coding elements based on if they have other "
1113 "elements drawn underneath.";
1114
1115const char kShowSavedCopyName[] = "Show Saved Copy Button";
1116const char kShowSavedCopyDescription[] =
1117 "When a page fails to load, if a stale copy of the page exists in the "
1118 "browser cache, a button will be presented to allow the user to load that "
1119 "stale copy. The primary enabling choice puts the button in the most "
1120 "salient position on the error page; the secondary enabling choice puts it "
1121 "secondary to the reload button.";
1122const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1123const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1124const char kDisableShowSavedCopy[] = "Disable";
1125
1126const char kShowTouchHudName[] = "Show HUD for touch points";
1127const char kShowTouchHudDescription[] =
1128 "Enables a heads-up display at the top-left corner of the screen that "
1129 "lists information about the touch-points on the screen.";
1130
1131const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1132const char kSilentDebuggerExtensionApiDescription[] =
1133 "Do not show the infobar when an extension attaches to a page via "
1134 "chrome.debugger API. This is required to debug extension background "
1135 "pages.";
1136
1137const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1138const char kSimpleCacheBackendDescription[] =
1139 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1140 "disk space allocation.";
1141
1142const char kSimplifiedFullscreenUiName[] =
1143 "Simplified full screen / mouse lock UI.";
1144const char kSimplifiedFullscreenUiDescription[] =
1145 "A simplified new user experience when entering page-triggered full screen "
1146 "or mouse pointer lock states.";
1147
1148const char kSingleClickAutofillName[] = "Single-click autofill";
1149const char kSingleClickAutofillDescription[] =
1150 "Make autofill suggestions on initial mouse click on a form element.";
1151
1152const char kSiteDetails[] = "Site Details";
1153const char kSiteDetailsDescription[] =
1154 "Adds UI in MD Settings to view all content settings for a specific "
1155 "origin.";
1156
1157const char kSitePerProcessName[] = "Strict site isolation";
1158const char kSitePerProcessDescription[] =
1159 "Highly experimental security mode that ensures each renderer process "
1160 "contains pages from at most one site. In this mode, out-of-process "
1161 "iframes will be used whenever an iframe is cross-site.";
1162
1163const char kSiteSettings[] = "Site settings with All sites and Site details";
1164const char kSiteSettingsDescription[] =
1165 "Adds new ways of viewing Site settings.";
1166
1167const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1168const char kSlimmingPaintInvalidationDescription[] =
1169 "Whether to enable a new paint invalidation system.";
1170
1171const char kSmoothScrollingName[] = "Smooth Scrolling";
1172const char kSmoothScrollingDescription[] =
1173 "Animate smoothly when scrolling page content.";
1174
1175const char kSoftwareRasterizerName[] = "3D software rasterizer";
1176const char kSoftwareRasterizerDescription[] =
1177 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1178
1179const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341180const char kSpeculativePrefetchDescription[] =
1181 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1182 R"*(load times, based on a local database (see chrome://predictors). )*"
1183 R"*("Learning" means that only the database construction is enabled, )*"
1184 R"*("Prefetching" that learning and prefetching are enabled.)*";
1185
Justin Donnelly4e448cb2017-07-07 21:32:131186const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1187 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131188const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1189 "If enabled, when the user enters text in the omnibox that looks like a "
1190 "a query, any service worker associated with the search engine the query "
1191 "will be sent to is started early.";
1192
Brett Wilsonecb80982017-07-12 20:34:511193const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1194const char kSpellingFeedbackFieldTrialDescription[] =
1195 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401196
Brett Wilsonecb80982017-07-12 20:34:511197const char kSuggestionsWithSubStringMatchName[] =
1198 "Substring matching for Autofill suggestions";
1199const char kSuggestionsWithSubStringMatchDescription[] =
1200 "Match Autofill suggestions based on substrings (token prefixes) rather "
1201 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341202
Brett Wilsonecb80982017-07-12 20:34:511203const char kSupervisedUserManagedBookmarksFolderName[] =
1204 "Managed bookmarks for supervised users";
1205const char kSupervisedUserManagedBookmarksFolderDescription[] =
1206 "Enable the managed bookmarks folder for supervised users.";
vabr0215a8e2017-03-28 12:47:341207
Brett Wilsonecb80982017-07-12 20:34:511208const char kSyncAppListName[] = "App Launcher sync";
1209const char kSyncAppListDescription[] =
1210 "Enable App Launcher sync. This also enables Folders where available (non "
1211 "OSX).";
vabr0215a8e2017-03-28 12:47:341212
Brett Wilsonecb80982017-07-12 20:34:511213const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1214const char kSyncSandboxDescription[] =
1215 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341216
Brett Wilsonecb80982017-07-12 20:34:511217const char kTabAudioMutingName[] = "Tab audio muting UI control";
1218const char kTabAudioMutingDescription[] =
1219 "When enabled, the audio indicators in the tab strip double as tab audio "
1220 "mute controls. This also adds commands in the tab context menu for "
1221 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341222
Brett Wilsonecb80982017-07-12 20:34:511223const char kTcpFastOpenName[] = "TCP Fast Open";
1224const char kTcpFastOpenDescription[] =
1225 "Enable the option to send extra authentication information in the initial "
1226 "SYN packet for a previously connected client, allowing faster data send "
1227 "start.";
vabr0215a8e2017-03-28 12:47:341228
Brett Wilsonecb80982017-07-12 20:34:511229const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1230const char kTopChromeMdDescription[] =
1231 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1232const char kTopChromeMdMaterial[] = "Normal";
1233const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341234
Brett Wilsonecb80982017-07-12 20:34:511235const char kThreadedScrollingName[] = "Threaded scrolling";
1236const char kThreadedScrollingDescription[] =
1237 "Threaded handling of scroll-related input events. Disabling this will "
1238 "force all such scroll events to be handled on the main thread. Note that "
1239 "this can dramatically hurt scrolling performance of most websites and is "
1240 "intended for testing purposes only.";
1241
Steven Valdez4584b2482017-07-14 01:11:571242const char kTLS13VariantName[] = "TLS 1.3";
1243const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1244const char kTLS13VariantDisabled[] = "Disabled";
1245const char kTLS13VariantDraft[] = "Enabled (Draft)";
1246const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdez2d7b4e82017-07-17 22:22:091247const char kTLS13VariantRecordTypeExperiment[] =
1248 "Enabled (Record Type Experiment)";
Steven Valdez2ee1c4a22017-07-19 20:39:311249const char kTLS13VariantNoSessionIDExperiment[] =
1250 "Enabled (No Session ID Experiment)";
Steven Valdez4584b2482017-07-14 01:11:571251
Brett Wilsonecb80982017-07-12 20:34:511252const char kTopDocumentIsolationName[] = "Top document isolation";
1253const char kTopDocumentIsolationDescription[] =
1254 "Highly experimental performance mode where cross-site iframes are kept in "
1255 "a separate process from the top document. In this mode, iframes from "
1256 "different third-party sites will be allowed to share a process.";
1257
1258const char kTouchAdjustmentName[] = "Touch adjustment";
1259const char kTouchAdjustmentDescription[] =
1260 "Refine the position of a touch gesture in order to compensate for touches "
1261 "having poor resolution compared to a mouse.";
1262
1263const char kTouchDragDropName[] = "Touch initiated drag and drop";
1264const char kTouchDragDropDescription[] =
1265 "Touch drag and drop can be initiated through long press on a draggable "
1266 "element.";
1267
1268const char kTouchEventsName[] = "Touch Events API";
1269const char kTouchEventsDescription[] =
1270 "Force Touch Events API feature detection to always be enabled or "
1271 "disabled, or to be enabled when a touchscreen is detected on startup "
1272 "(Automatic, the default).";
1273
1274const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1275const char kTouchSelectionStrategyDescription[] =
1276 "Controls how text selection granularity changes when touch text selection "
1277 "handles are dragged. Non-default behavior is experimental.";
1278const char kTouchSelectionStrategyCharacter[] = "Character";
1279const char kTouchSelectionStrategyDirection[] = "Direction";
1280
1281const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1282const char kTraceUploadUrlDescription[] =
1283 "This is to be used in conjunction with the enable-navigation-tracing "
1284 "flag. Please select the label that best describes the recorded traces. "
1285 "This will choose the destination the traces are uploaded to. If you are "
1286 "not sure, select other. If left empty, no traces will be uploaded.";
1287const char kTraceUploadUrlChoiceOther[] = "Other";
1288const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1289const char kTraceUploadUrlChoiceQa[] = "QA";
1290const char kTraceUploadUrlChoiceTesting[] = "Testing";
1291
1292const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1293const char kTranslate2016q2UiDescription[] =
1294 "Improved triggering logic and look for Translate Bubble UI";
1295
1296const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1297const char kTranslateLanguageByUlpDescription[] =
1298 "Improved translate target language and triggering logic by considering "
1299 "information from User Language Profile (ULP).";
1300
1301const char kTrySupportedChannelLayoutsName[] =
1302 "Causes audio output streams to check if channel layouts other than the "
1303 "default hardware layout are available.";
1304const char kTrySupportedChannelLayoutsDescription[] =
1305 "Causes audio output streams to check if channel layouts other than the "
1306 "default hardware layout are available. Turning this on will allow the OS "
1307 "to do stereo to surround expansion if supported. May expose third party "
1308 "driver bugs, use with caution.";
1309
1310const char kUiPartialSwapName[] = "Partial swap";
1311const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1312
1313const char kUserConsentForExtensionScriptsName[] =
1314 "User consent for extension scripts";
1315const char kUserConsentForExtensionScriptsDescription[] =
1316 "Require user consent for an extension running a script on the page, if "
1317 "the extension requested permission to run on all urls.";
1318
1319const char kUseSuggestionsEvenIfFewFeatureName[] =
1320 "Disable minimum for server-side tile suggestions on NTP.";
1321const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1322 "Request server-side suggestions even if there are only very few of them "
1323 "and use them for tiles on the New Tab Page.";
1324
1325const char kV8CacheOptionsName[] = "V8 caching mode.";
1326const char kV8CacheOptionsDescription[] =
1327 "Caching mode for the V8 JavaScript engine.";
1328const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1329const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1330
1331const char kV8CacheStrategiesForCacheStorageName[] =
1332 "V8 caching strategy for CacheStorage.";
1333const char kV8CacheStrategiesForCacheStorageDescription[] =
1334 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1335const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1336const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1337
1338const char kVibrateRequiresUserGestureName[] =
1339 "Requiring user gesture for the Vibration API";
1340const char kVibrateRequiresUserGestureDescription[] =
1341 "Block the Vibration API if no user gesture has been received on the frame "
1342 "or any embedded frame.";
1343
1344const char kVideoFullscreenOrientationLockName[] =
1345 "Lock screen orientation when playing a video fullscreen.";
1346const char kVideoFullscreenOrientationLockDescription[] =
1347 "Lock the screen orientation of the device to match video orientation when "
1348 "a video goes fullscreen. Only on phones.";
1349
1350const char kVideoRotateToFullscreenName[] =
1351 "Rotate-to-fullscreen gesture for videos.";
1352const char kVideoRotateToFullscreenDescription[] =
1353 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1354 "the video. Only on phones.";
1355
1356const char kWalletServiceUseSandboxName[] =
1357 "Use Google Payments sandbox servers";
1358const char kWalletServiceUseSandboxDescription[] =
1359 "For developers: use the sandbox service for Google Payments API calls.";
1360
1361const char kWebgl2Name[] = "WebGL 2.0";
1362const char kWebgl2Description[] = "Allow web applications to access WebGL 2.0.";
1363
1364const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1365const char kWebglDraftExtensionsDescription[] =
1366 "Enabling this option allows web applications to access the WebGL "
1367 "Extensions that are still in draft status.";
1368
1369const char kWebMidiName[] = "Web MIDI API";
1370const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1371
1372const char kWebPaymentsName[] = "Web Payments";
1373const char kWebPaymentsDescription[] =
1374 "Enable Web Payments API integration, a JavaScript API for merchants.";
1375
Mathieu Perreault51339b82017-07-20 17:06:051376const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1377const char kWebPaymentsModifiersDescription[] =
1378 "If the website provides modifiers in the payment request, show the custom "
1379 "total for each payment instrument, update the shopping cart when "
1380 "instruments are switched, and send modified payment method specific data "
1381 "to the payment app.";
1382
Brett Wilsonecb80982017-07-12 20:34:511383const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1384const char kWebrtcEchoCanceller3Description[] =
1385 "Experimental WebRTC echo canceller (AEC3).";
1386
1387const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1388const char kWebrtcHwDecodingDescription[] =
1389 "Support in WebRTC for decoding video streams using platform hardware.";
1390
1391const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1392const char kWebrtcHwEncodingDescription[] =
1393 "Support in WebRTC for encoding video streams using platform hardware.";
1394
1395const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1396const char kWebrtcHwH264EncodingDescription[] =
1397 "Support in WebRTC for encoding h264 video streams using platform "
1398 "hardware.";
1399
1400const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1401const char kWebrtcHwVP8EncodingDescription[] =
1402 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1403
1404const char kWebrtcSrtpAesGcmName[] =
1405 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1406const char kWebrtcSrtpAesGcmDescription[] =
1407 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1408
1409const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1410const char kWebrtcStunOriginDescription[] =
1411 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1412 "header.";
1413
1414const char kWebvrName[] = "WebVR";
1415const char kWebvrDescription[] =
1416 "Enabling this option allows web applications to access experimental "
1417 "Virtual Reality APIs.";
1418
1419const char kWifiCredentialSyncName[] = "WiFi credential sync";
1420const char kWifiCredentialSyncDescription[] =
1421 "Enables synchronizing WiFi network settings across devices. When enabled, "
1422 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1423 "credentials are synchronized subject to user preferences. (See also, "
1424 "chrome://settings/syncSetup.)";
1425
Tom Anderson5c3130ad2017-08-21 19:49:171426const char kWindowNavNativeFlagName[] =
1427 "Enable native window navigation buttons.";
1428const char kWindowNavNativeFlagDescription[] =
1429 "Whether the window frame buttons should be drawn using the system theme. "
1430 "Has no effect unless using the GTK3 theme.";
1431
Brett Wilsonecb80982017-07-12 20:34:511432const char kZeroCopyName[] = "Zero-copy rasterizer";
1433const char kZeroCopyDescription[] =
1434 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341435
Brett Wilsonff596952017-07-14 01:06:551436// Android ---------------------------------------------------------------------
1437
1438#if defined(OS_ANDROID)
1439
1440const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1441const char kAiaFetchingDescription[] =
1442 "Enable intermediate certificate fetching when a server does not provide "
1443 "sufficient certificates to build a chain to a trusted root.";
1444
1445const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1446const char kAccessibilityTabSwitcherDescription[] =
1447 "Enable the accessibility tab switcher for Android.";
1448
1449const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1450const char kAndroidAutofillAccessibilityDescription[] =
1451 "Enable accessibility for autofill popup.";
1452
1453const char kAndroidPaymentAppsName[] = "Android payment apps";
1454const char kAndroidPaymentAppsDescription[] =
1455 "Enable third party Android apps to integrate as payment apps";
1456
Iulia Harasim0b5a4312017-07-21 16:20:501457const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1458const char kAndroidSigninPromosDescription[] =
1459 "New signin promos for Android which will be displayed in content "
1460 "suggestions, Settings, Bookmarks and Recent Tabs.";
1461
Tatiana Gornak38ab3562017-07-28 11:04:181462const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1463const char kAndroidViewPasswordsDescription[] =
1464 "Enables copying and viewing passwords in settings.";
1465
Brett Wilsonff596952017-07-14 01:06:551466const char kAutofillAccessoryViewName[] =
1467 "Autofill suggestions as keyboard accessory view";
1468const char kAutofillAccessoryViewDescription[] =
1469 "Shows Autofill suggestions on top of the keyboard rather than in a "
1470 "dropdown.";
1471
1472const char kBackgroundLoaderForDownloadsName[] =
1473 "Enables background downloading of pages.";
1474const char kBackgroundLoaderForDownloadsDescription[] =
1475 "Enables downloading pages in the background in case page is not yet "
1476 "loaded in current tab.";
1477
1478const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1479const char kChromeHomeExpandButtonDescription[] =
1480 "Enables the expand button for Chrome Home.";
1481
Michael van Ouwerkerk66e45322017-08-04 17:25:241482const char kChromeHomeModernLayoutName[] = "Modern layout for Chrome Home.";
1483const char kChromeHomeModernLayoutDescription[] =
1484 "Enables the modern layout for Chrome Home.";
1485
Brett Wilsonff596952017-07-14 01:06:551486const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1487const char kChromeHomeSwipeLogicDescription[] =
1488 "Various swipe logic options for Chrome Home for sheet expansion.";
1489const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
1490const char kChromeHomeSwipeLogicButtonOnly[] = "Swipe on expand button";
1491
1492const char kChromeHomeName[] = "Chrome Home";
1493const char kChromeHomeDescription[] =
1494 "Enables Chrome Home on Android. You must restart the browser"
1495 " twice for changes to take effect.";
1496
1497const char kContentSuggestionsCategoryOrderName[] =
1498 "Default content suggestions category order (e.g. on NTP)";
1499const char kContentSuggestionsCategoryOrderDescription[] =
1500 "Set default order of content suggestion categories (e.g. on the NTP).";
1501
1502const char kContentSuggestionsCategoryRankerName[] =
1503 "Content suggestions category ranker (e.g. on NTP)";
1504const char kContentSuggestionsCategoryRankerDescription[] =
1505 "Set category ranker to order categories of content suggestions (e.g. on "
1506 "the NTP).";
1507
1508const char kContextualSearchContextualCardsBarIntegration[] =
1509 "Contextual Search - Contextual Cards Integration";
1510const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1511 "Whether or not integration of Contextual Cards data in the Contextual "
1512 "Search Bar is enabled.";
1513
1514const char kContextualSearchSingleActionsName[] =
1515 "Contextual Search - Single Actions";
1516const char kContextualSearchSingleActionsDescription[] =
1517 "Whether or not single actions using Contextual Cards data in the "
1518 "Contextual Search Bar is enabled.";
1519
1520const char kContextualSearchUrlActionsName[] =
1521 "Contextual Search - URL Actions";
1522const char kContextualSearchUrlActionsDescription[] =
1523 "Whether or not URL actions using Contextual Cards data in the Contextual "
1524 "Search Bar is enabled.";
1525
1526const char kContextualSearchName[] = "Contextual Search";
1527const char kContextualSearchDescription[] =
1528 "Whether or not Contextual Search is enabled.";
1529
Dmitry Skiba9c3efa72017-07-20 22:01:141530const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1531const char kDontPrefetchLibrariesDescription[] =
1532 "Don't prefetch libraries after loading.";
1533
Brett Wilsonff596952017-07-14 01:06:551534const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1535const char kEnableAndroidPayIntegrationV1Description[] =
1536 "Enable integration with Android Pay using the first version of the API";
1537
1538const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1539const char kEnableAndroidPayIntegrationV2Description[] =
1540 "Enable integration with Android Pay using the second version of the API";
1541
1542const char kEnableAndroidSpellcheckerDescription[] =
1543 "Enables use of the Android spellchecker.";
1544const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1545
1546const char kEnableConsistentOmniboxGeolocationName[] =
1547 "Have consistent omnibox geolocation access.";
1548const char kEnableConsistentOmniboxGeolocationDescription[] =
1549 "Have consistent geolocation access between the omnibox and default search "
1550 "engine.";
1551
1552const char kEnableContentSuggestionsNewFaviconServerName[] =
1553 "Get favicons for content suggestions from a new server.";
1554const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1555 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1556 "new favicon server.";
1557
1558const char kEnableContentSuggestionsLargeThumbnailName[] =
1559 "Large thumbnails layout for content suggestions cards.";
1560const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1561 "If enabled, the content suggestions cards will use large thumbnails and "
1562 "some related adjustments.";
1563
1564const char kEnableContentSuggestionsVideoOverlayName[] =
1565 "Video icon overlay on thumbnails for content suggestions cards.";
1566const char kEnableContentSuggestionsVideoOverlayDescription[] =
1567 "If enabled, the content suggestions cards for suggestions with a video "
1568 "will show a video play icon overlay on the thumbnail.";
1569
1570const char kEnableContentSuggestionsSettingsName[] =
1571 "Show content suggestions settings.";
1572const char kEnableContentSuggestionsSettingsDescription[] =
1573 "If enabled, the content suggestions settings will be available from the "
1574 "main settings menu.";
1575
1576const char kEnableContentSuggestionsShowSummaryName[] =
1577 "Show content suggestions summaries.";
1578const char kEnableContentSuggestionsShowSummaryDescription[] =
1579 "If enabled, the content suggestions summaries will be shown.";
1580
1581const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1582const char kEnableCopylessPasteDescription[] =
1583 "Provide suggestions for text input, based on your recent context. For "
1584 "example, if you looked at a restaurant website and switched to the Maps "
1585 "app, the keyboard would offer the name of that restaurant as a suggestion "
1586 "to enter into the search bar. The data is indexed locally, and never sent "
1587 "to the server. It's disabled in incognito mode.";
1588
1589const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1590const char kEnableCustomContextMenuDescription[] =
1591 "Enables a new context menu when a link, image, or video is pressed within "
1592 "Chrome.";
1593
1594const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1595const char kEnableCustomFeedbackUiDescription[] =
1596 "Enables a custom feedback UI when submitting feedback through Google "
1597 "Feedback. Works with Google Play Services v10.2+";
1598
1599const char kEnableDataReductionProxyMainMenuName[] =
1600 "Enable Data Saver main menu footer";
1601const char kEnableDataReductionProxyMainMenuDescription[] =
1602 "Enables the Data Saver footer in the main menu";
1603
1604const char kEnableDataReductionProxySiteBreakdownName[] =
1605 "Data Saver Site Breakdown";
1606const char kEnableDataReductionProxySiteBreakdownDescription[] =
1607 "Enable the site breakdown on the Data Saver settings page.";
1608
1609const char kEnableOmniboxClipboardProviderName[] =
1610 "Omnibox clipboard URL suggestions";
1611const char kEnableOmniboxClipboardProviderDescription[] =
1612 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1613 "focus in the omnibox.";
1614
1615const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1616 "Use expanded autofill credit card popup layout.";
1617const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1618 "If enabled, displays autofill credit card popup using expanded layout.";
1619
1620const char kEnableFaviconsFromWebManifestName[] =
1621 "Load favicons from Web Manifests";
1622const char kEnableFaviconsFromWebManifestDescription[] =
1623 "Fetch Web Manifests on page load to read favicons from them.";
1624
1625const char kEnableNtpAssetDownloadSuggestionsName[] =
1626 "Show asset downloads on the New Tab page";
1627const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1628 "If enabled, the list of content suggestions on the New Tab page will "
1629 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1630 "later use.";
1631
1632const char kEnableNtpBookmarkSuggestionsName[] =
1633 "Show recently visited bookmarks on the New Tab page";
1634const char kEnableNtpBookmarkSuggestionsDescription[] =
1635 "If enabled, the list of content suggestions on the New Tab page will "
1636 "contain recently visited bookmarks.";
1637
1638const char kEnableNtpForeignSessionsSuggestionsName[] =
1639 "Show recent foreign tabs on the New Tab page";
1640const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1641 "If enabled, the list of content suggestions on the New Tab page will "
1642 "contain recent foreign tabs.";
1643
1644const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1645 "Download favicons for NTP tiles from Google.";
1646const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1647 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1648 "This only applies to tiles that originate from synced history.";
1649
Jan Krcal7fadbd32017-08-04 10:49:211650const char kNtpTilesLowerResolutionFaviconsName[] =
1651 "Show also lower resolution favicons in NTP tiles.";
1652const char kNtpTilesLowerResolutionFaviconsDescription[] =
1653 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1654 "decreases. Tiles where the largest available favicon is below this limit "
1655 "get displayed as colored tiles.";
1656
Brett Wilsonff596952017-07-14 01:06:551657const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1658 "Show offline page downloads on the New Tab page";
1659const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1660 "If enabled, the list of content suggestions on the New Tab page will "
1661 "contain pages that the user downloaded for later use.";
1662
1663const char kEnableNtpRemoteSuggestionsName[] =
1664 "Show server-side suggestions on the New Tab page";
1665const char kEnableNtpRemoteSuggestionsDescription[] =
1666 "If enabled, the list of content suggestions on the New Tab page will "
1667 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1668 "allows to override the source used to retrieve these server-side "
1669 "suggestions.";
1670
1671const char kEnableNtpSnippetsVisibilityName[] =
1672 "Make New Tab Page Snippets more visible.";
1673const char kEnableNtpSnippetsVisibilityDescription[] =
1674 "If enabled, the NTP snippets will become more discoverable with a larger "
1675 "portion of the first card above the fold.";
1676
1677const char kEnableNtpSuggestionsNotificationsName[] =
1678 "Notify about new content suggestions available at the New Tab page";
1679const char kEnableNtpSuggestionsNotificationsDescription[] =
1680 "If enabled, notifications will inform about new content suggestions on "
1681 "the New Tab page.";
1682
1683const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1684const char kEnablePhysicalWebDescription[] =
1685 "Enable scanning for URLs from Physical Web objects.";
1686
1687const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1688const char kEnableOfflinePreviewsDescription[] =
1689 "Enable showing offline page previews on slow networks.";
1690
1691const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1692const char kEnableOskOverscrollDescription[] =
1693 "Enable OSK overscroll support. With this flag on, the OSK will only "
1694 "resize the visual viewport.";
1695
1696const char kEnableSpecialLocaleName[] =
1697 "Enable custom logic for special locales.";
1698const char kEnableSpecialLocaleDescription[] =
1699 "Enable custom logic for special locales. In this mode, Chrome might "
1700 "behave differently in some locales.";
1701
Brett Wilsonff596952017-07-14 01:06:551702const char kEnableWebNfcName[] = "WebNFC";
1703const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1704
gogeraldf3cbb422017-07-26 14:37:121705const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1706 "Enable Web Payments method section order V2.";
1707const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1708 "Enable this option to display payment method section above address "
1709 "section instead of below it.";
1710
Brett Wilsonff596952017-07-14 01:06:551711const char kEnableWebPaymentsSingleAppUiSkipName[] =
1712 "Enable Web Payments single app UI skip";
1713const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1714 "Enable Web Payments to skip showing its UI if the developer specifies a "
1715 "single app.";
1716
1717const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1718const char kHerbPrototypeChoicesDescription[] =
1719 "Switching this option changes which tab management prototype is being "
1720 "tested.";
1721const char kHerbPrototypeFlavorElderberry[] =
1722 "ELDERBERRY: All View Intents in CCT v2";
1723
1724const char kKeepPrefetchedContentSuggestionsName[] =
1725 "Keep prefetched content suggestions";
1726const char kKeepPrefetchedContentSuggestionsDescription[] =
1727 "If enabled, some of prefetched content suggestions are not replaced by "
1728 "the new fetched suggestions.";
1729
1730const char kLsdPermissionPromptName[] =
1731 "Location Settings Dialog Permission Prompt";
1732const char kLsdPermissionPromptDescription[] =
1733 "Whether to use the Google Play Services Location Settings Dialog "
1734 "permission dialog.";
1735
Brett Wilsonff596952017-07-14 01:06:551736const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1737const char kMediaScreenCaptureDescription[] =
1738 "Enable this option for experimental ScreenCapture feature on Android.";
1739
1740const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1741const char kModalPermissionPromptsDescription[] =
1742 "Whether to use permission dialogs in place of permission infobars.";
1743
1744const char kNewBackgroundLoaderName[] =
1745 "Use background loader instead of prerenderer to load pages.";
1746const char kNewBackgroundLoaderDescription[] =
1747 "Use background loader instead of prerenderer to asynchronously download "
1748 "pages.";
1749
1750const char kNewPhotoPickerName[] = "Enable new Photopicker";
1751const char kNewPhotoPickerDescription[] =
1752 "Activates the new picker for selecting photos.";
1753
1754const char kNoCreditCardAbort[] = "No Credit Card Abort";
1755const char kNoCreditCardAbortDescription[] =
1756 "Whether or not the No Credit Card Abort is enabled.";
1757
1758const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1759const char kNtpCondensedLayoutDescription[] =
1760 "Show a condensed layout on the New Tab Page.";
1761
1762const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1763const char kNtpCondensedTileLayoutDescription[] =
1764 "Show a condensed tile layout on the New Tab Page.";
1765
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041766const char kSiteExplorationUiName[] = "Site Exploration UI";
1767const char kSiteExplorationUiDescription[] =
1768 "Show site suggestions in the Exploration UI";
1769
Brett Wilsonff596952017-07-14 01:06:551770const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1771const char kNtpGoogleGInOmniboxDescription[] =
1772 "Show a Google G in the omnibox on the New Tab Page.";
1773
1774const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1775const char kNtpOfflinePagesDescription[] =
1776 "Enables badging of offline pages on the New Tab page. Only relevant if "
1777 "offline pages are enabled.";
1778
1779const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1780const char kNtpPopularSitesDescription[] =
1781 "Pre-populate the New Tab page with popular sites.";
1782
1783const char kNtpSwitchToExistingTabName[] =
1784 "Switch to an existing tab for New Tab Page suggestions.";
1785const char kNtpSwitchToExistingTabDescription[] =
1786 "When opening a suggested webpage from the New Tab Page, if a tab is "
1787 "already open for the suggestion, switch to that one instead of loading "
1788 "the suggestion in the new tab.";
1789const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
1790const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
1791
1792const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1793const char kOfflineBookmarksDescription[] =
1794 "Enable saving bookmarked pages for offline viewing.";
1795
1796const char kOfflinePagesAsyncDownloadName[] =
1797 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1798const char kOfflinePagesAsyncDownloadDescription[] =
1799 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1800 R"*(that the user can click on it to download the page later.)*";
1801
1802const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1803const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1804
1805const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1806const char kOfflinePagesCtV2Description[] =
1807 "V2 features include attributing pages to the app that initiated the "
1808 "custom tabs, and being able to query for pages by page attribution.";
1809
1810const char kOfflinePagesLoadSignalCollectingName[] =
1811 "Enables collecting load timing data for offline page snapshots.";
1812const char kOfflinePagesLoadSignalCollectingDescription[] =
1813 "Enables loading completeness data collection while writing an offline "
1814 "page. This data is collected in the snapshotted offline page to allow "
1815 "data analysis to improve deciding when to make the offline snapshot.";
1816
1817const char kOfflinePagesPrefetchingName[] =
1818 "Enables suggested offline pages to be prefetched.";
1819const char kOfflinePagesPrefetchingDescription[] =
1820 "Enables suggested offline pages to be prefetched, so useful content is "
1821 "available while offline.";
1822
Collin Baker17f92a52017-07-19 21:41:251823const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1824const char kOfflinePagesRenovationsDescription[] =
1825 "Enables offline page renovations which correct issues with dynamic "
1826 "content that occur when offlining pages that use JavaScript.";
1827
Brett Wilsonff596952017-07-14 01:06:551828const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1829const char kOfflinePagesSharingDescription[] =
1830 "Enables the saved offline pages to be shared via other applications.";
1831
1832const char kOfflinePagesSvelteConcurrentLoadingName[] =
1833 "Enables concurrent background loading on svelte.";
1834const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1835 "Enables concurrent background loading (or downloading) of pages on "
1836 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1837 "happen when the svelte device is idle.";
1838
1839const char kOffliningRecentPagesName[] =
1840 "Enable offlining of recently visited pages";
1841const char kOffliningRecentPagesDescription[] =
1842 "Enable storing recently visited pages locally for offline use. Requires "
1843 "Offline Pages to be enabled.";
1844
1845extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1846extern const char kPayWithGoogleV1Description[] =
1847 "Enable Pay with Google integration into Web Payments with API version "
1848 "'1'.";
1849
Brett Wilsonff596952017-07-14 01:06:551850const char kProgressBarCompletionName[] =
1851 "Android phone page load progress bar completion time.";
1852const char kProgressBarCompletionDescription[] =
1853 "Configures Android phone page loading progress bar completion time.";
1854const char kProgressBarCompletionLoadEvent[] =
1855 R"*(Top loading frame's onload event ("everything" is done in the )*"
1856 R"*(page, historical behavior).)*";
1857const char kProgressBarCompletionResourcesBeforeDcl[] =
1858 "Main frame's domContentLoaded and all resources loads started before "
1859 "domContentLoaded (iframes ignored).";
1860const char kProgressBarCompletionDomContentLoaded[] =
1861 "Main frame's domContentLoaded (iframes ignored).";
1862const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1863 "domContentLoaded and all resources loads started before domContentLoaded "
1864 "(main frame and same origin iframes).";
1865
1866const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1867const char kPullToRefreshEffectDescription[] =
1868 "Page reloads triggered by vertically overscrolling content.";
1869
Piotr Swigon9f630b32017-07-26 09:42:491870const char kPwaPersistentNotificationName[] =
1871 "Persistent notification in standalone PWA";
1872const char kPwaPersistentNotificationDescription[] =
1873 "Enables a persistent Android notification for standalone PWAs";
1874
Brett Wilsonff596952017-07-14 01:06:551875const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1876const char kReaderModeHeuristicsDescription[] =
1877 "Determines what pages the Reader Mode infobar is shown on.";
1878const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1879const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1880const char kReaderModeHeuristicsAllArticles[] = "All articles";
1881const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1882const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1883
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:181884const char kReaderModeInCCTName[] = "Reader Mode in CCT";
1885const char kReaderModeInCCTDescription[] =
1886 "Open Reader Mode in Chrome Custom Tabs.";
1887
Brett Wilsonff596952017-07-14 01:06:551888const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1889const char kServiceWorkerPaymentAppsDescription[] =
1890 "Enable Service Worker applications to integrate as payment apps";
1891
1892const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
1893const char kSetMarketUrlForTestingDescription[] =
1894 "When enabled, sets the market URL for use in testing the update menu "
1895 "item.";
1896
1897const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
1898const char kSpannableInlineAutocompleteDescription[] =
1899 "A new type of inline autocomplete for the omnibox that works with "
1900 "keyboards that compose text.";
1901
1902const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1903const char kTabsInCbdDescription[] =
1904 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1905
1906const char kTranslateCompactUIName[] = "New Translate Infobar";
1907const char kTranslateCompactUIDescription[] =
1908 "Enable the new Translate compact infobar UI.";
1909
1910const char kUpdateMenuBadgeName[] = "Force show update menu badge";
1911const char kUpdateMenuBadgeDescription[] =
1912 "When enabled, an update badge will be shown on the app menu button.";
1913
1914const char kUpdateMenuItemCustomSummaryDescription[] =
1915 "When this flag and the force show update menu item flag are enabled, a "
1916 "custom summary string will be displayed below the update menu item.";
1917const char kUpdateMenuItemCustomSummaryName[] =
1918 "Update menu item custom summary";
1919
1920const char kUpdateMenuItemName[] = "Force show update menu item";
1921const char kUpdateMenuItemDescription[] =
1922 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
1923 R"*(menu.)*";
1924
1925const char kUseAndroidMidiApiName[] = "Use Android Midi API";
1926const char kUseAndroidMidiApiDescription[] =
1927 "Use Android Midi API for WebMIDI (effective only with Android M+ "
1928 "devices).";
1929
1930const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1931const char kUseDdljsonApiDescription[] =
1932 "Enables the new ddljson API to fetch Doodles for the NTP.";
1933
Brett Wilsonff596952017-07-14 01:06:551934const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
1935const char kXGEOVisibleNetworksDescription[] =
1936 "If location permissions are granted, include visible networks in the XGEO "
1937 "Header for omnibox queries. This will only happen if location is not "
1938 "fresh or not available (for example, due to a cold start).";
1939
Brett Wilson7b44537e2017-08-18 01:38:281940// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:551941
Brett Wilson7b44537e2017-08-18 01:38:281942#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:481943
Brett Wilson7b44537e2017-08-18 01:38:281944const char kAccountConsistencyName[] =
1945 "Identity consistency between browser and cookie jar";
1946const char kAccountConsistencyDescription[] =
1947 "When enabled, the browser manages signing in and out of Google accounts.";
1948const char kAccountConsistencyChoiceMirror[] = "Mirror";
1949const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:341950
mlamouriff56c092017-05-11 15:31:391951const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:391952const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:341953 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:391954const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:391955const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:391956const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:341957 "Enabled (Flash lowers volume when interrupted by other sound, "
1958 "experimental)";
1959
Brett Wilson7b44537e2017-08-18 01:38:281960const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
1961const char kEnableNewAppMenuIconDescription[] =
1962 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:341963
1964const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:341965const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:281966 "Enable receiving entity suggestions - disambiguation descriptions - for "
1967 "Omnibox suggestions.";
1968
1969const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
1970const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191971 "Enable receiving tail suggestions, a type of search suggestion based on "
1972 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:341973
Brett Wilson7b44537e2017-08-18 01:38:281974const char kOneGoogleBarOnLocalNtpName[] =
1975 "Enable the OneGoogleBar on the local NTP";
1976const char kOneGoogleBarOnLocalNtpDescription[] =
1977 "Show a OneGoogleBar on the local New Tab page if Google is the default "
1978 "search engine.";
1979
ojan38c678352017-04-11 20:27:551980const char kPauseBackgroundTabsName[] = "Pause background tabs";
1981const char kPauseBackgroundTabsDescription[] =
1982 "Pause timers in background tabs after 5 minutes on desktop.";
1983
Brett Wilson7b44537e2017-08-18 01:38:281984const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
1985const char kUseGoogleLocalNtpDescription[] =
1986 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:321987
Brett Wilson7b44537e2017-08-18 01:38:281988const char kVoiceSearchOnLocalNtpName[] =
1989 "Enable Voice Search on the local NTP";
1990const char kVoiceSearchOnLocalNtpDescription[] =
1991 "Show a microphone for voice search on the local New Tab page "
1992 "if Google is the default search engine.";
1993
1994#if defined(GOOGLE_CHROME_BUILD)
1995
1996const char kGoogleBrandedContextMenuName[] =
1997 "Google branding in the context menu";
1998const char kGoogleBrandedContextMenuDescription[] =
1999 "Shows a Google icon next to context menu items powered by Google "
2000 "services.";
2001
2002#endif // !defined(GOOGLE_CHROME_BUILD)
2003
2004#endif // !defined(OS_ANDROID)
2005
2006// Windows ---------------------------------------------------------------------
2007
2008#if defined(OS_WIN)
2009
2010const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2011const char kCloudPrintXpsDescription[] =
2012 "XPS enables advanced options for classic printers connected to the Cloud "
2013 "Print with Chrome. Printers must be re-connected after changing this "
2014 "flag.";
2015
Dave Tapuskadd43469d2017-08-22 22:15:532016const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2017const char kDirectManipulationStylusDescription[] =
2018 "If enabled, Chrome will scroll web pages on stylus drag.";
2019
Brett Wilson7b44537e2017-08-18 01:38:282020const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2021const char kDisablePostscriptPrintingDescription[] =
2022 "Disables PostScript generation when printing to PostScript capable "
2023 "printers, and uses EMF generation in its place.";
2024
2025const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2026const char kEnableAppcontainerDescription[] =
2027 "Enables the use of an AppContainer on sandboxed processes to improve "
2028 "security.";
2029
2030const char kEnableD3DVsync[] = "D3D v-sync";
2031const char kEnableD3DVsyncDescription[] =
2032 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2033 "to occur.";
2034
2035const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2036const char kEnableDesktopIosPromotionsDescription[] =
2037 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2038 "eligible.";
2039
2040const char kGdiTextPrinting[] = "GDI Text Printing";
2041const char kGdiTextPrintingDescription[] =
2042 "Use GDI to print text as simply text";
2043
2044const char kMergeKeyCharEventsName[] =
2045 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2046 "(WM_CHAR).";
2047const char kMergeKeyCharEventsDescription[] =
2048 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2049
2050const char kTraceExportEventsToEtwName[] =
2051 "Enable exporting of tracing events to ETW.";
2052const char kTraceExportEventsToEtwDesription[] =
2053 "If enabled, trace events will be exported to the Event Tracing for "
2054 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2055 "Xperf.";
2056
2057const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2058const char kUseWinrtMidiApiDescription[] =
2059 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2060 "later).";
2061
2062const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2063const char kWindows10CustomTitlebarDescription[] =
2064 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2065 "deferring to Windows.";
2066
2067#endif // defined(OS_WIN)
2068
2069// Mac -------------------------------------------------------------------------
2070
2071#if defined(OS_MACOSX)
2072
2073const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2074const char kAppInfoDialogDescription[] =
2075 "Makes the Toolkit-Views based App Info dialog accessible from "
2076 "chrome://apps or chrome://extensions in place of the native extension "
2077 "permissions dialog, or the details link (which is a link to the Web "
2078 "Store).";
2079
2080const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2081const char kAppWindowCyclingDescription[] =
2082 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2083 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2084 "browser window, and browser windows will not be cycled when a Chrome App "
2085 "is active.";
2086
2087extern const char kCreditCardAutofillTouchBarName[] =
2088 "Credit Card Autofill Touch Bar";
2089extern const char kCreditCardAutofillTouchBarDescription[] =
2090 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2091
2092const char kFullscreenToolbarRevealName[] =
2093 "Enables the toolbar in fullscreen to reveal itself.";
2094const char kFullscreenToolbarRevealDescription[] =
2095 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2096 "has changed.";
2097
2098const char kContentFullscreenName[] = "Improved Content Fullscreen";
2099const char kContentFullscreenDescription[] =
2100 "Fullscreen content window detaches from main browser window and goes to "
2101 "a new space without moving or changing the original browser window.";
2102
2103extern const char kDialogTouchBarName[] = "Dialog Touch Bar";
2104extern const char kDialogTouchBarDescription[] =
2105 "Shows Dialog buttons on the Touch Bar.";
2106
2107const char kHostedAppsInWindowsName[] =
2108 "Allow hosted apps to be opened in windows";
2109const char kHostedAppsInWindowsDescription[] =
2110 "Allows hosted apps to be opened in windows instead of being limited to "
2111 "tabs.";
2112
2113extern const char kMacRTLName[] = "Enable RTL";
2114extern const char kMacRTLDescription[] =
2115 "Mirrors the UI for RTL language users";
2116
2117extern const char kMacTouchBarName[] = "Hardware Touch Bar";
2118extern const char kMacTouchBarDescription[] =
2119 "Control the use of the Touch Bar.";
2120
2121const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2122const char kMacV2SandboxDescription[] =
2123 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2124 "entire life cycle.";
2125
2126const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2127const char kMacViewsNativeAppWindowsDescription[] =
2128 "Controls whether to use Toolkit-Views based Chrome App windows.";
2129
2130const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2131const char kMacViewsTaskManagerDescription[] =
2132 "Controls whether to use the Toolkit-Views based Task Manager.";
2133
2134const char kTabDetachingInFullscreenName[] =
2135 "Allow tab detaching in fullscreen";
2136const char kTabDetachingInFullscreenDescription[] =
2137 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2138
2139const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2140const char kTabStripKeyboardFocusDescription[] =
2141 "Enable keyboard focus for the tabs in the tab strip.";
2142
2143const char kTranslateNewUxName[] = "New Translate UX";
2144const char kTranslateNewUxDescription[] =
2145 "Enable the new Translate bubble UX is offered instead of the infobar.";
2146
2147// Non-Mac ---------------------------------------------------------------------
2148
2149#else // !defined(OS_MACOSX)
2150
2151const char kPermissionPromptPersistenceToggleName[] =
2152 "Persistence Toggle in Permission Prompts";
2153const char kPermissionPromptPersistenceToggleDescription[] =
2154 "Whether to display a persistence toggle in permission prompts.";
2155
2156#endif
2157
2158// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342159
2160#if defined(OS_CHROMEOS)
2161
Brett Wilson7b44537e2017-08-18 01:38:282162const char kAcceleratedMjpegDecodeName[] =
2163 "Hardware-accelerated mjpeg decode for captured frame";
2164const char kAcceleratedMjpegDecodeDescription[] =
2165 "Enable hardware-accelerated mjpeg decode for captured frame where "
2166 "available.";
vabr0215a8e2017-03-28 12:47:342167
Brett Wilson7b44537e2017-08-18 01:38:282168const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2169const char kAllowTouchpadThreeFingerClickDescription[] =
2170 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342171
Brett Wilson7b44537e2017-08-18 01:38:282172const char kArcBootCompleted[] = "Load Android apps automatically";
2173const char kArcBootCompletedDescription[] =
2174 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342175
Lev Rumyantsev7a8544312017-08-18 19:26:512176const char kArcNativeBridgeExperimentName[] =
2177 "Enable native bridge experiment for ARC";
2178const char kArcNativeBridgeExperimentDescription[] =
2179 "Enables experimental native bridge feature.";
2180
Brett Wilson7b44537e2017-08-18 01:38:282181const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2182const char kAshEnableUnifiedDesktopDescription[] =
2183 "Enable unified desktop mode which allows a window to span multiple "
2184 "displays.";
vabr0215a8e2017-03-28 12:47:342185
Brett Wilson7b44537e2017-08-18 01:38:282186const char kBootAnimationName[] = "Boot animation";
2187const char kBootAnimationDescription[] =
2188 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342189
Brett Wilson7b44537e2017-08-18 01:38:282190const char kCaptivePortalBypassProxyName[] =
2191 "Bypass proxy for Captive Portal Authorization";
2192const char kCaptivePortalBypassProxyDescription[] =
2193 "If proxy is configured, it usually prevents from authorization on "
2194 "different captive portals. This enables opening captive portal "
2195 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342196
Brett Wilson7b44537e2017-08-18 01:38:282197const char kCrOSComponentName[] = "Chrome OS Component";
2198const char kCrOSComponentDescription[] =
2199 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342200
Brett Wilson7b44537e2017-08-18 01:38:282201const char kCrosRegionsModeName[] = "Cros-regions load mode";
2202const char kCrosRegionsModeDescription[] =
2203 "This flag controls cros-regions load mode";
2204const char kCrosRegionsModeDefault[] = "Default";
2205const char kCrosRegionsModeOverride[] = "Override VPD values.";
2206const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342207
Brett Wilson7b44537e2017-08-18 01:38:282208const char kDisableNewVirtualKeyboardBehaviorName[] =
2209 "New window behavior for the accessibility keyboard";
2210const char kDisableNewVirtualKeyboardBehaviorDescription[] =
2211 "Disable new window behavior for the accessibility keyboard in non-sticky "
2212 "mode (do not change work area in non-sticky mode).";
vabr0215a8e2017-03-28 12:47:342213
Brett Wilson7b44537e2017-08-18 01:38:282214const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2215const char kEnablePerUserTimezoneDescription[] =
2216 "Chrome OS system timezone preference is stored and handled for each user "
2217 "individually.";
vabr0215a8e2017-03-28 12:47:342218
Brett Wilson7b44537e2017-08-18 01:38:282219const char kDisableSystemTimezoneAutomaticDetectionName[] =
2220 "SystemTimezoneAutomaticDetection policy support";
2221const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2222 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342223
newcomer403ac142017-07-05 18:26:302224const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
newcomer403ac142017-07-05 18:26:302225const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192226 "The peeking launcher UI supports touch and provides more space for "
2227 "upcoming features.";
newcomer403ac142017-07-05 18:26:302228
Alex Newcomer43cb7f12017-07-28 17:37:392229extern const char kEnableBackgroundBlurName[] = "Enable background blur.";
2230extern const char kEnableBackgroundBlurDescription[] =
2231 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2232 "Switcher.";
2233
Brett Wilson7b44537e2017-08-18 01:38:282234const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2235const char kEnableAndroidWallpapersAppDescription[] =
2236 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2237 "OS.";
vabr0215a8e2017-03-28 12:47:342238
Brett Wilson7b44537e2017-08-18 01:38:282239const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2240const char kEnableChromevoxArcSupportDescription[] =
2241 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342242
Brett Wilson7b44537e2017-08-18 01:38:282243const char kEnableEhvInputName[] =
2244 "Emoji, handwriting and voice input on opt-in IME menu";
2245const char kEnableEhvInputDescription[] =
2246 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342247
Brett Wilson7b44537e2017-08-18 01:38:282248const char kEnableEncryptionMigrationName[] =
2249 "Enable encryption migration of user data";
2250const char kEnableEncryptionMigrationDescription[] =
2251 "If enabled and the device supports ARC, the user will be asked to update "
2252 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342253
Brett Wilson7b44537e2017-08-18 01:38:282254const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2255const char kEnableImeMenuDescription[] =
2256 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342257
Toni Barzic0f3440a62017-07-19 20:19:312258const char kEnableLockScreenAppsName[] = "Enable lock screen note taking";
Toni Barzic0f3440a62017-07-19 20:19:312259const char kEnableLockScreenAppsDescription[] =
2260 "Enable new-note action handler apps on the lock screen. The user will be "
2261 "able to launch the preferred note-taking action from the lock screen, "
2262 "provided that the app supports lock screen note taking.";
2263
Brett Wilson7b44537e2017-08-18 01:38:282264const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
2265const char kEnableZipArchiverOnFileManagerDescription[] =
2266 "Enable the ability to archive and unpack files on Drive in the Files app";
2267
2268const char kEolNotificationName[] = "Disable Device End of Life notification.";
2269const char kEolNotificationDescription[] =
2270 "Disable Notifcation when Device is End of Life.";
2271
2272const char kExperimentalAccessibilityFeaturesName[] =
2273 "Experimental accessibility features";
2274const char kExperimentalAccessibilityFeaturesDescription[] =
2275 "Enable additional accessibility features in the Settings page.";
2276
2277const char kExperimentalInputViewFeaturesName[] =
2278 "Experimental input view features";
2279const char kExperimentalInputViewFeaturesDescription[] =
2280 "Enable experimental features for IME input views.";
2281
2282const char kFileManagerTouchModeName[] = "Files App. touch mode";
2283const char kFileManagerTouchModeDescription[] =
2284 "Touchscreen-specific interactions of the Files app.";
2285
2286const char kFirstRunUiTransitionsName[] =
2287 "Animated transitions in the first-run tutorial";
2288const char kFirstRunUiTransitionsDescription[] =
2289 "Transitions during first-run tutorial are animated.";
2290
2291const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2292const char kFloatingVirtualKeyboardDescription[] =
2293 "Enable/Disable floating virtual keyboard.";
2294
2295const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2296const char kForceEnableStylusToolsDescription[] =
2297 "Forces display of the stylus tools menu in the shelf and the stylus "
2298 "section in settings, even if there is no attached stylus device.";
2299
2300const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2301const char kGestureEditingDescription[] =
2302 "Enable/Disable gesture editing option in the settings page for the "
2303 "virtual keyboard.";
2304
2305const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2306const char kGestureTypingDescription[] =
2307 "Enable/Disable gesture typing option in the settings page for the virtual "
2308 "keyboard.";
2309
2310const char kInputViewName[] = "Input views";
2311const char kInputViewDescription[] =
2312 "Enable IME extensions to supply custom views for user input such as "
2313 "virtual keyboards.";
2314
2315const char kMemoryPressureThresholdName[] =
2316 "Memory discard strategy for advanced pressure handling";
2317const char kMemoryPressureThresholdDescription[] =
2318 "Memory discarding strategy to use";
2319const char kConservativeThresholds[] =
2320 "Conservative memory pressure release strategy";
2321const char kAggressiveCacheDiscardThresholds[] =
2322 "Aggressive cache release strategy";
2323const char kAggressiveTabDiscardThresholds[] =
2324 "Aggressive tab release strategy";
2325const char kAggressiveThresholds[] =
2326 "Aggressive tab and cache release strategy";
2327
2328const char kMtpWriteSupportName[] = "MTP write support";
2329const char kMtpWriteSupportDescription[] =
2330 "MTP write support in File System API (and file manager). In-place editing "
2331 "operations are not supported.";
2332
2333const char kMultideviceName[] = "Enable multidevice features";
2334const char kMultideviceDescription[] =
2335 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342336
2337const char kNetworkPortalNotificationName[] =
2338 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342339const char kNetworkPortalNotificationDescription[] =
2340 "If enabled, notification is displayed when device is connected to a "
2341 "network behind captive portal.";
2342
stevenjbe1d457382017-05-24 22:37:242343const char kNetworkSettingsConfigName[] =
2344 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242345const char kNetworkSettingsConfigDescription[] =
2346 "Enables the Settings based network configuration UI instead of the Views "
2347 "based configuration dialog.";
2348
Brett Wilson7b44537e2017-08-18 01:38:282349const char kNewKoreanImeName[] = "New Korean IME";
2350const char kNewKoreanImeDescription[] =
2351 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342352
Brett Wilson7b44537e2017-08-18 01:38:282353const char kNewZipUnpackerName[] = "New ZIP unpacker";
2354const char kNewZipUnpackerDescription[] =
2355 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342356
Brett Wilson7b44537e2017-08-18 01:38:282357const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2358const char kPhysicalKeyboardAutocorrectDescription[] =
2359 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2360 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342361
2362const char kPrinterProviderSearchAppName[] =
2363 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342364const char kPrinterProviderSearchAppDescription[] =
2365 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192366 "searches Chrome Web Store for extensions that support printing to a USB "
2367 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342368
Brett Wilson7b44537e2017-08-18 01:38:282369const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2370const char kQuickUnlockPinDescription[] =
2371 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2372 "device on the lock screen after you have signed into your device.";
2373const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2374const char kQuickUnlockPinSigninDescription[] =
2375 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2376 "device. After changing this flag PIN needs to be set up again.";
2377const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2378const char kQuickUnlockFingerprintDescription[] =
2379 "Enabling fingerprint quick unlock allows you to setup and use a "
2380 "fingerprint to unlock your Chromebook on the lock screen after you have "
2381 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342382
Brett Wilson7b44537e2017-08-18 01:38:282383const char kOfficeEditingComponentAppName[] =
2384 "Office Editing for Docs, Sheets & Slides";
2385const char kOfficeEditingComponentAppDescription[] =
2386 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072387
2388const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2389const char kSpuriousPowerButtonWindowDescription[] =
2390 "Number of recent accelerometer samples to examine to determine if a power "
2391 "button event was spurious.";
2392
2393const char kSpuriousPowerButtonAccelCountName[] =
2394 "Spurious power button acceleration count";
2395const char kSpuriousPowerButtonAccelCountDescription[] =
2396 "Number of recent acceleration samples that must meet or exceed exceed the "
2397 "threshold in order for a power button event to be considered spurious.";
2398
2399const char kSpuriousPowerButtonScreenAccelName[] =
2400 "Spurious power button screen acceleration threshold";
2401const char kSpuriousPowerButtonScreenAccelDescription[] =
2402 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2403 "meet or exceed for a power button event to be considered spurious.";
2404
2405const char kSpuriousPowerButtonKeyboardAccelName[] =
2406 "Spurious power button keyboard acceleration threshold";
2407const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2408 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2409 "must meet or exceed for a power button event to be considered spurious.";
2410
2411const char kSpuriousPowerButtonLidAngleChangeName[] =
2412 "Spurious power button lid angle change threshold";
2413const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2414 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2415 "met or exceeded for a power button event to be considered spurious.";
2416
Brett Wilson7b44537e2017-08-18 01:38:282417const char kTeamDrivesName[] = "Enable Team Drives Integration";
2418const char kTeamDrivesDescription[] =
2419 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342420
Brett Wilson7b44537e2017-08-18 01:38:282421const char kTetherName[] = "Instant Tethering";
2422const char kTetherDescription[] =
2423 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2424 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372425
Brett Wilson7b44537e2017-08-18 01:38:282426const char kTouchscreenCalibrationName[] =
2427 "Enable/disable touchscreen calibration option in material design settings";
2428const char kTouchscreenCalibrationDescription[] =
2429 "If enabled, the user can calibrate the touch screen displays in "
2430 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092431
bruthigeafb0c02017-06-09 13:11:532432const char kUiDevToolsName[] = "Enable native UI inspection";
2433const char kUiDevToolsDescription[] =
2434 "Enables inspection of native UI elements. For local inspection use "
2435 "chrome://inspect#other";
2436
Takashi Toyoshima14f64f562017-07-19 08:38:202437const char kUseCrosMidiServiceName[] = "Use Chrome OS MIDI Service";
2438const char kUseCrosMidiServiceNameDescription[] =
2439 "Use Chrome OS MIDI Service for Web MIDI and allow ARC to support Android "
2440 "MIDI.";
2441
Brett Wilson7b44537e2017-08-18 01:38:282442const char kUseMusName[] = "Mus";
2443const char kUseMusDescription[] = "Enable the Mojo UI service.";
2444const char kEnableMashDescription[] =
2445 "Mash (UI, Chrome and ash in separate services)";
2446const char kEnableMusDescription[] =
2447 "Mus (UI in separate service, Chrome and ash in same service)";
2448
2449const char kVideoPlayerChromecastSupportName[] =
2450 "Experimental Chromecast support for Video Player";
2451const char kVideoPlayerChromecastSupportDescription[] =
2452 "This option enables experimental Chromecast support for Video Player app "
2453 "on ChromeOS.";
2454
2455const char kVirtualKeyboardName[] = "Virtual Keyboard";
2456const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2457
2458const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2459const char kVirtualKeyboardOverscrollDescription[] =
2460 "Enables virtual keyboard overscroll support.";
2461
2462const char kVoiceInputName[] = "Voice input on virtual keyboard";
2463const char kVoiceInputDescription[] =
2464 "Enables voice input on virtual keyboard.";
2465
2466const char kWakeOnPacketsName[] = "Wake On Packets";
2467const char kWakeOnPacketsDescription[] =
2468 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202469
yhanadac5bff5b2017-05-18 06:37:092470#endif // defined(OS_CHROMEOS)
2471
Brett Wilson7b44537e2017-08-18 01:38:282472// Random platform combinations -----------------------------------------------
2473
2474#if defined(OS_WIN) || defined(OS_LINUX)
2475
2476const char kEnableInputImeApiName[] = "Enable Input IME API";
2477const char kEnableInputImeApiDescription[] =
2478 "Enable the use of chrome.input.ime API.";
2479
2480#endif // defined(OS_WIN) || defined(OS_LINUX)
2481
2482#if defined(OS_WIN) || defined(OS_MACOSX)
2483
2484const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2485const char kAutomaticTabDiscardingDescription[] =
2486 "If enabled, tabs get automatically discarded from memory when the system "
2487 "memory is low. Discarded tabs are still visible on the tab strip and get "
2488 "reloaded when clicked on. Info about discarded tabs can be found at "
2489 "chrome://discards.";
2490
2491#endif // defined(OS_WIN) || defined(OS_MACOSX)
2492
2493// Feature flags --------------------------------------------------------------
2494
2495#if BUILDFLAG(ENABLE_VR)
2496
2497#if defined(OS_ANDROID)
2498
2499const char kEnableVrShellName[] = "Enable Chrome VR.";
2500const char kEnableVrShellDescription[] =
2501 "Allow browsing with a VR headset if available for this device.";
2502
2503const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2504const char kVrCustomTabBrowsingDescription[] =
2505 "Allow browsing with a VR headset in a Custom Tab if available for this "
2506 "device.";
2507
2508const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2509const char kWebVrAutopresentDescription[] =
2510 "Allows auto presentation of WebVr content from trusted first-party apps";
2511
2512const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2513const char kWebVrVsyncAlignDescription[] =
2514 "Enabling this option aligns WebVR application rendering with VSync "
2515 "for smoother animations.";
2516
2517#endif // OS_ANDROID
2518
2519const char kWebvrExperimentalRenderingName[] =
2520 "WebVR experimental rendering optimizations";
2521const char kWebvrExperimentalRenderingDescription[] =
2522 "Enabling this option activates experimental rendering path optimizations "
2523 "for WebVR.";
2524
2525#endif // ENABLE_VR
2526
2527#if !defined(DISABLE_NACL)
2528
2529const char kNaclDebugMaskName[] =
2530 "Restrict Native Client GDB-based debugging by pattern";
2531const char kNaclDebugMaskDescription[] =
2532 "Restricts Native Client application GDB-based debugging by URL of "
2533 "manifest file. Native Client GDB-based debugging must be enabled for this "
2534 "option to work.";
2535const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2536const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2537 "Debug everything except secure shell and the PNaCl translator.";
2538const char kNaclDebugMaskChoiceIncludeDebug[] =
2539 "Debug only if manifest URL ends with debug.nmf.";
2540
2541const char kNaclDebugName[] = "Native Client GDB-based debugging";
2542const char kNaclDebugDescription[] =
2543 "Enable GDB debug stub. This will stop a Native Client application on "
2544 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2545
2546const char kNaclName[] = "Native Client";
2547const char kNaclDescription[] =
2548 "Support Native Client for all web applications, even those that were not "
2549 "installed from the Chrome Web Store.";
2550
2551const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2552const char kPnaclSubzeroDescription[] =
2553 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2554
2555#endif // !defined(DISABLE_NACL)
2556
Brett Wilson7b44537e2017-08-18 01:38:282557#if BUILDFLAG(ENABLE_WEBRTC)
2558
2559const char kWebrtcH264WithOpenh264FfmpegName[] =
2560 "WebRTC H.264 software video encoder/decoder";
2561const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2562 "When enabled, an H.264 software video encoder/decoder pair is included. "
2563 "If a hardware encoder/decoder is also available it may be used instead of "
2564 "this encoder/decoder.";
2565
2566#endif // BUILDFLAG(ENABLE_WEBRTC)
2567
2568#if defined(USE_ASH)
2569
2570const char kAshDisableSmoothScreenRotationName[] =
2571 "Disable smooth rotation animations.";
2572const char kAshDisableSmoothScreenRotationDescription[] =
2573 "Disable smooth rotation animations.";
2574
2575const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2576const char kAshEnableMirroredScreenDescription[] =
2577 "Enable the mirrored screen mode. This mode flips the screen image "
2578 "horizontally.";
2579
2580const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2581const char kAshShelfColorDescription[] =
2582 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2583 "--ash-shelf-color-scheme flag defines how that color is derived.";
2584
2585const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2586const char kAshShelfColorSchemeDescription[] =
2587 "Specify how the color is derived from the wallpaper. This flag is only "
2588 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2589const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2590const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2591const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2592const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2593const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2594const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2595
2596const char kMaterialDesignInkDropAnimationSpeedName[] =
2597 "Material Design Ink Drop Animation Speed";
2598const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2599 "Sets the speed of the experimental visual feedback animations for "
2600 "material design.";
2601const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2602const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2603
2604const char kUiShowCompositedLayerBordersName[] =
2605 "Show UI composited layer borders";
2606const char kUiShowCompositedLayerBordersDescription[] =
2607 "Show border around composited layers created by UI.";
2608const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2609const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2610const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2611const char kUiShowCompositedLayerBordersAll[] = "All";
2612
2613const char kUiSlowAnimationsName[] = "Slow UI animations";
2614const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2615
2616#endif // defined(USE_ASH)
2617
2618#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
2619
2620const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
2621const char kShowCertLinkOnPageInfoDescription[] =
2622 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
2623 "sites.";
2624
2625#endif // defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
2626
2627#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2628
2629const char kAutofillCreditCardUploadName[] =
2630 "Enable offering upload of Autofilled credit cards";
2631const char kAutofillCreditCardUploadDescription[] =
2632 "Enables a new option to upload credit cards to Google Payments for sync "
2633 "to all Chrome devices.";
2634
2635#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2636
2637// ============================================================================
2638// Don't just add flags to the end, put them in the right section in
2639// alphabetical order just like the header file.
2640// ============================================================================
2641
vabr0215a8e2017-03-28 12:47:342642} // namespace flag_descriptions