mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 897735 - Bump the nsIBlocklistService IID.
DONTBUILD CLOSED TREE
This commit is contained in:
parent
4ce169f118
commit
6c3e77f650
@ -9,7 +9,7 @@
|
||||
interface nsIPluginTag;
|
||||
interface nsIVariant;
|
||||
|
||||
[scriptable, uuid(cbba15b8-316d-4ae6-8ed9-fe9cf8386730)]
|
||||
[scriptable, uuid(d463dfbb-89c4-4553-97af-b4fd8854e161)]
|
||||
interface nsIBlocklistService : nsISupports
|
||||
{
|
||||
// Indicates that the item does not appear in the blocklist.
|
||||
@ -29,8 +29,10 @@ interface nsIBlocklistService : nsISupports
|
||||
|
||||
/**
|
||||
* Determine if an item is blocklisted
|
||||
* @param addon
|
||||
* The addon item to be checked.
|
||||
* @param id
|
||||
* The ID of the item.
|
||||
* @param version
|
||||
* The item's version.
|
||||
* @param appVersion
|
||||
* The version of the application we are checking in the blocklist.
|
||||
* If this parameter is null, the version of the running application
|
||||
@ -42,14 +44,16 @@ interface nsIBlocklistService : nsISupports
|
||||
* @returns true if the item is compatible with this version of the
|
||||
* application or this version of the toolkit, false, otherwise.
|
||||
*/
|
||||
boolean isAddonBlocklisted(in jsval addon,
|
||||
boolean isAddonBlocklisted(in AString id, in AString version,
|
||||
[optional] in AString appVersion,
|
||||
[optional] in AString toolkitVersion);
|
||||
|
||||
/**
|
||||
* Determine the blocklist state of an add-on
|
||||
* @param id
|
||||
* The addon item to be checked.
|
||||
* The ID of the item.
|
||||
* @param version
|
||||
* The item's version.
|
||||
* @param appVersion
|
||||
* The version of the application we are checking in the blocklist.
|
||||
* If this parameter is null, the version of the running application
|
||||
@ -60,7 +64,7 @@ interface nsIBlocklistService : nsISupports
|
||||
* is used.
|
||||
* @returns The STATE constant.
|
||||
*/
|
||||
unsigned long getAddonBlocklistState(in jsval addon,
|
||||
unsigned long getAddonBlocklistState(in AString id, in AString version,
|
||||
[optional] in AString appVersion,
|
||||
[optional] in AString toolkitVersion);
|
||||
|
||||
@ -84,11 +88,11 @@ interface nsIBlocklistService : nsISupports
|
||||
|
||||
/**
|
||||
* Determine the blocklist web page of an add-on.
|
||||
* @param addon
|
||||
* The addon item whose url is required.
|
||||
* @param id
|
||||
* The ID of the blocked add-on.
|
||||
* @returns The URL of the description page.
|
||||
*/
|
||||
AString getAddonBlocklistURL(in jsval addon,
|
||||
AString getAddonBlocklistURL(in AString id, in AString version,
|
||||
[optional] in AString appVersion,
|
||||
[optional] in AString toolkitVersion);
|
||||
|
||||
@ -106,7 +110,7 @@ interface nsIBlocklistService : nsISupports
|
||||
* nsIBlocklistService to display a confirmation UI to the user before blocking
|
||||
* extensions/plugins.
|
||||
*/
|
||||
[scriptable, uuid(36f97f40-b0c9-11df-94e2-0800200c9a66)]
|
||||
[scriptable, uuid(ba915921-b9c0-400d-8e4f-ca1b80c5699a)]
|
||||
interface nsIBlocklistPrompt : nsISupports
|
||||
{
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user