blob: db76fda4ef641d78d603d6c54e2fa199b10af4e4 [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
7namespace flag_descriptions {
8
Brett Wilsonf27ff602017-07-07 22:28:479const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
10const char kAccelerated2dCanvasDescription[] =
11 "Enables the use of the GPU to perform 2d canvas rendering instead of "
12 "using software rendering.";
horodb71a5a2017-06-09 16:08:2413
Brett Wilsonf27ff602017-07-07 22:28:4714const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
15const char kAcceleratedVideoDecodeDescription[] =
16 "Hardware-accelerated video decode where available.";
17
18const char kAffiliationBasedMatchingName[] =
19 "Affiliation based matching in password manager";
20const char kAffiliationBasedMatchingDescription[] =
21 "Allow credentials stored for Android applications to be filled into "
22 "corresponding websites.";
23
24const char kAllowInsecureLocalhostName[] =
25 "Allow invalid certificates for resources loaded from localhost.";
26const char kAllowInsecureLocalhostDescription[] =
27 "Allows requests to localhost over HTTPS even when an invalid certificate "
28 "is presented.";
29
30const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
31const char kAllowNaclSocketApiDescription[] =
32 "Allows applications to use NaCl Socket API. Use only to test NaCl "
33 "plugins.";
34
35const char kAppBannersName[] = "App Banners";
36const char kAppBannersDescription[] =
37 "Enable the display of Progressive Web App banners, which prompt a user to "
38 "add a web app to their shelf, or other platform-specific equivalent.";
39
Khushalba202212017-07-12 19:53:4940const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
41const char kAsyncImageDecodingDescription[] =
42 "Enables asynchronous decoding of images from raster for web content";
43
Brett Wilsonf27ff602017-07-07 22:28:4744const char kAutoplayPolicyName[] = "Autoplay policy";
45const char kAutoplayPolicyDescription[] =
46 "Policy used when deciding if audio or video is allowed to autoplay.";
47
48const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
49 "User gesture is required for cross-origin iframes.";
50const char kAutoplayPolicyNoUserGestureRequired[] =
51 "No user gesture is required.";
52const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
53const char kAutoplayPolicyDocumentUserActivation[] =
54 "Document user activation is required.";
55
56const char kBackgroundVideoTrackOptimizationName[] =
57 "Optimize background video playback.";
58const char kBackgroundVideoTrackOptimizationDescription[] =
59 "Disable video tracks when the video is played in the background to "
60 "optimize performance.";
61
62const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
63const char kBleAdvertisingInExtensionsDescription[] =
64 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
65 "with regular use of Bluetooth Low Energy features.";
66
67const char kBrowserSideNavigationName[] = "Enable browser side navigation";
horodb71a5a2017-06-09 16:08:2468const char kBrowserSideNavigationDescription[] =
horo3beccfb2017-06-19 14:47:0169 "Enable browser side navigation (aka PlzNavigate).";
horodb71a5a2017-06-09 16:08:2470
Brett Wilsonf27ff602017-07-07 22:28:4771const char kBrowserTaskSchedulerName[] = "Task Scheduler";
72const char kBrowserTaskSchedulerDescription[] =
73 "Enables redirection of some task posting APIs to the task scheduler.";
74
75const char kBypassAppBannerEngagementChecksName[] =
76 "Bypass user engagement checks";
77const char kBypassAppBannerEngagementChecksDescription[] =
78 "Bypasses user engagement checks for displaying app banners, such as "
79 "requiring that users have visited the site before and that the banner "
80 "hasn't been shown recently. This allows developers to test that other "
81 "eligibility requirements for showing app banners, such as having a "
82 "manifest, are met.";
83
84const char kCaptureThumbnailOnLoadFinishedName[] =
85 "Capture page thumbnail on load finished";
86const char kCaptureThumbnailOnLoadFinishedDescription[] =
87 "Capture a page thumbnail (for use on the New Tab page) when the page load "
88 "finishes, in addition to other times a thumbnail may be captured.";
89
Marc Treibe3651be2017-07-14 11:05:4090const char kCaptureThumbnailOnNavigatingAwayName[] =
91 "Capture page thumbnail on navigating away";
92const char kCaptureThumbnailOnNavigatingAwayDescription[] =
93 "Capture a page thumbnail (for use on the New Tab page) when navigating "
94 "away from the current page, in addition to other times a thumbnail may be "
95 "captured.";
96
Brett Wilsonf27ff602017-07-07 22:28:4797const char kCastStreamingHwEncodingName[] =
98 "Cast Streaming hardware video encoding";
99const char kCastStreamingHwEncodingDescription[] =
100 "This option enables support in Cast Streaming for encoding video streams "
101 "using platform hardware.";
102
103const char kCloudImportName[] = "Cloud Import";
104const char kCloudImportDescription[] = "Allows the cloud-import feature.";
105
106const char kColorCorrectRenderingName[] = "Color correct rendering";
107const char kColorCorrectRenderingDescription[] =
108 "Enables color correct rendering of web content.";
109
110const char kCompositedLayerBordersName[] = "Composited render layer borders";
111const char kCompositedLayerBordersDescription[] =
112 "Renders a border around composited Render Layers to help debug and study "
113 "layer compositing.";
114
115const char kContextualSuggestionsCarouselName[] =
116 "Enable Contextual Suggestions";
117const char kContextualSuggestionsCarouselDescription[] =
118 "If enabled, shows contextual suggestions in a horizontal carousel in "
119 "bottom sheet content.";
120
121const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
122const char kCreditCardAssistDescription[] =
123 "Enable assisted credit card filling on certain sites.";
124
125const char kCrossProcessGuestViewIsolationName[] =
126 "Cross process frames for guests";
127const char kCrossProcessGuestViewIsolationDescription[] =
128 "Highly experimental where guests such as <webview> are implemented on "
129 "the out-of-process iframe infrastructure.";
130
Brett Wilsonf27ff602017-07-07 22:28:47131const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
132const char kDataReductionProxyLoFiDescription[] =
133 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
134 "cellular connections, or disabled. Data Saver must be enabled for Lo-Fi "
135 "mode to be used.";
136const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
137const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
138const char kDataReductionProxyLoFiDisabled[] = "Disable";
139const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
140 "Slow connections only";
141
142const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
143const char kDatasaverPromptDescription[] =
144 "Enables a prompt, which appears when a cellular network connection is "
145 "detected, to take the user to the Data Saver extension page on Chrome Web "
146 "Store.";
147const char kDatasaverPromptDemoMode[] = "Demo mode";
148
149const char kDebugPackedAppName[] = "Debugging for packed apps";
150const char kDebugPackedAppDescription[] =
151 "Enables debugging context menu options such as Inspect Element for packed "
152 "applications.";
153
154const char kDefaultTileHeightName[] = "Default tile height";
155const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
156const char kDefaultTileHeightShort[] = "128";
157const char kDefaultTileHeightTall[] = "256";
158const char kDefaultTileHeightGrande[] = "512";
159const char kDefaultTileHeightVenti[] = "1024";
160
161const char kDefaultTileWidthName[] = "Default tile width";
162const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
163const char kDefaultTileWidthShort[] = "128";
164const char kDefaultTileWidthTall[] = "256";
165const char kDefaultTileWidthGrande[] = "512";
166const char kDefaultTileWidthVenti[] = "1024";
167
168const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
169const char kDebugShortcutsDescription[] =
170 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
171
172const char kDeviceDiscoveryNotificationsName[] =
173 "Device Discovery Notifications";
174const char kDeviceDiscoveryNotificationsDescription[] =
175 "Device discovery notifications on local network.";
176
177const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
178const char kDevtoolsExperimentsDescription[] =
179 "Enables Developer Tools experiments. Use Settings panel in Developer "
180 "Tools to toggle individual experiments.";
181
182const char kDisableAudioForDesktopShareName[] =
183 "Disable Audio For Desktop Share";
184const char kDisableAudioForDesktopShareDescription[] =
185 "With this flag on, desktop share picker window will not let the user "
186 "choose whether to share audio.";
187
188const char kDisableNightLightName[] = "Disable Night Light";
189const char kDisableNightLightDescription[] =
190 "Disable the Night Light feature which controls the color temperature of "
191 "the screen.";
192
193const char kDisableTabForDesktopShareName[] =
194 "Disable Desktop Share with tab source";
195const char kDisableTabForDesktopShareDescription[] =
196 "This flag controls whether users can choose a tab for desktop share.";
197
198const char kDisallowDocWrittenScriptsUiName[] =
199 "Block scripts loaded via document.write";
200const char kDisallowDocWrittenScriptsUiDescription[] =
201 "Disallows fetches for third-party parser-blocking scripts inserted into "
202 "the main frame via document.write.";
203
204const char kDisplayList2dCanvasName[] = "Display list 2D canvas";
205const char kDisplayList2dCanvasDescription[] =
206 "Enables the use of display lists to record 2D canvas commands. This "
207 "allows 2D canvas rasterization to be performed on separate thread.";
208
209const char kDistanceFieldTextName[] = "Distance field text";
210const char kDistanceFieldTextDescription[] =
211 "Text is rendered with signed distance fields rather than bitmap alpha "
212 "masks.";
213
214const char kDriveSearchInChromeLauncherName[] =
215 "Drive Search in Chrome App Launcher";
216const char kDriveSearchInChromeLauncherDescription[] =
217 "Files from Drive will show up when searching the Chrome App Launcher.";
218
219const char kDropSyncCredentialName[] =
220 "Drop sync credentials from password manager";
221const char kDropSyncCredentialDescription[] =
222 "The password manager will not offer to save the credential used to sync.";
223
224const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
225 "Smart Lock Bluetooth Low Energy Discovery";
226const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
227 "Enables a Smart Lock setting that allows Chromebook to discover phones "
228 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
229 "phone is in its proximity.";
230
Brett Wilsonf27ff602017-07-07 22:28:47231const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
232const char kEmbeddedExtensionOptionsDescription[] =
233 "Display extension options as an embedded element in chrome://extensions "
234 "rather than opening a new tab.";
235
236const char kEnableAsmWasmName[] =
237 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
238const char kEnableAsmWasmDescription[] =
239 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
240 R"*(WebAssembly.)*";
241
242const char kEnableAutofillCreditCardBankNameDisplayName[] =
243 "Display the issuer bank name of a credit card in autofill.";
244const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
245 "If enabled, displays the issuer bank name of a credit card in autofill.";
246
247const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
248 "Display the last used date of a credit card in autofill.";
249const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
250 "If enabled, display the last used date of a credit card in autofill.";
251
252const char kEnableAutofillCreditCardUploadCvcPromptName[] =
253 "Enable requesting missing CVC during Autofill credit card upload";
254const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
255 "If enabled, requests missing CVC when offering to upload credit cards to "
256 "Google Payments.";
257
258const char kEnableBrotliName[] = "Brotli Content-Encoding.";
259const char kEnableBrotliDescription[] =
260 "Enable Brotli Content-Encoding support.";
261
262const char kEnableClearBrowsingDataCountersName[] =
263 "Enable Clear browsing data counters.";
264const char kEnableClearBrowsingDataCountersDescription[] =
265 "Shows data volume counters in the Clear browsing data dialog.";
266
sclittle50e4bb92017-07-08 02:23:03267const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
268
269const char kEnableClientLoFiDescription[] =
270 "Enable showing low fidelity images on some pages on slow networks.";
271
Brett Wilsonf27ff602017-07-07 22:28:47272const char kEnableDataReductionProxyLitePageName[] =
273 "Lite pages for Data Saver Lo-Fi mode";
274const char kEnableDataReductionProxyLitePageDescription[] =
275 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
276 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
277 "Lo-Fi must be enabled for lite pages to be shown.";
278
279const char kDataReductionProxyServerAlternative[] =
280 "Use alternative server configuration";
281const char kEnableDataReductionProxyServerExperimentName[] =
282 "Use an alternative Data Saver back end configuration.";
283const char kEnableDataReductionProxyServerExperimentDescription[] =
284 "Enable a different approach to saving data by configuring the back end "
285 "server";
286
287const char kEnableDataReductionProxySavingsPromoName[] =
288 "Data Saver 1 MB Savings Promo";
289const char kEnableDataReductionProxySavingsPromoDescription[] =
290 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
291 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
292 "enabled for the promo to be shown.";
293
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17294const char kEnableDesktopPWAWindowingName[] =
295 "Windowing related features for desktop PWAs.";
296const char kEnableDesktopPWAWindowingDescription[] =
297 "Enable experimental windowing features for desktop PWAs.";
298
Brett Wilsonf27ff602017-07-07 22:28:47299const char kEnableEnumeratingAudioDevicesName[] =
300 "Experimentally enable enumerating audio devices.";
301const char kEnableEnumeratingAudioDevicesDescription[] =
302 "Experimentally enable the use of enumerating audio devices.";
303
304const char kEnableGenericSensorName[] = "Generic Sensor";
305const char kEnableGenericSensorDescription[] =
306 "Enable sensor APIs based on Generic Sensor API.";
307
Brett Wilsonf27ff602017-07-07 22:28:47308const char kEnableHDRName[] = "HDR mode";
309const char kEnableHDRDescription[] =
310 "Enables HDR support on compatible displays.";
311
312const char kEnableHeapProfilingName[] = "Heap profiling";
313const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
314const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
315const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
316const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
317
318const char kEnableHttpFormWarningName[] =
319 "Show in-form warnings for sensitive fields when the top-level page is not "
320 "not HTTPS";
321const char kEnableHttpFormWarningDescription[] =
322 "Attaches a warning UI to any password or credit card fields detected when "
323 "the top-level page is not HTTPS";
324
325const char kEnableIdleTimeSpellCheckingName[] =
326 "Enable idle time spell checker";
327const char kEnableIdleTimeSpellCheckingDescription[] =
328 "Make spell-checking code run only when the browser is idle, so that input "
329 "latency is reduced, especially when editing long articles, emails, etc.";
vabr0215a8e2017-03-28 12:47:34330
331const char kEnableMaterialDesignBookmarksName[] =
332 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34333const char kEnableMaterialDesignBookmarksDescription[] =
334 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
335 "bookmarks page.";
336
vabr0215a8e2017-03-28 12:47:34337const char kEnableMaterialDesignExtensionsName[] =
338 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34339const char kEnableMaterialDesignExtensionsDescription[] =
340 "If enabled, the chrome://extensions/ URL loads the Material Design "
341 "extensions page.";
342
vabr0215a8e2017-03-28 12:47:34343const char kEnableMaterialDesignFeedbackName[] =
344 "Enable Material Design feedback";
vabr0215a8e2017-03-28 12:47:34345const char kEnableMaterialDesignFeedbackDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:19346 "If enabled, reporting an issue will load the Material Design feedback UI.";
vabr0215a8e2017-03-28 12:47:34347
Brett Wilsonf27ff602017-07-07 22:28:47348const char kEnableMaterialDesignPolicyPageName[] =
349 "Enable Material Design policy page";
350const char kEnableMaterialDesignPolicyPageDescription[] =
351 "If enabled, the chrome://md-policy URL loads the Material Design policy "
352 "page.";
galinapae72e152017-05-12 13:12:28353
Brett Wilsonf27ff602017-07-07 22:28:47354const char kEnableMidiManagerDynamicInstantiationName[] =
355 "MIDIManager dynamic instantiation for Web MIDI.";
356const char kEnableMidiManagerDynamicInstantiationDescription[] =
357 "Enable MIDIManager dynamic instantiation for Web MIDI.";
358
359const char kEnableNavigationTracingName[] = "Enable navigation tracing";
360const char kEnableNavigationTracingDescription[] =
361 "This is to be used in conjunction with the trace-upload-url flag. "
362 "WARNING: When enabled, Chrome will record performance data for every "
363 "navigation and upload it to the URL specified by the trace-upload-url "
364 "flag. The trace may include personally identifiable information (PII) "
365 "such as the titles and URLs of websites you visit.";
366
367const char kEnableNetworkServiceName[] = "Enable network service";
368const char kEnableNetworkServiceDescription[] =
369 "Enables the network service, which makes network requests through a "
370 "separate service. Note: most features don't work with this yet.";
371
372const char kEnablePictureInPictureName[] = "Enable picture in picture.";
373const char kEnablePictureInPictureDescription[] =
374 "Enable the picture in picture feature for videos.";
375
Michael van Ouwerkerk093585592017-07-13 16:01:18376const char kEnableSuggestionsHomeModernLayoutName[] =
377 "Enable modern layout for suggestions.";
378const char kEnableSuggestionsHomeModernLayoutDescription[] =
379 "Enable modern layout for suggestions in Chrome Home.";
380
Brett Wilsonf27ff602017-07-07 22:28:47381const char kEnableTokenBindingName[] = "Token Binding.";
382const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
383
Irmak Kavasoglu7e16af02017-07-19 09:52:47384const char kEnableUsernameCorrectionName[] = "Enable username correction";
385const char kEnableUsernameCorrectionDescription[] =
386 "While on the pending password state, add an edit button to the bubble so "
387 "that user can edit the username.";
388
Brett Wilsonf27ff602017-07-07 22:28:47389const char kEnableUseZoomForDsfName[] =
390 "Use Blink's zoom for device scale factor.";
391const char kEnableUseZoomForDsfDescription[] =
392 "If enabled, Blink uses its zooming mechanism to scale content for device "
393 "scale factor.";
394const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
395const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
396const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
397
398const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
399const char kEnableScrollAnchoringDescription[] =
400 "Adjusts scroll position to prevent visible jumps when offscreen content "
401 "changes.";
402
403const char kEnableSharedArrayBufferName[] =
404 "Experimental enabled SharedArrayBuffer support in JavaScript.";
405const char kEnableSharedArrayBufferDescription[] =
406 "Enable SharedArrayBuffer support in JavaScript.";
407
408const char kEnableWasmName[] = "WebAssembly structured cloning support.";
409const char kEnableWasmDescription[] =
410 "Enable web pages to use WebAssembly structured cloning.";
411
412const char kEnableWebUsbName[] = "WebUSB";
413const char kEnableWebUsbDescription[] = "Enable WebUSB support.";
414
415const char kEnableImageCaptureAPIName[] = "Image Capture API";
416const char kEnableImageCaptureAPIDescription[] =
417 "Enables the Web Platform Image Capture API: takePhoto(), "
418 "getPhotoCapabilities(), etc.";
419
420const char kEnableZeroSuggestRedirectToChromeName[] =
421 "Experimental contextual omnibox suggestion";
422const char kEnableZeroSuggestRedirectToChromeDescription[] =
423 "Change omnibox contextual suggestions to an experimental source. Note "
424 "that this is not an on/off switch for contextual omnibox and it only "
425 "applies to suggestions provided before the user starts typing a URL or a "
426 "search query (i.e. zero suggest).";
427
428const char kEnableWasmStreamingName[] =
429 "WebAssembly streaming compile/instantiate support.";
430const char kEnableWasmStreamingDescription[] =
431 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
432
433const char kEnableWebfontsInterventionName[] =
434 "New version of User Agent Intervention for WebFonts loading.";
435const char kEnableWebfontsInterventionDescription[] =
436 "Enable New version of User Agent Intervention for WebFonts loading.";
437const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
438const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
439const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
440const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
441 "Enabled: Slow 2G";
442const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
443
444const char kEnableWebfontsInterventionTriggerName[] =
445 "Trigger User Agent Intervention for WebFonts loading always.";
446const char kEnableWebfontsInterventionTriggerDescription[] =
447 "Enable to trigger User Agent Intervention for WebFonts loading always. "
448 "This flag affects only when the intervention is enabled.";
449
450const char kEnableWebNotificationCustomLayoutsName[] =
451 "Enable custom layouts for Web Notifications.";
452const char kEnableWebNotificationCustomLayoutsDescription[] =
453 "Enable custom layouts for Web Notifications. They will have subtle layout "
454 "improvements that are otherwise not possible.";
455
456const char kExpensiveBackgroundTimerThrottlingName[] =
457 "Throttle expensive background timers";
458const char kExpensiveBackgroundTimerThrottlingDescription[] =
459 "Enables intervention to limit CPU usage of background timers to 1%.";
460
461const char kExperimentalAppBannersName[] = "Experimental app banners";
462const char kExperimentalAppBannersDescription[] =
463 "Enables a new experimental app banner flow and UI";
464
465const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
466const char kExperimentalCanvasFeaturesDescription[] =
467 "Enables the use of experimental canvas features which are still in "
468 "development.";
469
470const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
471const char kExperimentalExtensionApisDescription[] =
472 "Enables experimental extension APIs. Note that the extension gallery "
473 "doesn't allow you to upload extensions that use experimental APIs.";
474
475const char kExperimentalFullscreenExitUIName[] =
476 "Experimental fullscreen exit UI";
477const char kExperimentalFullscreenExitUIDescription[] =
478 "Displays experimental UI to allow mouse and touch input methods to exit "
479 "fullscreen mode.";
480
481const char kExperimentalHotwordHardwareName[] =
482 "Simulated hardware 'Ok Google' features";
483const char kExperimentalHotwordHardwareDescription[] =
484 "Enables an experimental version of 'Ok Google' hotword detection features "
485 "that have a hardware dependency.";
486
487const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
488const char kExperimentalKeyboardLockUiDescription[] =
489 "An experimental full screen with keyboard lock mode requiring users to "
490 "hold Esc to exit.";
491
492const char kExperimentalSecurityFeaturesName[] =
493 "Potentially annoying security features";
494const char kExperimentalSecurityFeaturesDescription[] =
495 "Enables several security features that will likely break one or more "
496 "pages that you visit on a daily basis. Strict mixed content checking, for "
497 "example. And locking powerful features to secure contexts. This flag will "
498 "probably annoy you.";
499
500const char kExperimentalWebPlatformFeaturesName[] =
501 "Experimental Web Platform features";
502const char kExperimentalWebPlatformFeaturesDescription[] =
503 "Enables experimental Web Platform features that are in development.";
504
505const char kExtensionContentVerificationName[] =
506 "Extension Content Verification";
507const char kExtensionContentVerificationDescription[] =
508 "This flag can be used to turn on verification that the contents of the "
509 "files on disk for extensions from the webstore match what they're "
510 "expected to be. This can be used to turn on this feature if it would not "
511 "otherwise have been turned on, but cannot be used to turn it off (because "
512 "this setting can be tampered with by malware).";
513const char kExtensionContentVerificationBootstrap[] =
514 "Bootstrap (get expected hashes, but do not enforce them)";
515const char kExtensionContentVerificationEnforce[] =
516 "Enforce (try to get hashes, and enforce them if successful)";
517const char kExtensionContentVerificationEnforceStrict[] =
518 "Enforce strict (hard fail if we can't get hashes)";
519
520const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
521const char kExtensionsOnChromeUrlsDescription[] =
522 "Enables running extensions on chrome:// URLs, where extensions explicitly "
523 "request this permission.";
galinapae72e152017-05-12 13:12:28524
Brett Wilsonecb80982017-07-12 20:34:51525const char kFastUnloadName[] = "Fast tab/window close";
526const char kFastUnloadDescription[] =
527 "Enables fast tab/window closing - runs a tab's onunload js handler "
528 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34529
Brett Wilsonecb80982017-07-12 20:34:51530const char kFeaturePolicyName[] = "Feature Policy";
531const char kFeaturePolicyDescription[] =
532 "Enables granting and removing access to features through the "
533 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34534
Brett Wilsonecb80982017-07-12 20:34:51535const char kFetchKeepaliveTimeoutSettingName[] =
536 "Fetch API keepalive timeout setting";
537const char kFetchKeepaliveTimeoutSettingDescription[] =
538 "This is for setting the timeout value for Fetch API with keepalive option "
539 "and SendBeacon";
540
541const char kFontCacheScalingName[] = "FontCache scaling";
542const char kFontCacheScalingDescription[] =
543 "Reuse a cached font in the renderer to serve different sizes of font for "
544 "faster layout.";
545
546const char kForceEffectiveConnectionTypeName[] =
547 "Override effective connection type";
548const char kForceEffectiveConnectionTypeDescription[] =
549 "Overrides the effective connection type of the current connection "
550 "returned by the network quality estimator.";
551const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
552const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
553const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
554const char kEffectiveConnectionType2GDescription[] = "2G";
555const char kEffectiveConnectionType3GDescription[] = "3G";
556const char kEffectiveConnectionType4GDescription[] = "4G";
557
558const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
559const char kFillOnAccountSelectDescription[] =
560 "Filling of passwords when an account is explicitly selected by the user "
561 "rather than autofilling credentials on page load.";
562
563const char kForceTabletModeName[] = "Force Tablet Mode";
564const char kForceTabletModeDescription[] =
565 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
566 R"*(despite its current orientation. "TouchView" means that the )*"
567 R"*(chromebook will act as if it were in touch view mode. "Clamshell" )*"
568 R"*(means that the chromebook will act as if it were in clamshell )*"
569 R"*(mode . "Auto" means that the chromebook will alternate between )*"
570 R"*(the two, based on its orientation.)*";
571const char kForceTabletModeTouchview[] = "TouchView";
572const char kForceTabletModeClamshell[] = "Clamshell";
573const char kForceTabletModeAuto[] = "Auto (default)";
574
575const char kForceTextDirectionName[] = "Force text direction";
576const char kForceTextDirectionDescription[] =
577 "Explicitly force the per-character directionality of UI text to "
578 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
579 "direction of the character language.";
580const char kForceDirectionLtr[] = "Left-to-right";
581const char kForceDirectionRtl[] = "Right-to-left";
582
583const char kForceUiDirectionName[] = "Force UI direction";
584const char kForceUiDirectionDescription[] =
585 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
586 "mode, overriding the default direction of the UI language.";
587
588const char kFramebustingName[] =
589 "Framebusting requires same-origin or a user gesture";
590const char kFramebustingDescription[] =
591 "Don't permit an iframe to navigate the top level browsing context unless "
592 "they are same-origin or the iframe is processing a user gesture.";
593
594const char kGamepadExtensionsName[] = "Gamepad Extensions";
595const char kGamepadExtensionsDescription[] =
596 "Enabling this option allows web applications to access experimental "
597 "extensions to the Gamepad APIs.";
598
sohan3f00ffc2017-07-14 22:28:08599const char kGlCompositedOverlayCandidateQuadBordersName[] =
600 "GL composited overlay candidate quad borders";
601const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
602 "Renders a border around GL composited overlay candidate quads to help debug and "
Brett Wilsonecb80982017-07-12 20:34:51603 "study overlay support.";
604
605const char kGpuRasterizationMsaaSampleCountName[] =
606 "GPU rasterization MSAA sample count.";
607const char kGpuRasterizationMsaaSampleCountDescription[] =
608 "Specify the number of MSAA samples for GPU rasterization.";
609const char kGpuRasterizationMsaaSampleCountZero[] = "0";
610const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
611const char kGpuRasterizationMsaaSampleCountFour[] = "4";
612const char kGpuRasterizationMsaaSampleCountEight[] = "8";
613const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
614
615const char kGpuRasterizationName[] = "GPU rasterization";
616const char kGpuRasterizationDescription[] =
617 "Use GPU to rasterize web content. Requires impl-side painting.";
618
619const char kGoogleProfileInfoName[] = "Google profile name and icon";
620const char kGoogleProfileInfoDescription[] =
621 "Enables using Google information to populate the profile name and icon in "
622 "the avatar menu.";
623
624const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
625const char kHarfbuzzRendertextDescription[] =
626 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
627 "web content.";
628
629const char kHistoryRequiresUserGestureName[] =
630 "New history entries require a user gesture.";
631const char kHistoryRequiresUserGestureDescription[] =
632 "Require a user gesture to add a history entry.";
633const char kHyperlinkAuditingName[] = "Hyperlink auditing";
634const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
635
636const char kHostedAppQuitNotificationName[] =
637 "Quit notification for hosted apps";
638const char kHostedAppQuitNotificationDescription[] =
639 "Display a notification when quitting Chrome if hosted apps are currently "
640 "running.";
641
642const char kHostedAppShimCreationName[] =
643 "Creation of app shims for hosted apps on Mac";
644const char kHostedAppShimCreationDescription[] =
645 "Create app shims on Mac when creating a hosted app.";
646
647const char kIconNtpName[] = "Large icons on the New Tab page";
648const char kIconNtpDescription[] =
649 "Enable the experimental New Tab page using large icons.";
650
651const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
652const char kIgnoreGpuBlacklistDescription[] =
653 "Overrides the built-in software rendering list and enables "
654 "GPU-acceleration on unsupported system configurations.";
655
656const char kImportantSitesInCbdName[] =
657 "Important sites options in clear browsing data dialog";
658const char kImportantSitesInCbdDescription[] =
659 "Include the option to whitelist important sites in the clear browsing "
660 "data dialog.";
661
662const char kInertVisualViewportName[] = "Inert visual viewport.";
663const char kInertVisualViewportDescription[] =
664 "Experiment to have all APIs reflect the layout viewport. This will make "
665 "window.scroll properties relative to the layout viewport.";
666
667const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
668const char kInProductHelpDemoModeChoiceDescription[] =
669 "Selects the In-Product Help demo mode.";
670
671const char kJavascriptHarmonyName[] = "Experimental JavaScript";
672const char kJavascriptHarmonyDescription[] =
673 "Enable web pages to use experimental JavaScript features.";
674
675const char kJavascriptHarmonyShippingName[] =
676 "Latest stable JavaScript features";
677const char kJavascriptHarmonyShippingDescription[] =
678 "Some web pages use legacy or non-standard JavaScript extensions that may "
679 "conflict with the latest JavaScript features. This flag allows disabling "
680 "support of those features for compatibility with such pages.";
681
682const char kLcdTextName[] = "LCD text antialiasing";
683const char kLcdTextDescription[] =
684 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
685 "(subpixel) when doing accelerated compositing.";
686
687const char kLoadMediaRouterComponentExtensionName[] =
688 "Load Media Router Component Extension";
689const char kLoadMediaRouterComponentExtensionDescription[] =
690 "Loads the Media Router component extension at startup.";
691
692const char kManualPasswordGenerationName[] = "Manual password generation.";
693const char kManualPasswordGenerationDescription[] =
694 "Show a 'Generate Password' option on the context menu for all password "
695 "fields.";
696
697const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
698const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
699const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
700const char kMarkHttpAsNonSecureAfterEditing[] =
701 "Warn on HTTP after editing forms";
702const char kMarkHttpAsNonSecureWhileIncognito[] =
703 "Warn on HTTP while in Incognito mode";
704const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
705 "Warn on HTTP while in Incognito mode or after editing forms";
706
707extern const char kMaterialDesignIncognitoNTPName[] =
708 "Material Design Incognito NTP.";
709extern const char kMaterialDesignIncognitoNTPDescription[] =
710 "If enabled, the Incognito New Tab page uses the new material design with "
711 "a better readable text.";
712
713const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
714const char kMediaRemotingDescription[] =
715 "When Casting a tab to a remote device, enabling this turns on an "
716 "optimization that forwards the content bitstream directly to the remote "
717 "device when a video is fullscreened.";
718
719const char kMemoryAblationName[] = "Memory ablation experiment";
720const char kMemoryAblationDescription[] =
721 "Allocates extra memory in the browser process.";
722
723const char kMemoryCoordinatorName[] = "Memory coordinator";
724const char kMemoryCoordinatorDescription[] =
725 "Enable memory coordinator instead of memory pressure listeners.";
726
727const char kMessageCenterNewStyleNotificationName[] = "New style notification";
728const char kMessageCenterNewStyleNotificationDescription[] =
729 "Enables the experiment style of material-design notification";
730
731const char kMessageCenterAlwaysScrollUpUponRemovalName[] =
732 "Experiments that message center always scroll up upon notification "
733 "removal";
734const char kMessageCenterAlwaysScrollUpUponRemovalDescription[] =
735 "Enables experiment that message center always scroll up when a "
736 "notification is removed.";
737
738const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
739const char kMhtmlGeneratorOptionDescription[] =
740 "Provides experimental options for MHTML file generator.";
741const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
742const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
743
744const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
745const char kMojoLoadingDescription[] =
746 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
747
748const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
749const char kModuleScriptsDescription[] =
750 "Enables ECMAScript 6 modules support in Blink.";
751
752const char kNewAudioRenderingMixingStrategyName[] =
753 "New audio rendering mixing strategy";
754const char kNewAudioRenderingMixingStrategyDescription[] =
755 "Use the new audio rendering mixing strategy.";
756
757const char kNewBookmarkAppsName[] = "The new bookmark app system";
758const char kNewBookmarkAppsDescription[] =
759 "Enables the new system for creating bookmark apps.";
760
761const char kNewOmniboxAnswerTypesName[] =
762 "New omnibox answers in suggest types";
763const char kNewOmniboxAnswerTypesDescription[] =
764 "Enables new types of answers in the omnibox suggest drop-down: currency "
765 "conversions, dictionary definitions, sports scores, translations, and "
766 "when is.";
767
768const char kNewRemotePlaybackPipelineName[] =
769 "Enable the new remote playback pipeline.";
770const char kNewRemotePlaybackPipelineDescription[] =
771 "Enable the new pipeline for playing media element remotely via "
772 "RemotePlayback API or native controls.";
773
774const char kNewUsbBackendName[] = "Enable new USB backend";
775const char kNewUsbBackendDescription[] =
776 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34777
brettw5f9c1642017-05-14 17:12:48778const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34779const char kNostatePrefetchDescription[] =
780 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
781 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
782 R"*(improve load times even more. "Simple Load" does nothing and is )*"
783 R"*(similar to disabling the feature, but collects more metrics for )*"
784 R"*(comparison purposes.)*";
785
Brett Wilsonecb80982017-07-12 20:34:51786const char kNotificationsNativeFlagName[] = "Enable native notifications.";
787const char kNotificationsNativeFlagDescription[] =
788 "Enable support for using the native notification toasts and notification "
789 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34790
Brett Wilsonecb80982017-07-12 20:34:51791const char kNumRasterThreadsName[] = "Number of raster threads";
792const char kNumRasterThreadsDescription[] =
793 "Specify the number of raster threads.";
794const char kNumRasterThreadsOne[] = "1";
795const char kNumRasterThreadsTwo[] = "2";
796const char kNumRasterThreadsThree[] = "3";
797const char kNumRasterThreadsFour[] = "4";
798
799const char kOfferStoreUnmaskedWalletCardsName[] =
800 "Google Payments card saving checkbox";
801const char kOfferStoreUnmaskedWalletCardsDescription[] =
802 "Show the checkbox to offer local saving of a credit card downloaded from "
803 "the server.";
804
805const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
806const char kOfflineAutoReloadDescription[] =
807 "Pages that fail to load while the browser is offline will be "
808 "auto-reloaded when the browser is online again.";
809
810const char kOfflineAutoReloadVisibleOnlyName[] =
811 "Only Auto-Reload Visible Tabs";
812const char kOfflineAutoReloadVisibleOnlyDescription[] =
813 "Pages that fail to load while the browser is offline will only be "
814 "auto-reloaded if their tab is visible.";
815
816const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
817const char kOffMainThreadFetchDescription[] =
818 "If enabled, the resource fetches from worker threads will not be blocked "
819 "by the busy main thread.";
820
821const char kOmniboxDisplayTitleForCurrentUrlName[] =
822 "Include title for the current URL in the omnibox";
823const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
824 "In the event that the omnibox provides suggestions on-focus, the URL of "
825 "the current page is provided as the first suggestion without a title. "
826 "Enabling this flag causes the title to be displayed.";
827
828const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
829 "Omnibox UI Elide Suggestion URL After Host";
830const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
831 "Elides the path, query, and ref of suggested URLs in the Omnibox "
832 "dropdown.";
833
Benoit Lizeab08362c2017-07-19 14:50:54834const char kOmniboxSpareRendererName[] =
835 "Start spare renderer on omnibox focus";
836const char kOmniboxSpareRendererDescription[] =
837 "When the omnibox is focused, start an empty spare renderer. This can "
838 "speed up the load of the navigation from the omnibox.";
839
Brett Wilsonecb80982017-07-12 20:34:51840const char kOmniboxUIHideSuggestionUrlSchemeName[] =
841 "Omnibox UI Hide Suggestion URL Scheme";
842const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
843 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
844
845const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
846 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
847const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
848 "Elides trivially informative subdomains from suggested URLs in the "
849 "Omnibox dropdown (e.g. www. and m.).";
850
851const char kOmniboxUIMaxAutocompleteMatchesName[] =
852 "Omnibox UI Max Autocomplete Matches";
853
854const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
855 "Changes the maximum number of autocomplete matches displayed in the "
856 "Omnibox UI.";
857
858const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
859const char kOmniboxUINarrowDropdownDescription[] =
860 "Makes the suggestions dropdown width match the omnibox width.";
861
862const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
863const char kOmniboxUIVerticalLayoutDescription[] =
864 "Displays Omnibox sugestions in 2 lines - title over origin.";
865
866const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
867const char kOmniboxUIVerticalMarginDescription[] =
868 "Changes the vertical margin in the Omnibox UI.";
869
870const char kOriginTrialsName[] = "Origin Trials";
871const char kOriginTrialsDescription[] =
872 "Enables origin trials for controlling access to feature/API experiments.";
873
874const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
875const char kOverlayScrollbarsDescription[] =
876 "Enable the experimental overlay scrollbars implementation. You must also "
877 "enable threaded compositing to have the scrollbars animate.";
878
879const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
880const char kOverscrollHistoryNavigationDescription[] =
881 "Experimental history navigation in response to horizontal overscroll.";
882const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
883
884const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
885const char kOverscrollStartThresholdDescription[] =
886 "Changes overscroll start threshold relative to the default value.";
887const char kOverscrollStartThreshold133Percent[] = "133%";
888const char kOverscrollStartThreshold166Percent[] = "166%";
889const char kOverscrollStartThreshold200Percent[] = "200%";
890
891const char kPassiveEventListenerDefaultName[] =
892 "Passive Event Listener Override";
893const char kPassiveEventListenerDefaultDescription[] =
894 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
895 "haven't requested otherwise) to be treated as passive. This will break "
896 "touch/wheel behavior on some websites but is useful for demonstrating the "
897 "potential performance benefits of adopting passive event listeners.";
898const char kPassiveEventListenerTrue[] = "True (when unspecified)";
899const char kPassiveEventListenerForceAllTrue[] = "Force All True";
900
901const char kPassiveEventListenersDueToFlingName[] =
902 "Touch Event Listeners Passive Default During Fling";
903const char kPassiveEventListenersDueToFlingDescription[] =
904 "Forces touchstart, and first touchmove per scroll event listeners during "
905 "fling to be treated as passive.";
906
907const char kPassiveDocumentEventListenersName[] =
908 "Document Level Event Listeners Passive Default";
909const char kPassiveDocumentEventListenersDescription[] =
910 "Forces touchstart, and touchmove event listeners on document level "
911 "targets (which haven't requested otherwise) to be treated as passive.";
912
913const char kPasswordForceSavingName[] = "Force-saving of passwords";
914const char kPasswordForceSavingDescription[] =
915 "Allow the user to manually enforce password saving instead of relying on "
916 "password manager's heuristics.";
917
918const char kPasswordGenerationName[] = "Password generation";
919const char kPasswordGenerationDescription[] =
920 "Allow the user to have Chrome generate passwords when it detects account "
921 "creation pages.";
922
923const char kPasswordImportExportName[] = "Password import and export";
924const char kPasswordImportExportDescription[] =
925 "Import and Export functionality in password settings.";
926
927const char kPermissionActionReportingName[] = "Permission Action Reporting";
928const char kPermissionActionReportingDescription[] =
929 "Enables permission action reporting to Safe Browsing servers for opted in "
930 "users.";
931
932const char kPermissionsBlacklistName[] = "Permissions Blacklist";
933const char kPermissionsBlacklistDescription[] =
934 "Enables the Permissions Blacklist, which blocks permissions for "
935 "blacklisted sites for Safe Browsing users.";
936
937const char kPinchScaleName[] = "Pinch scale";
938const char kPinchScaleDescription[] =
939 "Enables experimental support for scale using pinch.";
940
941const char kPreferHtmlOverPluginsName[] = "Prefer HTML over Flash";
942const char kPreferHtmlOverPluginsDescription[] =
943 "Prefer HTML content by hiding Flash from the list of plugins.";
944
945const char kPrintPdfAsImageName[] = "Print Pdf as Image";
946const char kPrintPdfAsImageDescription[] =
947 "If enabled, an option to print PDF files as images will be available in "
948 "print preview.";
949
950const char kPrintPreviewRegisterPromosName[] =
951 "Print Preview Registration Promos";
952const char kPrintPreviewRegisterPromosDescription[] =
953 "Enable registering unregistered cloud printers from print preview.";
954
955const char kProtectSyncCredentialName[] = "Autofill sync credential";
956const char kProtectSyncCredentialDescription[] =
957 "How the password manager handles autofill for the sync credential.";
958
959const char kProtectSyncCredentialOnReauthName[] =
960 "Autofill sync credential only for transactional reauth pages";
961const char kProtectSyncCredentialOnReauthDescription[] =
962 "How the password manager handles autofill for the sync credential only "
963 "for transactional reauth pages.";
964
965const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
966const char kPushApiBackgroundModeDescription[] =
967 "Enable background mode for the Push API. This allows Chrome to continue "
968 "running after the last window is closed, and to launch at OS startup, if "
969 "the Push API needs it.";
970
971const char kQuicName[] = "Experimental QUIC protocol";
972const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
973
974const char kReducedReferrerGranularityName[] =
975 "Reduce default 'referer' header granularity.";
976const char kReducedReferrerGranularityDescription[] =
977 "If a page hasn't set an explicit referrer policy, setting this flag will "
978 "reduce the amount of information in the 'referer' header for cross-origin "
979 "requests.";
980
981const char kRequestTabletSiteName[] =
982 "Request tablet site option in the settings menu";
983const char kRequestTabletSiteDescription[] =
984 "Allows the user to request tablet site. Web content is often optimized "
985 "for tablet devices. When this option is selected the user agent string is "
986 "changed to indicate a tablet device. Web content optimized for tablets is "
987 "received there after for the current tab.";
988
989const char kResetAppListInstallStateName[] =
990 "Reset the App Launcher install state on every restart.";
991const char kResetAppListInstallStateDescription[] =
992 "Reset the App Launcher install state on every restart. While this flag is "
993 "set, Chrome will forget the launcher has been installed each time it "
994 "starts. This is used for testing the App Launcher install flow.";
995
996const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
997const char kResourceLoadSchedulerDescription[] =
998 "Uses the resource load scheduler in blink to schedule and throttle "
999 "resource load requests.";
1000
1001const char kRunAllFlashInAllowModeName[] =
1002 R"*(Run all Flash content when Flash setting is set to "allow")*";
1003const char kRunAllFlashInAllowModeDescription[] =
1004 R"*(For sites that have been set to "allow" Flash content, run all )*"
1005 R"*(content including any that has been deemed unimportant.)*";
1006
1007const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1008const char kSafeSearchUrlReportingDescription[] =
1009 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1010
1011const char kSaveasMenuLabelExperimentName[] =
1012 "Switch 'Save as' menu labels to 'Download'";
1013const char kSaveasMenuLabelExperimentDescription[] =
1014 "Enables an experiment to switch menu labels that use 'Save as...' to "
1015 "'Download'.";
1016
1017const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1018const char kSavePageAsMhtmlDescription[] =
1019 "Enables saving pages as MHTML: a single text file containing HTML and all "
1020 "sub-resources.";
1021
1022const char kScrollEndEffectName[] = "Scroll end effect";
1023const char kScrollEndEffectDescription[] =
1024 "Experimental scroll end effect in response to vertical overscroll.";
1025
1026const char kScrollPredictionName[] = "Scroll prediction";
1027const char kScrollPredictionDescription[] =
1028 "Predicts the finger's future position during scrolls allowing time to "
1029 "render the frame before the finger is there.";
1030
1031const char kSecondaryUiMd[] =
1032 "Material Design in the rest of the browser's native UI";
1033const char kSecondaryUiMdDescription[] =
1034 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1035 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1036 "browser dialogs.";
1037
1038const char kServiceWorkerNavigationPreloadName[] =
1039 "Service worker navigation preload.";
1040const char kServiceWorkerNavigationPreloadDescription[] =
1041 "Enable web pages to use the experimental service worker navigation "
1042 "preload API.";
1043
1044const char kSettingsWindowName[] = "Show settings in a window";
1045const char kSettingsWindowDescription[] =
1046 "Settings will be shown in a dedicated window instead of as a browser tab.";
1047
1048const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1049const char kShowAutofillSignaturesDescription[] =
1050 "Annotates web forms with Autofill signatures as HTML attributes.";
1051
1052const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1053const char kShowAutofillTypePredictionsDescription[] =
1054 "Annotates web forms with Autofill field type predictions as placeholder "
1055 "text.";
1056
1057const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1058const char kShowOverdrawFeedbackDescription[] =
1059 "Visualize overdraw by color-coding elements based on if they have other "
1060 "elements drawn underneath.";
1061
1062const char kShowSavedCopyName[] = "Show Saved Copy Button";
1063const char kShowSavedCopyDescription[] =
1064 "When a page fails to load, if a stale copy of the page exists in the "
1065 "browser cache, a button will be presented to allow the user to load that "
1066 "stale copy. The primary enabling choice puts the button in the most "
1067 "salient position on the error page; the secondary enabling choice puts it "
1068 "secondary to the reload button.";
1069const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1070const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1071const char kDisableShowSavedCopy[] = "Disable";
1072
1073const char kShowTouchHudName[] = "Show HUD for touch points";
1074const char kShowTouchHudDescription[] =
1075 "Enables a heads-up display at the top-left corner of the screen that "
1076 "lists information about the touch-points on the screen.";
1077
1078const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1079const char kSilentDebuggerExtensionApiDescription[] =
1080 "Do not show the infobar when an extension attaches to a page via "
1081 "chrome.debugger API. This is required to debug extension background "
1082 "pages.";
1083
1084const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1085const char kSimpleCacheBackendDescription[] =
1086 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1087 "disk space allocation.";
1088
1089const char kSimplifiedFullscreenUiName[] =
1090 "Simplified full screen / mouse lock UI.";
1091const char kSimplifiedFullscreenUiDescription[] =
1092 "A simplified new user experience when entering page-triggered full screen "
1093 "or mouse pointer lock states.";
1094
1095const char kSingleClickAutofillName[] = "Single-click autofill";
1096const char kSingleClickAutofillDescription[] =
1097 "Make autofill suggestions on initial mouse click on a form element.";
1098
1099const char kSiteDetails[] = "Site Details";
1100const char kSiteDetailsDescription[] =
1101 "Adds UI in MD Settings to view all content settings for a specific "
1102 "origin.";
1103
1104const char kSitePerProcessName[] = "Strict site isolation";
1105const char kSitePerProcessDescription[] =
1106 "Highly experimental security mode that ensures each renderer process "
1107 "contains pages from at most one site. In this mode, out-of-process "
1108 "iframes will be used whenever an iframe is cross-site.";
1109
1110const char kSiteSettings[] = "Site settings with All sites and Site details";
1111const char kSiteSettingsDescription[] =
1112 "Adds new ways of viewing Site settings.";
1113
1114const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1115const char kSlimmingPaintInvalidationDescription[] =
1116 "Whether to enable a new paint invalidation system.";
1117
1118const char kSmoothScrollingName[] = "Smooth Scrolling";
1119const char kSmoothScrollingDescription[] =
1120 "Animate smoothly when scrolling page content.";
1121
1122const char kSoftwareRasterizerName[] = "3D software rasterizer";
1123const char kSoftwareRasterizerDescription[] =
1124 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1125
1126const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341127const char kSpeculativePrefetchDescription[] =
1128 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1129 R"*(load times, based on a local database (see chrome://predictors). )*"
1130 R"*("Learning" means that only the database construction is enabled, )*"
1131 R"*("Prefetching" that learning and prefetching are enabled.)*";
1132
Justin Donnelly4e448cb2017-07-07 21:32:131133const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1134 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131135const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1136 "If enabled, when the user enters text in the omnibox that looks like a "
1137 "a query, any service worker associated with the search engine the query "
1138 "will be sent to is started early.";
1139
Brett Wilsonecb80982017-07-12 20:34:511140const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1141const char kSpellingFeedbackFieldTrialDescription[] =
1142 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401143
Brett Wilsonecb80982017-07-12 20:34:511144const char kSuggestionsWithSubStringMatchName[] =
1145 "Substring matching for Autofill suggestions";
1146const char kSuggestionsWithSubStringMatchDescription[] =
1147 "Match Autofill suggestions based on substrings (token prefixes) rather "
1148 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341149
Brett Wilsonecb80982017-07-12 20:34:511150const char kSupervisedUserManagedBookmarksFolderName[] =
1151 "Managed bookmarks for supervised users";
1152const char kSupervisedUserManagedBookmarksFolderDescription[] =
1153 "Enable the managed bookmarks folder for supervised users.";
vabr0215a8e2017-03-28 12:47:341154
Brett Wilsonecb80982017-07-12 20:34:511155const char kSyncAppListName[] = "App Launcher sync";
1156const char kSyncAppListDescription[] =
1157 "Enable App Launcher sync. This also enables Folders where available (non "
1158 "OSX).";
vabr0215a8e2017-03-28 12:47:341159
Brett Wilsonecb80982017-07-12 20:34:511160const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1161const char kSyncSandboxDescription[] =
1162 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341163
Brett Wilsonecb80982017-07-12 20:34:511164const char kTabAudioMutingName[] = "Tab audio muting UI control";
1165const char kTabAudioMutingDescription[] =
1166 "When enabled, the audio indicators in the tab strip double as tab audio "
1167 "mute controls. This also adds commands in the tab context menu for "
1168 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341169
Brett Wilsonecb80982017-07-12 20:34:511170const char kTcpFastOpenName[] = "TCP Fast Open";
1171const char kTcpFastOpenDescription[] =
1172 "Enable the option to send extra authentication information in the initial "
1173 "SYN packet for a previously connected client, allowing faster data send "
1174 "start.";
vabr0215a8e2017-03-28 12:47:341175
Brett Wilsonecb80982017-07-12 20:34:511176const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1177const char kTopChromeMdDescription[] =
1178 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1179const char kTopChromeMdMaterial[] = "Normal";
1180const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341181
Brett Wilsonecb80982017-07-12 20:34:511182const char kThreadedScrollingName[] = "Threaded scrolling";
1183const char kThreadedScrollingDescription[] =
1184 "Threaded handling of scroll-related input events. Disabling this will "
1185 "force all such scroll events to be handled on the main thread. Note that "
1186 "this can dramatically hurt scrolling performance of most websites and is "
1187 "intended for testing purposes only.";
1188
Steven Valdez4584b2482017-07-14 01:11:571189const char kTLS13VariantName[] = "TLS 1.3";
1190const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1191const char kTLS13VariantDisabled[] = "Disabled";
1192const char kTLS13VariantDraft[] = "Enabled (Draft)";
1193const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdez2d7b4e82017-07-17 22:22:091194const char kTLS13VariantRecordTypeExperiment[] =
1195 "Enabled (Record Type Experiment)";
Steven Valdez4584b2482017-07-14 01:11:571196
Brett Wilsonecb80982017-07-12 20:34:511197const char kTopDocumentIsolationName[] = "Top document isolation";
1198const char kTopDocumentIsolationDescription[] =
1199 "Highly experimental performance mode where cross-site iframes are kept in "
1200 "a separate process from the top document. In this mode, iframes from "
1201 "different third-party sites will be allowed to share a process.";
1202
1203const char kTouchAdjustmentName[] = "Touch adjustment";
1204const char kTouchAdjustmentDescription[] =
1205 "Refine the position of a touch gesture in order to compensate for touches "
1206 "having poor resolution compared to a mouse.";
1207
1208const char kTouchDragDropName[] = "Touch initiated drag and drop";
1209const char kTouchDragDropDescription[] =
1210 "Touch drag and drop can be initiated through long press on a draggable "
1211 "element.";
1212
1213const char kTouchEventsName[] = "Touch Events API";
1214const char kTouchEventsDescription[] =
1215 "Force Touch Events API feature detection to always be enabled or "
1216 "disabled, or to be enabled when a touchscreen is detected on startup "
1217 "(Automatic, the default).";
1218
1219const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1220const char kTouchSelectionStrategyDescription[] =
1221 "Controls how text selection granularity changes when touch text selection "
1222 "handles are dragged. Non-default behavior is experimental.";
1223const char kTouchSelectionStrategyCharacter[] = "Character";
1224const char kTouchSelectionStrategyDirection[] = "Direction";
1225
1226const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1227const char kTraceUploadUrlDescription[] =
1228 "This is to be used in conjunction with the enable-navigation-tracing "
1229 "flag. Please select the label that best describes the recorded traces. "
1230 "This will choose the destination the traces are uploaded to. If you are "
1231 "not sure, select other. If left empty, no traces will be uploaded.";
1232const char kTraceUploadUrlChoiceOther[] = "Other";
1233const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1234const char kTraceUploadUrlChoiceQa[] = "QA";
1235const char kTraceUploadUrlChoiceTesting[] = "Testing";
1236
1237const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1238const char kTranslate2016q2UiDescription[] =
1239 "Improved triggering logic and look for Translate Bubble UI";
1240
1241const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1242const char kTranslateLanguageByUlpDescription[] =
1243 "Improved translate target language and triggering logic by considering "
1244 "information from User Language Profile (ULP).";
1245
1246const char kTrySupportedChannelLayoutsName[] =
1247 "Causes audio output streams to check if channel layouts other than the "
1248 "default hardware layout are available.";
1249const char kTrySupportedChannelLayoutsDescription[] =
1250 "Causes audio output streams to check if channel layouts other than the "
1251 "default hardware layout are available. Turning this on will allow the OS "
1252 "to do stereo to surround expansion if supported. May expose third party "
1253 "driver bugs, use with caution.";
1254
1255const char kUiPartialSwapName[] = "Partial swap";
1256const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1257
1258const char kUserConsentForExtensionScriptsName[] =
1259 "User consent for extension scripts";
1260const char kUserConsentForExtensionScriptsDescription[] =
1261 "Require user consent for an extension running a script on the page, if "
1262 "the extension requested permission to run on all urls.";
1263
1264const char kUseSuggestionsEvenIfFewFeatureName[] =
1265 "Disable minimum for server-side tile suggestions on NTP.";
1266const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1267 "Request server-side suggestions even if there are only very few of them "
1268 "and use them for tiles on the New Tab Page.";
1269
1270const char kV8CacheOptionsName[] = "V8 caching mode.";
1271const char kV8CacheOptionsDescription[] =
1272 "Caching mode for the V8 JavaScript engine.";
1273const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1274const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1275
1276const char kV8CacheStrategiesForCacheStorageName[] =
1277 "V8 caching strategy for CacheStorage.";
1278const char kV8CacheStrategiesForCacheStorageDescription[] =
1279 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1280const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1281const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1282
1283const char kVibrateRequiresUserGestureName[] =
1284 "Requiring user gesture for the Vibration API";
1285const char kVibrateRequiresUserGestureDescription[] =
1286 "Block the Vibration API if no user gesture has been received on the frame "
1287 "or any embedded frame.";
1288
1289const char kVideoFullscreenOrientationLockName[] =
1290 "Lock screen orientation when playing a video fullscreen.";
1291const char kVideoFullscreenOrientationLockDescription[] =
1292 "Lock the screen orientation of the device to match video orientation when "
1293 "a video goes fullscreen. Only on phones.";
1294
1295const char kVideoRotateToFullscreenName[] =
1296 "Rotate-to-fullscreen gesture for videos.";
1297const char kVideoRotateToFullscreenDescription[] =
1298 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1299 "the video. Only on phones.";
1300
1301const char kWalletServiceUseSandboxName[] =
1302 "Use Google Payments sandbox servers";
1303const char kWalletServiceUseSandboxDescription[] =
1304 "For developers: use the sandbox service for Google Payments API calls.";
1305
1306const char kWebgl2Name[] = "WebGL 2.0";
1307const char kWebgl2Description[] = "Allow web applications to access WebGL 2.0.";
1308
1309const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1310const char kWebglDraftExtensionsDescription[] =
1311 "Enabling this option allows web applications to access the WebGL "
1312 "Extensions that are still in draft status.";
1313
1314const char kWebMidiName[] = "Web MIDI API";
1315const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1316
1317const char kWebPaymentsName[] = "Web Payments";
1318const char kWebPaymentsDescription[] =
1319 "Enable Web Payments API integration, a JavaScript API for merchants.";
1320
1321const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1322const char kWebrtcEchoCanceller3Description[] =
1323 "Experimental WebRTC echo canceller (AEC3).";
1324
1325const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1326const char kWebrtcHwDecodingDescription[] =
1327 "Support in WebRTC for decoding video streams using platform hardware.";
1328
1329const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1330const char kWebrtcHwEncodingDescription[] =
1331 "Support in WebRTC for encoding video streams using platform hardware.";
1332
1333const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1334const char kWebrtcHwH264EncodingDescription[] =
1335 "Support in WebRTC for encoding h264 video streams using platform "
1336 "hardware.";
1337
1338const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1339const char kWebrtcHwVP8EncodingDescription[] =
1340 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1341
1342const char kWebrtcSrtpAesGcmName[] =
1343 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1344const char kWebrtcSrtpAesGcmDescription[] =
1345 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1346
1347const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1348const char kWebrtcStunOriginDescription[] =
1349 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1350 "header.";
1351
1352const char kWebvrName[] = "WebVR";
1353const char kWebvrDescription[] =
1354 "Enabling this option allows web applications to access experimental "
1355 "Virtual Reality APIs.";
1356
1357const char kWifiCredentialSyncName[] = "WiFi credential sync";
1358const char kWifiCredentialSyncDescription[] =
1359 "Enables synchronizing WiFi network settings across devices. When enabled, "
1360 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1361 "credentials are synchronized subject to user preferences. (See also, "
1362 "chrome://settings/syncSetup.)";
1363
1364const char kZeroCopyName[] = "Zero-copy rasterizer";
1365const char kZeroCopyDescription[] =
1366 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341367
Brett Wilsonff596952017-07-14 01:06:551368// Android ---------------------------------------------------------------------
1369
1370#if defined(OS_ANDROID)
1371
1372const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1373const char kAiaFetchingDescription[] =
1374 "Enable intermediate certificate fetching when a server does not provide "
1375 "sufficient certificates to build a chain to a trusted root.";
1376
1377const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1378const char kAccessibilityTabSwitcherDescription[] =
1379 "Enable the accessibility tab switcher for Android.";
1380
1381const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1382const char kAndroidAutofillAccessibilityDescription[] =
1383 "Enable accessibility for autofill popup.";
1384
1385const char kAndroidPaymentAppsName[] = "Android payment apps";
1386const char kAndroidPaymentAppsDescription[] =
1387 "Enable third party Android apps to integrate as payment apps";
1388
1389const char kAutofillAccessoryViewName[] =
1390 "Autofill suggestions as keyboard accessory view";
1391const char kAutofillAccessoryViewDescription[] =
1392 "Shows Autofill suggestions on top of the keyboard rather than in a "
1393 "dropdown.";
1394
1395const char kBackgroundLoaderForDownloadsName[] =
1396 "Enables background downloading of pages.";
1397const char kBackgroundLoaderForDownloadsDescription[] =
1398 "Enables downloading pages in the background in case page is not yet "
1399 "loaded in current tab.";
1400
1401const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1402const char kChromeHomeExpandButtonDescription[] =
1403 "Enables the expand button for Chrome Home.";
1404
1405const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1406const char kChromeHomeSwipeLogicDescription[] =
1407 "Various swipe logic options for Chrome Home for sheet expansion.";
1408const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
1409const char kChromeHomeSwipeLogicButtonOnly[] = "Swipe on expand button";
1410
1411const char kChromeHomeName[] = "Chrome Home";
1412const char kChromeHomeDescription[] =
1413 "Enables Chrome Home on Android. You must restart the browser"
1414 " twice for changes to take effect.";
1415
1416const char kContentSuggestionsCategoryOrderName[] =
1417 "Default content suggestions category order (e.g. on NTP)";
1418const char kContentSuggestionsCategoryOrderDescription[] =
1419 "Set default order of content suggestion categories (e.g. on the NTP).";
1420
1421const char kContentSuggestionsCategoryRankerName[] =
1422 "Content suggestions category ranker (e.g. on NTP)";
1423const char kContentSuggestionsCategoryRankerDescription[] =
1424 "Set category ranker to order categories of content suggestions (e.g. on "
1425 "the NTP).";
1426
1427const char kContextualSearchContextualCardsBarIntegration[] =
1428 "Contextual Search - Contextual Cards Integration";
1429const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1430 "Whether or not integration of Contextual Cards data in the Contextual "
1431 "Search Bar is enabled.";
1432
1433const char kContextualSearchSingleActionsName[] =
1434 "Contextual Search - Single Actions";
1435const char kContextualSearchSingleActionsDescription[] =
1436 "Whether or not single actions using Contextual Cards data in the "
1437 "Contextual Search Bar is enabled.";
1438
1439const char kContextualSearchUrlActionsName[] =
1440 "Contextual Search - URL Actions";
1441const char kContextualSearchUrlActionsDescription[] =
1442 "Whether or not URL actions using Contextual Cards data in the Contextual "
1443 "Search Bar is enabled.";
1444
1445const char kContextualSearchName[] = "Contextual Search";
1446const char kContextualSearchDescription[] =
1447 "Whether or not Contextual Search is enabled.";
1448
1449const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1450const char kEnableAndroidPayIntegrationV1Description[] =
1451 "Enable integration with Android Pay using the first version of the API";
1452
1453const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1454const char kEnableAndroidPayIntegrationV2Description[] =
1455 "Enable integration with Android Pay using the second version of the API";
1456
1457const char kEnableAndroidSpellcheckerDescription[] =
1458 "Enables use of the Android spellchecker.";
1459const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1460
1461const char kEnableConsistentOmniboxGeolocationName[] =
1462 "Have consistent omnibox geolocation access.";
1463const char kEnableConsistentOmniboxGeolocationDescription[] =
1464 "Have consistent geolocation access between the omnibox and default search "
1465 "engine.";
1466
1467const char kEnableContentSuggestionsNewFaviconServerName[] =
1468 "Get favicons for content suggestions from a new server.";
1469const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1470 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1471 "new favicon server.";
1472
1473const char kEnableContentSuggestionsLargeThumbnailName[] =
1474 "Large thumbnails layout for content suggestions cards.";
1475const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1476 "If enabled, the content suggestions cards will use large thumbnails and "
1477 "some related adjustments.";
1478
1479const char kEnableContentSuggestionsVideoOverlayName[] =
1480 "Video icon overlay on thumbnails for content suggestions cards.";
1481const char kEnableContentSuggestionsVideoOverlayDescription[] =
1482 "If enabled, the content suggestions cards for suggestions with a video "
1483 "will show a video play icon overlay on the thumbnail.";
1484
1485const char kEnableContentSuggestionsSettingsName[] =
1486 "Show content suggestions settings.";
1487const char kEnableContentSuggestionsSettingsDescription[] =
1488 "If enabled, the content suggestions settings will be available from the "
1489 "main settings menu.";
1490
1491const char kEnableContentSuggestionsShowSummaryName[] =
1492 "Show content suggestions summaries.";
1493const char kEnableContentSuggestionsShowSummaryDescription[] =
1494 "If enabled, the content suggestions summaries will be shown.";
1495
1496const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1497const char kEnableCopylessPasteDescription[] =
1498 "Provide suggestions for text input, based on your recent context. For "
1499 "example, if you looked at a restaurant website and switched to the Maps "
1500 "app, the keyboard would offer the name of that restaurant as a suggestion "
1501 "to enter into the search bar. The data is indexed locally, and never sent "
1502 "to the server. It's disabled in incognito mode.";
1503
1504const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1505const char kEnableCustomContextMenuDescription[] =
1506 "Enables a new context menu when a link, image, or video is pressed within "
1507 "Chrome.";
1508
1509const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1510const char kEnableCustomFeedbackUiDescription[] =
1511 "Enables a custom feedback UI when submitting feedback through Google "
1512 "Feedback. Works with Google Play Services v10.2+";
1513
1514const char kEnableDataReductionProxyMainMenuName[] =
1515 "Enable Data Saver main menu footer";
1516const char kEnableDataReductionProxyMainMenuDescription[] =
1517 "Enables the Data Saver footer in the main menu";
1518
1519const char kEnableDataReductionProxySiteBreakdownName[] =
1520 "Data Saver Site Breakdown";
1521const char kEnableDataReductionProxySiteBreakdownDescription[] =
1522 "Enable the site breakdown on the Data Saver settings page.";
1523
1524const char kEnableOmniboxClipboardProviderName[] =
1525 "Omnibox clipboard URL suggestions";
1526const char kEnableOmniboxClipboardProviderDescription[] =
1527 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1528 "focus in the omnibox.";
1529
1530const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1531 "Use expanded autofill credit card popup layout.";
1532const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1533 "If enabled, displays autofill credit card popup using expanded layout.";
1534
1535const char kEnableFaviconsFromWebManifestName[] =
1536 "Load favicons from Web Manifests";
1537const char kEnableFaviconsFromWebManifestDescription[] =
1538 "Fetch Web Manifests on page load to read favicons from them.";
1539
1540const char kEnableNtpAssetDownloadSuggestionsName[] =
1541 "Show asset downloads on the New Tab page";
1542const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1543 "If enabled, the list of content suggestions on the New Tab page will "
1544 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1545 "later use.";
1546
1547const char kEnableNtpBookmarkSuggestionsName[] =
1548 "Show recently visited bookmarks on the New Tab page";
1549const char kEnableNtpBookmarkSuggestionsDescription[] =
1550 "If enabled, the list of content suggestions on the New Tab page will "
1551 "contain recently visited bookmarks.";
1552
1553const char kEnableNtpForeignSessionsSuggestionsName[] =
1554 "Show recent foreign tabs on the New Tab page";
1555const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1556 "If enabled, the list of content suggestions on the New Tab page will "
1557 "contain recent foreign tabs.";
1558
1559const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1560 "Download favicons for NTP tiles from Google.";
1561const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1562 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1563 "This only applies to tiles that originate from synced history.";
1564
1565const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1566 "Show offline page downloads on the New Tab page";
1567const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1568 "If enabled, the list of content suggestions on the New Tab page will "
1569 "contain pages that the user downloaded for later use.";
1570
1571const char kEnableNtpRemoteSuggestionsName[] =
1572 "Show server-side suggestions on the New Tab page";
1573const char kEnableNtpRemoteSuggestionsDescription[] =
1574 "If enabled, the list of content suggestions on the New Tab page will "
1575 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1576 "allows to override the source used to retrieve these server-side "
1577 "suggestions.";
1578
1579const char kEnableNtpSnippetsVisibilityName[] =
1580 "Make New Tab Page Snippets more visible.";
1581const char kEnableNtpSnippetsVisibilityDescription[] =
1582 "If enabled, the NTP snippets will become more discoverable with a larger "
1583 "portion of the first card above the fold.";
1584
1585const char kEnableNtpSuggestionsNotificationsName[] =
1586 "Notify about new content suggestions available at the New Tab page";
1587const char kEnableNtpSuggestionsNotificationsDescription[] =
1588 "If enabled, notifications will inform about new content suggestions on "
1589 "the New Tab page.";
1590
1591const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1592const char kEnablePhysicalWebDescription[] =
1593 "Enable scanning for URLs from Physical Web objects.";
1594
1595const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1596const char kEnableOfflinePreviewsDescription[] =
1597 "Enable showing offline page previews on slow networks.";
1598
1599const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1600const char kEnableOskOverscrollDescription[] =
1601 "Enable OSK overscroll support. With this flag on, the OSK will only "
1602 "resize the visual viewport.";
1603
1604const char kEnableSpecialLocaleName[] =
1605 "Enable custom logic for special locales.";
1606const char kEnableSpecialLocaleDescription[] =
1607 "Enable custom logic for special locales. In this mode, Chrome might "
1608 "behave differently in some locales.";
1609
1610const char kEnableWebapk[] = "Enable improved add to Home screen";
1611const char kEnableWebapkDescription[] =
1612 R"*(Packages "Progressive Web Apps" so that they can integrate more )*"
1613 R"*(deeply with Android. A Chrome server is used to package sites. In )*"
1614 R"*(Chrome Canary and Chrome Dev, this requires “Untrusted )*"
1615 R"*(sources” to be enabled in Android security settings.)*";
1616
1617const char kEnableWebNfcName[] = "WebNFC";
1618const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1619
1620const char kEnableWebPaymentsSingleAppUiSkipName[] =
1621 "Enable Web Payments single app UI skip";
1622const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1623 "Enable Web Payments to skip showing its UI if the developer specifies a "
1624 "single app.";
1625
1626const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1627const char kHerbPrototypeChoicesDescription[] =
1628 "Switching this option changes which tab management prototype is being "
1629 "tested.";
1630const char kHerbPrototypeFlavorElderberry[] =
1631 "ELDERBERRY: All View Intents in CCT v2";
1632
1633const char kKeepPrefetchedContentSuggestionsName[] =
1634 "Keep prefetched content suggestions";
1635const char kKeepPrefetchedContentSuggestionsDescription[] =
1636 "If enabled, some of prefetched content suggestions are not replaced by "
1637 "the new fetched suggestions.";
1638
1639const char kLsdPermissionPromptName[] =
1640 "Location Settings Dialog Permission Prompt";
1641const char kLsdPermissionPromptDescription[] =
1642 "Whether to use the Google Play Services Location Settings Dialog "
1643 "permission dialog.";
1644
1645const char kMediaDocumentDownloadButtonName[] =
1646 "Download button when opening a page with media url.";
1647const char kMediaDocumentDownloadButtonDescription[] =
1648 "Allow a download button to show up when opening a page with media url.";
1649
1650const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1651const char kMediaScreenCaptureDescription[] =
1652 "Enable this option for experimental ScreenCapture feature on Android.";
1653
1654const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1655const char kModalPermissionPromptsDescription[] =
1656 "Whether to use permission dialogs in place of permission infobars.";
1657
1658const char kNewBackgroundLoaderName[] =
1659 "Use background loader instead of prerenderer to load pages.";
1660const char kNewBackgroundLoaderDescription[] =
1661 "Use background loader instead of prerenderer to asynchronously download "
1662 "pages.";
1663
1664const char kNewPhotoPickerName[] = "Enable new Photopicker";
1665const char kNewPhotoPickerDescription[] =
1666 "Activates the new picker for selecting photos.";
1667
1668const char kNoCreditCardAbort[] = "No Credit Card Abort";
1669const char kNoCreditCardAbortDescription[] =
1670 "Whether or not the No Credit Card Abort is enabled.";
1671
1672const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1673const char kNtpCondensedLayoutDescription[] =
1674 "Show a condensed layout on the New Tab Page.";
1675
1676const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1677const char kNtpCondensedTileLayoutDescription[] =
1678 "Show a condensed tile layout on the New Tab Page.";
1679
1680const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1681const char kNtpGoogleGInOmniboxDescription[] =
1682 "Show a Google G in the omnibox on the New Tab Page.";
1683
1684const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1685const char kNtpOfflinePagesDescription[] =
1686 "Enables badging of offline pages on the New Tab page. Only relevant if "
1687 "offline pages are enabled.";
1688
1689const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1690const char kNtpPopularSitesDescription[] =
1691 "Pre-populate the New Tab page with popular sites.";
1692
1693const char kNtpSwitchToExistingTabName[] =
1694 "Switch to an existing tab for New Tab Page suggestions.";
1695const char kNtpSwitchToExistingTabDescription[] =
1696 "When opening a suggested webpage from the New Tab Page, if a tab is "
1697 "already open for the suggestion, switch to that one instead of loading "
1698 "the suggestion in the new tab.";
1699const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
1700const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
1701
1702const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1703const char kOfflineBookmarksDescription[] =
1704 "Enable saving bookmarked pages for offline viewing.";
1705
1706const char kOfflinePagesAsyncDownloadName[] =
1707 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1708const char kOfflinePagesAsyncDownloadDescription[] =
1709 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1710 R"*(that the user can click on it to download the page later.)*";
1711
1712const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1713const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1714
1715const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1716const char kOfflinePagesCtV2Description[] =
1717 "V2 features include attributing pages to the app that initiated the "
1718 "custom tabs, and being able to query for pages by page attribution.";
1719
1720const char kOfflinePagesLoadSignalCollectingName[] =
1721 "Enables collecting load timing data for offline page snapshots.";
1722const char kOfflinePagesLoadSignalCollectingDescription[] =
1723 "Enables loading completeness data collection while writing an offline "
1724 "page. This data is collected in the snapshotted offline page to allow "
1725 "data analysis to improve deciding when to make the offline snapshot.";
1726
1727const char kOfflinePagesPrefetchingName[] =
1728 "Enables suggested offline pages to be prefetched.";
1729const char kOfflinePagesPrefetchingDescription[] =
1730 "Enables suggested offline pages to be prefetched, so useful content is "
1731 "available while offline.";
1732
1733const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1734const char kOfflinePagesSharingDescription[] =
1735 "Enables the saved offline pages to be shared via other applications.";
1736
1737const char kOfflinePagesSvelteConcurrentLoadingName[] =
1738 "Enables concurrent background loading on svelte.";
1739const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1740 "Enables concurrent background loading (or downloading) of pages on "
1741 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1742 "happen when the svelte device is idle.";
1743
1744const char kOffliningRecentPagesName[] =
1745 "Enable offlining of recently visited pages";
1746const char kOffliningRecentPagesDescription[] =
1747 "Enable storing recently visited pages locally for offline use. Requires "
1748 "Offline Pages to be enabled.";
1749
1750extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1751extern const char kPayWithGoogleV1Description[] =
1752 "Enable Pay with Google integration into Web Payments with API version "
1753 "'1'.";
1754
1755const char kProgressBarAnimationName[] =
1756 "Android phone page loading progress bar animation";
1757const char kProgressBarAnimationDescription[] =
1758 "Configures Android phone page loading progress bar animation.";
1759const char kProgressBarAnimationLinear[] = "Linear";
1760const char kProgressBarAnimationSmooth[] = "Smooth";
1761const char kProgressBarAnimationSmoothIndeterminate[] = "Smooth indeterminate";
1762const char kProgressBarAnimationFastStart[] = "Fast start";
1763
1764const char kProgressBarCompletionName[] =
1765 "Android phone page load progress bar completion time.";
1766const char kProgressBarCompletionDescription[] =
1767 "Configures Android phone page loading progress bar completion time.";
1768const char kProgressBarCompletionLoadEvent[] =
1769 R"*(Top loading frame's onload event ("everything" is done in the )*"
1770 R"*(page, historical behavior).)*";
1771const char kProgressBarCompletionResourcesBeforeDcl[] =
1772 "Main frame's domContentLoaded and all resources loads started before "
1773 "domContentLoaded (iframes ignored).";
1774const char kProgressBarCompletionDomContentLoaded[] =
1775 "Main frame's domContentLoaded (iframes ignored).";
1776const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1777 "domContentLoaded and all resources loads started before domContentLoaded "
1778 "(main frame and same origin iframes).";
1779
1780const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1781const char kPullToRefreshEffectDescription[] =
1782 "Page reloads triggered by vertically overscrolling content.";
1783
1784const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1785const char kReaderModeHeuristicsDescription[] =
1786 "Determines what pages the Reader Mode infobar is shown on.";
1787const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1788const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1789const char kReaderModeHeuristicsAllArticles[] = "All articles";
1790const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1791const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1792
1793const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1794const char kServiceWorkerPaymentAppsDescription[] =
1795 "Enable Service Worker applications to integrate as payment apps";
1796
1797const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
1798const char kSetMarketUrlForTestingDescription[] =
1799 "When enabled, sets the market URL for use in testing the update menu "
1800 "item.";
1801
1802const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
1803const char kSpannableInlineAutocompleteDescription[] =
1804 "A new type of inline autocomplete for the omnibox that works with "
1805 "keyboards that compose text.";
1806
1807const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1808const char kTabsInCbdDescription[] =
1809 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1810
1811const char kTranslateCompactUIName[] = "New Translate Infobar";
1812const char kTranslateCompactUIDescription[] =
1813 "Enable the new Translate compact infobar UI.";
1814
1815const char kUpdateMenuBadgeName[] = "Force show update menu badge";
1816const char kUpdateMenuBadgeDescription[] =
1817 "When enabled, an update badge will be shown on the app menu button.";
1818
1819const char kUpdateMenuItemCustomSummaryDescription[] =
1820 "When this flag and the force show update menu item flag are enabled, a "
1821 "custom summary string will be displayed below the update menu item.";
1822const char kUpdateMenuItemCustomSummaryName[] =
1823 "Update menu item custom summary";
1824
1825const char kUpdateMenuItemName[] = "Force show update menu item";
1826const char kUpdateMenuItemDescription[] =
1827 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
1828 R"*(menu.)*";
1829
1830const char kUseAndroidMidiApiName[] = "Use Android Midi API";
1831const char kUseAndroidMidiApiDescription[] =
1832 "Use Android Midi API for WebMIDI (effective only with Android M+ "
1833 "devices).";
1834
1835const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1836const char kUseDdljsonApiDescription[] =
1837 "Enables the new ddljson API to fetch Doodles for the NTP.";
1838
1839const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1840const char kWebPaymentsModifiersDescription[] =
1841 "If the website provides modifiers in the payment request, show the custom "
1842 "total for each payment instrument, update the shopping cart when "
1843 "instruments are switched, and send modified payment method specific data "
1844 "to the payment app.";
1845
1846const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
1847const char kXGEOVisibleNetworksDescription[] =
1848 "If location permissions are granted, include visible networks in the XGEO "
1849 "Header for omnibox queries. This will only happen if location is not "
1850 "fresh or not available (for example, due to a cold start).";
1851
1852#endif // OS_ANDROID
1853
brettw5f9c1642017-05-14 17:12:481854#if !defined(DISABLE_NACL)
1855
vabr0215a8e2017-03-28 12:47:341856const char kNaclName[] = "Native Client";
vabr0215a8e2017-03-28 12:47:341857const char kNaclDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191858 "Support Native Client for all web applications, even those that were not "
1859 "installed from the Chrome Web Store.";
vabr0215a8e2017-03-28 12:47:341860
vabr0215a8e2017-03-28 12:47:341861const char kNaclDebugName[] = "Native Client GDB-based debugging";
vabr0215a8e2017-03-28 12:47:341862const char kNaclDebugDescription[] =
1863 "Enable GDB debug stub. This will stop a Native Client application on "
1864 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
1865
vabr0215a8e2017-03-28 12:47:341866const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
vabr0215a8e2017-03-28 12:47:341867const char kPnaclSubzeroDescription[] =
1868 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
1869
vabr0215a8e2017-03-28 12:47:341870const char kNaclDebugMaskName[] =
1871 "Restrict Native Client GDB-based debugging by pattern";
vabr0215a8e2017-03-28 12:47:341872const char kNaclDebugMaskDescription[] =
1873 "Restricts Native Client application GDB-based debugging by URL of "
Vitalii Iarko7df520142017-07-07 12:53:191874 "manifest file. Native Client GDB-based debugging must be enabled for this "
1875 "option to work.";
vabr0215a8e2017-03-28 12:47:341876const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
vabr0215a8e2017-03-28 12:47:341877const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
1878 "Debug everything except secure shell and the PNaCl translator.";
vabr0215a8e2017-03-28 12:47:341879const char kNaclDebugMaskChoiceIncludeDebug[] =
1880 "Debug only if manifest URL ends with debug.nmf.";
1881
brettw5f9c1642017-05-14 17:12:481882#endif
1883
vabr0215a8e2017-03-28 12:47:341884#if defined(OS_WIN)
1885
1886const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
1887
1888const char kCloudPrintXpsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191889 "XPS enables advanced options for classic printers connected to the Cloud "
1890 "Print with Chrome. Printers must be re-connected after changing this "
1891 "flag.";
vabr0215a8e2017-03-28 12:47:341892
1893#endif // defined(OS_WIN)
1894
Evan Stadeb508c722017-07-12 02:19:081895const char kDelayReloadStopButtonChangeName[] =
1896 "Reduce stop/reload button flicker";
1897
1898const char kDelayReloadStopButtonChangeDescription[] =
1899 "Delays display of stop button when page is loading such that short "
1900 "loads won't show the stop button at all.";
1901
vabr0215a8e2017-03-28 12:47:341902#if BUILDFLAG(ENABLE_WEBRTC)
1903
1904const char kWebrtcH264WithOpenh264FfmpegName[] =
1905 "WebRTC H.264 software video encoder/decoder";
1906
1907const char kWebrtcH264WithOpenh264FfmpegDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191908 "When enabled, an H.264 software video encoder/decoder pair is included. "
1909 "If a hardware encoder/decoder is also available it may be used instead of "
1910 "this encoder/decoder.";
vabr0215a8e2017-03-28 12:47:341911
1912#endif // BUILDFLAG(ENABLE_WEBRTC)
1913
vabr0215a8e2017-03-28 12:47:341914#if defined(USE_ASH)
1915
brettw81668cf2017-05-15 22:57:341916const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
vabr0215a8e2017-03-28 12:47:341917
1918const char kAshShelfColorDescription[] =
bruthigd8b95962017-03-31 19:38:341919 "Enables/disables the shelf color to be a derived from the wallpaper. The "
1920 "--ash-shelf-color-scheme flag defines how that color is derived.";
vabr0215a8e2017-03-28 12:47:341921
bruthigd8b95962017-03-31 19:38:341922const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
vabr0215a8e2017-03-28 12:47:341923
bruthigd8b95962017-03-31 19:38:341924const char kAshShelfColorSchemeDescription[] =
1925 "Specify how the color is derived from the wallpaper. This flag is only "
1926 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
vabr0215a8e2017-03-28 12:47:341927
bruthigd8b95962017-03-31 19:38:341928const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
vabr0215a8e2017-03-28 12:47:341929
bruthigd8b95962017-03-31 19:38:341930const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
vabr0215a8e2017-03-28 12:47:341931
bruthigd8b95962017-03-31 19:38:341932const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
vabr0215a8e2017-03-28 12:47:341933
bruthigd8b95962017-03-31 19:38:341934const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
1935
1936const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
1937
1938const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
vabr0215a8e2017-03-28 12:47:341939
vabr0215a8e2017-03-28 12:47:341940const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
1941
1942const char kAshEnableMirroredScreenDescription[] =
1943 "Enable the mirrored screen mode. This mode flips the screen image "
1944 "horizontally.";
1945
wutaob161bf22017-04-26 16:55:031946const char kAshDisableSmoothScreenRotationName[] =
1947 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:541948
wutaob161bf22017-04-26 16:55:031949const char kAshDisableSmoothScreenRotationDescription[] =
1950 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:541951
vabr0215a8e2017-03-28 12:47:341952const char kMaterialDesignInkDropAnimationFast[] = "Fast";
1953
1954const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
1955
1956const char kMaterialDesignInkDropAnimationSpeedName[] =
1957 "Material Design Ink Drop Animation Speed";
1958
1959const char kMaterialDesignInkDropAnimationSpeedDescription[] =
1960 "Sets the speed of the experimental visual feedback animations for "
1961 "material design.";
1962
1963const char kUiSlowAnimationsName[] = "Slow UI animations";
1964
1965const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
1966
reveman5be07ac82017-04-14 01:06:051967const char kUiShowCompositedLayerBordersName[] =
1968 "Show UI composited layer borders";
1969
1970const char kUiShowCompositedLayerBordersDescription[] =
1971 "Show border around composited layers created by UI.";
1972
1973const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
1974
1975const char kUiShowCompositedLayerBordersSurface[] = "Surface";
1976
1977const char kUiShowCompositedLayerBordersLayer[] = "Layer";
1978
1979const char kUiShowCompositedLayerBordersAll[] = "All";
1980
vabr0215a8e2017-03-28 12:47:341981#endif // defined(USE_ASH)
1982
vabr0215a8e2017-03-28 12:47:341983const char kForceGpuRasterization[] = "Force-enabled for all layers";
1984
vabr0215a8e2017-03-28 12:47:341985#if defined(OS_CHROMEOS)
1986
sky527bea52017-05-15 19:15:141987const char kUseMusDescription[] = "Enable the Mojo UI service.";
vabr0215a8e2017-03-28 12:47:341988
sky527bea52017-05-15 19:15:141989const char kUseMusName[] = "Mus";
1990
1991const char kEnableMashDescription[] =
1992 "Mash (UI, Chrome and ash in separate services)";
1993
1994const char kEnableMusDescription[] =
1995 "Mus (UI in separate service, Chrome and ash in same service)";
vabr0215a8e2017-03-28 12:47:341996
1997const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
1998
1999const char kAllowTouchpadThreeFingerClickDescription[] =
2000 "Enables touchpad three-finger-click as middle button.";
2001
2002const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2003
2004const char kAshEnableUnifiedDesktopDescription[] =
2005 "Enable unified desktop mode which allows a window to span multiple "
2006 "displays.";
2007
brettw5f9c1642017-05-14 17:12:482008const char kBootAnimationName[] = "Boot animation";
vabr0215a8e2017-03-28 12:47:342009
2010const char kBootAnimationDescription[] =
2011 "Wallpaper boot animation (except for OOBE case).";
2012
hansberryc147785f2017-05-02 23:36:272013const char kTetherName[] = "Instant Tethering";
2014
2015const char kTetherDescription[] =
2016 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2017 "phone to share its Internet connection with this device.";
2018
vabr0215a8e2017-03-28 12:47:342019#endif // defined(OS_CHROMEOS)
2020
vabr0215a8e2017-03-28 12:47:342021#if defined(OS_CHROMEOS)
2022
2023const char kFirstRunUiTransitionsName[] =
2024 "Animated transitions in the first-run tutorial";
2025
2026const char kFirstRunUiTransitionsDescription[] =
2027 "Transitions during first-run tutorial are animated.";
2028
2029#endif // defined(OS_CHROMEOS)
2030
vabr0215a8e2017-03-28 12:47:342031#if defined(OS_MACOSX)
2032
2033const char kHostedAppsInWindowsName[] =
2034 "Allow hosted apps to be opened in windows";
2035
2036const char kHostedAppsInWindowsDescription[] =
2037 "Allows hosted apps to be opened in windows instead of being limited to "
2038 "tabs.";
2039
2040const char kTabDetachingInFullscreenName[] =
2041 "Allow tab detaching in fullscreen";
2042
2043const char kTabDetachingInFullscreenDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192044 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
vabr0215a8e2017-03-28 12:47:342045
2046const char kFullscreenToolbarRevealName[] =
2047 "Enables the toolbar in fullscreen to reveal itself.";
2048
2049const char kFullscreenToolbarRevealDescription[] =
2050 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2051 "has changed.";
2052
2053const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2054
2055const char kTabStripKeyboardFocusDescription[] =
2056 "Enable keyboard focus for the tabs in the tab strip.";
2057
2058#endif // defined(OS_MACOSX)
2059
vabr0215a8e2017-03-28 12:47:342060#if defined(OS_MACOSX)
2061
2062const char kTranslateNewUxName[] = "New Translate UX";
2063
2064const char kTranslateNewUxDescription[] =
2065 "Enable the new Translate bubble UX is offered instead of the infobar.";
2066
2067#endif // defined(OS_MACOSX)
2068
vabr0215a8e2017-03-28 12:47:342069#if defined(OS_MACOSX)
2070
2071const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2072
2073const char kAppInfoDialogDescription[] =
2074 "Makes the Toolkit-Views based App Info dialog accessible from "
2075 "chrome://apps or chrome://extensions in place of the native extension "
2076 "permissions dialog, or the details link (which is a link to the Web "
2077 "Store).";
2078
kerrnel7e4f7a7f2017-06-28 21:28:282079const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2080
2081const char kMacV2SandboxDescription[] =
2082 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2083 "entire life cycle.";
2084
vabr0215a8e2017-03-28 12:47:342085const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2086
2087const char kMacViewsNativeAppWindowsDescription[] =
2088 "Controls whether to use Toolkit-Views based Chrome App windows.";
2089
2090const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2091
2092const char kMacViewsTaskManagerDescription[] =
2093 "Controls whether to use the Toolkit-Views based Task Manager.";
2094
2095const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2096
2097const char kAppWindowCyclingDescription[] =
2098 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2099 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
Vitalii Iarko7df520142017-07-07 12:53:192100 "browser window, and browser windows will not be cycled when a Chrome App "
2101 "is active.";
vabr0215a8e2017-03-28 12:47:342102
2103#endif // defined(OS_MACOSX)
2104
2105#if defined(OS_CHROMEOS)
2106
2107const char kAcceleratedMjpegDecodeName[] =
2108 "Hardware-accelerated mjpeg decode for captured frame";
2109
2110const char kAcceleratedMjpegDecodeDescription[] =
2111 "Enable hardware-accelerated mjpeg decode for captured frame where "
2112 "available.";
2113
2114#endif // defined(OS_CHROMEOS)
2115
vabr0215a8e2017-03-28 12:47:342116#if defined(OS_WIN)
2117
2118const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2119
2120const char kEnableAppcontainerDescription[] =
2121 "Enables the use of an AppContainer on sandboxed processes to improve "
2122 "security.";
2123
2124#endif // defined(OS_WIN)
2125
thestig0c55ee32017-06-20 22:17:512126#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192127
2128const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
2129
2130const char kShowCertLinkOnPageInfoDescription[] =
2131 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
2132 "sites.";
2133
thestig0c55ee32017-06-20 22:17:512134#endif // defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192135
vabr0215a8e2017-03-28 12:47:342136#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2137
2138const char kAutofillCreditCardUploadName[] =
2139 "Enable offering upload of Autofilled credit cards";
2140
2141const char kAutofillCreditCardUploadDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192142 "Enables a new option to upload credit cards to Google Payments for sync "
2143 "to all Chrome devices.";
vabr0215a8e2017-03-28 12:47:342144
2145#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2146
vabr0215a8e2017-03-28 12:47:342147#if defined(OS_WIN) || defined(OS_LINUX)
2148
2149const char kEnableInputImeApiName[] = "Enable Input IME API";
2150
2151const char kEnableInputImeApiDescription[] =
2152 "Enable the use of chrome.input.ime API.";
2153
2154#endif // defined(OS_WIN) || defined(OS_LINUX)
2155
vabr0215a8e2017-03-28 12:47:342156#if defined(OS_CHROMEOS)
2157
vabr0215a8e2017-03-28 12:47:342158const char kVirtualKeyboardName[] = "Virtual Keyboard";
2159
2160const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2161
2162const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2163
2164const char kVirtualKeyboardOverscrollDescription[] =
2165 "Enables virtual keyboard overscroll support.";
2166
2167const char kInputViewName[] = "Input views";
2168
2169const char kInputViewDescription[] =
2170 "Enable IME extensions to supply custom views for user input such as "
2171 "virtual keyboards.";
2172
2173const char kNewKoreanImeName[] = "New Korean IME";
2174
2175const char kNewKoreanImeDescription[] =
2176 "New Korean IME, which is based on Google Input Tools' HMM engine.";
2177
2178const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2179
2180const char kPhysicalKeyboardAutocorrectDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192181 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2182 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342183
2184const char kVoiceInputName[] = "Voice input on virtual keyboard";
2185
2186const char kVoiceInputDescription[] =
2187 "Enables voice input on virtual keyboard.";
2188
2189const char kExperimentalInputViewFeaturesName[] =
2190 "Experimental input view features";
2191
2192const char kExperimentalInputViewFeaturesDescription[] =
2193 "Enable experimental features for IME input views.";
2194
2195const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2196
2197const char kFloatingVirtualKeyboardDescription[] =
2198 "Enable/Disable floating virtual keyboard.";
2199
2200const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2201
2202const char kGestureTypingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192203 "Enable/Disable gesture typing option in the settings page for the virtual "
2204 "keyboard.";
vabr0215a8e2017-03-28 12:47:342205
2206const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2207
2208const char kGestureEditingDescription[] =
2209 "Enable/Disable gesture editing option in the settings page for the "
2210 "virtual keyboard.";
2211
2212const char kCaptivePortalBypassProxyName[] =
2213 "Bypass proxy for Captive Portal Authorization";
2214
2215const char kCaptivePortalBypassProxyDescription[] =
2216 "If proxy is configured, it usually prevents from authorization on "
2217 "different captive portals. This enables opening captive portal "
Vitalii Iarko7df520142017-07-07 12:53:192218 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342219
2220const char kTouchscreenCalibrationName[] =
Vitalii Iarko7df520142017-07-07 12:53:192221 "Enable/disable touchscreen calibration option in material design settings";
vabr0215a8e2017-03-28 12:47:342222
2223const char kTouchscreenCalibrationDescription[] =
2224 "If enabled, the user can calibrate the touch screen displays in "
2225 "chrome://md-settings/display.";
2226
yamaguchid99a64b2017-05-12 15:33:492227const char kTeamDrivesName[] = "Enable Team Drives Integration";
2228const char kTeamDrivesDescription[] =
2229 "If enabled, files under Team Drives will appear in the Files app.";
2230
vabr0215a8e2017-03-28 12:47:342231#endif // defined(OS_CHROMEOS)
2232
vabr0215a8e2017-03-28 12:47:342233// Arc authorization
2234
2235#if defined(OS_CHROMEOS)
2236
2237const char kArcUseAuthEndpointName[] = "Android apps authorization point";
2238
2239const char kArcUseAuthEndpointDescription[] =
2240 "Enable Android apps authorization point to automatic sign-in in OptIn "
2241 "flow.";
2242
2243#endif // defined(OS_CHROMEOS)
2244
vabr0215a8e2017-03-28 12:47:342245#if defined(OS_WIN) || defined(OS_MACOSX)
2246
2247// Tab discarding
2248
2249const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2250
2251const char kAutomaticTabDiscardingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192252 "If enabled, tabs get automatically discarded from memory when the system "
2253 "memory is low. Discarded tabs are still visible on the tab strip and get "
2254 "reloaded when clicked on. Info about discarded tabs can be found at "
2255 "chrome://discards.";
vabr0215a8e2017-03-28 12:47:342256
2257#endif // defined(OS_WIN) || defined(OS_MACOSX)
2258
vabr0215a8e2017-03-28 12:47:342259#if defined(OS_WIN)
2260
2261// Exporting tracing events to ETW
2262
2263const char kTraceExportEventsToEtwName[] =
2264 "Enable exporting of tracing events to ETW.";
2265
2266const char kTraceExportEventsToEtwDesription[] =
2267 "If enabled, trace events will be exported to the Event Tracing for "
2268 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2269 "Xperf.";
2270
2271const char kMergeKeyCharEventsName[] =
Vitalii Iarko7df520142017-07-07 12:53:192272 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2273 "(WM_CHAR).";
vabr0215a8e2017-03-28 12:47:342274
2275const char kMergeKeyCharEventsDescription[] =
etienneb9a4b5302017-06-08 06:28:462276 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
vabr0215a8e2017-03-28 12:47:342277
2278const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2279
2280const char kUseWinrtMidiApiDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192281 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2282 "later).";
vabr0215a8e2017-03-28 12:47:342283
2284#endif // defined(OS_WIN)
2285
vabr0215a8e2017-03-28 12:47:342286#if defined(OS_CHROMEOS)
2287
skaua9afc0212017-04-07 19:18:472288const char kDisableNativeCupsName[] = "Native CUPS";
vabr0215a8e2017-03-28 12:47:342289
skaua9afc0212017-04-07 19:18:472290const char kDisableNativeCupsDescription[] =
2291 "Disable the use of the native CUPS printing backend.";
vabr0215a8e2017-03-28 12:47:342292
2293const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2294
2295const char kEnableAndroidWallpapersAppDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192296 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2297 "OS.";
vabr0215a8e2017-03-28 12:47:342298
2299const char kEnableTouchSupportForScreenMagnifierName[] =
2300 "Touch support for screen magnifier";
2301
2302const char kEnableTouchSupportForScreenMagnifierDescription[] =
2303 "Enables touch support for screen magnifier";
2304
Rouslan Solomakhinbed1af22017-06-09 18:40:572305const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
takise183b8cb42017-04-07 05:12:082306
2307const char kEnableZipArchiverOnFileManagerDescription[] =
2308 "Enable the ability to archive and unpack files on Drive in the Files app";
2309
xiaochu32e9672a2017-05-04 04:15:082310const char kCrOSComponentName[] = "Chrome OS Component";
2311
2312const char kCrOSComponentDescription[] =
xiaochu169aadd2017-06-15 22:32:512313 "Enable the use of componentized escpr CUPS filter.";
xiaochu32e9672a2017-05-04 04:15:082314
vabr0215a8e2017-03-28 12:47:342315#endif // defined(OS_CHROMEOS)
2316
vabr0215a8e2017-03-28 12:47:342317#if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2318
2319const char kGoogleBrandedContextMenuName[] =
2320 "Google branding in the context menu";
2321
2322const char kGoogleBrandedContextMenuDescription[] =
2323 "Shows a Google icon next to context menu items powered by Google "
2324 "services.";
2325
2326#endif // !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2327
mthiesse700b0b62017-05-19 01:37:312328#if BUILDFLAG(ENABLE_VR)
Brett Wilsonecb80982017-07-12 20:34:512329#if defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:342330
Brett Wilsonecb80982017-07-12 20:34:512331const char kEnableVrShellName[] = "Enable Chrome VR.";
vabr0215a8e2017-03-28 12:47:342332const char kEnableVrShellDescription[] =
2333 "Allow browsing with a VR headset if available for this device.";
2334
mthiesse700b0b62017-05-19 01:37:312335const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
mthiesse700b0b62017-05-19 01:37:312336const char kVrCustomTabBrowsingDescription[] =
2337 "Allow browsing with a VR headset in a Custom Tab if available for this "
2338 "device.";
ymalike78a83b2017-05-19 20:42:312339
2340const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
ymalike78a83b2017-05-19 20:42:312341const char kWebVrAutopresentDescription[] =
2342 "Allows auto presentation of WebVr content from trusted first-party apps";
Brett Wilsonecb80982017-07-12 20:34:512343
vabr0215a8e2017-03-28 12:47:342344#endif // defined(OS_ANDROID)
2345
Brett Wilsonecb80982017-07-12 20:34:512346const char kWebvrExperimentalRenderingName[] =
2347 "WebVR experimental rendering optimizations";
2348const char kWebvrExperimentalRenderingDescription[] =
2349 "Enabling this option activates experimental rendering path optimizations "
2350 "for WebVR.";
vabr0215a8e2017-03-28 12:47:342351
Brett Wilsonecb80982017-07-12 20:34:512352#endif // BUILDFLAG(ENABLE_VR)
vabr0215a8e2017-03-28 12:47:342353
vabr0215a8e2017-03-28 12:47:342354#if !defined(OS_ANDROID)
2355
mlamouriff56c092017-05-11 15:31:392356const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
vabr0215a8e2017-03-28 12:47:342357
mlamouriff56c092017-05-11 15:31:392358const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342359 "Manage audio focus across tabs to improve the audio mixing.";
2360
mlamouriff56c092017-05-11 15:31:392361const char kEnableAudioFocusDisabled[] = "Disabled";
vabr0215a8e2017-03-28 12:47:342362
mlamouriff56c092017-05-11 15:31:392363const char kEnableAudioFocusEnabled[] = "Enabled";
vabr0215a8e2017-03-28 12:47:342364
mlamouriff56c092017-05-11 15:31:392365const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342366 "Enabled (Flash lowers volume when interrupted by other sound, "
2367 "experimental)";
2368
2369#endif // !defined(OS_ANDROID)
2370
2371#if defined(OS_WIN)
2372
2373const char kGdiTextPrinting[] = "GDI Text Printing";
2374
2375const char kGdiTextPrintingDescription[] =
2376 "Use GDI to print text as simply text";
2377
2378#endif // defined(OS_WIN)
2379
vabr0215a8e2017-03-28 12:47:342380#if !defined(OS_MACOSX)
2381
2382const char kPermissionPromptPersistenceToggleName[] =
2383 "Persistence Toggle in Permission Prompts";
2384
2385const char kPermissionPromptPersistenceToggleDescription[] =
2386 "Whether to display a persistence toggle in permission prompts.";
2387
2388#endif // !defined(OS_MACOSX)
2389
vabr0215a8e2017-03-28 12:47:342390#if defined(OS_WIN)
2391
2392// Custom draw the Windows 10 titlebar. crbug.com/505013
2393
2394const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2395
2396const char kWindows10CustomTitlebarDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192397 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2398 "deferring to Windows.";
vabr0215a8e2017-03-28 12:47:342399
2400#endif // defined(OS_WIN)
2401
2402#if defined(OS_WIN)
2403
rbpotter556837e42017-05-01 18:49:042404const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
vabr0215a8e2017-03-28 12:47:342405
rbpotter556837e42017-05-01 18:49:042406const char kDisablePostscriptPrintingDescription[] =
2407 "Disables PostScript generation when printing to PostScript capable "
2408 "printers, and uses EMF generation in its place.";
vabr0215a8e2017-03-28 12:47:342409
2410#endif // defined(OS_WIN)
2411
vabr0215a8e2017-03-28 12:47:342412// Desktop iOS promotion chrome://flags strings
2413
2414#if defined(OS_WIN)
2415
2416const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2417
2418const char kEnableDesktopIosPromotionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192419 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2420 "eligible.";
vabr0215a8e2017-03-28 12:47:342421
2422#endif // defined(OS_WIN)
2423
vabr0215a8e2017-03-28 12:47:342424#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \
2425 defined(OS_WIN)
2426
2427const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342428const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282429 "Enable receiving entity suggestions - disambiguation descriptions - for "
2430 "Omnibox suggestions.";
2431
2432const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2433const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192434 "Enable receiving tail suggestions, a type of search suggestion based on "
2435 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342436
ojan38c678352017-04-11 20:27:552437const char kPauseBackgroundTabsName[] = "Pause background tabs";
2438const char kPauseBackgroundTabsDescription[] =
2439 "Pause timers in background tabs after 5 minutes on desktop.";
2440
spqchan6f9127a2017-04-29 03:42:022441const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2442const char kEnableNewAppMenuIconDescription[] =
2443 "Use the new app menu icon with update notification animations.";
spqchan064a8112017-04-18 16:46:322444
vabr0215a8e2017-03-28 12:47:342445#endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) ||
2446 // defined(OS_WIN)
2447
2448#if defined(OS_CHROMEOS)
2449
2450const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2451
2452const char kEnableChromevoxArcSupportDescription[] =
2453 "Enable ChromeVox screen reader features in ARC";
2454
2455#endif // defined(OS_CHROMEOS)
2456
vabr0215a8e2017-03-28 12:47:342457#if defined(OS_CHROMEOS)
2458
2459// File Manager
2460
2461const char kVideoPlayerChromecastSupportName[] =
2462 "Experimental Chromecast support for Video Player";
2463
2464const char kVideoPlayerChromecastSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192465 "This option enables experimental Chromecast support for Video Player app "
2466 "on ChromeOS.";
vabr0215a8e2017-03-28 12:47:342467
2468const char kNewZipUnpackerName[] = "New ZIP unpacker";
2469
2470const char kNewZipUnpackerDescription[] =
2471 "New ZIP unpacker flow, based on the File System Provider API.";
2472
vabr0215a8e2017-03-28 12:47:342473const char kOfficeEditingComponentAppName[] =
2474 "Office Editing for Docs, Sheets & Slides";
2475
2476const char kOfficeEditingComponentAppDescription[] =
2477 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2478
2479const char kDisplayColorCalibrationName[] = "Color calibration of the display";
2480
2481const char kDisplayColorCalibrationDescription[] =
2482 "Allow color calibration of the display if the display supports the "
2483 "feature.";
2484
newcomer403ac142017-07-05 18:26:302485const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
2486
2487const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192488 "The peeking launcher UI supports touch and provides more space for "
2489 "upcoming features.";
newcomer403ac142017-07-05 18:26:302490
vabr0215a8e2017-03-28 12:47:342491const char kMemoryPressureThresholdName[] =
2492 "Memory discard strategy for advanced pressure handling";
2493
2494const char kMemoryPressureThresholdDescription[] =
2495 "Memory discarding strategy to use";
2496
2497const char kConservativeThresholds[] =
2498 "Conservative memory pressure release strategy";
2499
2500const char kAggressiveCacheDiscardThresholds[] =
2501 "Aggressive cache release strategy";
2502
2503const char kAggressiveTabDiscardThresholds[] =
2504 "Aggressive tab release strategy";
2505
2506const char kAggressiveThresholds[] =
2507 "Aggressive tab and cache release strategy";
2508
2509const char kWakeOnPacketsName[] = "Wake On Packets";
2510
2511const char kWakeOnPacketsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192512 "Enables waking the device based on the receipt of some network packets.";
vabr0215a8e2017-03-28 12:47:342513
brettw5f9c1642017-05-14 17:12:482514const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
vabr0215a8e2017-03-28 12:47:342515
2516const char kQuickUnlockPinDescription[] =
jdufault74476492017-04-20 01:20:002517 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2518 "device on the lock screen after you have signed into your device.";
2519
2520const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2521
2522const char kQuickUnlockPinSigninDescription[] =
2523 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2524 "device. After changing this flag PIN needs to be set up again.";
vabr0215a8e2017-03-28 12:47:342525
2526const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2527
2528const char kQuickUnlockFingerprintDescription[] =
2529 "Enabling fingerprint quick unlock allows you to setup and use a "
Vitalii Iarko7df520142017-07-07 12:53:192530 "fingerprint to unlock your Chromebook on the lock screen after you have "
2531 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342532
2533const char kExperimentalAccessibilityFeaturesName[] =
2534 "Experimental accessibility features";
2535
2536const char kExperimentalAccessibilityFeaturesDescription[] =
2537 "Enable additional accessibility features in the Settings page.";
2538
2539const char kDisableSystemTimezoneAutomaticDetectionName[] =
2540 "SystemTimezoneAutomaticDetection policy support";
2541
2542const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2543 "Disable system timezone automatic detection device policy.";
2544
2545const char kEolNotificationName[] = "Disable Device End of Life notification.";
2546
2547const char kEolNotificationDescription[] =
2548 "Disable Notifcation when Device is End of Life.";
2549
2550// Stylus strings
2551
2552const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2553
2554const char kForceEnableStylusToolsDescription[] =
2555 "Forces display of the stylus tools menu in the shelf and the stylus "
2556 "section in settings, even if there is no attached stylus device.";
2557
2558// Network portal notification
2559
2560const char kNetworkPortalNotificationName[] =
2561 "Notifications about captive portals";
2562
2563const char kNetworkPortalNotificationDescription[] =
2564 "If enabled, notification is displayed when device is connected to a "
2565 "network behind captive portal.";
2566
stevenjbe1d457382017-05-24 22:37:242567const char kNetworkSettingsConfigName[] =
2568 "Settings based Network Configuration";
2569
2570const char kNetworkSettingsConfigDescription[] =
2571 "Enables the Settings based network configuration UI instead of the Views "
2572 "based configuration dialog.";
2573
vabr0215a8e2017-03-28 12:47:342574const char kMtpWriteSupportName[] = "MTP write support";
2575
2576const char kMtpWriteSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192577 "MTP write support in File System API (and file manager). In-place editing "
2578 "operations are not supported.";
vabr0215a8e2017-03-28 12:47:342579
2580const char kCrosRegionsModeName[] = "Cros-regions load mode";
2581
2582const char kCrosRegionsModeDescription[] =
2583 "This flag controls cros-regions load mode";
2584
2585const char kCrosRegionsModeDefault[] = "Default";
2586
2587const char kCrosRegionsModeOverride[] = "Override VPD values.";
2588
2589const char kCrosRegionsModeHide[] = "Hide VPD values.";
2590
2591const char kPrinterProviderSearchAppName[] =
2592 "Chrome Web Store Gallery app for printer drivers";
2593
2594const char kPrinterProviderSearchAppDescription[] =
2595 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192596 "searches Chrome Web Store for extensions that support printing to a USB "
2597 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342598
2599const char kArcBootCompleted[] = "Load Android apps automatically";
2600
2601const char kArcBootCompletedDescription[] =
2602 "Allow Android apps to start automatically after signing in.";
2603
2604const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2605
2606const char kEnableImeMenuDescription[] =
2607 "Enable access to the new IME menu in the Language Settings page.";
2608
2609const char kEnableEhvInputName[] =
2610 "Emoji, handwriting and voice input on opt-in IME menu";
2611
2612const char kEnableEhvInputDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192613 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342614
fukino1b5ebe952017-04-07 05:35:302615const char kEnableEncryptionMigrationName[] =
2616 "Enable encryption migration of user data";
2617
2618const char kEnableEncryptionMigrationDescription[] =
2619 "If enabled and the device supports ARC, the user will be asked to update "
2620 "the encryption of user data when the user signs in.";
2621
Daniel Erat33054b22017-06-27 16:18:072622// Spurious power button detection
2623
2624const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2625const char kSpuriousPowerButtonWindowDescription[] =
2626 "Number of recent accelerometer samples to examine to determine if a power "
2627 "button event was spurious.";
2628
2629const char kSpuriousPowerButtonAccelCountName[] =
2630 "Spurious power button acceleration count";
2631const char kSpuriousPowerButtonAccelCountDescription[] =
2632 "Number of recent acceleration samples that must meet or exceed exceed the "
2633 "threshold in order for a power button event to be considered spurious.";
2634
2635const char kSpuriousPowerButtonScreenAccelName[] =
2636 "Spurious power button screen acceleration threshold";
2637const char kSpuriousPowerButtonScreenAccelDescription[] =
2638 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2639 "meet or exceed for a power button event to be considered spurious.";
2640
2641const char kSpuriousPowerButtonKeyboardAccelName[] =
2642 "Spurious power button keyboard acceleration threshold";
2643const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2644 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2645 "must meet or exceed for a power button event to be considered spurious.";
2646
2647const char kSpuriousPowerButtonLidAngleChangeName[] =
2648 "Spurious power button lid angle change threshold";
2649const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2650 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2651 "met or exceeded for a power button event to be considered spurious.";
2652
vabr0215a8e2017-03-28 12:47:342653#endif // #if defined(OS_CHROMEOS)
2654
stanisc14bed0b132017-05-10 17:46:372655#if defined(OS_WIN)
2656
2657// Name and description of the flag that enables D3D v-sync.
2658const char kEnableD3DVsync[] = "D3D v-sync";
2659const char kEnableD3DVsyncDescription[] =
2660 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2661 "to occur.";
2662
2663#endif // defined(OS_WIN)
2664
thestig0c55ee32017-06-20 22:17:512665#if !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262666
msarda6d4b3dc2017-06-02 15:39:472667const char kAccountConsistencyName[] =
2668 "Identity consistency between browser and cookie jar";
2669
2670const char kAccountConsistencyDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192671 "When enabled, the browser manages signing in and out of Google accounts.";
msarda6d4b3dc2017-06-02 15:39:472672
2673const char kAccountConsistencyChoiceMirror[] = "Mirror";
2674const char kAccountConsistencyChoiceDice[] = "Dice";
2675
treib273e9db2017-05-11 14:02:262676const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2677const char kUseGoogleLocalNtpDescription[] =
2678 "Use the local New Tab page if Google is the default search engine.";
2679
2680const char kOneGoogleBarOnLocalNtpName[] =
2681 "Enable the OneGoogleBar on the local NTP";
2682const char kOneGoogleBarOnLocalNtpDescription[] =
2683 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2684 "search engine.";
2685
thestig0c55ee32017-06-20 22:17:512686#endif // !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262687
lgreyc0b638e52017-05-11 19:10:172688#if defined(OS_MACOSX)
2689extern const char kMacRTLName[] = "Enable RTL";
2690extern const char kMacRTLDescription[] =
2691 "Mirrors the UI for RTL language users";
elawrence408bddb2017-06-15 16:07:382692extern const char kMacTouchBarName[] = "Hardware TouchBar";
2693extern const char kMacTouchBarDescription[] =
2694 "Control the use of the TouchBar.";
lgreyc0b638e52017-05-11 19:10:172695#endif
2696
yhanadac5bff5b2017-05-18 06:37:092697#if defined(OS_CHROMEOS)
2698
2699const char kDisableNewVirtualKeyboardBehaviorName[] =
2700 "New window behavior for the accessibility keyboard";
2701const char kDisableNewVirtualKeyboardBehaviorDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192702 "Disable new window behavior for the accessibility keyboard in non-sticky "
2703 "mode (do not change work area in non-sticky mode).";
yhanadac5bff5b2017-05-18 06:37:092704
bruthigeafb0c02017-06-09 13:11:532705const char kUiDevToolsName[] = "Enable native UI inspection";
2706const char kUiDevToolsDescription[] =
2707 "Enables inspection of native UI elements. For local inspection use "
2708 "chrome://inspect#other";
2709
Takashi Toyoshima14f64f562017-07-19 08:38:202710const char kUseCrosMidiServiceName[] = "Use Chrome OS MIDI Service";
2711const char kUseCrosMidiServiceNameDescription[] =
2712 "Use Chrome OS MIDI Service for Web MIDI and allow ARC to support Android "
2713 "MIDI.";
2714
orenb21da031c2017-06-30 21:24:202715const char kMultideviceName[] = "Enable multidevice features";
2716const char kMultideviceDescription[] =
2717 "Enables UI for controlling multidevice features.";
2718
yhanadac5bff5b2017-05-18 06:37:092719#endif // defined(OS_CHROMEOS)
2720
vabr0215a8e2017-03-28 12:47:342721} // namespace flag_descriptions