ExtensionBrowserSettings.webidl (3049B)
1 /* 2 * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT 3 * 4 * The content of this file has been generated based on the WebExtensions API 5 * JSONSchema using the following command: 6 * 7 * export SCRIPT_DIR="toolkit/components/extensions/webidl-api" 8 * mach python $SCRIPT_DIR/GenerateWebIDLBindings.py -- browserSettings 9 * 10 * More info about generating webidl API bindings for WebExtensions API at: 11 * 12 * https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html 13 * 14 * A short summary of the special setup used by these WebIDL files (meant to aid 15 * webidl peers reviews and sign-offs) is available in the following section: 16 * 17 * https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html#review-process-on-changes-to-webidl-definitions 18 */ 19 20 /* This Source Code Form is subject to the terms of the Mozilla Public 21 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 22 * You can obtain one at http://mozilla.org/MPL/2.0/. 23 * 24 * You are granted a license to use, reproduce and create derivative works of 25 * this document. 26 */ 27 28 // WebIDL definition for the "browserSettings" WebExtensions API 29 [Exposed=(ServiceWorker), LegacyNoInterfaceObject] 30 interface ExtensionBrowserSettings { 31 // API properties. 32 33 [Replaceable] 34 readonly attribute ExtensionSetting allowPopupsForUserEvents; 35 36 [Replaceable] 37 readonly attribute ExtensionSetting cacheEnabled; 38 39 [Replaceable] 40 readonly attribute ExtensionSetting closeTabsByDoubleClick; 41 42 [Replaceable] 43 readonly attribute ExtensionSetting contextMenuShowEvent; 44 45 [Replaceable] 46 readonly attribute ExtensionSetting ftpProtocolEnabled; 47 48 [Replaceable] 49 readonly attribute ExtensionSetting homepageOverride; 50 51 [Replaceable] 52 readonly attribute ExtensionSetting imageAnimationBehavior; 53 54 [Replaceable] 55 readonly attribute ExtensionSetting newTabPageOverride; 56 57 [Replaceable] 58 readonly attribute ExtensionSetting newTabPosition; 59 60 [Replaceable] 61 readonly attribute ExtensionSetting openBookmarksInNewTabs; 62 63 [Replaceable] 64 readonly attribute ExtensionSetting openSearchResultsInNewTabs; 65 66 [Replaceable] 67 readonly attribute ExtensionSetting openUrlbarResultsInNewTabs; 68 69 [Replaceable] 70 readonly attribute ExtensionSetting webNotificationsDisabled; 71 72 [Replaceable] 73 readonly attribute ExtensionSetting overrideDocumentColors; 74 75 [Replaceable] 76 readonly attribute ExtensionSetting overrideContentColorScheme; 77 78 [Replaceable] 79 readonly attribute ExtensionSetting useDocumentFonts; 80 81 [Replaceable] 82 readonly attribute ExtensionSetting zoomFullPage; 83 84 [Replaceable] 85 readonly attribute ExtensionSetting zoomSiteSpecific; 86 87 [Replaceable] 88 readonly attribute ExtensionSetting verticalTabs; 89 90 // API child namespaces. 91 92 [Replaceable, SameObject, 93 BinaryName="GetExtensionBrowserSettingsColorManagement", 94 Func="mozilla::extensions::ExtensionBrowserSettingsColorManagement::IsAllowed"] 95 readonly attribute ExtensionBrowserSettingsColorManagement colorManagement; 96 };