/usr/include/thunderbird/nsIDOMHTMLElement.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
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 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLElement.idl
*/
#ifndef __gen_nsIDOMHTMLElement_h__
#define __gen_nsIDOMHTMLElement_h__
#ifndef __gen_nsIDOMElement_h__
#include "nsIDOMElement.h"
#endif
#ifndef __gen_nsIVariant_h__
#include "nsIVariant.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMHTMLMenuElement; /* forward declaration */
/* starting interface: nsIDOMHTMLElement */
#define NS_IDOMHTMLELEMENT_IID_STR "b0c42392-d0e7-4f6a-beb5-a698ce648945"
#define NS_IDOMHTMLELEMENT_IID \
{0xb0c42392, 0xd0e7, 0x4f6a, \
{ 0xbe, 0xb5, 0xa6, 0x98, 0xce, 0x64, 0x89, 0x45 }}
class NS_NO_VTABLE nsIDOMHTMLElement : public nsIDOMElement {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLELEMENT_IID)
/* attribute DOMString title; */
NS_IMETHOD GetTitle(nsAString & aTitle) = 0;
NS_IMETHOD SetTitle(const nsAString & aTitle) = 0;
/* attribute DOMString lang; */
NS_IMETHOD GetLang(nsAString & aLang) = 0;
NS_IMETHOD SetLang(const nsAString & aLang) = 0;
/* attribute DOMString dir; */
NS_IMETHOD GetDir(nsAString & aDir) = 0;
NS_IMETHOD SetDir(const nsAString & aDir) = 0;
/* readonly attribute nsISupports dataset; */
NS_IMETHOD GetDataset(nsISupports * *aDataset) = 0;
/* attribute boolean hidden; */
NS_IMETHOD GetHidden(bool *aHidden) = 0;
NS_IMETHOD SetHidden(bool aHidden) = 0;
/* [binaryname(DOMClick)] void click (); */
NS_IMETHOD DOMClick(void) = 0;
/* attribute long tabIndex; */
NS_IMETHOD GetTabIndex(int32_t *aTabIndex) = 0;
NS_IMETHOD SetTabIndex(int32_t aTabIndex) = 0;
/* void focus (); */
NS_IMETHOD Focus(void) = 0;
/* [binaryname(DOMBlur)] void blur (); */
NS_IMETHOD DOMBlur(void) = 0;
/* attribute DOMString accessKey; */
NS_IMETHOD GetAccessKey(nsAString & aAccessKey) = 0;
NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) = 0;
/* readonly attribute DOMString accessKeyLabel; */
NS_IMETHOD GetAccessKeyLabel(nsAString & aAccessKeyLabel) = 0;
/* attribute boolean draggable; */
NS_IMETHOD GetDraggable(bool *aDraggable) = 0;
NS_IMETHOD SetDraggable(bool aDraggable) = 0;
/* attribute DOMString contentEditable; */
NS_IMETHOD GetContentEditable(nsAString & aContentEditable) = 0;
NS_IMETHOD SetContentEditable(const nsAString & aContentEditable) = 0;
/* readonly attribute boolean isContentEditable; */
NS_IMETHOD GetIsContentEditable(bool *aIsContentEditable) = 0;
/* readonly attribute nsIDOMHTMLMenuElement contextMenu; */
NS_IMETHOD GetContextMenu(nsIDOMHTMLMenuElement * *aContextMenu) = 0;
/* attribute boolean spellcheck; */
NS_IMETHOD GetSpellcheck(bool *aSpellcheck) = 0;
NS_IMETHOD SetSpellcheck(bool aSpellcheck) = 0;
/* attribute DOMString innerHTML; */
NS_IMETHOD GetInnerHTML(nsAString & aInnerHTML) = 0;
NS_IMETHOD SetInnerHTML(const nsAString & aInnerHTML) = 0;
/* attribute DOMString outerHTML; */
NS_IMETHOD GetOuterHTML(nsAString & aOuterHTML) = 0;
NS_IMETHOD SetOuterHTML(const nsAString & aOuterHTML) = 0;
/* void insertAdjacentHTML (in DOMString position, in DOMString text); */
NS_IMETHOD InsertAdjacentHTML(const nsAString & position, const nsAString & text) = 0;
/* [optional_argc] void scrollIntoView ([optional] in boolean top); */
NS_IMETHOD ScrollIntoView(bool top, uint8_t _argc) = 0;
/* readonly attribute nsIDOMElement offsetParent; */
NS_IMETHOD GetOffsetParent(nsIDOMElement * *aOffsetParent) = 0;
/* readonly attribute long offsetTop; */
NS_IMETHOD GetOffsetTop(int32_t *aOffsetTop) = 0;
/* readonly attribute long offsetLeft; */
NS_IMETHOD GetOffsetLeft(int32_t *aOffsetLeft) = 0;
/* readonly attribute long offsetWidth; */
NS_IMETHOD GetOffsetWidth(int32_t *aOffsetWidth) = 0;
/* readonly attribute long offsetHeight; */
NS_IMETHOD GetOffsetHeight(int32_t *aOffsetHeight) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLElement, NS_IDOMHTMLELEMENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMHTMLELEMENT \
NS_IMETHOD GetTitle(nsAString & aTitle) override; \
NS_IMETHOD SetTitle(const nsAString & aTitle) override; \
NS_IMETHOD GetLang(nsAString & aLang) override; \
NS_IMETHOD SetLang(const nsAString & aLang) override; \
NS_IMETHOD GetDir(nsAString & aDir) override; \
NS_IMETHOD SetDir(const nsAString & aDir) override; \
NS_IMETHOD GetDataset(nsISupports * *aDataset) override; \
NS_IMETHOD GetHidden(bool *aHidden) override; \
NS_IMETHOD SetHidden(bool aHidden) override; \
NS_IMETHOD DOMClick(void) override; \
NS_IMETHOD GetTabIndex(int32_t *aTabIndex) override; \
NS_IMETHOD SetTabIndex(int32_t aTabIndex) override; \
NS_IMETHOD Focus(void) override; \
NS_IMETHOD DOMBlur(void) override; \
NS_IMETHOD GetAccessKey(nsAString & aAccessKey) override; \
NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) override; \
NS_IMETHOD GetAccessKeyLabel(nsAString & aAccessKeyLabel) override; \
NS_IMETHOD GetDraggable(bool *aDraggable) override; \
NS_IMETHOD SetDraggable(bool aDraggable) override; \
NS_IMETHOD GetContentEditable(nsAString & aContentEditable) override; \
NS_IMETHOD SetContentEditable(const nsAString & aContentEditable) override; \
NS_IMETHOD GetIsContentEditable(bool *aIsContentEditable) override; \
NS_IMETHOD GetContextMenu(nsIDOMHTMLMenuElement * *aContextMenu) override; \
NS_IMETHOD GetSpellcheck(bool *aSpellcheck) override; \
NS_IMETHOD SetSpellcheck(bool aSpellcheck) override; \
NS_IMETHOD GetInnerHTML(nsAString & aInnerHTML) override; \
NS_IMETHOD SetInnerHTML(const nsAString & aInnerHTML) override; \
NS_IMETHOD GetOuterHTML(nsAString & aOuterHTML) override; \
NS_IMETHOD SetOuterHTML(const nsAString & aOuterHTML) override; \
NS_IMETHOD InsertAdjacentHTML(const nsAString & position, const nsAString & text) override; \
NS_IMETHOD ScrollIntoView(bool top, uint8_t _argc) override; \
NS_IMETHOD GetOffsetParent(nsIDOMElement * *aOffsetParent) override; \
NS_IMETHOD GetOffsetTop(int32_t *aOffsetTop) override; \
NS_IMETHOD GetOffsetLeft(int32_t *aOffsetLeft) override; \
NS_IMETHOD GetOffsetWidth(int32_t *aOffsetWidth) override; \
NS_IMETHOD GetOffsetHeight(int32_t *aOffsetHeight) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIDOMHTMLELEMENT \
NS_METHOD GetTitle(nsAString & aTitle); \
NS_METHOD SetTitle(const nsAString & aTitle); \
NS_METHOD GetLang(nsAString & aLang); \
NS_METHOD SetLang(const nsAString & aLang); \
NS_METHOD GetDir(nsAString & aDir); \
NS_METHOD SetDir(const nsAString & aDir); \
NS_METHOD GetDataset(nsISupports * *aDataset); \
NS_METHOD GetHidden(bool *aHidden); \
NS_METHOD SetHidden(bool aHidden); \
NS_METHOD DOMClick(void); \
NS_METHOD GetTabIndex(int32_t *aTabIndex); \
NS_METHOD SetTabIndex(int32_t aTabIndex); \
NS_METHOD Focus(void); \
NS_METHOD DOMBlur(void); \
NS_METHOD GetAccessKey(nsAString & aAccessKey); \
NS_METHOD SetAccessKey(const nsAString & aAccessKey); \
NS_METHOD GetAccessKeyLabel(nsAString & aAccessKeyLabel); \
NS_METHOD GetDraggable(bool *aDraggable); \
NS_METHOD SetDraggable(bool aDraggable); \
NS_METHOD GetContentEditable(nsAString & aContentEditable); \
NS_METHOD SetContentEditable(const nsAString & aContentEditable); \
NS_METHOD GetIsContentEditable(bool *aIsContentEditable); \
NS_METHOD GetContextMenu(nsIDOMHTMLMenuElement * *aContextMenu); \
NS_METHOD GetSpellcheck(bool *aSpellcheck); \
NS_METHOD SetSpellcheck(bool aSpellcheck); \
NS_METHOD GetInnerHTML(nsAString & aInnerHTML); \
NS_METHOD SetInnerHTML(const nsAString & aInnerHTML); \
NS_METHOD GetOuterHTML(nsAString & aOuterHTML); \
NS_METHOD SetOuterHTML(const nsAString & aOuterHTML); \
NS_METHOD InsertAdjacentHTML(const nsAString & position, const nsAString & text); \
NS_METHOD ScrollIntoView(bool top, uint8_t _argc); \
NS_METHOD GetOffsetParent(nsIDOMElement * *aOffsetParent); \
NS_METHOD GetOffsetTop(int32_t *aOffsetTop); \
NS_METHOD GetOffsetLeft(int32_t *aOffsetLeft); \
NS_METHOD GetOffsetWidth(int32_t *aOffsetWidth); \
NS_METHOD GetOffsetHeight(int32_t *aOffsetHeight);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMHTMLELEMENT(_to) \
NS_IMETHOD GetTitle(nsAString & aTitle) override { return _to GetTitle(aTitle); } \
NS_IMETHOD SetTitle(const nsAString & aTitle) override { return _to SetTitle(aTitle); } \
NS_IMETHOD GetLang(nsAString & aLang) override { return _to GetLang(aLang); } \
NS_IMETHOD SetLang(const nsAString & aLang) override { return _to SetLang(aLang); } \
NS_IMETHOD GetDir(nsAString & aDir) override { return _to GetDir(aDir); } \
NS_IMETHOD SetDir(const nsAString & aDir) override { return _to SetDir(aDir); } \
NS_IMETHOD GetDataset(nsISupports * *aDataset) override { return _to GetDataset(aDataset); } \
NS_IMETHOD GetHidden(bool *aHidden) override { return _to GetHidden(aHidden); } \
NS_IMETHOD SetHidden(bool aHidden) override { return _to SetHidden(aHidden); } \
NS_IMETHOD DOMClick(void) override { return _to DOMClick(); } \
NS_IMETHOD GetTabIndex(int32_t *aTabIndex) override { return _to GetTabIndex(aTabIndex); } \
NS_IMETHOD SetTabIndex(int32_t aTabIndex) override { return _to SetTabIndex(aTabIndex); } \
NS_IMETHOD Focus(void) override { return _to Focus(); } \
NS_IMETHOD DOMBlur(void) override { return _to DOMBlur(); } \
NS_IMETHOD GetAccessKey(nsAString & aAccessKey) override { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) override { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetAccessKeyLabel(nsAString & aAccessKeyLabel) override { return _to GetAccessKeyLabel(aAccessKeyLabel); } \
NS_IMETHOD GetDraggable(bool *aDraggable) override { return _to GetDraggable(aDraggable); } \
NS_IMETHOD SetDraggable(bool aDraggable) override { return _to SetDraggable(aDraggable); } \
NS_IMETHOD GetContentEditable(nsAString & aContentEditable) override { return _to GetContentEditable(aContentEditable); } \
NS_IMETHOD SetContentEditable(const nsAString & aContentEditable) override { return _to SetContentEditable(aContentEditable); } \
NS_IMETHOD GetIsContentEditable(bool *aIsContentEditable) override { return _to GetIsContentEditable(aIsContentEditable); } \
NS_IMETHOD GetContextMenu(nsIDOMHTMLMenuElement * *aContextMenu) override { return _to GetContextMenu(aContextMenu); } \
NS_IMETHOD GetSpellcheck(bool *aSpellcheck) override { return _to GetSpellcheck(aSpellcheck); } \
NS_IMETHOD SetSpellcheck(bool aSpellcheck) override { return _to SetSpellcheck(aSpellcheck); } \
NS_IMETHOD GetInnerHTML(nsAString & aInnerHTML) override { return _to GetInnerHTML(aInnerHTML); } \
NS_IMETHOD SetInnerHTML(const nsAString & aInnerHTML) override { return _to SetInnerHTML(aInnerHTML); } \
NS_IMETHOD GetOuterHTML(nsAString & aOuterHTML) override { return _to GetOuterHTML(aOuterHTML); } \
NS_IMETHOD SetOuterHTML(const nsAString & aOuterHTML) override { return _to SetOuterHTML(aOuterHTML); } \
NS_IMETHOD InsertAdjacentHTML(const nsAString & position, const nsAString & text) override { return _to InsertAdjacentHTML(position, text); } \
NS_IMETHOD ScrollIntoView(bool top, uint8_t _argc) override { return _to ScrollIntoView(top, _argc); } \
NS_IMETHOD GetOffsetParent(nsIDOMElement * *aOffsetParent) override { return _to GetOffsetParent(aOffsetParent); } \
NS_IMETHOD GetOffsetTop(int32_t *aOffsetTop) override { return _to GetOffsetTop(aOffsetTop); } \
NS_IMETHOD GetOffsetLeft(int32_t *aOffsetLeft) override { return _to GetOffsetLeft(aOffsetLeft); } \
NS_IMETHOD GetOffsetWidth(int32_t *aOffsetWidth) override { return _to GetOffsetWidth(aOffsetWidth); } \
NS_IMETHOD GetOffsetHeight(int32_t *aOffsetHeight) override { return _to GetOffsetHeight(aOffsetHeight); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMHTMLELEMENT(_to) \
NS_IMETHOD GetTitle(nsAString & aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
NS_IMETHOD SetTitle(const nsAString & aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
NS_IMETHOD GetLang(nsAString & aLang) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLang(aLang); } \
NS_IMETHOD SetLang(const nsAString & aLang) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLang(aLang); } \
NS_IMETHOD GetDir(nsAString & aDir) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDir(aDir); } \
NS_IMETHOD SetDir(const nsAString & aDir) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDir(aDir); } \
NS_IMETHOD GetDataset(nsISupports * *aDataset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDataset(aDataset); } \
NS_IMETHOD GetHidden(bool *aHidden) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHidden(aHidden); } \
NS_IMETHOD SetHidden(bool aHidden) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHidden(aHidden); } \
NS_IMETHOD DOMClick(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DOMClick(); } \
NS_IMETHOD GetTabIndex(int32_t *aTabIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTabIndex(aTabIndex); } \
NS_IMETHOD SetTabIndex(int32_t aTabIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTabIndex(aTabIndex); } \
NS_IMETHOD Focus(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Focus(); } \
NS_IMETHOD DOMBlur(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DOMBlur(); } \
NS_IMETHOD GetAccessKey(nsAString & aAccessKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAccessKey(aAccessKey); } \
NS_IMETHOD GetAccessKeyLabel(nsAString & aAccessKeyLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessKeyLabel(aAccessKeyLabel); } \
NS_IMETHOD GetDraggable(bool *aDraggable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDraggable(aDraggable); } \
NS_IMETHOD SetDraggable(bool aDraggable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDraggable(aDraggable); } \
NS_IMETHOD GetContentEditable(nsAString & aContentEditable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentEditable(aContentEditable); } \
NS_IMETHOD SetContentEditable(const nsAString & aContentEditable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContentEditable(aContentEditable); } \
NS_IMETHOD GetIsContentEditable(bool *aIsContentEditable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsContentEditable(aIsContentEditable); } \
NS_IMETHOD GetContextMenu(nsIDOMHTMLMenuElement * *aContextMenu) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContextMenu(aContextMenu); } \
NS_IMETHOD GetSpellcheck(bool *aSpellcheck) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSpellcheck(aSpellcheck); } \
NS_IMETHOD SetSpellcheck(bool aSpellcheck) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSpellcheck(aSpellcheck); } \
NS_IMETHOD GetInnerHTML(nsAString & aInnerHTML) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInnerHTML(aInnerHTML); } \
NS_IMETHOD SetInnerHTML(const nsAString & aInnerHTML) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInnerHTML(aInnerHTML); } \
NS_IMETHOD GetOuterHTML(nsAString & aOuterHTML) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOuterHTML(aOuterHTML); } \
NS_IMETHOD SetOuterHTML(const nsAString & aOuterHTML) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOuterHTML(aOuterHTML); } \
NS_IMETHOD InsertAdjacentHTML(const nsAString & position, const nsAString & text) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertAdjacentHTML(position, text); } \
NS_IMETHOD ScrollIntoView(bool top, uint8_t _argc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollIntoView(top, _argc); } \
NS_IMETHOD GetOffsetParent(nsIDOMElement * *aOffsetParent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffsetParent(aOffsetParent); } \
NS_IMETHOD GetOffsetTop(int32_t *aOffsetTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffsetTop(aOffsetTop); } \
NS_IMETHOD GetOffsetLeft(int32_t *aOffsetLeft) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffsetLeft(aOffsetLeft); } \
NS_IMETHOD GetOffsetWidth(int32_t *aOffsetWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffsetWidth(aOffsetWidth); } \
NS_IMETHOD GetOffsetHeight(int32_t *aOffsetHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffsetHeight(aOffsetHeight); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMHTMLElement : public nsIDOMHTMLElement
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMHTMLELEMENT
nsDOMHTMLElement();
private:
~nsDOMHTMLElement();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMHTMLElement, nsIDOMHTMLElement)
nsDOMHTMLElement::nsDOMHTMLElement()
{
/* member initializers and constructor code */
}
nsDOMHTMLElement::~nsDOMHTMLElement()
{
/* destructor code */
}
/* attribute DOMString title; */
NS_IMETHODIMP nsDOMHTMLElement::GetTitle(nsAString & aTitle)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLElement::SetTitle(const nsAString & aTitle)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString lang; */
NS_IMETHODIMP nsDOMHTMLElement::GetLang(nsAString & aLang)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLElement::SetLang(const nsAString & aLang)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString dir; */
NS_IMETHODIMP nsDOMHTMLElement::GetDir(nsAString & aDir)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLElement::SetDir(const nsAString & aDir)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISupports dataset; */
NS_IMETHODIMP nsDOMHTMLElement::GetDataset(nsISupports * *aDataset)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean hidden; */
NS_IMETHODIMP nsDOMHTMLElement::GetHidden(bool *aHidden)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLElement::SetHidden(bool aHidden)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [binaryname(DOMClick)] void click (); */
NS_IMETHODIMP nsDOMHTMLElement::DOMClick()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long tabIndex; */
NS_IMETHODIMP nsDOMHTMLElement::GetTabIndex(int32_t *aTabIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLElement::SetTabIndex(int32_t aTabIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void focus (); */
NS_IMETHODIMP nsDOMHTMLElement::Focus()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [binaryname(DOMBlur)] void blur (); */
NS_IMETHODIMP nsDOMHTMLElement::DOMBlur()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString accessKey; */
NS_IMETHODIMP nsDOMHTMLElement::GetAccessKey(nsAString & aAccessKey)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLElement::SetAccessKey(const nsAString & aAccessKey)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString accessKeyLabel; */
NS_IMETHODIMP nsDOMHTMLElement::GetAccessKeyLabel(nsAString & aAccessKeyLabel)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean draggable; */
NS_IMETHODIMP nsDOMHTMLElement::GetDraggable(bool *aDraggable)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLElement::SetDraggable(bool aDraggable)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString contentEditable; */
NS_IMETHODIMP nsDOMHTMLElement::GetContentEditable(nsAString & aContentEditable)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLElement::SetContentEditable(const nsAString & aContentEditable)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isContentEditable; */
NS_IMETHODIMP nsDOMHTMLElement::GetIsContentEditable(bool *aIsContentEditable)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMHTMLMenuElement contextMenu; */
NS_IMETHODIMP nsDOMHTMLElement::GetContextMenu(nsIDOMHTMLMenuElement * *aContextMenu)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean spellcheck; */
NS_IMETHODIMP nsDOMHTMLElement::GetSpellcheck(bool *aSpellcheck)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLElement::SetSpellcheck(bool aSpellcheck)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString innerHTML; */
NS_IMETHODIMP nsDOMHTMLElement::GetInnerHTML(nsAString & aInnerHTML)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLElement::SetInnerHTML(const nsAString & aInnerHTML)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString outerHTML; */
NS_IMETHODIMP nsDOMHTMLElement::GetOuterHTML(nsAString & aOuterHTML)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLElement::SetOuterHTML(const nsAString & aOuterHTML)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void insertAdjacentHTML (in DOMString position, in DOMString text); */
NS_IMETHODIMP nsDOMHTMLElement::InsertAdjacentHTML(const nsAString & position, const nsAString & text)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [optional_argc] void scrollIntoView ([optional] in boolean top); */
NS_IMETHODIMP nsDOMHTMLElement::ScrollIntoView(bool top, uint8_t _argc)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMElement offsetParent; */
NS_IMETHODIMP nsDOMHTMLElement::GetOffsetParent(nsIDOMElement * *aOffsetParent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long offsetTop; */
NS_IMETHODIMP nsDOMHTMLElement::GetOffsetTop(int32_t *aOffsetTop)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long offsetLeft; */
NS_IMETHODIMP nsDOMHTMLElement::GetOffsetLeft(int32_t *aOffsetLeft)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long offsetWidth; */
NS_IMETHODIMP nsDOMHTMLElement::GetOffsetWidth(int32_t *aOffsetWidth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long offsetHeight; */
NS_IMETHODIMP nsDOMHTMLElement::GetOffsetHeight(int32_t *aOffsetHeight)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMHTMLElement_h__ */
|