blob: 73e5cfda1496ac8b6f3c1d880561708c48163919 [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
Marc Treibe3651be2017-07-14 11:05:4087const char kCaptureThumbnailOnNavigatingAwayName[] =
88 "Capture page thumbnail on navigating away";
89const char kCaptureThumbnailOnNavigatingAwayDescription[] =
90 "Capture a page thumbnail (for use on the New Tab page) when navigating "
91 "away from the current page, in addition to other times a thumbnail may be "
92 "captured.";
93
Brett Wilsonf27ff602017-07-07 22:28:4794const char kCastStreamingHwEncodingName[] =
95 "Cast Streaming hardware video encoding";
96const char kCastStreamingHwEncodingDescription[] =
97 "This option enables support in Cast Streaming for encoding video streams "
98 "using platform hardware.";
99
Amber Won478561d2017-08-19 01:02:59100const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
101const char kClickToOpenPDFDescription[] =
102 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
103 "embedded PDFs.";
104
Brett Wilsonf27ff602017-07-07 22:28:47105const char kCloudImportName[] = "Cloud Import";
106const char kCloudImportDescription[] = "Allows the cloud-import feature.";
107
Christopher Cameronceb8727d2017-09-07 23:53:16108const char kForceColorProfileSRGB[] = "sRGB";
109const char kForceColorProfileP3[] = "Display P3 D65";
110const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
111const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
112
113const char kForceColorProfileName[] = "Force color profile";
114const char kForceColorProfileDescription[] =
115 "Forces Chrome to use a specific color profile instead of the color "
116 "of the window's current monitor, as specified by the operating system.";
117
Brett Wilsonf27ff602017-07-07 22:28:47118const 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 "
Eric Lawrenceed8fccf2017-09-08 21:27:15354 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47355const 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
Sidney San Martín9375b892017-09-09 00:29:54359const char kEnableMacMaterialDesignDownloadShelfName[] =
360 "Enable Material Design download shelf";
361
362const char kEnableMacMaterialDesignDownloadShelfDescription[] =
363 "If enabled, the download shelf uses Material Design.";
364
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
Anton Urusov47cd4932017-09-19 14:41:41389const char kEnablePolicyToolName[] = "Enable policy management page";
390const char kEnablePolicyToolDescription[] =
391 "If enabled, the chrome://policy-tool URL loads a page for managing "
392 "policies.";
393
Brett Wilsonf27ff602017-07-07 22:28:47394const char kEnableMidiManagerDynamicInstantiationName[] =
395 "MIDIManager dynamic instantiation for Web MIDI.";
396const char kEnableMidiManagerDynamicInstantiationDescription[] =
397 "Enable MIDIManager dynamic instantiation for Web MIDI.";
398
399const char kEnableNavigationTracingName[] = "Enable navigation tracing";
400const char kEnableNavigationTracingDescription[] =
401 "This is to be used in conjunction with the trace-upload-url flag. "
402 "WARNING: When enabled, Chrome will record performance data for every "
403 "navigation and upload it to the URL specified by the trace-upload-url "
404 "flag. The trace may include personally identifiable information (PII) "
405 "such as the titles and URLs of websites you visit.";
406
407const char kEnableNetworkServiceName[] = "Enable network service";
408const char kEnableNetworkServiceDescription[] =
409 "Enables the network service, which makes network requests through a "
410 "separate service. Note: most features don't work with this yet.";
411
Ahmed Fakhry2fd8fc82017-07-28 16:31:12412const char kEnableNightLightName[] = "Enable Night Light";
413const char kEnableNightLightDescription[] =
414 "Enable the Night Light feature which controls the color temperature of "
415 "the screen.";
416
Yutaka Hirano98be3272017-08-07 17:55:39417const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
418const char kEnableOutOfBlinkCORSDescription[] =
419 "CORS handling logic is moved out of blink.";
420
Erik Chen49bbfa22017-08-18 08:49:56421const char kEnableOutOfProcessHeapProfilingName[] =
422 "Out of process heap profiling.";
423const char kEnableOutOfProcessHeapProfilingDescription[] =
424 "Creates a profiling service that records stacktraces for all live, "
425 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36426const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
427 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56428const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
429
Brett Wilsonf27ff602017-07-07 22:28:47430const char kEnablePictureInPictureName[] = "Enable picture in picture.";
431const char kEnablePictureInPictureDescription[] =
432 "Enable the picture in picture feature for videos.";
433
F#m59d036e2017-09-13 07:22:17434const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
435const char kEnablePixelCanvasRecordingDescription[] =
436 "Pixel canvas recording allows the compositor to raster contents aligned "
437 "with the pixel and improves text rendering. This should be enabled when a "
438 "device is using fractional scale factor.";
439
Brett Wilsonf27ff602017-07-07 22:28:47440const char kEnableTokenBindingName[] = "Token Binding.";
441const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
442
Irmak Kavasoglu7e16af02017-07-19 09:52:47443const char kEnableUsernameCorrectionName[] = "Enable username correction";
444const char kEnableUsernameCorrectionDescription[] =
445 "While on the pending password state, add an edit button to the bubble so "
446 "that user can edit the username.";
447
Brett Wilsonf27ff602017-07-07 22:28:47448const char kEnableUseZoomForDsfName[] =
449 "Use Blink's zoom for device scale factor.";
450const char kEnableUseZoomForDsfDescription[] =
451 "If enabled, Blink uses its zooming mechanism to scale content for device "
452 "scale factor.";
453const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
454const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
455const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
456
457const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
458const char kEnableScrollAnchoringDescription[] =
459 "Adjusts scroll position to prevent visible jumps when offscreen content "
460 "changes.";
461
462const char kEnableSharedArrayBufferName[] =
463 "Experimental enabled SharedArrayBuffer support in JavaScript.";
464const char kEnableSharedArrayBufferDescription[] =
465 "Enable SharedArrayBuffer support in JavaScript.";
466
467const char kEnableWasmName[] = "WebAssembly structured cloning support.";
468const char kEnableWasmDescription[] =
469 "Enable web pages to use WebAssembly structured cloning.";
470
Brett Wilsonf27ff602017-07-07 22:28:47471const char kEnableImageCaptureAPIName[] = "Image Capture API";
472const char kEnableImageCaptureAPIDescription[] =
473 "Enables the Web Platform Image Capture API: takePhoto(), "
474 "getPhotoCapabilities(), etc.";
475
476const char kEnableZeroSuggestRedirectToChromeName[] =
477 "Experimental contextual omnibox suggestion";
478const char kEnableZeroSuggestRedirectToChromeDescription[] =
479 "Change omnibox contextual suggestions to an experimental source. Note "
480 "that this is not an on/off switch for contextual omnibox and it only "
481 "applies to suggestions provided before the user starts typing a URL or a "
482 "search query (i.e. zero suggest).";
483
484const char kEnableWasmStreamingName[] =
485 "WebAssembly streaming compile/instantiate support.";
486const char kEnableWasmStreamingDescription[] =
487 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
488
489const char kEnableWebfontsInterventionName[] =
490 "New version of User Agent Intervention for WebFonts loading.";
491const char kEnableWebfontsInterventionDescription[] =
492 "Enable New version of User Agent Intervention for WebFonts loading.";
493const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
494const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
495const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
496const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
497 "Enabled: Slow 2G";
498const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
499
500const char kEnableWebfontsInterventionTriggerName[] =
501 "Trigger User Agent Intervention for WebFonts loading always.";
502const char kEnableWebfontsInterventionTriggerDescription[] =
503 "Enable to trigger User Agent Intervention for WebFonts loading always. "
504 "This flag affects only when the intervention is enabled.";
505
506const char kEnableWebNotificationCustomLayoutsName[] =
507 "Enable custom layouts for Web Notifications.";
508const char kEnableWebNotificationCustomLayoutsDescription[] =
509 "Enable custom layouts for Web Notifications. They will have subtle layout "
510 "improvements that are otherwise not possible.";
511
512const char kExpensiveBackgroundTimerThrottlingName[] =
513 "Throttle expensive background timers";
514const char kExpensiveBackgroundTimerThrottlingDescription[] =
515 "Enables intervention to limit CPU usage of background timers to 1%.";
516
517const char kExperimentalAppBannersName[] = "Experimental app banners";
518const char kExperimentalAppBannersDescription[] =
519 "Enables a new experimental app banner flow and UI";
520
521const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
522const char kExperimentalCanvasFeaturesDescription[] =
523 "Enables the use of experimental canvas features which are still in "
524 "development.";
525
526const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
527const char kExperimentalExtensionApisDescription[] =
528 "Enables experimental extension APIs. Note that the extension gallery "
529 "doesn't allow you to upload extensions that use experimental APIs.";
530
531const char kExperimentalFullscreenExitUIName[] =
532 "Experimental fullscreen exit UI";
533const char kExperimentalFullscreenExitUIDescription[] =
534 "Displays experimental UI to allow mouse and touch input methods to exit "
535 "fullscreen mode.";
536
537const char kExperimentalHotwordHardwareName[] =
538 "Simulated hardware 'Ok Google' features";
539const char kExperimentalHotwordHardwareDescription[] =
540 "Enables an experimental version of 'Ok Google' hotword detection features "
541 "that have a hardware dependency.";
542
543const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
544const char kExperimentalKeyboardLockUiDescription[] =
545 "An experimental full screen with keyboard lock mode requiring users to "
546 "hold Esc to exit.";
547
548const char kExperimentalSecurityFeaturesName[] =
549 "Potentially annoying security features";
550const char kExperimentalSecurityFeaturesDescription[] =
551 "Enables several security features that will likely break one or more "
552 "pages that you visit on a daily basis. Strict mixed content checking, for "
553 "example. And locking powerful features to secure contexts. This flag will "
554 "probably annoy you.";
555
556const char kExperimentalWebPlatformFeaturesName[] =
557 "Experimental Web Platform features";
558const char kExperimentalWebPlatformFeaturesDescription[] =
559 "Enables experimental Web Platform features that are in development.";
560
561const char kExtensionContentVerificationName[] =
562 "Extension Content Verification";
563const char kExtensionContentVerificationDescription[] =
564 "This flag can be used to turn on verification that the contents of the "
565 "files on disk for extensions from the webstore match what they're "
566 "expected to be. This can be used to turn on this feature if it would not "
567 "otherwise have been turned on, but cannot be used to turn it off (because "
568 "this setting can be tampered with by malware).";
569const char kExtensionContentVerificationBootstrap[] =
570 "Bootstrap (get expected hashes, but do not enforce them)";
571const char kExtensionContentVerificationEnforce[] =
572 "Enforce (try to get hashes, and enforce them if successful)";
573const char kExtensionContentVerificationEnforceStrict[] =
574 "Enforce strict (hard fail if we can't get hashes)";
575
576const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
577const char kExtensionsOnChromeUrlsDescription[] =
578 "Enables running extensions on chrome:// URLs, where extensions explicitly "
579 "request this permission.";
galinapae72e152017-05-12 13:12:28580
Brett Wilsonecb80982017-07-12 20:34:51581const char kFastUnloadName[] = "Fast tab/window close";
582const char kFastUnloadDescription[] =
583 "Enables fast tab/window closing - runs a tab's onunload js handler "
584 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34585
Brett Wilsonecb80982017-07-12 20:34:51586const char kFeaturePolicyName[] = "Feature Policy";
587const char kFeaturePolicyDescription[] =
588 "Enables granting and removing access to features through the "
589 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34590
Brett Wilsonecb80982017-07-12 20:34:51591const char kFetchKeepaliveTimeoutSettingName[] =
592 "Fetch API keepalive timeout setting";
593const char kFetchKeepaliveTimeoutSettingDescription[] =
594 "This is for setting the timeout value for Fetch API with keepalive option "
595 "and SendBeacon";
596
597const char kFontCacheScalingName[] = "FontCache scaling";
598const char kFontCacheScalingDescription[] =
599 "Reuse a cached font in the renderer to serve different sizes of font for "
600 "faster layout.";
601
602const char kForceEffectiveConnectionTypeName[] =
603 "Override effective connection type";
604const char kForceEffectiveConnectionTypeDescription[] =
605 "Overrides the effective connection type of the current connection "
606 "returned by the network quality estimator.";
607const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
608const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
609const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
610const char kEffectiveConnectionType2GDescription[] = "2G";
611const char kEffectiveConnectionType3GDescription[] = "3G";
612const char kEffectiveConnectionType4GDescription[] = "4G";
613
614const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
615const char kFillOnAccountSelectDescription[] =
616 "Filling of passwords when an account is explicitly selected by the user "
617 "rather than autofilling credentials on page load.";
618
Brett Wilsonecb80982017-07-12 20:34:51619const char kForceTextDirectionName[] = "Force text direction";
620const char kForceTextDirectionDescription[] =
621 "Explicitly force the per-character directionality of UI text to "
622 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
623 "direction of the character language.";
624const char kForceDirectionLtr[] = "Left-to-right";
625const char kForceDirectionRtl[] = "Right-to-left";
626
627const char kForceUiDirectionName[] = "Force UI direction";
628const char kForceUiDirectionDescription[] =
629 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
630 "mode, overriding the default direction of the UI language.";
631
632const char kFramebustingName[] =
633 "Framebusting requires same-origin or a user gesture";
634const char kFramebustingDescription[] =
635 "Don't permit an iframe to navigate the top level browsing context unless "
636 "they are same-origin or the iframe is processing a user gesture.";
637
638const char kGamepadExtensionsName[] = "Gamepad Extensions";
639const char kGamepadExtensionsDescription[] =
640 "Enabling this option allows web applications to access experimental "
641 "extensions to the Gamepad APIs.";
642
sohan3f00ffc2017-07-14 22:28:08643const char kGlCompositedOverlayCandidateQuadBordersName[] =
644 "GL composited overlay candidate quad borders";
645const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39646 "Renders a border around GL composited overlay candidate quads to help "
647 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51648
649const char kGpuRasterizationMsaaSampleCountName[] =
650 "GPU rasterization MSAA sample count.";
651const char kGpuRasterizationMsaaSampleCountDescription[] =
652 "Specify the number of MSAA samples for GPU rasterization.";
653const char kGpuRasterizationMsaaSampleCountZero[] = "0";
654const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
655const char kGpuRasterizationMsaaSampleCountFour[] = "4";
656const char kGpuRasterizationMsaaSampleCountEight[] = "8";
657const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
658
659const char kGpuRasterizationName[] = "GPU rasterization";
660const char kGpuRasterizationDescription[] =
661 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28662const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51663
664const char kGoogleProfileInfoName[] = "Google profile name and icon";
665const char kGoogleProfileInfoDescription[] =
666 "Enables using Google information to populate the profile name and icon in "
667 "the avatar menu.";
668
669const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
670const char kHarfbuzzRendertextDescription[] =
671 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
672 "web content.";
673
674const char kHistoryRequiresUserGestureName[] =
675 "New history entries require a user gesture.";
676const char kHistoryRequiresUserGestureDescription[] =
677 "Require a user gesture to add a history entry.";
678const char kHyperlinkAuditingName[] = "Hyperlink auditing";
679const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
680
681const char kHostedAppQuitNotificationName[] =
682 "Quit notification for hosted apps";
683const char kHostedAppQuitNotificationDescription[] =
684 "Display a notification when quitting Chrome if hosted apps are currently "
685 "running.";
686
687const char kHostedAppShimCreationName[] =
688 "Creation of app shims for hosted apps on Mac";
689const char kHostedAppShimCreationDescription[] =
690 "Create app shims on Mac when creating a hosted app.";
691
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48692const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
693const char kHtmlBasedUsernameDetectorDescription[] =
694 "Use HTML-based username detector for the password manager.";
695
Brett Wilsonecb80982017-07-12 20:34:51696const char kIconNtpName[] = "Large icons on the New Tab page";
697const char kIconNtpDescription[] =
698 "Enable the experimental New Tab page using large icons.";
699
700const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
701const char kIgnoreGpuBlacklistDescription[] =
702 "Overrides the built-in software rendering list and enables "
703 "GPU-acceleration on unsupported system configurations.";
704
705const char kImportantSitesInCbdName[] =
706 "Important sites options in clear browsing data dialog";
707const char kImportantSitesInCbdDescription[] =
708 "Include the option to whitelist important sites in the clear browsing "
709 "data dialog.";
710
711const char kInertVisualViewportName[] = "Inert visual viewport.";
712const char kInertVisualViewportDescription[] =
713 "Experiment to have all APIs reflect the layout viewport. This will make "
714 "window.scroll properties relative to the layout viewport.";
715
716const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
717const char kInProductHelpDemoModeChoiceDescription[] =
718 "Selects the In-Product Help demo mode.";
719
720const char kJavascriptHarmonyName[] = "Experimental JavaScript";
721const char kJavascriptHarmonyDescription[] =
722 "Enable web pages to use experimental JavaScript features.";
723
724const char kJavascriptHarmonyShippingName[] =
725 "Latest stable JavaScript features";
726const char kJavascriptHarmonyShippingDescription[] =
727 "Some web pages use legacy or non-standard JavaScript extensions that may "
728 "conflict with the latest JavaScript features. This flag allows disabling "
729 "support of those features for compatibility with such pages.";
730
Yutaka Hiranof7f2f632017-09-06 10:40:08731const char kKeepAliveRendererForKeepaliveRequestsName[] =
732 "Keep a renderer alive for keepalive fetch requests";
733const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
734 "Keep a render process alive when the process has a pending fetch request "
735 "with `keepalive' specified.";
736
Brett Wilsonecb80982017-07-12 20:34:51737const char kLcdTextName[] = "LCD text antialiasing";
738const char kLcdTextDescription[] =
739 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
740 "(subpixel) when doing accelerated compositing.";
741
742const char kLoadMediaRouterComponentExtensionName[] =
743 "Load Media Router Component Extension";
744const char kLoadMediaRouterComponentExtensionDescription[] =
745 "Loads the Media Router component extension at startup.";
746
747const char kManualPasswordGenerationName[] = "Manual password generation.";
748const char kManualPasswordGenerationDescription[] =
749 "Show a 'Generate Password' option on the context menu for all password "
750 "fields.";
751
Dominic Battref27e8762017-08-23 11:16:25752const char kManualPasswordSavingName[] = "Manual password saving.";
753const char kManualPasswordSavingDescription[] =
754 "Show the password manager icon when typing into a password filed. "
755 "Clicking it allows to save the password without submitting the form.";
756
Brett Wilsonecb80982017-07-12 20:34:51757const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
758const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
759const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
760const char kMarkHttpAsNonSecureAfterEditing[] =
761 "Warn on HTTP after editing forms";
762const char kMarkHttpAsNonSecureWhileIncognito[] =
763 "Warn on HTTP while in Incognito mode";
764const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
765 "Warn on HTTP while in Incognito mode or after editing forms";
766
767extern const char kMaterialDesignIncognitoNTPName[] =
768 "Material Design Incognito NTP.";
769extern const char kMaterialDesignIncognitoNTPDescription[] =
770 "If enabled, the Incognito New Tab page uses the new material design with "
771 "a better readable text.";
772
773const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
774const char kMediaRemotingDescription[] =
775 "When Casting a tab to a remote device, enabling this turns on an "
776 "optimization that forwards the content bitstream directly to the remote "
777 "device when a video is fullscreened.";
778
779const char kMemoryAblationName[] = "Memory ablation experiment";
780const char kMemoryAblationDescription[] =
781 "Allocates extra memory in the browser process.";
782
783const char kMemoryCoordinatorName[] = "Memory coordinator";
784const char kMemoryCoordinatorDescription[] =
785 "Enable memory coordinator instead of memory pressure listeners.";
786
787const char kMessageCenterNewStyleNotificationName[] = "New style notification";
788const char kMessageCenterNewStyleNotificationDescription[] =
789 "Enables the experiment style of material-design notification";
790
Brett Wilsonecb80982017-07-12 20:34:51791const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
792const char kMhtmlGeneratorOptionDescription[] =
793 "Provides experimental options for MHTML file generator.";
794const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
795const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
796
797const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
798const char kMojoLoadingDescription[] =
799 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
800
Miguel Casas-Sanchez10769c82017-07-27 23:52:04801const char kMojoVideoEncodeAcceleratorName[] =
802 "Hardware-accelerated video encoder accessed using Mojo IPC";
803const char kMojoVideoEncodeAcceleratorDescription[] =
804 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
805 "available.";
806
Brett Wilsonecb80982017-07-12 20:34:51807const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
808const char kModuleScriptsDescription[] =
809 "Enables ECMAScript 6 modules support in Blink.";
810
Kouhei Ueno08445c22017-09-05 03:58:30811const char kModuleScriptsDynamicImportName[] =
812 "Enable ECMAScript 6 modules dynamic import";
813const char kModuleScriptsDynamicImportDescription[] =
814 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
815 "Blink.";
816
Brett Wilsonecb80982017-07-12 20:34:51817const char kNewAudioRenderingMixingStrategyName[] =
818 "New audio rendering mixing strategy";
819const char kNewAudioRenderingMixingStrategyDescription[] =
820 "Use the new audio rendering mixing strategy.";
821
822const char kNewBookmarkAppsName[] = "The new bookmark app system";
823const char kNewBookmarkAppsDescription[] =
824 "Enables the new system for creating bookmark apps.";
825
826const char kNewOmniboxAnswerTypesName[] =
827 "New omnibox answers in suggest types";
828const char kNewOmniboxAnswerTypesDescription[] =
829 "Enables new types of answers in the omnibox suggest drop-down: currency "
830 "conversions, dictionary definitions, sports scores, translations, and "
831 "when is.";
832
833const char kNewRemotePlaybackPipelineName[] =
834 "Enable the new remote playback pipeline.";
835const char kNewRemotePlaybackPipelineDescription[] =
836 "Enable the new pipeline for playing media element remotely via "
837 "RemotePlayback API or native controls.";
838
839const char kNewUsbBackendName[] = "Enable new USB backend";
840const char kNewUsbBackendDescription[] =
841 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34842
brettw5f9c1642017-05-14 17:12:48843const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34844const char kNostatePrefetchDescription[] =
845 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
846 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
847 R"*(improve load times even more. "Simple Load" does nothing and is )*"
848 R"*(similar to disabling the feature, but collects more metrics for )*"
849 R"*(comparison purposes.)*";
850
Brett Wilsonecb80982017-07-12 20:34:51851const char kNotificationsNativeFlagName[] = "Enable native notifications.";
852const char kNotificationsNativeFlagDescription[] =
853 "Enable support for using the native notification toasts and notification "
854 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34855
Brett Wilsonecb80982017-07-12 20:34:51856const char kNumRasterThreadsName[] = "Number of raster threads";
857const char kNumRasterThreadsDescription[] =
858 "Specify the number of raster threads.";
859const char kNumRasterThreadsOne[] = "1";
860const char kNumRasterThreadsTwo[] = "2";
861const char kNumRasterThreadsThree[] = "3";
862const char kNumRasterThreadsFour[] = "4";
863
864const char kOfferStoreUnmaskedWalletCardsName[] =
865 "Google Payments card saving checkbox";
866const char kOfferStoreUnmaskedWalletCardsDescription[] =
867 "Show the checkbox to offer local saving of a credit card downloaded from "
868 "the server.";
869
870const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
871const char kOfflineAutoReloadDescription[] =
872 "Pages that fail to load while the browser is offline will be "
873 "auto-reloaded when the browser is online again.";
874
875const char kOfflineAutoReloadVisibleOnlyName[] =
876 "Only Auto-Reload Visible Tabs";
877const char kOfflineAutoReloadVisibleOnlyDescription[] =
878 "Pages that fail to load while the browser is offline will only be "
879 "auto-reloaded if their tab is visible.";
880
881const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
882const char kOffMainThreadFetchDescription[] =
883 "If enabled, the resource fetches from worker threads will not be blocked "
884 "by the busy main thread.";
885
886const char kOmniboxDisplayTitleForCurrentUrlName[] =
887 "Include title for the current URL in the omnibox";
888const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
889 "In the event that the omnibox provides suggestions on-focus, the URL of "
890 "the current page is provided as the first suggestion without a title. "
891 "Enabling this flag causes the title to be displayed.";
892
Benoit Lizeab08362c2017-07-19 14:50:54893const char kOmniboxSpareRendererName[] =
894 "Start spare renderer on omnibox focus";
895const char kOmniboxSpareRendererDescription[] =
896 "When the omnibox is focused, start an empty spare renderer. This can "
897 "speed up the load of the navigation from the omnibox.";
898
Tommy C. Li8875a442017-08-23 00:10:59899const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
900 "Omnibox UI Elide Suggestion URL After Host";
901const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
902 "Elides the path, query, and ref of suggested URLs in the Omnibox "
903 "dropdown.";
904
Brett Wilsonecb80982017-07-12 20:34:51905const char kOmniboxUIHideSuggestionUrlSchemeName[] =
906 "Omnibox UI Hide Suggestion URL Scheme";
907const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
908 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
909
910const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
911 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
912const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
913 "Elides trivially informative subdomains from suggested URLs in the "
914 "Omnibox dropdown (e.g. www. and m.).";
915
916const char kOmniboxUIMaxAutocompleteMatchesName[] =
917 "Omnibox UI Max Autocomplete Matches";
918
919const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
920 "Changes the maximum number of autocomplete matches displayed in the "
921 "Omnibox UI.";
922
923const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
924const char kOmniboxUINarrowDropdownDescription[] =
925 "Makes the suggestions dropdown width match the omnibox width.";
926
Justin Donnelly65c9e8b2017-10-01 05:15:01927const char kOmniboxUIShowSuggestionFaviconsName[] =
928 "Omnibox UI Show Suggestion Favicons";
929const char kOmniboxUIShowSuggestionFaviconsDescription[] =
930 "Shows favicons instead of generic vector icons for URL suggestions in the "
931 "Omnibox dropdown.";
932
933const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
934const char kOmniboxUISwapTitleAndUrlDescription[] =
935 "In the omnibox dropdown, shows titles before URLs when both are "
936 "available.";
937
Brett Wilsonecb80982017-07-12 20:34:51938const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
939const char kOmniboxUIVerticalLayoutDescription[] =
940 "Displays Omnibox sugestions in 2 lines - title over origin.";
941
942const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
943const char kOmniboxUIVerticalMarginDescription[] =
944 "Changes the vertical margin in the Omnibox UI.";
945
946const char kOriginTrialsName[] = "Origin Trials";
947const char kOriginTrialsDescription[] =
948 "Enables origin trials for controlling access to feature/API experiments.";
949
Becca Hughes930d8cd2017-10-02 11:09:12950const char kOverflowIconsForMediaControlsName[] =
951 "Icons on Media Controls Overflow Menu";
952const char kOverflowIconsForMediaControlsDescription[] =
953 "Displays icons on the overflow menu of the native media controls";
954
Brett Wilsonecb80982017-07-12 20:34:51955const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
956const char kOverlayScrollbarsDescription[] =
957 "Enable the experimental overlay scrollbars implementation. You must also "
958 "enable threaded compositing to have the scrollbars animate.";
959
chaopenge8aa016b2017-08-24 15:20:19960const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
961 "Flash Overlay Scrollbars After Any Scroll Update";
962const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
963 "Flash Overlay Scrollbars After any scroll update happends in page. You"
964 " must also enable Overlay Scrollbars.";
965
chaopeng343678022017-08-24 18:45:00966const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
967 "Flash Overlay Scrollbars When Mouse Enter";
968const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
969 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
970 " enable Overlay Scrollbars.";
971
Claudio Magni81326f92017-09-01 05:21:18972const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
973const char kUseNewAcceptLanguageHeaderDescription[] =
974 "Adds the base language code after other corresponding language+region "
975 "codes. This ensures that users receive content in their preferred "
976 "language.";
977
Brett Wilsonecb80982017-07-12 20:34:51978const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
979const char kOverscrollHistoryNavigationDescription[] =
980 "Experimental history navigation in response to horizontal overscroll.";
981const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
982
983const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
984const char kOverscrollStartThresholdDescription[] =
985 "Changes overscroll start threshold relative to the default value.";
986const char kOverscrollStartThreshold133Percent[] = "133%";
987const char kOverscrollStartThreshold166Percent[] = "166%";
988const char kOverscrollStartThreshold200Percent[] = "200%";
989
Xing Liu5400a002017-09-15 21:48:29990const char kParallelDownloadingName[] = "Parallel downloading";
991const char kParallelDownloadingDescription[] =
992 "Enable parallel downloading to"
993 "accelerate download speed.";
994
Brett Wilsonecb80982017-07-12 20:34:51995const char kPassiveEventListenerDefaultName[] =
996 "Passive Event Listener Override";
997const char kPassiveEventListenerDefaultDescription[] =
998 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
999 "haven't requested otherwise) to be treated as passive. This will break "
1000 "touch/wheel behavior on some websites but is useful for demonstrating the "
1001 "potential performance benefits of adopting passive event listeners.";
1002const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1003const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1004
1005const char kPassiveEventListenersDueToFlingName[] =
1006 "Touch Event Listeners Passive Default During Fling";
1007const char kPassiveEventListenersDueToFlingDescription[] =
1008 "Forces touchstart, and first touchmove per scroll event listeners during "
1009 "fling to be treated as passive.";
1010
1011const char kPassiveDocumentEventListenersName[] =
1012 "Document Level Event Listeners Passive Default";
1013const char kPassiveDocumentEventListenersDescription[] =
1014 "Forces touchstart, and touchmove event listeners on document level "
1015 "targets (which haven't requested otherwise) to be treated as passive.";
1016
1017const char kPasswordForceSavingName[] = "Force-saving of passwords";
1018const char kPasswordForceSavingDescription[] =
1019 "Allow the user to manually enforce password saving instead of relying on "
1020 "password manager's heuristics.";
1021
1022const char kPasswordGenerationName[] = "Password generation";
1023const char kPasswordGenerationDescription[] =
1024 "Allow the user to have Chrome generate passwords when it detects account "
1025 "creation pages.";
1026
1027const char kPasswordImportExportName[] = "Password import and export";
1028const char kPasswordImportExportDescription[] =
1029 "Import and Export functionality in password settings.";
1030
Maxim Kolosovskiyd97b94612017-09-19 20:10:391031const char kPasswordSelectionName[] =
1032 "Password selection and eye icon in prompt";
1033const char kPasswordSelectionDescription[] =
1034 "Show a password selector and an eye icon in prompt";
1035
Brett Wilsonecb80982017-07-12 20:34:511036const char kPermissionActionReportingName[] = "Permission Action Reporting";
1037const char kPermissionActionReportingDescription[] =
1038 "Enables permission action reporting to Safe Browsing servers for opted in "
1039 "users.";
1040
1041const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1042const char kPermissionsBlacklistDescription[] =
1043 "Enables the Permissions Blacklist, which blocks permissions for "
1044 "blacklisted sites for Safe Browsing users.";
1045
1046const char kPinchScaleName[] = "Pinch scale";
1047const char kPinchScaleDescription[] =
1048 "Enables experimental support for scale using pinch.";
1049
Brett Wilsonecb80982017-07-12 20:34:511050const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1051const char kPrintPdfAsImageDescription[] =
1052 "If enabled, an option to print PDF files as images will be available in "
1053 "print preview.";
1054
1055const char kPrintPreviewRegisterPromosName[] =
1056 "Print Preview Registration Promos";
1057const char kPrintPreviewRegisterPromosDescription[] =
1058 "Enable registering unregistered cloud printers from print preview.";
1059
1060const char kProtectSyncCredentialName[] = "Autofill sync credential";
1061const char kProtectSyncCredentialDescription[] =
1062 "How the password manager handles autofill for the sync credential.";
1063
1064const char kProtectSyncCredentialOnReauthName[] =
1065 "Autofill sync credential only for transactional reauth pages";
1066const char kProtectSyncCredentialOnReauthDescription[] =
1067 "How the password manager handles autofill for the sync credential only "
1068 "for transactional reauth pages.";
1069
Mohsen Izadi93faac12017-07-29 04:45:151070const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1071const char kPullToRefreshDescription[] =
1072 "Pull-to-refresh gesture in response to vertical overscroll.";
1073
Brett Wilsonecb80982017-07-12 20:34:511074const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1075const char kPushApiBackgroundModeDescription[] =
1076 "Enable background mode for the Push API. This allows Chrome to continue "
1077 "running after the last window is closed, and to launch at OS startup, if "
1078 "the Push API needs it.";
1079
Piotr Swigon46929d12017-08-11 07:16:331080const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1081const char kPwaMinimalUiDescription[] =
1082 "Enables support for Minimal-UI display mode for installed PWAs";
1083
Brett Wilsonecb80982017-07-12 20:34:511084const char kQuicName[] = "Experimental QUIC protocol";
1085const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1086
1087const char kReducedReferrerGranularityName[] =
1088 "Reduce default 'referer' header granularity.";
1089const char kReducedReferrerGranularityDescription[] =
1090 "If a page hasn't set an explicit referrer policy, setting this flag will "
1091 "reduce the amount of information in the 'referer' header for cross-origin "
1092 "requests.";
1093
1094const char kRequestTabletSiteName[] =
1095 "Request tablet site option in the settings menu";
1096const char kRequestTabletSiteDescription[] =
1097 "Allows the user to request tablet site. Web content is often optimized "
1098 "for tablet devices. When this option is selected the user agent string is "
1099 "changed to indicate a tablet device. Web content optimized for tablets is "
1100 "received there after for the current tab.";
1101
1102const char kResetAppListInstallStateName[] =
1103 "Reset the App Launcher install state on every restart.";
1104const char kResetAppListInstallStateDescription[] =
1105 "Reset the App Launcher install state on every restart. While this flag is "
1106 "set, Chrome will forget the launcher has been installed each time it "
1107 "starts. This is used for testing the App Launcher install flow.";
1108
1109const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1110const char kResourceLoadSchedulerDescription[] =
1111 "Uses the resource load scheduler in blink to schedule and throttle "
1112 "resource load requests.";
1113
Brett Wilsonecb80982017-07-12 20:34:511114const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1115const char kSafeSearchUrlReportingDescription[] =
1116 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1117
1118const char kSaveasMenuLabelExperimentName[] =
1119 "Switch 'Save as' menu labels to 'Download'";
1120const char kSaveasMenuLabelExperimentDescription[] =
1121 "Enables an experiment to switch menu labels that use 'Save as...' to "
1122 "'Download'.";
1123
1124const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1125const char kSavePageAsMhtmlDescription[] =
1126 "Enables saving pages as MHTML: a single text file containing HTML and all "
1127 "sub-resources.";
1128
Nate Chapin9638e7102017-09-20 22:11:011129const char kSavePreviousDocumentResourcesName[] =
1130 "Save Previous Document Resources";
1131const char kSavePreviousDocumentResourcesDescription[] =
1132 "Saves an old document's cached resources until the specified point in the "
1133 "next document's lifecycle.";
1134const char kSavePreviousDocumentResourcesNever[] =
1135 "Don't explicitly save resources";
1136const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1137 "Save resources until onDOMContentLoaded completes";
1138const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1139 "Save resources until onload completes";
1140
Brett Wilsonecb80982017-07-12 20:34:511141const char kScrollPredictionName[] = "Scroll prediction";
1142const char kScrollPredictionDescription[] =
1143 "Predicts the finger's future position during scrolls allowing time to "
1144 "render the frame before the finger is there.";
1145
1146const char kSecondaryUiMd[] =
1147 "Material Design in the rest of the browser's native UI";
1148const char kSecondaryUiMdDescription[] =
1149 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1150 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1151 "browser dialogs.";
1152
1153const char kServiceWorkerNavigationPreloadName[] =
1154 "Service worker navigation preload.";
1155const char kServiceWorkerNavigationPreloadDescription[] =
1156 "Enable web pages to use the experimental service worker navigation "
1157 "preload API.";
1158
gogeraldd5061b592017-09-06 23:39:551159const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1160const char kServiceWorkerPaymentAppsDescription[] =
1161 "Enable Service Worker applications to integrate as payment apps";
1162
Makoto Shimazud9f333c2017-08-08 07:23:171163const char kServiceWorkerScriptStreamingName[] =
1164 "Service worker script streaming.";
1165const char kServiceWorkerScriptStreamingDescription[] =
1166 "Installed scripts for a service worker are sent over a dedicated "
1167 "message pipe and data pipes, and that is never be blocked on the main "
1168 "thread.";
1169
Brett Wilsonecb80982017-07-12 20:34:511170const char kSettingsWindowName[] = "Show settings in a window";
1171const char kSettingsWindowDescription[] =
1172 "Settings will be shown in a dedicated window instead of as a browser tab.";
1173
1174const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1175const char kShowAutofillSignaturesDescription[] =
1176 "Annotates web forms with Autofill signatures as HTML attributes.";
1177
1178const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1179const char kShowAutofillTypePredictionsDescription[] =
1180 "Annotates web forms with Autofill field type predictions as placeholder "
1181 "text.";
1182
1183const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1184const char kShowOverdrawFeedbackDescription[] =
1185 "Visualize overdraw by color-coding elements based on if they have other "
1186 "elements drawn underneath.";
1187
1188const char kShowSavedCopyName[] = "Show Saved Copy Button";
1189const char kShowSavedCopyDescription[] =
1190 "When a page fails to load, if a stale copy of the page exists in the "
1191 "browser cache, a button will be presented to allow the user to load that "
1192 "stale copy. The primary enabling choice puts the button in the most "
1193 "salient position on the error page; the secondary enabling choice puts it "
1194 "secondary to the reload button.";
1195const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1196const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1197const char kDisableShowSavedCopy[] = "Disable";
1198
1199const char kShowTouchHudName[] = "Show HUD for touch points";
1200const char kShowTouchHudDescription[] =
1201 "Enables a heads-up display at the top-left corner of the screen that "
1202 "lists information about the touch-points on the screen.";
1203
1204const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1205const char kSilentDebuggerExtensionApiDescription[] =
1206 "Do not show the infobar when an extension attaches to a page via "
1207 "chrome.debugger API. This is required to debug extension background "
1208 "pages.";
1209
1210const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1211const char kSimpleCacheBackendDescription[] =
1212 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1213 "disk space allocation.";
1214
1215const char kSimplifiedFullscreenUiName[] =
1216 "Simplified full screen / mouse lock UI.";
1217const char kSimplifiedFullscreenUiDescription[] =
1218 "A simplified new user experience when entering page-triggered full screen "
1219 "or mouse pointer lock states.";
1220
1221const char kSingleClickAutofillName[] = "Single-click autofill";
1222const char kSingleClickAutofillDescription[] =
1223 "Make autofill suggestions on initial mouse click on a form element.";
1224
1225const char kSiteDetails[] = "Site Details";
1226const char kSiteDetailsDescription[] =
1227 "Adds UI in MD Settings to view all content settings for a specific "
1228 "origin.";
1229
1230const char kSitePerProcessName[] = "Strict site isolation";
1231const char kSitePerProcessDescription[] =
1232 "Highly experimental security mode that ensures each renderer process "
1233 "contains pages from at most one site. In this mode, out-of-process "
1234 "iframes will be used whenever an iframe is cross-site.";
1235
1236const char kSiteSettings[] = "Site settings with All sites and Site details";
1237const char kSiteSettingsDescription[] =
1238 "Adds new ways of viewing Site settings.";
1239
1240const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1241const char kSlimmingPaintInvalidationDescription[] =
1242 "Whether to enable a new paint invalidation system.";
1243
1244const char kSmoothScrollingName[] = "Smooth Scrolling";
1245const char kSmoothScrollingDescription[] =
1246 "Animate smoothly when scrolling page content.";
1247
1248const char kSoftwareRasterizerName[] = "3D software rasterizer";
1249const char kSoftwareRasterizerDescription[] =
1250 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1251
Tommy Steimel77704be2017-08-28 22:14:401252const char kSoundContentSettingName[] = "Sound content setting";
1253const char kSoundContentSettingDescription[] =
1254 "Enable site-wide muting in content settings and tab strip context menu.";
1255
Alexandr Ilinf0500ed32017-09-27 21:12:361256const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1257const char kSpeculativePreconnectDescription[] =
1258 "Enable the new implementation of preconnect and DNS preresolve. "
1259 "\"Learning\" means that only database construction is enabled, "
1260 "\"Preconnect\" enables both learning and preconnect and disables the "
1261 "existing implementation. \"No preconnect\" disables both implementations.";
1262
Brett Wilsonecb80982017-07-12 20:34:511263const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341264const char kSpeculativePrefetchDescription[] =
1265 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1266 R"*(load times, based on a local database (see chrome://predictors). )*"
1267 R"*("Learning" means that only the database construction is enabled, )*"
1268 R"*("Prefetching" that learning and prefetching are enabled.)*";
1269
Justin Donnelly4e448cb2017-07-07 21:32:131270const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1271 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131272const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1273 "If enabled, when the user enters text in the omnibox that looks like a "
1274 "a query, any service worker associated with the search engine the query "
1275 "will be sent to is started early.";
1276
Brett Wilsonecb80982017-07-12 20:34:511277const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1278const char kSpellingFeedbackFieldTrialDescription[] =
1279 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401280
Brett Wilsonecb80982017-07-12 20:34:511281const char kSuggestionsWithSubStringMatchName[] =
1282 "Substring matching for Autofill suggestions";
1283const char kSuggestionsWithSubStringMatchDescription[] =
1284 "Match Autofill suggestions based on substrings (token prefixes) rather "
1285 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341286
Brett Wilsonecb80982017-07-12 20:34:511287const char kSupervisedUserManagedBookmarksFolderName[] =
1288 "Managed bookmarks for supervised users";
1289const char kSupervisedUserManagedBookmarksFolderDescription[] =
1290 "Enable the managed bookmarks folder for supervised users.";
vabr0215a8e2017-03-28 12:47:341291
Brett Wilsonecb80982017-07-12 20:34:511292const char kSyncAppListName[] = "App Launcher sync";
1293const char kSyncAppListDescription[] =
1294 "Enable App Launcher sync. This also enables Folders where available (non "
1295 "OSX).";
vabr0215a8e2017-03-28 12:47:341296
Brett Wilsonecb80982017-07-12 20:34:511297const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1298const char kSyncSandboxDescription[] =
1299 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341300
Brett Wilsonecb80982017-07-12 20:34:511301const char kTabAudioMutingName[] = "Tab audio muting UI control";
1302const char kTabAudioMutingDescription[] =
1303 "When enabled, the audio indicators in the tab strip double as tab audio "
1304 "mute controls. This also adds commands in the tab context menu for "
1305 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341306
Christian Dullweberd0d96f02017-09-13 09:22:511307const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1308const char kTabsInCbdDescription[] =
1309 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1310
Brett Wilsonecb80982017-07-12 20:34:511311const char kTcpFastOpenName[] = "TCP Fast Open";
1312const char kTcpFastOpenDescription[] =
1313 "Enable the option to send extra authentication information in the initial "
1314 "SYN packet for a previously connected client, allowing faster data send "
1315 "start.";
vabr0215a8e2017-03-28 12:47:341316
Brett Wilsonecb80982017-07-12 20:34:511317const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1318const char kTopChromeMdDescription[] =
1319 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1320const char kTopChromeMdMaterial[] = "Normal";
1321const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341322
Brett Wilsonecb80982017-07-12 20:34:511323const char kThreadedScrollingName[] = "Threaded scrolling";
1324const char kThreadedScrollingDescription[] =
1325 "Threaded handling of scroll-related input events. Disabling this will "
1326 "force all such scroll events to be handled on the main thread. Note that "
1327 "this can dramatically hurt scrolling performance of most websites and is "
1328 "intended for testing purposes only.";
1329
Steven Valdez4584b2482017-07-14 01:11:571330const char kTLS13VariantName[] = "TLS 1.3";
1331const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1332const char kTLS13VariantDisabled[] = "Disabled";
1333const char kTLS13VariantDraft[] = "Enabled (Draft)";
1334const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdez2d7b4e82017-07-17 22:22:091335const char kTLS13VariantRecordTypeExperiment[] =
1336 "Enabled (Record Type Experiment)";
Steven Valdez2ee1c4a22017-07-19 20:39:311337const char kTLS13VariantNoSessionIDExperiment[] =
1338 "Enabled (No Session ID Experiment)";
Steven Valdezf00f8782017-09-13 18:05:281339const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
1340const char kTLS13VariantExperiment3[] = "Enabled (Experiment 3)";
Steven Valdez4584b2482017-07-14 01:11:571341
Brett Wilsonecb80982017-07-12 20:34:511342const char kTopDocumentIsolationName[] = "Top document isolation";
1343const char kTopDocumentIsolationDescription[] =
1344 "Highly experimental performance mode where cross-site iframes are kept in "
1345 "a separate process from the top document. In this mode, iframes from "
1346 "different third-party sites will be allowed to share a process.";
1347
1348const char kTouchAdjustmentName[] = "Touch adjustment";
1349const char kTouchAdjustmentDescription[] =
1350 "Refine the position of a touch gesture in order to compensate for touches "
1351 "having poor resolution compared to a mouse.";
1352
1353const char kTouchDragDropName[] = "Touch initiated drag and drop";
1354const char kTouchDragDropDescription[] =
1355 "Touch drag and drop can be initiated through long press on a draggable "
1356 "element.";
1357
1358const char kTouchEventsName[] = "Touch Events API";
1359const char kTouchEventsDescription[] =
1360 "Force Touch Events API feature detection to always be enabled or "
1361 "disabled, or to be enabled when a touchscreen is detected on startup "
1362 "(Automatic, the default).";
1363
1364const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1365const char kTouchSelectionStrategyDescription[] =
1366 "Controls how text selection granularity changes when touch text selection "
1367 "handles are dragged. Non-default behavior is experimental.";
1368const char kTouchSelectionStrategyCharacter[] = "Character";
1369const char kTouchSelectionStrategyDirection[] = "Direction";
1370
1371const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1372const char kTraceUploadUrlDescription[] =
1373 "This is to be used in conjunction with the enable-navigation-tracing "
1374 "flag. Please select the label that best describes the recorded traces. "
1375 "This will choose the destination the traces are uploaded to. If you are "
1376 "not sure, select other. If left empty, no traces will be uploaded.";
1377const char kTraceUploadUrlChoiceOther[] = "Other";
1378const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1379const char kTraceUploadUrlChoiceQa[] = "QA";
1380const char kTraceUploadUrlChoiceTesting[] = "Testing";
1381
1382const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1383const char kTranslate2016q2UiDescription[] =
1384 "Improved triggering logic and look for Translate Bubble UI";
1385
1386const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1387const char kTranslateLanguageByUlpDescription[] =
1388 "Improved translate target language and triggering logic by considering "
1389 "information from User Language Profile (ULP).";
1390
Philippe Hamel7fdaa452017-09-29 17:22:491391const char kTranslateRankerEnforcementName[] =
1392 "Enforce TranslateRanker decisions";
1393const char kTranslateRankerEnforcementDescription[] =
1394 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1395 "or not Translate UI should be triggered in a given context.";
1396
Brett Wilsonecb80982017-07-12 20:34:511397const char kTrySupportedChannelLayoutsName[] =
1398 "Causes audio output streams to check if channel layouts other than the "
1399 "default hardware layout are available.";
1400const char kTrySupportedChannelLayoutsDescription[] =
1401 "Causes audio output streams to check if channel layouts other than the "
1402 "default hardware layout are available. Turning this on will allow the OS "
1403 "to do stereo to surround expansion if supported. May expose third party "
1404 "driver bugs, use with caution.";
1405
1406const char kUiPartialSwapName[] = "Partial swap";
1407const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1408
Chris Pickel3a227ae62017-08-24 10:47:261409const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1410const char kUseDdljsonApiDescription[] =
1411 "Enables the new ddljson API to fetch Doodles for the NTP.";
1412
Brett Wilsonecb80982017-07-12 20:34:511413const char kUserConsentForExtensionScriptsName[] =
1414 "User consent for extension scripts";
1415const char kUserConsentForExtensionScriptsDescription[] =
1416 "Require user consent for an extension running a script on the page, if "
1417 "the extension requested permission to run on all urls.";
1418
1419const char kUseSuggestionsEvenIfFewFeatureName[] =
1420 "Disable minimum for server-side tile suggestions on NTP.";
1421const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1422 "Request server-side suggestions even if there are only very few of them "
1423 "and use them for tiles on the New Tab Page.";
1424
1425const char kV8CacheOptionsName[] = "V8 caching mode.";
1426const char kV8CacheOptionsDescription[] =
1427 "Caching mode for the V8 JavaScript engine.";
1428const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1429const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1430
1431const char kV8CacheStrategiesForCacheStorageName[] =
1432 "V8 caching strategy for CacheStorage.";
1433const char kV8CacheStrategiesForCacheStorageDescription[] =
1434 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1435const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1436const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1437
Hitoshi Yoshida3e5db562017-09-11 02:31:081438const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1439const char kV8ContextSnapshotDescription[] =
1440 "Sets to use a snapshot to create V8 contexts in frame creation.";
1441
Brett Wilsonecb80982017-07-12 20:34:511442const char kVibrateRequiresUserGestureName[] =
1443 "Requiring user gesture for the Vibration API";
1444const char kVibrateRequiresUserGestureDescription[] =
1445 "Block the Vibration API if no user gesture has been received on the frame "
1446 "or any embedded frame.";
1447
1448const char kVideoFullscreenOrientationLockName[] =
1449 "Lock screen orientation when playing a video fullscreen.";
1450const char kVideoFullscreenOrientationLockDescription[] =
1451 "Lock the screen orientation of the device to match video orientation when "
1452 "a video goes fullscreen. Only on phones.";
1453
1454const char kVideoRotateToFullscreenName[] =
1455 "Rotate-to-fullscreen gesture for videos.";
1456const char kVideoRotateToFullscreenDescription[] =
1457 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1458 "the video. Only on phones.";
1459
1460const char kWalletServiceUseSandboxName[] =
1461 "Use Google Payments sandbox servers";
1462const char kWalletServiceUseSandboxDescription[] =
1463 "For developers: use the sandbox service for Google Payments API calls.";
1464
Brett Wilsonecb80982017-07-12 20:34:511465const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1466const char kWebglDraftExtensionsDescription[] =
1467 "Enabling this option allows web applications to access the WebGL "
1468 "Extensions that are still in draft status.";
1469
1470const char kWebMidiName[] = "Web MIDI API";
1471const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1472
1473const char kWebPaymentsName[] = "Web Payments";
1474const char kWebPaymentsDescription[] =
1475 "Enable Web Payments API integration, a JavaScript API for merchants.";
1476
Mathieu Perreault51339b82017-07-20 17:06:051477const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1478const char kWebPaymentsModifiersDescription[] =
1479 "If the website provides modifiers in the payment request, show the custom "
1480 "total for each payment instrument, update the shopping cart when "
1481 "instruments are switched, and send modified payment method specific data "
1482 "to the payment app.";
1483
Brett Wilsonecb80982017-07-12 20:34:511484const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1485const char kWebrtcEchoCanceller3Description[] =
1486 "Experimental WebRTC echo canceller (AEC3).";
1487
1488const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1489const char kWebrtcHwDecodingDescription[] =
1490 "Support in WebRTC for decoding video streams using platform hardware.";
1491
1492const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1493const char kWebrtcHwEncodingDescription[] =
1494 "Support in WebRTC for encoding video streams using platform hardware.";
1495
1496const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1497const char kWebrtcHwH264EncodingDescription[] =
1498 "Support in WebRTC for encoding h264 video streams using platform "
1499 "hardware.";
1500
1501const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1502const char kWebrtcHwVP8EncodingDescription[] =
1503 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1504
1505const char kWebrtcSrtpAesGcmName[] =
1506 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1507const char kWebrtcSrtpAesGcmDescription[] =
1508 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1509
Joachim Bauch4a41d7512017-08-23 14:24:231510const char kWebrtcSrtpEncryptedHeadersName[] =
1511 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1512const char kWebrtcSrtpEncryptedHeadersDescription[] =
1513 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1514 "for SRTP.";
1515
Brett Wilsonecb80982017-07-12 20:34:511516const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1517const char kWebrtcStunOriginDescription[] =
1518 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1519 "header.";
1520
1521const char kWebvrName[] = "WebVR";
1522const char kWebvrDescription[] =
1523 "Enabling this option allows web applications to access experimental "
1524 "Virtual Reality APIs.";
1525
1526const char kWifiCredentialSyncName[] = "WiFi credential sync";
1527const char kWifiCredentialSyncDescription[] =
1528 "Enables synchronizing WiFi network settings across devices. When enabled, "
1529 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1530 "credentials are synchronized subject to user preferences. (See also, "
1531 "chrome://settings/syncSetup.)";
1532
Tom Anderson5c3130ad2017-08-21 19:49:171533const char kWindowNavNativeFlagName[] =
1534 "Enable native window navigation buttons.";
1535const char kWindowNavNativeFlagDescription[] =
1536 "Whether the window frame buttons should be drawn using the system theme. "
1537 "Has no effect unless using the GTK3 theme.";
1538
Brett Wilsonecb80982017-07-12 20:34:511539const char kZeroCopyName[] = "Zero-copy rasterizer";
1540const char kZeroCopyDescription[] =
1541 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341542
Brett Wilsonff596952017-07-14 01:06:551543// Android ---------------------------------------------------------------------
1544
1545#if defined(OS_ANDROID)
1546
1547const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1548const char kAiaFetchingDescription[] =
1549 "Enable intermediate certificate fetching when a server does not provide "
1550 "sufficient certificates to build a chain to a trusted root.";
1551
1552const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1553const char kAccessibilityTabSwitcherDescription[] =
1554 "Enable the accessibility tab switcher for Android.";
1555
1556const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1557const char kAndroidAutofillAccessibilityDescription[] =
1558 "Enable accessibility for autofill popup.";
1559
1560const char kAndroidPaymentAppsName[] = "Android payment apps";
1561const char kAndroidPaymentAppsDescription[] =
1562 "Enable third party Android apps to integrate as payment apps";
1563
Iulia Harasim0b5a4312017-07-21 16:20:501564const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1565const char kAndroidSigninPromosDescription[] =
1566 "New signin promos for Android which will be displayed in content "
1567 "suggestions, Settings, Bookmarks and Recent Tabs.";
1568
Tatiana Gornak38ab3562017-07-28 11:04:181569const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1570const char kAndroidViewPasswordsDescription[] =
1571 "Enables copying and viewing passwords in settings.";
1572
Miriam Gershenson23cfe346e2017-09-28 14:49:291573const char kAsyncDnsName[] = "Async DNS resolver";
1574const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1575
Brett Wilsonff596952017-07-14 01:06:551576const char kAutofillAccessoryViewName[] =
1577 "Autofill suggestions as keyboard accessory view";
1578const char kAutofillAccessoryViewDescription[] =
1579 "Shows Autofill suggestions on top of the keyboard rather than in a "
1580 "dropdown.";
1581
1582const char kBackgroundLoaderForDownloadsName[] =
1583 "Enables background downloading of pages.";
1584const char kBackgroundLoaderForDownloadsDescription[] =
1585 "Enables downloading pages in the background in case page is not yet "
1586 "loaded in current tab.";
1587
Theresa Wellington37014d92017-08-23 02:09:201588const char kChromeHomeDoodleName[] = "Chrome Home Doodle.";
1589const char kChromeHomeDoodleDescription[] =
1590 "Enables showing the Doodle on the NTP for Chrome Home.";
1591
Brett Wilsonff596952017-07-14 01:06:551592const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1593const char kChromeHomeExpandButtonDescription[] =
1594 "Enables the expand button for Chrome Home.";
1595
Matthew Jones4214d2a12017-09-28 18:35:111596const char kChromeHomePromoName[] = "Chrome Home Promo";
1597const char kChromeHomePromoDescription[] =
1598 "Force the Chrome Home promotion to show each time the browser restarts.";
1599
Brett Wilsonff596952017-07-14 01:06:551600const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1601const char kChromeHomeSwipeLogicDescription[] =
1602 "Various swipe logic options for Chrome Home for sheet expansion.";
1603const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
1604const char kChromeHomeSwipeLogicButtonOnly[] = "Swipe on expand button";
1605
1606const char kChromeHomeName[] = "Chrome Home";
1607const char kChromeHomeDescription[] =
1608 "Enables Chrome Home on Android. You must restart the browser"
1609 " twice for changes to take effect.";
1610
1611const char kContentSuggestionsCategoryOrderName[] =
1612 "Default content suggestions category order (e.g. on NTP)";
1613const char kContentSuggestionsCategoryOrderDescription[] =
1614 "Set default order of content suggestion categories (e.g. on the NTP).";
1615
1616const char kContentSuggestionsCategoryRankerName[] =
1617 "Content suggestions category ranker (e.g. on NTP)";
1618const char kContentSuggestionsCategoryRankerDescription[] =
1619 "Set category ranker to order categories of content suggestions (e.g. on "
1620 "the NTP).";
1621
Vitalii Iarkof52ff802017-09-14 12:34:241622const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1623const char kContentSuggestionsDebugLogDescription[] =
1624 "Enable content suggestions debug log accessible through "
1625 "snippets-internals.";
1626
Brett Wilsonff596952017-07-14 01:06:551627const char kContextualSearchContextualCardsBarIntegration[] =
1628 "Contextual Search - Contextual Cards Integration";
1629const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1630 "Whether or not integration of Contextual Cards data in the Contextual "
1631 "Search Bar is enabled.";
1632
1633const char kContextualSearchSingleActionsName[] =
1634 "Contextual Search - Single Actions";
1635const char kContextualSearchSingleActionsDescription[] =
1636 "Whether or not single actions using Contextual Cards data in the "
1637 "Contextual Search Bar is enabled.";
1638
1639const char kContextualSearchUrlActionsName[] =
1640 "Contextual Search - URL Actions";
1641const char kContextualSearchUrlActionsDescription[] =
1642 "Whether or not URL actions using Contextual Cards data in the Contextual "
1643 "Search Bar is enabled.";
1644
1645const char kContextualSearchName[] = "Contextual Search";
1646const char kContextualSearchDescription[] =
1647 "Whether or not Contextual Search is enabled.";
1648
Dmitry Skiba9c3efa72017-07-20 22:01:141649const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1650const char kDontPrefetchLibrariesDescription[] =
1651 "Don't prefetch libraries after loading.";
1652
Brett Wilsonff596952017-07-14 01:06:551653const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1654const char kEnableAndroidPayIntegrationV1Description[] =
1655 "Enable integration with Android Pay using the first version of the API";
1656
1657const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1658const char kEnableAndroidPayIntegrationV2Description[] =
1659 "Enable integration with Android Pay using the second version of the API";
1660
Vitalii Iarkof4ed32d2017-09-26 13:15:531661const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551662const char kEnableAndroidSpellcheckerDescription[] =
1663 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551664
1665const char kEnableContentSuggestionsLargeThumbnailName[] =
1666 "Large thumbnails layout for content suggestions cards.";
1667const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1668 "If enabled, the content suggestions cards will use large thumbnails and "
1669 "some related adjustments.";
1670
Vitalii Iarkof4ed32d2017-09-26 13:15:531671const char kEnableContentSuggestionsNewFaviconServerName[] =
1672 "Get favicons for content suggestions from a new server.";
1673const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1674 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1675 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551676
1677const char kEnableContentSuggestionsSettingsName[] =
1678 "Show content suggestions settings.";
1679const char kEnableContentSuggestionsSettingsDescription[] =
1680 "If enabled, the content suggestions settings will be available from the "
1681 "main settings menu.";
1682
Vitalii Iarkof4ed32d2017-09-26 13:15:531683const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1684 "Use content suggestions thumbnail dominant color.";
1685const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1686 "Use content suggestions thumbnail dominant color as a placeholder before "
1687 "the real thumbnail is fetched (requires Chrome Home).";
1688
1689const char kEnableContentSuggestionsVideoOverlayName[] =
1690 "Video icon overlay on thumbnails for content suggestions cards.";
1691const char kEnableContentSuggestionsVideoOverlayDescription[] =
1692 "If enabled, the content suggestions cards for suggestions with a video "
1693 "will show a video play icon overlay on the thumbnail.";
1694
Brett Wilsonff596952017-07-14 01:06:551695const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1696const char kEnableCopylessPasteDescription[] =
1697 "Provide suggestions for text input, based on your recent context. For "
1698 "example, if you looked at a restaurant website and switched to the Maps "
1699 "app, the keyboard would offer the name of that restaurant as a suggestion "
1700 "to enter into the search bar. The data is indexed locally, and never sent "
1701 "to the server. It's disabled in incognito mode.";
1702
1703const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1704const char kEnableCustomContextMenuDescription[] =
1705 "Enables a new context menu when a link, image, or video is pressed within "
1706 "Chrome.";
1707
1708const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1709const char kEnableCustomFeedbackUiDescription[] =
1710 "Enables a custom feedback UI when submitting feedback through Google "
1711 "Feedback. Works with Google Play Services v10.2+";
1712
1713const char kEnableDataReductionProxyMainMenuName[] =
1714 "Enable Data Saver main menu footer";
1715const char kEnableDataReductionProxyMainMenuDescription[] =
1716 "Enables the Data Saver footer in the main menu";
1717
1718const char kEnableDataReductionProxySiteBreakdownName[] =
1719 "Data Saver Site Breakdown";
1720const char kEnableDataReductionProxySiteBreakdownDescription[] =
1721 "Enable the site breakdown on the Data Saver settings page.";
1722
1723const char kEnableOmniboxClipboardProviderName[] =
1724 "Omnibox clipboard URL suggestions";
1725const char kEnableOmniboxClipboardProviderDescription[] =
1726 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1727 "focus in the omnibox.";
1728
1729const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1730 "Use expanded autofill credit card popup layout.";
1731const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1732 "If enabled, displays autofill credit card popup using expanded layout.";
1733
1734const char kEnableFaviconsFromWebManifestName[] =
1735 "Load favicons from Web Manifests";
1736const char kEnableFaviconsFromWebManifestDescription[] =
1737 "Fetch Web Manifests on page load to read favicons from them.";
1738
1739const char kEnableNtpAssetDownloadSuggestionsName[] =
1740 "Show asset downloads on the New Tab page";
1741const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1742 "If enabled, the list of content suggestions on the New Tab page will "
1743 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1744 "later use.";
1745
1746const char kEnableNtpBookmarkSuggestionsName[] =
1747 "Show recently visited bookmarks on the New Tab page";
1748const char kEnableNtpBookmarkSuggestionsDescription[] =
1749 "If enabled, the list of content suggestions on the New Tab page will "
1750 "contain recently visited bookmarks.";
1751
1752const char kEnableNtpForeignSessionsSuggestionsName[] =
1753 "Show recent foreign tabs on the New Tab page";
1754const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1755 "If enabled, the list of content suggestions on the New Tab page will "
1756 "contain recent foreign tabs.";
1757
1758const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1759 "Download favicons for NTP tiles from Google.";
1760const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1761 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1762 "This only applies to tiles that originate from synced history.";
1763
Jan Krcal7fadbd32017-08-04 10:49:211764const char kNtpTilesLowerResolutionFaviconsName[] =
1765 "Show also lower resolution favicons in NTP tiles.";
1766const char kNtpTilesLowerResolutionFaviconsDescription[] =
1767 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1768 "decreases. Tiles where the largest available favicon is below this limit "
1769 "get displayed as colored tiles.";
1770
Brett Wilsonff596952017-07-14 01:06:551771const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1772 "Show offline page downloads on the New Tab page";
1773const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1774 "If enabled, the list of content suggestions on the New Tab page will "
1775 "contain pages that the user downloaded for later use.";
1776
1777const char kEnableNtpRemoteSuggestionsName[] =
1778 "Show server-side suggestions on the New Tab page";
1779const char kEnableNtpRemoteSuggestionsDescription[] =
1780 "If enabled, the list of content suggestions on the New Tab page will "
1781 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1782 "allows to override the source used to retrieve these server-side "
1783 "suggestions.";
1784
1785const char kEnableNtpSnippetsVisibilityName[] =
1786 "Make New Tab Page Snippets more visible.";
1787const char kEnableNtpSnippetsVisibilityDescription[] =
1788 "If enabled, the NTP snippets will become more discoverable with a larger "
1789 "portion of the first card above the fold.";
1790
1791const char kEnableNtpSuggestionsNotificationsName[] =
1792 "Notify about new content suggestions available at the New Tab page";
1793const char kEnableNtpSuggestionsNotificationsDescription[] =
1794 "If enabled, notifications will inform about new content suggestions on "
1795 "the New Tab page.";
1796
1797const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1798const char kEnablePhysicalWebDescription[] =
1799 "Enable scanning for URLs from Physical Web objects.";
1800
1801const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1802const char kEnableOfflinePreviewsDescription[] =
1803 "Enable showing offline page previews on slow networks.";
1804
1805const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1806const char kEnableOskOverscrollDescription[] =
1807 "Enable OSK overscroll support. With this flag on, the OSK will only "
1808 "resize the visual viewport.";
1809
1810const char kEnableSpecialLocaleName[] =
1811 "Enable custom logic for special locales.";
1812const char kEnableSpecialLocaleDescription[] =
1813 "Enable custom logic for special locales. In this mode, Chrome might "
1814 "behave differently in some locales.";
1815
Brett Wilsonff596952017-07-14 01:06:551816const char kEnableWebNfcName[] = "WebNFC";
1817const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1818
gogeraldf3cbb422017-07-26 14:37:121819const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1820 "Enable Web Payments method section order V2.";
1821const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1822 "Enable this option to display payment method section above address "
1823 "section instead of below it.";
1824
Brett Wilsonff596952017-07-14 01:06:551825const char kEnableWebPaymentsSingleAppUiSkipName[] =
1826 "Enable Web Payments single app UI skip";
1827const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1828 "Enable Web Payments to skip showing its UI if the developer specifies a "
1829 "single app.";
1830
1831const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1832const char kHerbPrototypeChoicesDescription[] =
1833 "Switching this option changes which tab management prototype is being "
1834 "tested.";
1835const char kHerbPrototypeFlavorElderberry[] =
1836 "ELDERBERRY: All View Intents in CCT v2";
1837
1838const char kKeepPrefetchedContentSuggestionsName[] =
1839 "Keep prefetched content suggestions";
1840const char kKeepPrefetchedContentSuggestionsDescription[] =
1841 "If enabled, some of prefetched content suggestions are not replaced by "
1842 "the new fetched suggestions.";
1843
1844const char kLsdPermissionPromptName[] =
1845 "Location Settings Dialog Permission Prompt";
1846const char kLsdPermissionPromptDescription[] =
1847 "Whether to use the Google Play Services Location Settings Dialog "
1848 "permission dialog.";
1849
Brett Wilsonff596952017-07-14 01:06:551850const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1851const char kMediaScreenCaptureDescription[] =
1852 "Enable this option for experimental ScreenCapture feature on Android.";
1853
1854const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1855const char kModalPermissionPromptsDescription[] =
1856 "Whether to use permission dialogs in place of permission infobars.";
1857
Brett Wilsonff596952017-07-14 01:06:551858const char kNewPhotoPickerName[] = "Enable new Photopicker";
1859const char kNewPhotoPickerDescription[] =
1860 "Activates the new picker for selecting photos.";
1861
1862const char kNoCreditCardAbort[] = "No Credit Card Abort";
1863const char kNoCreditCardAbortDescription[] =
1864 "Whether or not the No Credit Card Abort is enabled.";
1865
1866const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1867const char kNtpCondensedLayoutDescription[] =
1868 "Show a condensed layout on the New Tab Page.";
1869
1870const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1871const char kNtpCondensedTileLayoutDescription[] =
1872 "Show a condensed tile layout on the New Tab Page.";
1873
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041874const char kSiteExplorationUiName[] = "Site Exploration UI";
1875const char kSiteExplorationUiDescription[] =
1876 "Show site suggestions in the Exploration UI";
1877
Brett Wilsonff596952017-07-14 01:06:551878const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1879const char kNtpGoogleGInOmniboxDescription[] =
1880 "Show a Google G in the omnibox on the New Tab Page.";
1881
1882const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1883const char kNtpOfflinePagesDescription[] =
1884 "Enables badging of offline pages on the New Tab page. Only relevant if "
1885 "offline pages are enabled.";
1886
1887const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1888const char kNtpPopularSitesDescription[] =
1889 "Pre-populate the New Tab page with popular sites.";
1890
Brett Wilsonff596952017-07-14 01:06:551891const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1892const char kOfflineBookmarksDescription[] =
1893 "Enable saving bookmarked pages for offline viewing.";
1894
1895const char kOfflinePagesAsyncDownloadName[] =
1896 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1897const char kOfflinePagesAsyncDownloadDescription[] =
1898 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1899 R"*(that the user can click on it to download the page later.)*";
1900
1901const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1902const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1903
1904const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1905const char kOfflinePagesCtV2Description[] =
1906 "V2 features include attributing pages to the app that initiated the "
1907 "custom tabs, and being able to query for pages by page attribution.";
1908
1909const char kOfflinePagesLoadSignalCollectingName[] =
1910 "Enables collecting load timing data for offline page snapshots.";
1911const char kOfflinePagesLoadSignalCollectingDescription[] =
1912 "Enables loading completeness data collection while writing an offline "
1913 "page. This data is collected in the snapshotted offline page to allow "
1914 "data analysis to improve deciding when to make the offline snapshot.";
1915
1916const char kOfflinePagesPrefetchingName[] =
1917 "Enables suggested offline pages to be prefetched.";
1918const char kOfflinePagesPrefetchingDescription[] =
1919 "Enables suggested offline pages to be prefetched, so useful content is "
1920 "available while offline.";
1921
Cathy Li3d5379e2017-09-07 00:11:091922const char kOfflinePagesPrefetchingUIName[] =
1923 "Enables prefetched offline pages to be shown in UI.";
1924const char kOfflinePagesPrefetchingUIDescription[] =
1925 "Enables prefetched offline pages to raise notifications and be shown in "
1926 "download home UI.";
1927
Pete Williamson7845dff2017-09-20 11:06:191928const char kOfflinePagesResourceBasedSnapshotName[] =
1929 "Enables offline page snapshots to be based on percentage of page loaded.";
1930const char kOfflinePagesResourceBasedSnapshotDescription[] =
1931 "Enables offline page snapshots to use a resource percentage based "
1932 "approach for determining when the page is loaded as opposed to a time "
1933 "based approach";
1934
Collin Baker17f92a52017-07-19 21:41:251935const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1936const char kOfflinePagesRenovationsDescription[] =
1937 "Enables offline page renovations which correct issues with dynamic "
1938 "content that occur when offlining pages that use JavaScript.";
1939
Brett Wilsonff596952017-07-14 01:06:551940const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1941const char kOfflinePagesSharingDescription[] =
1942 "Enables the saved offline pages to be shared via other applications.";
1943
1944const char kOfflinePagesSvelteConcurrentLoadingName[] =
1945 "Enables concurrent background loading on svelte.";
1946const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1947 "Enables concurrent background loading (or downloading) of pages on "
1948 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1949 "happen when the svelte device is idle.";
1950
1951const char kOffliningRecentPagesName[] =
1952 "Enable offlining of recently visited pages";
1953const char kOffliningRecentPagesDescription[] =
1954 "Enable storing recently visited pages locally for offline use. Requires "
1955 "Offline Pages to be enabled.";
1956
1957extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1958extern const char kPayWithGoogleV1Description[] =
1959 "Enable Pay with Google integration into Web Payments with API version "
1960 "'1'.";
1961
Matthew Jones7c37430cd2017-09-11 15:59:281962const char kProgressBarThrottleName[] = "Android progress update throttling.";
1963const char kProgressBarThrottleDescription[] =
1964 "Limit the maximum progress update to make progress appear smoother.";
1965
Brett Wilsonff596952017-07-14 01:06:551966const char kProgressBarCompletionName[] =
1967 "Android phone page load progress bar completion time.";
1968const char kProgressBarCompletionDescription[] =
1969 "Configures Android phone page loading progress bar completion time.";
1970const char kProgressBarCompletionLoadEvent[] =
1971 R"*(Top loading frame's onload event ("everything" is done in the )*"
1972 R"*(page, historical behavior).)*";
1973const char kProgressBarCompletionResourcesBeforeDcl[] =
1974 "Main frame's domContentLoaded and all resources loads started before "
1975 "domContentLoaded (iframes ignored).";
1976const char kProgressBarCompletionDomContentLoaded[] =
1977 "Main frame's domContentLoaded (iframes ignored).";
1978const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1979 "domContentLoaded and all resources loads started before domContentLoaded "
1980 "(main frame and same origin iframes).";
1981
1982const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1983const char kPullToRefreshEffectDescription[] =
1984 "Page reloads triggered by vertically overscrolling content.";
1985
Piotr Swigon7c296ef2017-08-29 04:32:001986const char kPwaImprovedSplashScreenName[] =
1987 "Improved Splash Screen for standalone PWAs";
1988const char kPwaImprovedSplashScreenDescription[] =
1989 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
1990 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:491991const char kPwaPersistentNotificationName[] =
1992 "Persistent notification in standalone PWA";
1993const char kPwaPersistentNotificationDescription[] =
1994 "Enables a persistent Android notification for standalone PWAs";
1995
Brett Wilsonff596952017-07-14 01:06:551996const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1997const char kReaderModeHeuristicsDescription[] =
1998 "Determines what pages the Reader Mode infobar is shown on.";
1999const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2000const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2001const char kReaderModeHeuristicsAllArticles[] = "All articles";
2002const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2003const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2004
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182005const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2006const char kReaderModeInCCTDescription[] =
2007 "Open Reader Mode in Chrome Custom Tabs.";
2008
Brett Wilsonff596952017-07-14 01:06:552009const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2010const char kSetMarketUrlForTestingDescription[] =
2011 "When enabled, sets the market URL for use in testing the update menu "
2012 "item.";
2013
2014const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2015const char kSpannableInlineAutocompleteDescription[] =
2016 "A new type of inline autocomplete for the omnibox that works with "
2017 "keyboards that compose text.";
2018
Brett Wilsonff596952017-07-14 01:06:552019const char kTranslateCompactUIName[] = "New Translate Infobar";
2020const char kTranslateCompactUIDescription[] =
2021 "Enable the new Translate compact infobar UI.";
2022
2023const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2024const char kUpdateMenuBadgeDescription[] =
2025 "When enabled, an update badge will be shown on the app menu button.";
2026
2027const char kUpdateMenuItemCustomSummaryDescription[] =
2028 "When this flag and the force show update menu item flag are enabled, a "
2029 "custom summary string will be displayed below the update menu item.";
2030const char kUpdateMenuItemCustomSummaryName[] =
2031 "Update menu item custom summary";
2032
2033const char kUpdateMenuItemName[] = "Force show update menu item";
2034const char kUpdateMenuItemDescription[] =
2035 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2036 R"*(menu.)*";
2037
2038const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2039const char kUseAndroidMidiApiDescription[] =
2040 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2041 "devices).";
2042
Marc Treib93af46a2017-08-23 13:30:002043const char kThirdPartyDoodlesName[] =
2044 "Enable Doodles for third-party search engines";
2045const char kThirdPartyDoodlesDescription[] =
2046 "Enables fetching and displaying Doodles on the NTP for third-party search "
2047 "engines.";
2048
Brett Wilsonff596952017-07-14 01:06:552049const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
2050const char kXGEOVisibleNetworksDescription[] =
2051 "If location permissions are granted, include visible networks in the XGEO "
2052 "Header for omnibox queries. This will only happen if location is not "
2053 "fresh or not available (for example, due to a cold start).";
2054
Brett Wilson7b44537e2017-08-18 01:38:282055// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552056
Brett Wilson7b44537e2017-08-18 01:38:282057#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482058
Brett Wilson7b44537e2017-08-18 01:38:282059const char kAccountConsistencyName[] =
2060 "Identity consistency between browser and cookie jar";
2061const char kAccountConsistencyDescription[] =
2062 "When enabled, the browser manages signing in and out of Google accounts.";
2063const char kAccountConsistencyChoiceMirror[] = "Mirror";
2064const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342065
Chris Pickel3a227ae62017-08-24 10:47:262066const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2067const char kDoodlesOnLocalNtpDescription[] =
2068 "Show doodles on the local New Tab page if Google is the default search "
2069 "engine.";
2070
mlamouriff56c092017-05-11 15:31:392071const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392072const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342073 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392074const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392075const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392076const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342077 "Enabled (Flash lowers volume when interrupted by other sound, "
2078 "experimental)";
2079
Brett Wilson7b44537e2017-08-18 01:38:282080const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2081const char kEnableNewAppMenuIconDescription[] =
2082 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342083
2084const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342085const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282086 "Enable receiving entity suggestions - disambiguation descriptions - for "
2087 "Omnibox suggestions.";
2088
2089const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2090const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192091 "Enable receiving tail suggestions, a type of search suggestion based on "
2092 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342093
Brett Wilson7b44537e2017-08-18 01:38:282094const char kOneGoogleBarOnLocalNtpName[] =
2095 "Enable the OneGoogleBar on the local NTP";
2096const char kOneGoogleBarOnLocalNtpDescription[] =
2097 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2098 "search engine.";
2099
ojan38c678352017-04-11 20:27:552100const char kPauseBackgroundTabsName[] = "Pause background tabs";
2101const char kPauseBackgroundTabsDescription[] =
2102 "Pause timers in background tabs after 5 minutes on desktop.";
2103
Brett Wilson7b44537e2017-08-18 01:38:282104const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2105const char kUseGoogleLocalNtpDescription[] =
2106 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322107
Brett Wilson7b44537e2017-08-18 01:38:282108const char kVoiceSearchOnLocalNtpName[] =
2109 "Enable Voice Search on the local NTP";
2110const char kVoiceSearchOnLocalNtpDescription[] =
2111 "Show a microphone for voice search on the local New Tab page "
2112 "if Google is the default search engine.";
2113
2114#if defined(GOOGLE_CHROME_BUILD)
2115
2116const char kGoogleBrandedContextMenuName[] =
2117 "Google branding in the context menu";
2118const char kGoogleBrandedContextMenuDescription[] =
2119 "Shows a Google icon next to context menu items powered by Google "
2120 "services.";
2121
2122#endif // !defined(GOOGLE_CHROME_BUILD)
2123
2124#endif // !defined(OS_ANDROID)
2125
2126// Windows ---------------------------------------------------------------------
2127
2128#if defined(OS_WIN)
2129
2130const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2131const char kCloudPrintXpsDescription[] =
2132 "XPS enables advanced options for classic printers connected to the Cloud "
2133 "Print with Chrome. Printers must be re-connected after changing this "
2134 "flag.";
2135
Dave Tapuskadd43469d2017-08-22 22:15:532136const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2137const char kDirectManipulationStylusDescription[] =
2138 "If enabled, Chrome will scroll web pages on stylus drag.";
2139
Brett Wilson7b44537e2017-08-18 01:38:282140const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2141const char kDisablePostscriptPrintingDescription[] =
2142 "Disables PostScript generation when printing to PostScript capable "
2143 "printers, and uses EMF generation in its place.";
2144
2145const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2146const char kEnableAppcontainerDescription[] =
2147 "Enables the use of an AppContainer on sandboxed processes to improve "
2148 "security.";
2149
2150const char kEnableD3DVsync[] = "D3D v-sync";
2151const char kEnableD3DVsyncDescription[] =
2152 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2153 "to occur.";
2154
2155const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2156const char kEnableDesktopIosPromotionsDescription[] =
2157 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2158 "eligible.";
2159
2160const char kGdiTextPrinting[] = "GDI Text Printing";
2161const char kGdiTextPrintingDescription[] =
2162 "Use GDI to print text as simply text";
2163
2164const char kMergeKeyCharEventsName[] =
2165 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2166 "(WM_CHAR).";
2167const char kMergeKeyCharEventsDescription[] =
2168 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2169
2170const char kTraceExportEventsToEtwName[] =
2171 "Enable exporting of tracing events to ETW.";
2172const char kTraceExportEventsToEtwDesription[] =
2173 "If enabled, trace events will be exported to the Event Tracing for "
2174 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2175 "Xperf.";
2176
2177const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2178const char kUseWinrtMidiApiDescription[] =
2179 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2180 "later).";
2181
2182const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2183const char kWindows10CustomTitlebarDescription[] =
2184 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2185 "deferring to Windows.";
2186
Wez6656c572017-08-29 22:29:582187#if DCHECK_IS_ON() && defined(SYZYASAN)
2188extern const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2189extern const char kSyzyAsanDcheckIsFatalDescription[] =
2190 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2191 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2192#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2193
Brett Wilson7b44537e2017-08-18 01:38:282194#endif // defined(OS_WIN)
2195
2196// Mac -------------------------------------------------------------------------
2197
2198#if defined(OS_MACOSX)
2199
2200const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2201const char kAppInfoDialogDescription[] =
2202 "Makes the Toolkit-Views based App Info dialog accessible from "
2203 "chrome://apps or chrome://extensions in place of the native extension "
2204 "permissions dialog, or the details link (which is a link to the Web "
2205 "Store).";
2206
2207const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2208const char kAppWindowCyclingDescription[] =
2209 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2210 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2211 "browser window, and browser windows will not be cycled when a Chrome App "
2212 "is active.";
2213
2214extern const char kCreditCardAutofillTouchBarName[] =
2215 "Credit Card Autofill Touch Bar";
2216extern const char kCreditCardAutofillTouchBarDescription[] =
2217 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2218
2219const char kFullscreenToolbarRevealName[] =
2220 "Enables the toolbar in fullscreen to reveal itself.";
2221const char kFullscreenToolbarRevealDescription[] =
2222 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2223 "has changed.";
2224
2225const char kContentFullscreenName[] = "Improved Content Fullscreen";
2226const char kContentFullscreenDescription[] =
2227 "Fullscreen content window detaches from main browser window and goes to "
2228 "a new space without moving or changing the original browser window.";
2229
2230extern const char kDialogTouchBarName[] = "Dialog Touch Bar";
2231extern const char kDialogTouchBarDescription[] =
2232 "Shows Dialog buttons on the Touch Bar.";
2233
2234const char kHostedAppsInWindowsName[] =
2235 "Allow hosted apps to be opened in windows";
2236const char kHostedAppsInWindowsDescription[] =
2237 "Allows hosted apps to be opened in windows instead of being limited to "
2238 "tabs.";
2239
2240extern const char kMacRTLName[] = "Enable RTL";
2241extern const char kMacRTLDescription[] =
2242 "Mirrors the UI for RTL language users";
2243
2244extern const char kMacTouchBarName[] = "Hardware Touch Bar";
2245extern const char kMacTouchBarDescription[] =
2246 "Control the use of the Touch Bar.";
2247
2248const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2249const char kMacV2SandboxDescription[] =
2250 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2251 "entire life cycle.";
2252
2253const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2254const char kMacViewsNativeAppWindowsDescription[] =
2255 "Controls whether to use Toolkit-Views based Chrome App windows.";
2256
2257const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2258const char kMacViewsTaskManagerDescription[] =
2259 "Controls whether to use the Toolkit-Views based Task Manager.";
2260
2261const char kTabDetachingInFullscreenName[] =
2262 "Allow tab detaching in fullscreen";
2263const char kTabDetachingInFullscreenDescription[] =
2264 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2265
2266const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2267const char kTabStripKeyboardFocusDescription[] =
2268 "Enable keyboard focus for the tabs in the tab strip.";
2269
2270const char kTranslateNewUxName[] = "New Translate UX";
2271const char kTranslateNewUxDescription[] =
2272 "Enable the new Translate bubble UX is offered instead of the infobar.";
2273
2274// Non-Mac ---------------------------------------------------------------------
2275
2276#else // !defined(OS_MACOSX)
2277
2278const char kPermissionPromptPersistenceToggleName[] =
2279 "Persistence Toggle in Permission Prompts";
2280const char kPermissionPromptPersistenceToggleDescription[] =
2281 "Whether to display a persistence toggle in permission prompts.";
2282
2283#endif
2284
2285// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342286
2287#if defined(OS_CHROMEOS)
2288
Brett Wilson7b44537e2017-08-18 01:38:282289const char kAcceleratedMjpegDecodeName[] =
2290 "Hardware-accelerated mjpeg decode for captured frame";
2291const char kAcceleratedMjpegDecodeDescription[] =
2292 "Enable hardware-accelerated mjpeg decode for captured frame where "
2293 "available.";
vabr0215a8e2017-03-28 12:47:342294
Brett Wilson7b44537e2017-08-18 01:38:282295const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2296const char kAllowTouchpadThreeFingerClickDescription[] =
2297 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342298
Brett Wilson7b44537e2017-08-18 01:38:282299const char kArcBootCompleted[] = "Load Android apps automatically";
2300const char kArcBootCompletedDescription[] =
2301 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342302
Lev Rumyantsev7a8544312017-08-18 19:26:512303const char kArcNativeBridgeExperimentName[] =
2304 "Enable native bridge experiment for ARC";
2305const char kArcNativeBridgeExperimentDescription[] =
2306 "Enables experimental native bridge feature.";
2307
Brett Wilson7b44537e2017-08-18 01:38:282308const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2309const char kAshEnableUnifiedDesktopDescription[] =
2310 "Enable unified desktop mode which allows a window to span multiple "
2311 "displays.";
vabr0215a8e2017-03-28 12:47:342312
Brett Wilson7b44537e2017-08-18 01:38:282313const char kBootAnimationName[] = "Boot animation";
2314const char kBootAnimationDescription[] =
2315 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342316
Brett Wilson7b44537e2017-08-18 01:38:282317const char kCaptivePortalBypassProxyName[] =
2318 "Bypass proxy for Captive Portal Authorization";
2319const char kCaptivePortalBypassProxyDescription[] =
2320 "If proxy is configured, it usually prevents from authorization on "
2321 "different captive portals. This enables opening captive portal "
2322 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342323
Brett Wilson7b44537e2017-08-18 01:38:282324const char kCrOSComponentName[] = "Chrome OS Component";
2325const char kCrOSComponentDescription[] =
2326 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342327
Xiaochu Liu51d03fd2017-09-08 23:51:022328const char kCrOSContainerName[] = "Chrome OS Container";
2329const char kCrOSContainerDescription[] =
2330 "Enable the use of Chrome OS Container utility.";
2331
Brett Wilson7b44537e2017-08-18 01:38:282332const char kCrosRegionsModeName[] = "Cros-regions load mode";
2333const char kCrosRegionsModeDescription[] =
2334 "This flag controls cros-regions load mode";
2335const char kCrosRegionsModeDefault[] = "Default";
2336const char kCrosRegionsModeOverride[] = "Override VPD values.";
2337const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342338
Jacob Dufault2becbc482017-08-25 00:36:352339const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2340const char kDisableLockScreenAppsDescription[] =
2341 "Disable new-note action handler apps on the lock screen. The user will "
2342 "not be able to launch the preferred note-taking action from the lock "
2343 "screen, provided that the app supports lock screen note taking.";
2344
Brett Wilson7b44537e2017-08-18 01:38:282345const char kDisableNewVirtualKeyboardBehaviorName[] =
2346 "New window behavior for the accessibility keyboard";
2347const char kDisableNewVirtualKeyboardBehaviorDescription[] =
2348 "Disable new window behavior for the accessibility keyboard in non-sticky "
2349 "mode (do not change work area in non-sticky mode).";
vabr0215a8e2017-03-28 12:47:342350
Sammie Quonef6b4882017-09-14 16:50:052351const char kDisableTabletAutohideTitlebarsName[] =
2352 "Disable autohide titlebars in tablet mode";
2353const char kDisableTabletAutohideTitlebarsDescription[] =
2354 "Disable tablet mode autohide titlebars functionality. The user will be "
2355 "able to see the titlebar in tablet mode.";
2356
Brett Wilson7b44537e2017-08-18 01:38:282357const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2358const char kEnablePerUserTimezoneDescription[] =
2359 "Chrome OS system timezone preference is stored and handled for each user "
2360 "individually.";
vabr0215a8e2017-03-28 12:47:342361
Brett Wilson7b44537e2017-08-18 01:38:282362const char kDisableSystemTimezoneAutomaticDetectionName[] =
2363 "SystemTimezoneAutomaticDetection policy support";
2364const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2365 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342366
newcomer403ac142017-07-05 18:26:302367const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
newcomer403ac142017-07-05 18:26:302368const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192369 "The peeking launcher UI supports touch and provides more space for "
2370 "upcoming features.";
newcomer403ac142017-07-05 18:26:302371
Alex Newcomer43cb7f12017-07-28 17:37:392372extern const char kEnableBackgroundBlurName[] = "Enable background blur.";
2373extern const char kEnableBackgroundBlurDescription[] =
2374 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2375 "Switcher.";
2376
Brett Wilson7b44537e2017-08-18 01:38:282377const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2378const char kEnableAndroidWallpapersAppDescription[] =
2379 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2380 "OS.";
vabr0215a8e2017-03-28 12:47:342381
Brett Wilson7b44537e2017-08-18 01:38:282382const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2383const char kEnableChromevoxArcSupportDescription[] =
2384 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342385
Brett Wilson7b44537e2017-08-18 01:38:282386const char kEnableEhvInputName[] =
2387 "Emoji, handwriting and voice input on opt-in IME menu";
2388const char kEnableEhvInputDescription[] =
2389 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342390
Brett Wilson7b44537e2017-08-18 01:38:282391const char kEnableEncryptionMigrationName[] =
2392 "Enable encryption migration of user data";
2393const char kEnableEncryptionMigrationDescription[] =
2394 "If enabled and the device supports ARC, the user will be asked to update "
2395 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342396
Klemen Kozjekf2b30e452017-09-01 05:04:512397const char kEnableExternalDriveRename[] = "Enable external drive rename";
2398const char kEnableExternalDriveRenameDescription[] =
2399 "If enabled, external removable drives will get 'Rename' action in the "
2400 "context menu";
2401
Brett Wilson7b44537e2017-08-18 01:38:282402const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2403const char kEnableImeMenuDescription[] =
2404 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342405
Brett Wilson7b44537e2017-08-18 01:38:282406const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
2407const char kEnableZipArchiverOnFileManagerDescription[] =
2408 "Enable the ability to archive and unpack files on Drive in the Files app";
2409
2410const char kEolNotificationName[] = "Disable Device End of Life notification.";
2411const char kEolNotificationDescription[] =
2412 "Disable Notifcation when Device is End of Life.";
2413
2414const char kExperimentalAccessibilityFeaturesName[] =
2415 "Experimental accessibility features";
2416const char kExperimentalAccessibilityFeaturesDescription[] =
2417 "Enable additional accessibility features in the Settings page.";
2418
2419const char kExperimentalInputViewFeaturesName[] =
2420 "Experimental input view features";
2421const char kExperimentalInputViewFeaturesDescription[] =
2422 "Enable experimental features for IME input views.";
2423
2424const char kFileManagerTouchModeName[] = "Files App. touch mode";
2425const char kFileManagerTouchModeDescription[] =
2426 "Touchscreen-specific interactions of the Files app.";
2427
2428const char kFirstRunUiTransitionsName[] =
2429 "Animated transitions in the first-run tutorial";
2430const char kFirstRunUiTransitionsDescription[] =
2431 "Transitions during first-run tutorial are animated.";
2432
2433const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2434const char kFloatingVirtualKeyboardDescription[] =
2435 "Enable/Disable floating virtual keyboard.";
2436
2437const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2438const char kForceEnableStylusToolsDescription[] =
2439 "Forces display of the stylus tools menu in the shelf and the stylus "
2440 "section in settings, even if there is no attached stylus device.";
2441
2442const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2443const char kGestureEditingDescription[] =
2444 "Enable/Disable gesture editing option in the settings page for the "
2445 "virtual keyboard.";
2446
2447const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2448const char kGestureTypingDescription[] =
2449 "Enable/Disable gesture typing option in the settings page for the virtual "
2450 "keyboard.";
2451
2452const char kInputViewName[] = "Input views";
2453const char kInputViewDescription[] =
2454 "Enable IME extensions to supply custom views for user input such as "
2455 "virtual keyboards.";
2456
2457const char kMemoryPressureThresholdName[] =
2458 "Memory discard strategy for advanced pressure handling";
2459const char kMemoryPressureThresholdDescription[] =
2460 "Memory discarding strategy to use";
2461const char kConservativeThresholds[] =
2462 "Conservative memory pressure release strategy";
2463const char kAggressiveCacheDiscardThresholds[] =
2464 "Aggressive cache release strategy";
2465const char kAggressiveTabDiscardThresholds[] =
2466 "Aggressive tab release strategy";
2467const char kAggressiveThresholds[] =
2468 "Aggressive tab and cache release strategy";
2469
2470const char kMtpWriteSupportName[] = "MTP write support";
2471const char kMtpWriteSupportDescription[] =
2472 "MTP write support in File System API (and file manager). In-place editing "
2473 "operations are not supported.";
2474
2475const char kMultideviceName[] = "Enable multidevice features";
2476const char kMultideviceDescription[] =
2477 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342478
2479const char kNetworkPortalNotificationName[] =
2480 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342481const char kNetworkPortalNotificationDescription[] =
2482 "If enabled, notification is displayed when device is connected to a "
2483 "network behind captive portal.";
2484
stevenjbe1d457382017-05-24 22:37:242485const char kNetworkSettingsConfigName[] =
2486 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242487const char kNetworkSettingsConfigDescription[] =
2488 "Enables the Settings based network configuration UI instead of the Views "
2489 "based configuration dialog.";
2490
Brett Wilson7b44537e2017-08-18 01:38:282491const char kNewKoreanImeName[] = "New Korean IME";
2492const char kNewKoreanImeDescription[] =
2493 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342494
Brett Wilson7b44537e2017-08-18 01:38:282495const char kNewZipUnpackerName[] = "New ZIP unpacker";
2496const char kNewZipUnpackerDescription[] =
2497 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342498
Brett Wilson7b44537e2017-08-18 01:38:282499const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2500const char kPhysicalKeyboardAutocorrectDescription[] =
2501 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2502 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342503
2504const char kPrinterProviderSearchAppName[] =
2505 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342506const char kPrinterProviderSearchAppDescription[] =
2507 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192508 "searches Chrome Web Store for extensions that support printing to a USB "
2509 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342510
Brett Wilson7b44537e2017-08-18 01:38:282511const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2512const char kQuickUnlockPinDescription[] =
2513 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2514 "device on the lock screen after you have signed into your device.";
2515const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2516const char kQuickUnlockPinSigninDescription[] =
2517 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2518 "device. After changing this flag PIN needs to be set up again.";
2519const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2520const char kQuickUnlockFingerprintDescription[] =
2521 "Enabling fingerprint quick unlock allows you to setup and use a "
2522 "fingerprint to unlock your Chromebook on the lock screen after you have "
2523 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342524
Brett Wilson7b44537e2017-08-18 01:38:282525const char kOfficeEditingComponentAppName[] =
2526 "Office Editing for Docs, Sheets & Slides";
2527const char kOfficeEditingComponentAppDescription[] =
2528 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072529
2530const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2531const char kSpuriousPowerButtonWindowDescription[] =
2532 "Number of recent accelerometer samples to examine to determine if a power "
2533 "button event was spurious.";
2534
2535const char kSpuriousPowerButtonAccelCountName[] =
2536 "Spurious power button acceleration count";
2537const char kSpuriousPowerButtonAccelCountDescription[] =
2538 "Number of recent acceleration samples that must meet or exceed exceed the "
2539 "threshold in order for a power button event to be considered spurious.";
2540
2541const char kSpuriousPowerButtonScreenAccelName[] =
2542 "Spurious power button screen acceleration threshold";
2543const char kSpuriousPowerButtonScreenAccelDescription[] =
2544 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2545 "meet or exceed for a power button event to be considered spurious.";
2546
2547const char kSpuriousPowerButtonKeyboardAccelName[] =
2548 "Spurious power button keyboard acceleration threshold";
2549const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2550 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2551 "must meet or exceed for a power button event to be considered spurious.";
2552
2553const char kSpuriousPowerButtonLidAngleChangeName[] =
2554 "Spurious power button lid angle change threshold";
2555const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2556 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2557 "met or exceeded for a power button event to be considered spurious.";
2558
Chung-Sheng Wu468b0b32017-09-01 14:41:572559const char kSysInternalsName[] = "Enable Sys-Internals";
2560const char kSysInternalsDescription[] =
2561 "If enabled, user can monitor system information at "
2562 "chrome://sys-internals.";
2563
Brett Wilson7b44537e2017-08-18 01:38:282564const char kTeamDrivesName[] = "Enable Team Drives Integration";
2565const char kTeamDrivesDescription[] =
2566 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342567
Brett Wilson7b44537e2017-08-18 01:38:282568const char kTetherName[] = "Instant Tethering";
2569const char kTetherDescription[] =
2570 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2571 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372572
Brett Wilson7b44537e2017-08-18 01:38:282573const char kTouchscreenCalibrationName[] =
2574 "Enable/disable touchscreen calibration option in material design settings";
2575const char kTouchscreenCalibrationDescription[] =
2576 "If enabled, the user can calibrate the touch screen displays in "
2577 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092578
Mitsuru Oshima63d3f2a2017-08-23 00:12:112579// Force UI Mode
2580const char kUiModeName[] = "Force Ui Mode";
2581const char kUiModeDescription[] =
2582 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2583 R"*(despite its current orientation. "Tablet" means that the )*"
2584 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2585 R"*(means that the chromebook will act as if it were in clamshell )*"
2586 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2587 R"*(the two, based on its orientation.)*";
2588const char kUiModeTablet[] = "TouchView";
2589const char kUiModeClamshell[] = "Clamshell";
2590const char kUiModeAuto[] = "Auto (default)";
2591
bruthigeafb0c02017-06-09 13:11:532592const char kUiDevToolsName[] = "Enable native UI inspection";
2593const char kUiDevToolsDescription[] =
2594 "Enables inspection of native UI elements. For local inspection use "
2595 "chrome://inspect#other";
2596
Brett Wilson7b44537e2017-08-18 01:38:282597const char kUseMusName[] = "Mus";
2598const char kUseMusDescription[] = "Enable the Mojo UI service.";
2599const char kEnableMashDescription[] =
2600 "Mash (UI, Chrome and ash in separate services)";
2601const char kEnableMusDescription[] =
2602 "Mus (UI in separate service, Chrome and ash in same service)";
2603
2604const char kVideoPlayerChromecastSupportName[] =
2605 "Experimental Chromecast support for Video Player";
2606const char kVideoPlayerChromecastSupportDescription[] =
2607 "This option enables experimental Chromecast support for Video Player app "
2608 "on ChromeOS.";
2609
2610const char kVirtualKeyboardName[] = "Virtual Keyboard";
2611const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2612
2613const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2614const char kVirtualKeyboardOverscrollDescription[] =
2615 "Enables virtual keyboard overscroll support.";
2616
2617const char kVoiceInputName[] = "Voice input on virtual keyboard";
2618const char kVoiceInputDescription[] =
2619 "Enables voice input on virtual keyboard.";
2620
2621const char kWakeOnPacketsName[] = "Wake On Packets";
2622const char kWakeOnPacketsDescription[] =
2623 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202624
yhanadac5bff5b2017-05-18 06:37:092625#endif // defined(OS_CHROMEOS)
2626
Brett Wilson7b44537e2017-08-18 01:38:282627// Random platform combinations -----------------------------------------------
2628
2629#if defined(OS_WIN) || defined(OS_LINUX)
2630
2631const char kEnableInputImeApiName[] = "Enable Input IME API";
2632const char kEnableInputImeApiDescription[] =
2633 "Enable the use of chrome.input.ime API.";
2634
2635#endif // defined(OS_WIN) || defined(OS_LINUX)
2636
2637#if defined(OS_WIN) || defined(OS_MACOSX)
2638
2639const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2640const char kAutomaticTabDiscardingDescription[] =
2641 "If enabled, tabs get automatically discarded from memory when the system "
2642 "memory is low. Discarded tabs are still visible on the tab strip and get "
2643 "reloaded when clicked on. Info about discarded tabs can be found at "
2644 "chrome://discards.";
2645
2646#endif // defined(OS_WIN) || defined(OS_MACOSX)
2647
2648// Feature flags --------------------------------------------------------------
2649
2650#if BUILDFLAG(ENABLE_VR)
2651
2652#if defined(OS_ANDROID)
2653
2654const char kEnableVrShellName[] = "Enable Chrome VR.";
2655const char kEnableVrShellDescription[] =
2656 "Allow browsing with a VR headset if available for this device.";
2657
2658const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2659const char kVrCustomTabBrowsingDescription[] =
2660 "Allow browsing with a VR headset in a Custom Tab if available for this "
2661 "device.";
2662
2663const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2664const char kWebVrAutopresentDescription[] =
2665 "Allows auto presentation of WebVr content from trusted first-party apps";
2666
2667const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2668const char kWebVrVsyncAlignDescription[] =
2669 "Enabling this option aligns WebVR application rendering with VSync "
2670 "for smoother animations.";
2671
2672#endif // OS_ANDROID
2673
2674const char kWebvrExperimentalRenderingName[] =
2675 "WebVR experimental rendering optimizations";
2676const char kWebvrExperimentalRenderingDescription[] =
2677 "Enabling this option activates experimental rendering path optimizations "
2678 "for WebVR.";
2679
2680#endif // ENABLE_VR
2681
Nico Weberaf3b00b2017-09-11 17:58:172682#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282683
2684const char kNaclDebugMaskName[] =
2685 "Restrict Native Client GDB-based debugging by pattern";
2686const char kNaclDebugMaskDescription[] =
2687 "Restricts Native Client application GDB-based debugging by URL of "
2688 "manifest file. Native Client GDB-based debugging must be enabled for this "
2689 "option to work.";
2690const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2691const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2692 "Debug everything except secure shell and the PNaCl translator.";
2693const char kNaclDebugMaskChoiceIncludeDebug[] =
2694 "Debug only if manifest URL ends with debug.nmf.";
2695
2696const char kNaclDebugName[] = "Native Client GDB-based debugging";
2697const char kNaclDebugDescription[] =
2698 "Enable GDB debug stub. This will stop a Native Client application on "
2699 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2700
2701const char kNaclName[] = "Native Client";
2702const char kNaclDescription[] =
2703 "Support Native Client for all web applications, even those that were not "
2704 "installed from the Chrome Web Store.";
2705
2706const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2707const char kPnaclSubzeroDescription[] =
2708 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2709
Nico Weberaf3b00b2017-09-11 17:58:172710#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282711
Brett Wilson7b44537e2017-08-18 01:38:282712#if BUILDFLAG(ENABLE_WEBRTC)
2713
2714const char kWebrtcH264WithOpenh264FfmpegName[] =
2715 "WebRTC H.264 software video encoder/decoder";
2716const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2717 "When enabled, an H.264 software video encoder/decoder pair is included. "
2718 "If a hardware encoder/decoder is also available it may be used instead of "
2719 "this encoder/decoder.";
2720
2721#endif // BUILDFLAG(ENABLE_WEBRTC)
2722
2723#if defined(USE_ASH)
2724
2725const char kAshDisableSmoothScreenRotationName[] =
2726 "Disable smooth rotation animations.";
2727const char kAshDisableSmoothScreenRotationDescription[] =
2728 "Disable smooth rotation animations.";
2729
2730const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2731const char kAshEnableMirroredScreenDescription[] =
2732 "Enable the mirrored screen mode. This mode flips the screen image "
2733 "horizontally.";
2734
2735const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2736const char kAshShelfColorDescription[] =
2737 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2738 "--ash-shelf-color-scheme flag defines how that color is derived.";
2739
2740const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2741const char kAshShelfColorSchemeDescription[] =
2742 "Specify how the color is derived from the wallpaper. This flag is only "
2743 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2744const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2745const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2746const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2747const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2748const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2749const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2750
Mike Wassermana38a8a62017-10-02 03:04:272751const char kAshDisableShelfModelSynchronization[] =
2752 "Disable shelf model synchronization";
2753const char kAshDisableShelfModelSynchronizationDescription[] =
2754 "Use a single in-process shelf data model shared between Chrome and Ash. "
2755 "This only applies to the Classic Ash and Mus configs; synchronization "
2756 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372757
Brett Wilson7b44537e2017-08-18 01:38:282758const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372759 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282760const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2761 "Sets the speed of the experimental visual feedback animations for "
2762 "material design.";
2763const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2764const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2765
2766const char kUiShowCompositedLayerBordersName[] =
2767 "Show UI composited layer borders";
2768const char kUiShowCompositedLayerBordersDescription[] =
2769 "Show border around composited layers created by UI.";
2770const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2771const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2772const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2773const char kUiShowCompositedLayerBordersAll[] = "All";
2774
2775const char kUiSlowAnimationsName[] = "Slow UI animations";
2776const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2777
2778#endif // defined(USE_ASH)
2779
Brett Wilson7b44537e2017-08-18 01:38:282780#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2781
2782const char kAutofillCreditCardUploadName[] =
2783 "Enable offering upload of Autofilled credit cards";
2784const char kAutofillCreditCardUploadDescription[] =
2785 "Enables a new option to upload credit cards to Google Payments for sync "
2786 "to all Chrome devices.";
2787
2788#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2789
2790// ============================================================================
2791// Don't just add flags to the end, put them in the right section in
2792// alphabetical order just like the header file.
2793// ============================================================================
2794
vabr0215a8e2017-03-28 12:47:342795} // namespace flag_descriptions