зеркало из https://github.com/mozilla/gecko-dev.git
added GetIID() method.
This commit is contained in:
Родитель
5e31c45c1d
Коммит
7638e305fb
|
@ -37,6 +37,8 @@
|
|||
*/
|
||||
class nsIArena : public nsISupports {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IARENA_IID; return iid; }
|
||||
|
||||
virtual void* Alloc(PRInt32 size) = 0;
|
||||
};
|
||||
|
||||
|
|
|
@ -36,6 +36,8 @@ class nsIStyleContext;
|
|||
|
||||
class nsIStyleSheet : public nsISupports {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_ISTYLE_SHEET_IID; return iid; }
|
||||
|
||||
// basic style sheet data
|
||||
NS_IMETHOD GetURL(nsIURL*& aURL) const = 0;
|
||||
NS_IMETHOD GetTitle(nsString& aTitle) const = 0;
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
|
||||
class nsIHTMLCSSStyleSheet : public nsIStyleSheet {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IHTML_CSS_STYLE_SHEET_IID; return iid; }
|
||||
|
||||
NS_IMETHOD Init(nsIURL* aURL, nsIDocument* aDocument) = 0;
|
||||
NS_IMETHOD Reset(nsIURL* aURL) = 0;
|
||||
};
|
||||
|
|
|
@ -53,6 +53,8 @@ class nsIURLGroup;
|
|||
class nsIImageGroup : public nsISupports
|
||||
{
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IIMAGEGROUP_IID; return iid; }
|
||||
|
||||
/**
|
||||
* Initialize an image group with a device context. All images
|
||||
* in this group will be decoded for the specified device context.
|
||||
|
|
|
@ -60,6 +60,8 @@ enum nsWidgetRendering {
|
|||
// objects that provide an outer context for a presentation shell.
|
||||
class nsIPresContext : public nsISupports {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IPRESCONTEXT_IID; return iid; }
|
||||
|
||||
/**
|
||||
* Initialize the presentation context from a particular device.
|
||||
*/
|
||||
|
|
|
@ -60,6 +60,8 @@ enum nsWidgetRendering {
|
|||
// objects that provide an outer context for a presentation shell.
|
||||
class nsIPresContext : public nsISupports {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IPRESCONTEXT_IID; return iid; }
|
||||
|
||||
/**
|
||||
* Initialize the presentation context from a particular device.
|
||||
*/
|
||||
|
|
|
@ -38,6 +38,8 @@ class nsIDocument;
|
|||
|
||||
class nsIStyleSet : public nsISupports {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_ISTYLE_SET_IID; return iid; }
|
||||
|
||||
// Style sheets are ordered, most significant first
|
||||
// NOTE: this is the reverse of the way documents store the sheets
|
||||
virtual void AppendOverrideStyleSheet(nsIStyleSheet* aSheet) = 0;
|
||||
|
|
|
@ -36,6 +36,8 @@ class nsIStyleContext;
|
|||
|
||||
class nsIStyleSheet : public nsISupports {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_ISTYLE_SHEET_IID; return iid; }
|
||||
|
||||
// basic style sheet data
|
||||
NS_IMETHOD GetURL(nsIURL*& aURL) const = 0;
|
||||
NS_IMETHOD GetTitle(nsString& aTitle) const = 0;
|
||||
|
|
|
@ -60,6 +60,8 @@ enum nsWidgetRendering {
|
|||
// objects that provide an outer context for a presentation shell.
|
||||
class nsIPresContext : public nsISupports {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IPRESCONTEXT_IID; return iid; }
|
||||
|
||||
/**
|
||||
* Initialize the presentation context from a particular device.
|
||||
*/
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
|
||||
class nsIHTMLCSSStyleSheet : public nsIStyleSheet {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IHTML_CSS_STYLE_SHEET_IID; return iid; }
|
||||
|
||||
NS_IMETHOD Init(nsIURL* aURL, nsIDocument* aDocument) = 0;
|
||||
NS_IMETHOD Reset(nsIURL* aURL) = 0;
|
||||
};
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
|
||||
class nsIHTMLCSSStyleSheet : public nsIStyleSheet {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IHTML_CSS_STYLE_SHEET_IID; return iid; }
|
||||
|
||||
NS_IMETHOD Init(nsIURL* aURL, nsIDocument* aDocument) = 0;
|
||||
NS_IMETHOD Reset(nsIURL* aURL) = 0;
|
||||
};
|
||||
|
|
|
@ -36,6 +36,8 @@ class nsIStyleContext;
|
|||
|
||||
class nsIStyleSheet : public nsISupports {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_ISTYLE_SHEET_IID; return iid; }
|
||||
|
||||
// basic style sheet data
|
||||
NS_IMETHOD GetURL(nsIURL*& aURL) const = 0;
|
||||
NS_IMETHOD GetTitle(nsString& aTitle) const = 0;
|
||||
|
|
|
@ -36,6 +36,9 @@ class nsILoadAttribs;
|
|||
class nsIURLGroup : public nsISupports
|
||||
{
|
||||
public:
|
||||
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IURLGROUP_IID; return iid; }
|
||||
|
||||
/**
|
||||
* Create a new URL, setting its LoadAttributes to the default
|
||||
* LoadAttributes for the group.
|
||||
|
|
|
@ -33,6 +33,8 @@ class nsIURL;
|
|||
|
||||
class nsIStreamObserver : public nsISupports {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_ISTREAMOBSERVER_IID; return iid; }
|
||||
|
||||
/**
|
||||
* Notify the observer that the URL has started to load. This method is
|
||||
* called only once, at the beginning of a URL load.<BR><BR>
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
*/
|
||||
class nsIArena : public nsISupports {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IARENA_IID; return iid; }
|
||||
|
||||
virtual void* Alloc(PRInt32 size) = 0;
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче