blob: 7cfca132189a969650a369d6c037ef735257a3b8 [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
1402const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1403const char kWebrtcStunOriginDescription[] =
1404 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1405 "header.";
1406
1407const char kWebvrName[] = "WebVR";
1408const char kWebvrDescription[] =
1409 "Enabling this option allows web applications to access experimental "
1410 "Virtual Reality APIs.";
1411
1412const char kWifiCredentialSyncName[] = "WiFi credential sync";
1413const char kWifiCredentialSyncDescription[] =
1414 "Enables synchronizing WiFi network settings across devices. When enabled, "
1415 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1416 "credentials are synchronized subject to user preferences. (See also, "
1417 "chrome://settings/syncSetup.)";
1418
Tom Anderson5c3130ad2017-08-21 19:49:171419const char kWindowNavNativeFlagName[] =
1420 "Enable native window navigation buttons.";
1421const char kWindowNavNativeFlagDescription[] =
1422 "Whether the window frame buttons should be drawn using the system theme. "
1423 "Has no effect unless using the GTK3 theme.";
1424
Brett Wilsonecb80982017-07-12 20:34:511425const char kZeroCopyName[] = "Zero-copy rasterizer";
1426const char kZeroCopyDescription[] =
1427 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341428
Brett Wilsonff596952017-07-14 01:06:551429// Android ---------------------------------------------------------------------
1430
1431#if defined(OS_ANDROID)
1432
1433const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1434const char kAiaFetchingDescription[] =
1435 "Enable intermediate certificate fetching when a server does not provide "
1436 "sufficient certificates to build a chain to a trusted root.";
1437
1438const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1439const char kAccessibilityTabSwitcherDescription[] =
1440 "Enable the accessibility tab switcher for Android.";
1441
1442const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1443const char kAndroidAutofillAccessibilityDescription[] =
1444 "Enable accessibility for autofill popup.";
1445
1446const char kAndroidPaymentAppsName[] = "Android payment apps";
1447const char kAndroidPaymentAppsDescription[] =
1448 "Enable third party Android apps to integrate as payment apps";
1449
Iulia Harasim0b5a4312017-07-21 16:20:501450const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1451const char kAndroidSigninPromosDescription[] =
1452 "New signin promos for Android which will be displayed in content "
1453 "suggestions, Settings, Bookmarks and Recent Tabs.";
1454
Tatiana Gornak38ab3562017-07-28 11:04:181455const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1456const char kAndroidViewPasswordsDescription[] =
1457 "Enables copying and viewing passwords in settings.";
1458
Brett Wilsonff596952017-07-14 01:06:551459const char kAutofillAccessoryViewName[] =
1460 "Autofill suggestions as keyboard accessory view";
1461const char kAutofillAccessoryViewDescription[] =
1462 "Shows Autofill suggestions on top of the keyboard rather than in a "
1463 "dropdown.";
1464
1465const char kBackgroundLoaderForDownloadsName[] =
1466 "Enables background downloading of pages.";
1467const char kBackgroundLoaderForDownloadsDescription[] =
1468 "Enables downloading pages in the background in case page is not yet "
1469 "loaded in current tab.";
1470
Theresa Wellington37014d92017-08-23 02:09:201471const char kChromeHomeDoodleName[] = "Chrome Home Doodle.";
1472const char kChromeHomeDoodleDescription[] =
1473 "Enables showing the Doodle on the NTP for Chrome Home.";
1474
Brett Wilsonff596952017-07-14 01:06:551475const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1476const char kChromeHomeExpandButtonDescription[] =
1477 "Enables the expand button for Chrome Home.";
1478
Michael van Ouwerkerk66e45322017-08-04 17:25:241479const char kChromeHomeModernLayoutName[] = "Modern layout for Chrome Home.";
1480const char kChromeHomeModernLayoutDescription[] =
1481 "Enables the modern layout for Chrome Home.";
1482
Brett Wilsonff596952017-07-14 01:06:551483const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1484const char kChromeHomeSwipeLogicDescription[] =
1485 "Various swipe logic options for Chrome Home for sheet expansion.";
1486const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
1487const char kChromeHomeSwipeLogicButtonOnly[] = "Swipe on expand button";
1488
1489const char kChromeHomeName[] = "Chrome Home";
1490const char kChromeHomeDescription[] =
1491 "Enables Chrome Home on Android. You must restart the browser"
1492 " twice for changes to take effect.";
1493
1494const char kContentSuggestionsCategoryOrderName[] =
1495 "Default content suggestions category order (e.g. on NTP)";
1496const char kContentSuggestionsCategoryOrderDescription[] =
1497 "Set default order of content suggestion categories (e.g. on the NTP).";
1498
1499const char kContentSuggestionsCategoryRankerName[] =
1500 "Content suggestions category ranker (e.g. on NTP)";
1501const char kContentSuggestionsCategoryRankerDescription[] =
1502 "Set category ranker to order categories of content suggestions (e.g. on "
1503 "the NTP).";
1504
1505const char kContextualSearchContextualCardsBarIntegration[] =
1506 "Contextual Search - Contextual Cards Integration";
1507const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1508 "Whether or not integration of Contextual Cards data in the Contextual "
1509 "Search Bar is enabled.";
1510
1511const char kContextualSearchSingleActionsName[] =
1512 "Contextual Search - Single Actions";
1513const char kContextualSearchSingleActionsDescription[] =
1514 "Whether or not single actions using Contextual Cards data in the "
1515 "Contextual Search Bar is enabled.";
1516
1517const char kContextualSearchUrlActionsName[] =
1518 "Contextual Search - URL Actions";
1519const char kContextualSearchUrlActionsDescription[] =
1520 "Whether or not URL actions using Contextual Cards data in the Contextual "
1521 "Search Bar is enabled.";
1522
1523const char kContextualSearchName[] = "Contextual Search";
1524const char kContextualSearchDescription[] =
1525 "Whether or not Contextual Search is enabled.";
1526
Dmitry Skiba9c3efa72017-07-20 22:01:141527const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1528const char kDontPrefetchLibrariesDescription[] =
1529 "Don't prefetch libraries after loading.";
1530
Brett Wilsonff596952017-07-14 01:06:551531const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1532const char kEnableAndroidPayIntegrationV1Description[] =
1533 "Enable integration with Android Pay using the first version of the API";
1534
1535const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1536const char kEnableAndroidPayIntegrationV2Description[] =
1537 "Enable integration with Android Pay using the second version of the API";
1538
1539const char kEnableAndroidSpellcheckerDescription[] =
1540 "Enables use of the Android spellchecker.";
1541const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1542
1543const char kEnableConsistentOmniboxGeolocationName[] =
1544 "Have consistent omnibox geolocation access.";
1545const char kEnableConsistentOmniboxGeolocationDescription[] =
1546 "Have consistent geolocation access between the omnibox and default search "
1547 "engine.";
1548
1549const char kEnableContentSuggestionsNewFaviconServerName[] =
1550 "Get favicons for content suggestions from a new server.";
1551const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1552 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1553 "new favicon server.";
1554
1555const char kEnableContentSuggestionsLargeThumbnailName[] =
1556 "Large thumbnails layout for content suggestions cards.";
1557const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1558 "If enabled, the content suggestions cards will use large thumbnails and "
1559 "some related adjustments.";
1560
1561const char kEnableContentSuggestionsVideoOverlayName[] =
1562 "Video icon overlay on thumbnails for content suggestions cards.";
1563const char kEnableContentSuggestionsVideoOverlayDescription[] =
1564 "If enabled, the content suggestions cards for suggestions with a video "
1565 "will show a video play icon overlay on the thumbnail.";
1566
1567const char kEnableContentSuggestionsSettingsName[] =
1568 "Show content suggestions settings.";
1569const char kEnableContentSuggestionsSettingsDescription[] =
1570 "If enabled, the content suggestions settings will be available from the "
1571 "main settings menu.";
1572
1573const char kEnableContentSuggestionsShowSummaryName[] =
1574 "Show content suggestions summaries.";
1575const char kEnableContentSuggestionsShowSummaryDescription[] =
1576 "If enabled, the content suggestions summaries will be shown.";
1577
1578const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1579const char kEnableCopylessPasteDescription[] =
1580 "Provide suggestions for text input, based on your recent context. For "
1581 "example, if you looked at a restaurant website and switched to the Maps "
1582 "app, the keyboard would offer the name of that restaurant as a suggestion "
1583 "to enter into the search bar. The data is indexed locally, and never sent "
1584 "to the server. It's disabled in incognito mode.";
1585
1586const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1587const char kEnableCustomContextMenuDescription[] =
1588 "Enables a new context menu when a link, image, or video is pressed within "
1589 "Chrome.";
1590
1591const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1592const char kEnableCustomFeedbackUiDescription[] =
1593 "Enables a custom feedback UI when submitting feedback through Google "
1594 "Feedback. Works with Google Play Services v10.2+";
1595
1596const char kEnableDataReductionProxyMainMenuName[] =
1597 "Enable Data Saver main menu footer";
1598const char kEnableDataReductionProxyMainMenuDescription[] =
1599 "Enables the Data Saver footer in the main menu";
1600
1601const char kEnableDataReductionProxySiteBreakdownName[] =
1602 "Data Saver Site Breakdown";
1603const char kEnableDataReductionProxySiteBreakdownDescription[] =
1604 "Enable the site breakdown on the Data Saver settings page.";
1605
1606const char kEnableOmniboxClipboardProviderName[] =
1607 "Omnibox clipboard URL suggestions";
1608const char kEnableOmniboxClipboardProviderDescription[] =
1609 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1610 "focus in the omnibox.";
1611
1612const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1613 "Use expanded autofill credit card popup layout.";
1614const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1615 "If enabled, displays autofill credit card popup using expanded layout.";
1616
1617const char kEnableFaviconsFromWebManifestName[] =
1618 "Load favicons from Web Manifests";
1619const char kEnableFaviconsFromWebManifestDescription[] =
1620 "Fetch Web Manifests on page load to read favicons from them.";
1621
1622const char kEnableNtpAssetDownloadSuggestionsName[] =
1623 "Show asset downloads on the New Tab page";
1624const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1625 "If enabled, the list of content suggestions on the New Tab page will "
1626 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1627 "later use.";
1628
1629const char kEnableNtpBookmarkSuggestionsName[] =
1630 "Show recently visited bookmarks on the New Tab page";
1631const char kEnableNtpBookmarkSuggestionsDescription[] =
1632 "If enabled, the list of content suggestions on the New Tab page will "
1633 "contain recently visited bookmarks.";
1634
1635const char kEnableNtpForeignSessionsSuggestionsName[] =
1636 "Show recent foreign tabs on the New Tab page";
1637const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1638 "If enabled, the list of content suggestions on the New Tab page will "
1639 "contain recent foreign tabs.";
1640
1641const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1642 "Download favicons for NTP tiles from Google.";
1643const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1644 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1645 "This only applies to tiles that originate from synced history.";
1646
Jan Krcal7fadbd32017-08-04 10:49:211647const char kNtpTilesLowerResolutionFaviconsName[] =
1648 "Show also lower resolution favicons in NTP tiles.";
1649const char kNtpTilesLowerResolutionFaviconsDescription[] =
1650 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1651 "decreases. Tiles where the largest available favicon is below this limit "
1652 "get displayed as colored tiles.";
1653
Brett Wilsonff596952017-07-14 01:06:551654const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1655 "Show offline page downloads on the New Tab page";
1656const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1657 "If enabled, the list of content suggestions on the New Tab page will "
1658 "contain pages that the user downloaded for later use.";
1659
1660const char kEnableNtpRemoteSuggestionsName[] =
1661 "Show server-side suggestions on the New Tab page";
1662const char kEnableNtpRemoteSuggestionsDescription[] =
1663 "If enabled, the list of content suggestions on the New Tab page will "
1664 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1665 "allows to override the source used to retrieve these server-side "
1666 "suggestions.";
1667
1668const char kEnableNtpSnippetsVisibilityName[] =
1669 "Make New Tab Page Snippets more visible.";
1670const char kEnableNtpSnippetsVisibilityDescription[] =
1671 "If enabled, the NTP snippets will become more discoverable with a larger "
1672 "portion of the first card above the fold.";
1673
1674const char kEnableNtpSuggestionsNotificationsName[] =
1675 "Notify about new content suggestions available at the New Tab page";
1676const char kEnableNtpSuggestionsNotificationsDescription[] =
1677 "If enabled, notifications will inform about new content suggestions on "
1678 "the New Tab page.";
1679
1680const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1681const char kEnablePhysicalWebDescription[] =
1682 "Enable scanning for URLs from Physical Web objects.";
1683
1684const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1685const char kEnableOfflinePreviewsDescription[] =
1686 "Enable showing offline page previews on slow networks.";
1687
1688const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1689const char kEnableOskOverscrollDescription[] =
1690 "Enable OSK overscroll support. With this flag on, the OSK will only "
1691 "resize the visual viewport.";
1692
1693const char kEnableSpecialLocaleName[] =
1694 "Enable custom logic for special locales.";
1695const char kEnableSpecialLocaleDescription[] =
1696 "Enable custom logic for special locales. In this mode, Chrome might "
1697 "behave differently in some locales.";
1698
Brett Wilsonff596952017-07-14 01:06:551699const char kEnableWebNfcName[] = "WebNFC";
1700const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1701
gogeraldf3cbb422017-07-26 14:37:121702const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1703 "Enable Web Payments method section order V2.";
1704const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1705 "Enable this option to display payment method section above address "
1706 "section instead of below it.";
1707
Brett Wilsonff596952017-07-14 01:06:551708const char kEnableWebPaymentsSingleAppUiSkipName[] =
1709 "Enable Web Payments single app UI skip";
1710const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1711 "Enable Web Payments to skip showing its UI if the developer specifies a "
1712 "single app.";
1713
1714const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1715const char kHerbPrototypeChoicesDescription[] =
1716 "Switching this option changes which tab management prototype is being "
1717 "tested.";
1718const char kHerbPrototypeFlavorElderberry[] =
1719 "ELDERBERRY: All View Intents in CCT v2";
1720
1721const char kKeepPrefetchedContentSuggestionsName[] =
1722 "Keep prefetched content suggestions";
1723const char kKeepPrefetchedContentSuggestionsDescription[] =
1724 "If enabled, some of prefetched content suggestions are not replaced by "
1725 "the new fetched suggestions.";
1726
1727const char kLsdPermissionPromptName[] =
1728 "Location Settings Dialog Permission Prompt";
1729const char kLsdPermissionPromptDescription[] =
1730 "Whether to use the Google Play Services Location Settings Dialog "
1731 "permission dialog.";
1732
Brett Wilsonff596952017-07-14 01:06:551733const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1734const char kMediaScreenCaptureDescription[] =
1735 "Enable this option for experimental ScreenCapture feature on Android.";
1736
1737const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1738const char kModalPermissionPromptsDescription[] =
1739 "Whether to use permission dialogs in place of permission infobars.";
1740
1741const char kNewBackgroundLoaderName[] =
1742 "Use background loader instead of prerenderer to load pages.";
1743const char kNewBackgroundLoaderDescription[] =
1744 "Use background loader instead of prerenderer to asynchronously download "
1745 "pages.";
1746
1747const char kNewPhotoPickerName[] = "Enable new Photopicker";
1748const char kNewPhotoPickerDescription[] =
1749 "Activates the new picker for selecting photos.";
1750
1751const char kNoCreditCardAbort[] = "No Credit Card Abort";
1752const char kNoCreditCardAbortDescription[] =
1753 "Whether or not the No Credit Card Abort is enabled.";
1754
1755const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1756const char kNtpCondensedLayoutDescription[] =
1757 "Show a condensed layout on the New Tab Page.";
1758
1759const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1760const char kNtpCondensedTileLayoutDescription[] =
1761 "Show a condensed tile layout on the New Tab Page.";
1762
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041763const char kSiteExplorationUiName[] = "Site Exploration UI";
1764const char kSiteExplorationUiDescription[] =
1765 "Show site suggestions in the Exploration UI";
1766
Brett Wilsonff596952017-07-14 01:06:551767const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1768const char kNtpGoogleGInOmniboxDescription[] =
1769 "Show a Google G in the omnibox on the New Tab Page.";
1770
1771const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1772const char kNtpOfflinePagesDescription[] =
1773 "Enables badging of offline pages on the New Tab page. Only relevant if "
1774 "offline pages are enabled.";
1775
1776const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1777const char kNtpPopularSitesDescription[] =
1778 "Pre-populate the New Tab page with popular sites.";
1779
1780const char kNtpSwitchToExistingTabName[] =
1781 "Switch to an existing tab for New Tab Page suggestions.";
1782const char kNtpSwitchToExistingTabDescription[] =
1783 "When opening a suggested webpage from the New Tab Page, if a tab is "
1784 "already open for the suggestion, switch to that one instead of loading "
1785 "the suggestion in the new tab.";
1786const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
1787const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
1788
1789const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1790const char kOfflineBookmarksDescription[] =
1791 "Enable saving bookmarked pages for offline viewing.";
1792
1793const char kOfflinePagesAsyncDownloadName[] =
1794 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1795const char kOfflinePagesAsyncDownloadDescription[] =
1796 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1797 R"*(that the user can click on it to download the page later.)*";
1798
1799const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1800const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1801
1802const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1803const char kOfflinePagesCtV2Description[] =
1804 "V2 features include attributing pages to the app that initiated the "
1805 "custom tabs, and being able to query for pages by page attribution.";
1806
1807const char kOfflinePagesLoadSignalCollectingName[] =
1808 "Enables collecting load timing data for offline page snapshots.";
1809const char kOfflinePagesLoadSignalCollectingDescription[] =
1810 "Enables loading completeness data collection while writing an offline "
1811 "page. This data is collected in the snapshotted offline page to allow "
1812 "data analysis to improve deciding when to make the offline snapshot.";
1813
1814const char kOfflinePagesPrefetchingName[] =
1815 "Enables suggested offline pages to be prefetched.";
1816const char kOfflinePagesPrefetchingDescription[] =
1817 "Enables suggested offline pages to be prefetched, so useful content is "
1818 "available while offline.";
1819
Collin Baker17f92a52017-07-19 21:41:251820const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1821const char kOfflinePagesRenovationsDescription[] =
1822 "Enables offline page renovations which correct issues with dynamic "
1823 "content that occur when offlining pages that use JavaScript.";
1824
Brett Wilsonff596952017-07-14 01:06:551825const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1826const char kOfflinePagesSharingDescription[] =
1827 "Enables the saved offline pages to be shared via other applications.";
1828
1829const char kOfflinePagesSvelteConcurrentLoadingName[] =
1830 "Enables concurrent background loading on svelte.";
1831const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1832 "Enables concurrent background loading (or downloading) of pages on "
1833 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1834 "happen when the svelte device is idle.";
1835
1836const char kOffliningRecentPagesName[] =
1837 "Enable offlining of recently visited pages";
1838const char kOffliningRecentPagesDescription[] =
1839 "Enable storing recently visited pages locally for offline use. Requires "
1840 "Offline Pages to be enabled.";
1841
1842extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1843extern const char kPayWithGoogleV1Description[] =
1844 "Enable Pay with Google integration into Web Payments with API version "
1845 "'1'.";
1846
Brett Wilsonff596952017-07-14 01:06:551847const char kProgressBarCompletionName[] =
1848 "Android phone page load progress bar completion time.";
1849const char kProgressBarCompletionDescription[] =
1850 "Configures Android phone page loading progress bar completion time.";
1851const char kProgressBarCompletionLoadEvent[] =
1852 R"*(Top loading frame's onload event ("everything" is done in the )*"
1853 R"*(page, historical behavior).)*";
1854const char kProgressBarCompletionResourcesBeforeDcl[] =
1855 "Main frame's domContentLoaded and all resources loads started before "
1856 "domContentLoaded (iframes ignored).";
1857const char kProgressBarCompletionDomContentLoaded[] =
1858 "Main frame's domContentLoaded (iframes ignored).";
1859const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1860 "domContentLoaded and all resources loads started before domContentLoaded "
1861 "(main frame and same origin iframes).";
1862
1863const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1864const char kPullToRefreshEffectDescription[] =
1865 "Page reloads triggered by vertically overscrolling content.";
1866
Piotr Swigon9f630b32017-07-26 09:42:491867const char kPwaPersistentNotificationName[] =
1868 "Persistent notification in standalone PWA";
1869const char kPwaPersistentNotificationDescription[] =
1870 "Enables a persistent Android notification for standalone PWAs";
1871
Brett Wilsonff596952017-07-14 01:06:551872const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1873const char kReaderModeHeuristicsDescription[] =
1874 "Determines what pages the Reader Mode infobar is shown on.";
1875const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1876const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1877const char kReaderModeHeuristicsAllArticles[] = "All articles";
1878const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1879const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1880
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:181881const char kReaderModeInCCTName[] = "Reader Mode in CCT";
1882const char kReaderModeInCCTDescription[] =
1883 "Open Reader Mode in Chrome Custom Tabs.";
1884
Brett Wilsonff596952017-07-14 01:06:551885const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1886const char kServiceWorkerPaymentAppsDescription[] =
1887 "Enable Service Worker applications to integrate as payment apps";
1888
1889const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
1890const char kSetMarketUrlForTestingDescription[] =
1891 "When enabled, sets the market URL for use in testing the update menu "
1892 "item.";
1893
1894const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
1895const char kSpannableInlineAutocompleteDescription[] =
1896 "A new type of inline autocomplete for the omnibox that works with "
1897 "keyboards that compose text.";
1898
1899const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1900const char kTabsInCbdDescription[] =
1901 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1902
1903const char kTranslateCompactUIName[] = "New Translate Infobar";
1904const char kTranslateCompactUIDescription[] =
1905 "Enable the new Translate compact infobar UI.";
1906
1907const char kUpdateMenuBadgeName[] = "Force show update menu badge";
1908const char kUpdateMenuBadgeDescription[] =
1909 "When enabled, an update badge will be shown on the app menu button.";
1910
1911const char kUpdateMenuItemCustomSummaryDescription[] =
1912 "When this flag and the force show update menu item flag are enabled, a "
1913 "custom summary string will be displayed below the update menu item.";
1914const char kUpdateMenuItemCustomSummaryName[] =
1915 "Update menu item custom summary";
1916
1917const char kUpdateMenuItemName[] = "Force show update menu item";
1918const char kUpdateMenuItemDescription[] =
1919 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
1920 R"*(menu.)*";
1921
1922const char kUseAndroidMidiApiName[] = "Use Android Midi API";
1923const char kUseAndroidMidiApiDescription[] =
1924 "Use Android Midi API for WebMIDI (effective only with Android M+ "
1925 "devices).";
1926
1927const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1928const char kUseDdljsonApiDescription[] =
1929 "Enables the new ddljson API to fetch Doodles for the NTP.";
1930
Marc Treib93af46a2017-08-23 13:30:001931const char kThirdPartyDoodlesName[] =
1932 "Enable Doodles for third-party search engines";
1933const char kThirdPartyDoodlesDescription[] =
1934 "Enables fetching and displaying Doodles on the NTP for third-party search "
1935 "engines.";
1936
Brett Wilsonff596952017-07-14 01:06:551937const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
1938const char kXGEOVisibleNetworksDescription[] =
1939 "If location permissions are granted, include visible networks in the XGEO "
1940 "Header for omnibox queries. This will only happen if location is not "
1941 "fresh or not available (for example, due to a cold start).";
1942
Brett Wilson7b44537e2017-08-18 01:38:281943// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:551944
Brett Wilson7b44537e2017-08-18 01:38:281945#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:481946
Brett Wilson7b44537e2017-08-18 01:38:281947const char kAccountConsistencyName[] =
1948 "Identity consistency between browser and cookie jar";
1949const char kAccountConsistencyDescription[] =
1950 "When enabled, the browser manages signing in and out of Google accounts.";
1951const char kAccountConsistencyChoiceMirror[] = "Mirror";
1952const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:341953
mlamouriff56c092017-05-11 15:31:391954const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:391955const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:341956 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:391957const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:391958const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:391959const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:341960 "Enabled (Flash lowers volume when interrupted by other sound, "
1961 "experimental)";
1962
Brett Wilson7b44537e2017-08-18 01:38:281963const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
1964const char kEnableNewAppMenuIconDescription[] =
1965 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:341966
1967const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:341968const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:281969 "Enable receiving entity suggestions - disambiguation descriptions - for "
1970 "Omnibox suggestions.";
1971
1972const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
1973const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191974 "Enable receiving tail suggestions, a type of search suggestion based on "
1975 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:341976
Brett Wilson7b44537e2017-08-18 01:38:281977const char kOneGoogleBarOnLocalNtpName[] =
1978 "Enable the OneGoogleBar on the local NTP";
1979const char kOneGoogleBarOnLocalNtpDescription[] =
1980 "Show a OneGoogleBar on the local New Tab page if Google is the default "
1981 "search engine.";
1982
ojan38c678352017-04-11 20:27:551983const char kPauseBackgroundTabsName[] = "Pause background tabs";
1984const char kPauseBackgroundTabsDescription[] =
1985 "Pause timers in background tabs after 5 minutes on desktop.";
1986
Brett Wilson7b44537e2017-08-18 01:38:281987const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
1988const char kUseGoogleLocalNtpDescription[] =
1989 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:321990
Brett Wilson7b44537e2017-08-18 01:38:281991const char kVoiceSearchOnLocalNtpName[] =
1992 "Enable Voice Search on the local NTP";
1993const char kVoiceSearchOnLocalNtpDescription[] =
1994 "Show a microphone for voice search on the local New Tab page "
1995 "if Google is the default search engine.";
1996
1997#if defined(GOOGLE_CHROME_BUILD)
1998
1999const char kGoogleBrandedContextMenuName[] =
2000 "Google branding in the context menu";
2001const char kGoogleBrandedContextMenuDescription[] =
2002 "Shows a Google icon next to context menu items powered by Google "
2003 "services.";
2004
2005#endif // !defined(GOOGLE_CHROME_BUILD)
2006
2007#endif // !defined(OS_ANDROID)
2008
2009// Windows ---------------------------------------------------------------------
2010
2011#if defined(OS_WIN)
2012
2013const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2014const char kCloudPrintXpsDescription[] =
2015 "XPS enables advanced options for classic printers connected to the Cloud "
2016 "Print with Chrome. Printers must be re-connected after changing this "
2017 "flag.";
2018
Dave Tapuskadd43469d2017-08-22 22:15:532019const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2020const char kDirectManipulationStylusDescription[] =
2021 "If enabled, Chrome will scroll web pages on stylus drag.";
2022
Brett Wilson7b44537e2017-08-18 01:38:282023const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2024const char kDisablePostscriptPrintingDescription[] =
2025 "Disables PostScript generation when printing to PostScript capable "
2026 "printers, and uses EMF generation in its place.";
2027
2028const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2029const char kEnableAppcontainerDescription[] =
2030 "Enables the use of an AppContainer on sandboxed processes to improve "
2031 "security.";
2032
2033const char kEnableD3DVsync[] = "D3D v-sync";
2034const char kEnableD3DVsyncDescription[] =
2035 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2036 "to occur.";
2037
2038const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2039const char kEnableDesktopIosPromotionsDescription[] =
2040 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2041 "eligible.";
2042
2043const char kGdiTextPrinting[] = "GDI Text Printing";
2044const char kGdiTextPrintingDescription[] =
2045 "Use GDI to print text as simply text";
2046
2047const char kMergeKeyCharEventsName[] =
2048 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2049 "(WM_CHAR).";
2050const char kMergeKeyCharEventsDescription[] =
2051 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2052
2053const char kTraceExportEventsToEtwName[] =
2054 "Enable exporting of tracing events to ETW.";
2055const char kTraceExportEventsToEtwDesription[] =
2056 "If enabled, trace events will be exported to the Event Tracing for "
2057 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2058 "Xperf.";
2059
2060const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2061const char kUseWinrtMidiApiDescription[] =
2062 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2063 "later).";
2064
2065const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2066const char kWindows10CustomTitlebarDescription[] =
2067 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2068 "deferring to Windows.";
2069
2070#endif // defined(OS_WIN)
2071
2072// Mac -------------------------------------------------------------------------
2073
2074#if defined(OS_MACOSX)
2075
2076const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2077const char kAppInfoDialogDescription[] =
2078 "Makes the Toolkit-Views based App Info dialog accessible from "
2079 "chrome://apps or chrome://extensions in place of the native extension "
2080 "permissions dialog, or the details link (which is a link to the Web "
2081 "Store).";
2082
2083const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2084const char kAppWindowCyclingDescription[] =
2085 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2086 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2087 "browser window, and browser windows will not be cycled when a Chrome App "
2088 "is active.";
2089
2090extern const char kCreditCardAutofillTouchBarName[] =
2091 "Credit Card Autofill Touch Bar";
2092extern const char kCreditCardAutofillTouchBarDescription[] =
2093 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2094
2095const char kFullscreenToolbarRevealName[] =
2096 "Enables the toolbar in fullscreen to reveal itself.";
2097const char kFullscreenToolbarRevealDescription[] =
2098 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2099 "has changed.";
2100
2101const char kContentFullscreenName[] = "Improved Content Fullscreen";
2102const char kContentFullscreenDescription[] =
2103 "Fullscreen content window detaches from main browser window and goes to "
2104 "a new space without moving or changing the original browser window.";
2105
2106extern const char kDialogTouchBarName[] = "Dialog Touch Bar";
2107extern const char kDialogTouchBarDescription[] =
2108 "Shows Dialog buttons on the Touch Bar.";
2109
2110const char kHostedAppsInWindowsName[] =
2111 "Allow hosted apps to be opened in windows";
2112const char kHostedAppsInWindowsDescription[] =
2113 "Allows hosted apps to be opened in windows instead of being limited to "
2114 "tabs.";
2115
2116extern const char kMacRTLName[] = "Enable RTL";
2117extern const char kMacRTLDescription[] =
2118 "Mirrors the UI for RTL language users";
2119
2120extern const char kMacTouchBarName[] = "Hardware Touch Bar";
2121extern const char kMacTouchBarDescription[] =
2122 "Control the use of the Touch Bar.";
2123
2124const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2125const char kMacV2SandboxDescription[] =
2126 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2127 "entire life cycle.";
2128
2129const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2130const char kMacViewsNativeAppWindowsDescription[] =
2131 "Controls whether to use Toolkit-Views based Chrome App windows.";
2132
2133const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2134const char kMacViewsTaskManagerDescription[] =
2135 "Controls whether to use the Toolkit-Views based Task Manager.";
2136
2137const char kTabDetachingInFullscreenName[] =
2138 "Allow tab detaching in fullscreen";
2139const char kTabDetachingInFullscreenDescription[] =
2140 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2141
2142const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2143const char kTabStripKeyboardFocusDescription[] =
2144 "Enable keyboard focus for the tabs in the tab strip.";
2145
2146const char kTranslateNewUxName[] = "New Translate UX";
2147const char kTranslateNewUxDescription[] =
2148 "Enable the new Translate bubble UX is offered instead of the infobar.";
2149
2150// Non-Mac ---------------------------------------------------------------------
2151
2152#else // !defined(OS_MACOSX)
2153
2154const char kPermissionPromptPersistenceToggleName[] =
2155 "Persistence Toggle in Permission Prompts";
2156const char kPermissionPromptPersistenceToggleDescription[] =
2157 "Whether to display a persistence toggle in permission prompts.";
2158
2159#endif
2160
2161// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342162
2163#if defined(OS_CHROMEOS)
2164
Brett Wilson7b44537e2017-08-18 01:38:282165const char kAcceleratedMjpegDecodeName[] =
2166 "Hardware-accelerated mjpeg decode for captured frame";
2167const char kAcceleratedMjpegDecodeDescription[] =
2168 "Enable hardware-accelerated mjpeg decode for captured frame where "
2169 "available.";
vabr0215a8e2017-03-28 12:47:342170
Brett Wilson7b44537e2017-08-18 01:38:282171const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2172const char kAllowTouchpadThreeFingerClickDescription[] =
2173 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342174
Brett Wilson7b44537e2017-08-18 01:38:282175const char kArcBootCompleted[] = "Load Android apps automatically";
2176const char kArcBootCompletedDescription[] =
2177 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342178
Lev Rumyantsev7a8544312017-08-18 19:26:512179const char kArcNativeBridgeExperimentName[] =
2180 "Enable native bridge experiment for ARC";
2181const char kArcNativeBridgeExperimentDescription[] =
2182 "Enables experimental native bridge feature.";
2183
Brett Wilson7b44537e2017-08-18 01:38:282184const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2185const char kAshEnableUnifiedDesktopDescription[] =
2186 "Enable unified desktop mode which allows a window to span multiple "
2187 "displays.";
vabr0215a8e2017-03-28 12:47:342188
Brett Wilson7b44537e2017-08-18 01:38:282189const char kBootAnimationName[] = "Boot animation";
2190const char kBootAnimationDescription[] =
2191 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342192
Brett Wilson7b44537e2017-08-18 01:38:282193const char kCaptivePortalBypassProxyName[] =
2194 "Bypass proxy for Captive Portal Authorization";
2195const char kCaptivePortalBypassProxyDescription[] =
2196 "If proxy is configured, it usually prevents from authorization on "
2197 "different captive portals. This enables opening captive portal "
2198 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342199
Brett Wilson7b44537e2017-08-18 01:38:282200const char kCrOSComponentName[] = "Chrome OS Component";
2201const char kCrOSComponentDescription[] =
2202 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342203
Brett Wilson7b44537e2017-08-18 01:38:282204const char kCrosRegionsModeName[] = "Cros-regions load mode";
2205const char kCrosRegionsModeDescription[] =
2206 "This flag controls cros-regions load mode";
2207const char kCrosRegionsModeDefault[] = "Default";
2208const char kCrosRegionsModeOverride[] = "Override VPD values.";
2209const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342210
Brett Wilson7b44537e2017-08-18 01:38:282211const char kDisableNewVirtualKeyboardBehaviorName[] =
2212 "New window behavior for the accessibility keyboard";
2213const char kDisableNewVirtualKeyboardBehaviorDescription[] =
2214 "Disable new window behavior for the accessibility keyboard in non-sticky "
2215 "mode (do not change work area in non-sticky mode).";
vabr0215a8e2017-03-28 12:47:342216
Brett Wilson7b44537e2017-08-18 01:38:282217const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2218const char kEnablePerUserTimezoneDescription[] =
2219 "Chrome OS system timezone preference is stored and handled for each user "
2220 "individually.";
vabr0215a8e2017-03-28 12:47:342221
Brett Wilson7b44537e2017-08-18 01:38:282222const char kDisableSystemTimezoneAutomaticDetectionName[] =
2223 "SystemTimezoneAutomaticDetection policy support";
2224const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2225 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342226
newcomer403ac142017-07-05 18:26:302227const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
newcomer403ac142017-07-05 18:26:302228const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192229 "The peeking launcher UI supports touch and provides more space for "
2230 "upcoming features.";
newcomer403ac142017-07-05 18:26:302231
Alex Newcomer43cb7f12017-07-28 17:37:392232extern const char kEnableBackgroundBlurName[] = "Enable background blur.";
2233extern const char kEnableBackgroundBlurDescription[] =
2234 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2235 "Switcher.";
2236
Brett Wilson7b44537e2017-08-18 01:38:282237const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2238const char kEnableAndroidWallpapersAppDescription[] =
2239 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2240 "OS.";
vabr0215a8e2017-03-28 12:47:342241
Brett Wilson7b44537e2017-08-18 01:38:282242const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2243const char kEnableChromevoxArcSupportDescription[] =
2244 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342245
Brett Wilson7b44537e2017-08-18 01:38:282246const char kEnableEhvInputName[] =
2247 "Emoji, handwriting and voice input on opt-in IME menu";
2248const char kEnableEhvInputDescription[] =
2249 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342250
Brett Wilson7b44537e2017-08-18 01:38:282251const char kEnableEncryptionMigrationName[] =
2252 "Enable encryption migration of user data";
2253const char kEnableEncryptionMigrationDescription[] =
2254 "If enabled and the device supports ARC, the user will be asked to update "
2255 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342256
Brett Wilson7b44537e2017-08-18 01:38:282257const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2258const char kEnableImeMenuDescription[] =
2259 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342260
Toni Barzic0f3440a62017-07-19 20:19:312261const char kEnableLockScreenAppsName[] = "Enable lock screen note taking";
Toni Barzic0f3440a62017-07-19 20:19:312262const char kEnableLockScreenAppsDescription[] =
2263 "Enable new-note action handler apps on the lock screen. The user will be "
2264 "able to launch the preferred note-taking action from the lock screen, "
2265 "provided that the app supports lock screen note taking.";
2266
Brett Wilson7b44537e2017-08-18 01:38:282267const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
2268const char kEnableZipArchiverOnFileManagerDescription[] =
2269 "Enable the ability to archive and unpack files on Drive in the Files app";
2270
2271const char kEolNotificationName[] = "Disable Device End of Life notification.";
2272const char kEolNotificationDescription[] =
2273 "Disable Notifcation when Device is End of Life.";
2274
2275const char kExperimentalAccessibilityFeaturesName[] =
2276 "Experimental accessibility features";
2277const char kExperimentalAccessibilityFeaturesDescription[] =
2278 "Enable additional accessibility features in the Settings page.";
2279
2280const char kExperimentalInputViewFeaturesName[] =
2281 "Experimental input view features";
2282const char kExperimentalInputViewFeaturesDescription[] =
2283 "Enable experimental features for IME input views.";
2284
2285const char kFileManagerTouchModeName[] = "Files App. touch mode";
2286const char kFileManagerTouchModeDescription[] =
2287 "Touchscreen-specific interactions of the Files app.";
2288
2289const char kFirstRunUiTransitionsName[] =
2290 "Animated transitions in the first-run tutorial";
2291const char kFirstRunUiTransitionsDescription[] =
2292 "Transitions during first-run tutorial are animated.";
2293
2294const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2295const char kFloatingVirtualKeyboardDescription[] =
2296 "Enable/Disable floating virtual keyboard.";
2297
2298const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2299const char kForceEnableStylusToolsDescription[] =
2300 "Forces display of the stylus tools menu in the shelf and the stylus "
2301 "section in settings, even if there is no attached stylus device.";
2302
2303const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2304const char kGestureEditingDescription[] =
2305 "Enable/Disable gesture editing option in the settings page for the "
2306 "virtual keyboard.";
2307
2308const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2309const char kGestureTypingDescription[] =
2310 "Enable/Disable gesture typing option in the settings page for the virtual "
2311 "keyboard.";
2312
2313const char kInputViewName[] = "Input views";
2314const char kInputViewDescription[] =
2315 "Enable IME extensions to supply custom views for user input such as "
2316 "virtual keyboards.";
2317
2318const char kMemoryPressureThresholdName[] =
2319 "Memory discard strategy for advanced pressure handling";
2320const char kMemoryPressureThresholdDescription[] =
2321 "Memory discarding strategy to use";
2322const char kConservativeThresholds[] =
2323 "Conservative memory pressure release strategy";
2324const char kAggressiveCacheDiscardThresholds[] =
2325 "Aggressive cache release strategy";
2326const char kAggressiveTabDiscardThresholds[] =
2327 "Aggressive tab release strategy";
2328const char kAggressiveThresholds[] =
2329 "Aggressive tab and cache release strategy";
2330
2331const char kMtpWriteSupportName[] = "MTP write support";
2332const char kMtpWriteSupportDescription[] =
2333 "MTP write support in File System API (and file manager). In-place editing "
2334 "operations are not supported.";
2335
2336const char kMultideviceName[] = "Enable multidevice features";
2337const char kMultideviceDescription[] =
2338 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342339
2340const char kNetworkPortalNotificationName[] =
2341 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342342const char kNetworkPortalNotificationDescription[] =
2343 "If enabled, notification is displayed when device is connected to a "
2344 "network behind captive portal.";
2345
stevenjbe1d457382017-05-24 22:37:242346const char kNetworkSettingsConfigName[] =
2347 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242348const char kNetworkSettingsConfigDescription[] =
2349 "Enables the Settings based network configuration UI instead of the Views "
2350 "based configuration dialog.";
2351
Brett Wilson7b44537e2017-08-18 01:38:282352const char kNewKoreanImeName[] = "New Korean IME";
2353const char kNewKoreanImeDescription[] =
2354 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342355
Brett Wilson7b44537e2017-08-18 01:38:282356const char kNewZipUnpackerName[] = "New ZIP unpacker";
2357const char kNewZipUnpackerDescription[] =
2358 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342359
Brett Wilson7b44537e2017-08-18 01:38:282360const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2361const char kPhysicalKeyboardAutocorrectDescription[] =
2362 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2363 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342364
2365const char kPrinterProviderSearchAppName[] =
2366 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342367const char kPrinterProviderSearchAppDescription[] =
2368 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192369 "searches Chrome Web Store for extensions that support printing to a USB "
2370 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342371
Brett Wilson7b44537e2017-08-18 01:38:282372const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2373const char kQuickUnlockPinDescription[] =
2374 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2375 "device on the lock screen after you have signed into your device.";
2376const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2377const char kQuickUnlockPinSigninDescription[] =
2378 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2379 "device. After changing this flag PIN needs to be set up again.";
2380const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2381const char kQuickUnlockFingerprintDescription[] =
2382 "Enabling fingerprint quick unlock allows you to setup and use a "
2383 "fingerprint to unlock your Chromebook on the lock screen after you have "
2384 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342385
Brett Wilson7b44537e2017-08-18 01:38:282386const char kOfficeEditingComponentAppName[] =
2387 "Office Editing for Docs, Sheets & Slides";
2388const char kOfficeEditingComponentAppDescription[] =
2389 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072390
2391const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2392const char kSpuriousPowerButtonWindowDescription[] =
2393 "Number of recent accelerometer samples to examine to determine if a power "
2394 "button event was spurious.";
2395
2396const char kSpuriousPowerButtonAccelCountName[] =
2397 "Spurious power button acceleration count";
2398const char kSpuriousPowerButtonAccelCountDescription[] =
2399 "Number of recent acceleration samples that must meet or exceed exceed the "
2400 "threshold in order for a power button event to be considered spurious.";
2401
2402const char kSpuriousPowerButtonScreenAccelName[] =
2403 "Spurious power button screen acceleration threshold";
2404const char kSpuriousPowerButtonScreenAccelDescription[] =
2405 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2406 "meet or exceed for a power button event to be considered spurious.";
2407
2408const char kSpuriousPowerButtonKeyboardAccelName[] =
2409 "Spurious power button keyboard acceleration threshold";
2410const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2411 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2412 "must meet or exceed for a power button event to be considered spurious.";
2413
2414const char kSpuriousPowerButtonLidAngleChangeName[] =
2415 "Spurious power button lid angle change threshold";
2416const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2417 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2418 "met or exceeded for a power button event to be considered spurious.";
2419
Brett Wilson7b44537e2017-08-18 01:38:282420const char kTeamDrivesName[] = "Enable Team Drives Integration";
2421const char kTeamDrivesDescription[] =
2422 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342423
Brett Wilson7b44537e2017-08-18 01:38:282424const char kTetherName[] = "Instant Tethering";
2425const char kTetherDescription[] =
2426 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2427 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372428
Brett Wilson7b44537e2017-08-18 01:38:282429const char kTouchscreenCalibrationName[] =
2430 "Enable/disable touchscreen calibration option in material design settings";
2431const char kTouchscreenCalibrationDescription[] =
2432 "If enabled, the user can calibrate the touch screen displays in "
2433 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092434
Mitsuru Oshima63d3f2a2017-08-23 00:12:112435// Force UI Mode
2436const char kUiModeName[] = "Force Ui Mode";
2437const char kUiModeDescription[] =
2438 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2439 R"*(despite its current orientation. "Tablet" means that the )*"
2440 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2441 R"*(means that the chromebook will act as if it were in clamshell )*"
2442 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2443 R"*(the two, based on its orientation.)*";
2444const char kUiModeTablet[] = "TouchView";
2445const char kUiModeClamshell[] = "Clamshell";
2446const char kUiModeAuto[] = "Auto (default)";
2447
bruthigeafb0c02017-06-09 13:11:532448const char kUiDevToolsName[] = "Enable native UI inspection";
2449const char kUiDevToolsDescription[] =
2450 "Enables inspection of native UI elements. For local inspection use "
2451 "chrome://inspect#other";
2452
Takashi Toyoshima14f64f562017-07-19 08:38:202453const char kUseCrosMidiServiceName[] = "Use Chrome OS MIDI Service";
2454const char kUseCrosMidiServiceNameDescription[] =
2455 "Use Chrome OS MIDI Service for Web MIDI and allow ARC to support Android "
2456 "MIDI.";
2457
Brett Wilson7b44537e2017-08-18 01:38:282458const char kUseMusName[] = "Mus";
2459const char kUseMusDescription[] = "Enable the Mojo UI service.";
2460const char kEnableMashDescription[] =
2461 "Mash (UI, Chrome and ash in separate services)";
2462const char kEnableMusDescription[] =
2463 "Mus (UI in separate service, Chrome and ash in same service)";
2464
2465const char kVideoPlayerChromecastSupportName[] =
2466 "Experimental Chromecast support for Video Player";
2467const char kVideoPlayerChromecastSupportDescription[] =
2468 "This option enables experimental Chromecast support for Video Player app "
2469 "on ChromeOS.";
2470
2471const char kVirtualKeyboardName[] = "Virtual Keyboard";
2472const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2473
2474const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2475const char kVirtualKeyboardOverscrollDescription[] =
2476 "Enables virtual keyboard overscroll support.";
2477
2478const char kVoiceInputName[] = "Voice input on virtual keyboard";
2479const char kVoiceInputDescription[] =
2480 "Enables voice input on virtual keyboard.";
2481
2482const char kWakeOnPacketsName[] = "Wake On Packets";
2483const char kWakeOnPacketsDescription[] =
2484 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202485
yhanadac5bff5b2017-05-18 06:37:092486#endif // defined(OS_CHROMEOS)
2487
Brett Wilson7b44537e2017-08-18 01:38:282488// Random platform combinations -----------------------------------------------
2489
2490#if defined(OS_WIN) || defined(OS_LINUX)
2491
2492const char kEnableInputImeApiName[] = "Enable Input IME API";
2493const char kEnableInputImeApiDescription[] =
2494 "Enable the use of chrome.input.ime API.";
2495
2496#endif // defined(OS_WIN) || defined(OS_LINUX)
2497
2498#if defined(OS_WIN) || defined(OS_MACOSX)
2499
2500const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2501const char kAutomaticTabDiscardingDescription[] =
2502 "If enabled, tabs get automatically discarded from memory when the system "
2503 "memory is low. Discarded tabs are still visible on the tab strip and get "
2504 "reloaded when clicked on. Info about discarded tabs can be found at "
2505 "chrome://discards.";
2506
2507#endif // defined(OS_WIN) || defined(OS_MACOSX)
2508
2509// Feature flags --------------------------------------------------------------
2510
2511#if BUILDFLAG(ENABLE_VR)
2512
2513#if defined(OS_ANDROID)
2514
2515const char kEnableVrShellName[] = "Enable Chrome VR.";
2516const char kEnableVrShellDescription[] =
2517 "Allow browsing with a VR headset if available for this device.";
2518
2519const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2520const char kVrCustomTabBrowsingDescription[] =
2521 "Allow browsing with a VR headset in a Custom Tab if available for this "
2522 "device.";
2523
2524const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2525const char kWebVrAutopresentDescription[] =
2526 "Allows auto presentation of WebVr content from trusted first-party apps";
2527
2528const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2529const char kWebVrVsyncAlignDescription[] =
2530 "Enabling this option aligns WebVR application rendering with VSync "
2531 "for smoother animations.";
2532
2533#endif // OS_ANDROID
2534
2535const char kWebvrExperimentalRenderingName[] =
2536 "WebVR experimental rendering optimizations";
2537const char kWebvrExperimentalRenderingDescription[] =
2538 "Enabling this option activates experimental rendering path optimizations "
2539 "for WebVR.";
2540
2541#endif // ENABLE_VR
2542
2543#if !defined(DISABLE_NACL)
2544
2545const char kNaclDebugMaskName[] =
2546 "Restrict Native Client GDB-based debugging by pattern";
2547const char kNaclDebugMaskDescription[] =
2548 "Restricts Native Client application GDB-based debugging by URL of "
2549 "manifest file. Native Client GDB-based debugging must be enabled for this "
2550 "option to work.";
2551const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2552const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2553 "Debug everything except secure shell and the PNaCl translator.";
2554const char kNaclDebugMaskChoiceIncludeDebug[] =
2555 "Debug only if manifest URL ends with debug.nmf.";
2556
2557const char kNaclDebugName[] = "Native Client GDB-based debugging";
2558const char kNaclDebugDescription[] =
2559 "Enable GDB debug stub. This will stop a Native Client application on "
2560 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2561
2562const char kNaclName[] = "Native Client";
2563const char kNaclDescription[] =
2564 "Support Native Client for all web applications, even those that were not "
2565 "installed from the Chrome Web Store.";
2566
2567const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2568const char kPnaclSubzeroDescription[] =
2569 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2570
2571#endif // !defined(DISABLE_NACL)
2572
Brett Wilson7b44537e2017-08-18 01:38:282573#if BUILDFLAG(ENABLE_WEBRTC)
2574
2575const char kWebrtcH264WithOpenh264FfmpegName[] =
2576 "WebRTC H.264 software video encoder/decoder";
2577const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2578 "When enabled, an H.264 software video encoder/decoder pair is included. "
2579 "If a hardware encoder/decoder is also available it may be used instead of "
2580 "this encoder/decoder.";
2581
2582#endif // BUILDFLAG(ENABLE_WEBRTC)
2583
2584#if defined(USE_ASH)
2585
2586const char kAshDisableSmoothScreenRotationName[] =
2587 "Disable smooth rotation animations.";
2588const char kAshDisableSmoothScreenRotationDescription[] =
2589 "Disable smooth rotation animations.";
2590
2591const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2592const char kAshEnableMirroredScreenDescription[] =
2593 "Enable the mirrored screen mode. This mode flips the screen image "
2594 "horizontally.";
2595
2596const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2597const char kAshShelfColorDescription[] =
2598 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2599 "--ash-shelf-color-scheme flag defines how that color is derived.";
2600
2601const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2602const char kAshShelfColorSchemeDescription[] =
2603 "Specify how the color is derived from the wallpaper. This flag is only "
2604 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2605const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2606const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2607const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2608const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2609const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2610const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2611
2612const char kMaterialDesignInkDropAnimationSpeedName[] =
2613 "Material Design Ink Drop Animation Speed";
2614const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2615 "Sets the speed of the experimental visual feedback animations for "
2616 "material design.";
2617const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2618const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2619
2620const char kUiShowCompositedLayerBordersName[] =
2621 "Show UI composited layer borders";
2622const char kUiShowCompositedLayerBordersDescription[] =
2623 "Show border around composited layers created by UI.";
2624const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2625const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2626const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2627const char kUiShowCompositedLayerBordersAll[] = "All";
2628
2629const char kUiSlowAnimationsName[] = "Slow UI animations";
2630const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2631
2632#endif // defined(USE_ASH)
2633
2634#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
2635
2636const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
2637const char kShowCertLinkOnPageInfoDescription[] =
2638 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
2639 "sites.";
2640
2641#endif // defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
2642
2643#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2644
2645const char kAutofillCreditCardUploadName[] =
2646 "Enable offering upload of Autofilled credit cards";
2647const char kAutofillCreditCardUploadDescription[] =
2648 "Enables a new option to upload credit cards to Google Payments for sync "
2649 "to all Chrome devices.";
2650
2651#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2652
2653// ============================================================================
2654// Don't just add flags to the end, put them in the right section in
2655// alphabetical order just like the header file.
2656// ============================================================================
2657
vabr0215a8e2017-03-28 12:47:342658} // namespace flag_descriptions