/usr/include/firefox/nsIDOMHTMLVideoElement.h is in firefox-dev 11.0+build1-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/firefox-11.0+build1/build-tree/mozilla/dom/interfaces/html/nsIDOMHTMLVideoElement.idl
*/
#ifndef __gen_nsIDOMHTMLVideoElement_h__
#define __gen_nsIDOMHTMLVideoElement_h__
#ifndef __gen_nsIDOMHTMLMediaElement_h__
#include "nsIDOMHTMLMediaElement.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIDOMHTMLVideoElement */
#define NS_IDOMHTMLVIDEOELEMENT_IID_STR "8e6d81a9-a6e1-44af-95be-cbe86de36ede"
#define NS_IDOMHTMLVIDEOELEMENT_IID \
{0x8e6d81a9, 0xa6e1, 0x44af, \
{ 0x95, 0xbe, 0xcb, 0xe8, 0x6d, 0xe3, 0x6e, 0xde }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLVideoElement : public nsIDOMHTMLMediaElement {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLVIDEOELEMENT_IID)
/* attribute long width; */
NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth) = 0;
NS_SCRIPTABLE NS_IMETHOD SetWidth(PRInt32 aWidth) = 0;
/* attribute long height; */
NS_SCRIPTABLE NS_IMETHOD GetHeight(PRInt32 *aHeight) = 0;
NS_SCRIPTABLE NS_IMETHOD SetHeight(PRInt32 aHeight) = 0;
/* readonly attribute unsigned long videoWidth; */
NS_SCRIPTABLE NS_IMETHOD GetVideoWidth(PRUint32 *aVideoWidth) = 0;
/* readonly attribute unsigned long videoHeight; */
NS_SCRIPTABLE NS_IMETHOD GetVideoHeight(PRUint32 *aVideoHeight) = 0;
/* attribute DOMString poster; */
NS_SCRIPTABLE NS_IMETHOD GetPoster(nsAString & aPoster) = 0;
NS_SCRIPTABLE NS_IMETHOD SetPoster(const nsAString & aPoster) = 0;
/* readonly attribute unsigned long mozParsedFrames; */
NS_SCRIPTABLE NS_IMETHOD GetMozParsedFrames(PRUint32 *aMozParsedFrames) = 0;
/* readonly attribute unsigned long mozDecodedFrames; */
NS_SCRIPTABLE NS_IMETHOD GetMozDecodedFrames(PRUint32 *aMozDecodedFrames) = 0;
/* readonly attribute unsigned long mozPresentedFrames; */
NS_SCRIPTABLE NS_IMETHOD GetMozPresentedFrames(PRUint32 *aMozPresentedFrames) = 0;
/* readonly attribute unsigned long mozPaintedFrames; */
NS_SCRIPTABLE NS_IMETHOD GetMozPaintedFrames(PRUint32 *aMozPaintedFrames) = 0;
/* readonly attribute double mozFrameDelay; */
NS_SCRIPTABLE NS_IMETHOD GetMozFrameDelay(double *aMozFrameDelay) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLVideoElement, NS_IDOMHTMLVIDEOELEMENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMHTMLVIDEOELEMENT \
NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth); \
NS_SCRIPTABLE NS_IMETHOD SetWidth(PRInt32 aWidth); \
NS_SCRIPTABLE NS_IMETHOD GetHeight(PRInt32 *aHeight); \
NS_SCRIPTABLE NS_IMETHOD SetHeight(PRInt32 aHeight); \
NS_SCRIPTABLE NS_IMETHOD GetVideoWidth(PRUint32 *aVideoWidth); \
NS_SCRIPTABLE NS_IMETHOD GetVideoHeight(PRUint32 *aVideoHeight); \
NS_SCRIPTABLE NS_IMETHOD GetPoster(nsAString & aPoster); \
NS_SCRIPTABLE NS_IMETHOD SetPoster(const nsAString & aPoster); \
NS_SCRIPTABLE NS_IMETHOD GetMozParsedFrames(PRUint32 *aMozParsedFrames); \
NS_SCRIPTABLE NS_IMETHOD GetMozDecodedFrames(PRUint32 *aMozDecodedFrames); \
NS_SCRIPTABLE NS_IMETHOD GetMozPresentedFrames(PRUint32 *aMozPresentedFrames); \
NS_SCRIPTABLE NS_IMETHOD GetMozPaintedFrames(PRUint32 *aMozPaintedFrames); \
NS_SCRIPTABLE NS_IMETHOD GetMozFrameDelay(double *aMozFrameDelay);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMHTMLVIDEOELEMENT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth) { return _to GetWidth(aWidth); } \
NS_SCRIPTABLE NS_IMETHOD SetWidth(PRInt32 aWidth) { return _to SetWidth(aWidth); } \
NS_SCRIPTABLE NS_IMETHOD GetHeight(PRInt32 *aHeight) { return _to GetHeight(aHeight); } \
NS_SCRIPTABLE NS_IMETHOD SetHeight(PRInt32 aHeight) { return _to SetHeight(aHeight); } \
NS_SCRIPTABLE NS_IMETHOD GetVideoWidth(PRUint32 *aVideoWidth) { return _to GetVideoWidth(aVideoWidth); } \
NS_SCRIPTABLE NS_IMETHOD GetVideoHeight(PRUint32 *aVideoHeight) { return _to GetVideoHeight(aVideoHeight); } \
NS_SCRIPTABLE NS_IMETHOD GetPoster(nsAString & aPoster) { return _to GetPoster(aPoster); } \
NS_SCRIPTABLE NS_IMETHOD SetPoster(const nsAString & aPoster) { return _to SetPoster(aPoster); } \
NS_SCRIPTABLE NS_IMETHOD GetMozParsedFrames(PRUint32 *aMozParsedFrames) { return _to GetMozParsedFrames(aMozParsedFrames); } \
NS_SCRIPTABLE NS_IMETHOD GetMozDecodedFrames(PRUint32 *aMozDecodedFrames) { return _to GetMozDecodedFrames(aMozDecodedFrames); } \
NS_SCRIPTABLE NS_IMETHOD GetMozPresentedFrames(PRUint32 *aMozPresentedFrames) { return _to GetMozPresentedFrames(aMozPresentedFrames); } \
NS_SCRIPTABLE NS_IMETHOD GetMozPaintedFrames(PRUint32 *aMozPaintedFrames) { return _to GetMozPaintedFrames(aMozPaintedFrames); } \
NS_SCRIPTABLE NS_IMETHOD GetMozFrameDelay(double *aMozFrameDelay) { return _to GetMozFrameDelay(aMozFrameDelay); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMHTMLVIDEOELEMENT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
NS_SCRIPTABLE NS_IMETHOD SetWidth(PRInt32 aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } \
NS_SCRIPTABLE NS_IMETHOD GetHeight(PRInt32 *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
NS_SCRIPTABLE NS_IMETHOD SetHeight(PRInt32 aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \
NS_SCRIPTABLE NS_IMETHOD GetVideoWidth(PRUint32 *aVideoWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVideoWidth(aVideoWidth); } \
NS_SCRIPTABLE NS_IMETHOD GetVideoHeight(PRUint32 *aVideoHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVideoHeight(aVideoHeight); } \
NS_SCRIPTABLE NS_IMETHOD GetPoster(nsAString & aPoster) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPoster(aPoster); } \
NS_SCRIPTABLE NS_IMETHOD SetPoster(const nsAString & aPoster) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPoster(aPoster); } \
NS_SCRIPTABLE NS_IMETHOD GetMozParsedFrames(PRUint32 *aMozParsedFrames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozParsedFrames(aMozParsedFrames); } \
NS_SCRIPTABLE NS_IMETHOD GetMozDecodedFrames(PRUint32 *aMozDecodedFrames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozDecodedFrames(aMozDecodedFrames); } \
NS_SCRIPTABLE NS_IMETHOD GetMozPresentedFrames(PRUint32 *aMozPresentedFrames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozPresentedFrames(aMozPresentedFrames); } \
NS_SCRIPTABLE NS_IMETHOD GetMozPaintedFrames(PRUint32 *aMozPaintedFrames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozPaintedFrames(aMozPaintedFrames); } \
NS_SCRIPTABLE NS_IMETHOD GetMozFrameDelay(double *aMozFrameDelay) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozFrameDelay(aMozFrameDelay); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMHTMLVideoElement : public nsIDOMHTMLVideoElement
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMHTMLVIDEOELEMENT
nsDOMHTMLVideoElement();
private:
~nsDOMHTMLVideoElement();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMHTMLVideoElement, nsIDOMHTMLVideoElement)
nsDOMHTMLVideoElement::nsDOMHTMLVideoElement()
{
/* member initializers and constructor code */
}
nsDOMHTMLVideoElement::~nsDOMHTMLVideoElement()
{
/* destructor code */
}
/* attribute long width; */
NS_IMETHODIMP nsDOMHTMLVideoElement::GetWidth(PRInt32 *aWidth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLVideoElement::SetWidth(PRInt32 aWidth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long height; */
NS_IMETHODIMP nsDOMHTMLVideoElement::GetHeight(PRInt32 *aHeight)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLVideoElement::SetHeight(PRInt32 aHeight)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long videoWidth; */
NS_IMETHODIMP nsDOMHTMLVideoElement::GetVideoWidth(PRUint32 *aVideoWidth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long videoHeight; */
NS_IMETHODIMP nsDOMHTMLVideoElement::GetVideoHeight(PRUint32 *aVideoHeight)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString poster; */
NS_IMETHODIMP nsDOMHTMLVideoElement::GetPoster(nsAString & aPoster)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLVideoElement::SetPoster(const nsAString & aPoster)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long mozParsedFrames; */
NS_IMETHODIMP nsDOMHTMLVideoElement::GetMozParsedFrames(PRUint32 *aMozParsedFrames)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long mozDecodedFrames; */
NS_IMETHODIMP nsDOMHTMLVideoElement::GetMozDecodedFrames(PRUint32 *aMozDecodedFrames)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long mozPresentedFrames; */
NS_IMETHODIMP nsDOMHTMLVideoElement::GetMozPresentedFrames(PRUint32 *aMozPresentedFrames)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long mozPaintedFrames; */
NS_IMETHODIMP nsDOMHTMLVideoElement::GetMozPaintedFrames(PRUint32 *aMozPaintedFrames)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute double mozFrameDelay; */
NS_IMETHODIMP nsDOMHTMLVideoElement::GetMozFrameDelay(double *aMozFrameDelay)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMHTMLVideoElement_h__ */
|