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