38#include "nsISupports.idl"
39#include "nspluginroot.idl"
42#include "nsplugindefs.h"
45 nsPluginTagType_Unknown,
46 nsPluginTagType_Embed,
47 nsPluginTagType_Object,
48 nsPluginTagType_Applet
52native nsPluginTagType(nsPluginTagType);
54interface nsIDOMElement;
62[uuid(6D827DF5-B5CD-416C-85CB-3CDD05C7AED1)]
75 in constCharStarConstStar aNames,
76 in constCharStarConstStar aValues);
93 readonly attribute nsPluginTagType
tagType;
107 in constCharStarConstStar aNames,
108 in constCharStarConstStar aValues);
139 readonly attribute
unsigned long width;
Plugin Tag Info Interface This interface provides information about the HTML tag on the page.
readonly attribute nsPluginTagType tagType
Get the type of the HTML tag that was used ot instantiate this plugin.
void getDocumentEncoding(out constCharPtr aDocumentEncoding)
Return an encoding whose name is specified in: http://java.sun.com/products/jdk/1....
readonly attribute unsigned long borderHorizSpace
Get border horizontal space.
void getAlignment(out constCharPtr aElignment)
Get object alignment.
readonly attribute unsigned long borderVertSpace
Get border vertical space.
void getDocumentBase(out constCharPtr aDocumentBase)
Get the document base.
void getAttributes(in PRUint16Ref aCount, in constCharStarConstStar aNames, in constCharStarConstStar aValues)
QueryInterface on nsIPluginInstancePeer to get this.
readonly attribute unsigned long height
Get object height.
void getParameters(in PRUint16Ref aCount, in constCharStarConstStar aNames, in constCharStarConstStar aValues)
Get a ptr to the paired list of parameter names and values, returns the length of the array.
readonly attribute unsigned long uniqueID
Returns a unique id for the current document containing plugin.
void getAttribute(in string aName, out constCharPtr aResult)
Gets the value for the named attribute.
readonly attribute nsIDOMElement DOMElement
Returns the DOM element corresponding to the tag which references this plugin in the document.
readonly attribute unsigned long width
Get object width.
void getParameter(in string aName, out constCharPtr aResult)
Get the value for the named parameter.
void getTagText(out constCharPtr aTagText)
Get the complete text of the HTML tag that was used to instantiate this plugin.