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