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