/usr/include/thunderbird/nsIDOMElement.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 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMElement.idl
*/
#ifndef __gen_nsIDOMElement_h__
#define __gen_nsIDOMElement_h__
#ifndef __gen_nsIDOMNode_h__
#include "nsIDOMNode.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMMozNamedAttrMap; /* forward declaration */
// Undo the windows.h damage
#undef GetMessage
#undef CreateEvent
#undef GetClassName
#undef GetBinaryType
#undef RemoveDirectory
/* starting interface: nsIDOMElement */
#define NS_IDOMELEMENT_IID_STR "6289999b-1008-4269-b42a-413ec5a9d3f4"
#define NS_IDOMELEMENT_IID \
{0x6289999b, 0x1008, 0x4269, \
{ 0xb4, 0x2a, 0x41, 0x3e, 0xc5, 0xa9, 0xd3, 0xf4 }}
class NS_NO_VTABLE nsIDOMElement : public nsIDOMNode {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMELEMENT_IID)
/* readonly attribute DOMString tagName; */
NS_IMETHOD GetTagName(nsAString & aTagName) = 0;
/* attribute DOMString id; */
NS_IMETHOD GetId(nsAString & aId) = 0;
NS_IMETHOD SetId(const nsAString & aId) = 0;
/* attribute DOMString className; */
NS_IMETHOD GetClassName(nsAString & aClassName) = 0;
NS_IMETHOD SetClassName(const nsAString & aClassName) = 0;
/* readonly attribute nsISupports classList; */
NS_IMETHOD GetClassList(nsISupports * *aClassList) = 0;
/* readonly attribute nsIDOMMozNamedAttrMap attributes; */
NS_IMETHOD GetAttributes(nsIDOMMozNamedAttrMap * *aAttributes) = 0;
/* DOMString getAttribute (in DOMString name); */
NS_IMETHOD GetAttribute(const nsAString & name, nsAString & _retval) = 0;
/* DOMString getAttributeNS (in DOMString namespaceURI, in DOMString localName); */
NS_IMETHOD GetAttributeNS(const nsAString & namespaceURI, const nsAString & localName, nsAString & _retval) = 0;
/* void setAttribute (in DOMString name, in DOMString value); */
NS_IMETHOD SetAttribute(const nsAString & name, const nsAString & value) = 0;
/* void setAttributeNS (in DOMString namespaceURI, in DOMString qualifiedName, in DOMString value); */
NS_IMETHOD SetAttributeNS(const nsAString & namespaceURI, const nsAString & qualifiedName, const nsAString & value) = 0;
/* void removeAttribute (in DOMString name); */
NS_IMETHOD RemoveAttribute(const nsAString & name) = 0;
/* void removeAttributeNS (in DOMString namespaceURI, in DOMString localName); */
NS_IMETHOD RemoveAttributeNS(const nsAString & namespaceURI, const nsAString & localName) = 0;
/* boolean hasAttribute (in DOMString name); */
NS_IMETHOD HasAttribute(const nsAString & name, bool *_retval) = 0;
/* boolean hasAttributeNS (in DOMString namespaceURI, in DOMString localName); */
NS_IMETHOD HasAttributeNS(const nsAString & namespaceURI, const nsAString & localName, bool *_retval) = 0;
/* boolean hasAttributes (); */
NS_IMETHOD HasAttributes(bool *_retval) = 0;
/* nsIDOMAttr getAttributeNode (in DOMString name); */
NS_IMETHOD GetAttributeNode(const nsAString & name, nsIDOMAttr * *_retval) = 0;
/* nsIDOMAttr setAttributeNode (in nsIDOMAttr newAttr); */
NS_IMETHOD SetAttributeNode(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval) = 0;
/* nsIDOMAttr removeAttributeNode (in nsIDOMAttr oldAttr); */
NS_IMETHOD RemoveAttributeNode(nsIDOMAttr *oldAttr, nsIDOMAttr * *_retval) = 0;
/* nsIDOMAttr getAttributeNodeNS (in DOMString namespaceURI, in DOMString localName); */
NS_IMETHOD GetAttributeNodeNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMAttr * *_retval) = 0;
/* nsIDOMAttr setAttributeNodeNS (in nsIDOMAttr newAttr) raises (DOMException); */
NS_IMETHOD SetAttributeNodeNS(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval) = 0;
/* nsIDOMHTMLCollection getElementsByTagName (in DOMString name); */
NS_IMETHOD GetElementsByTagName(const nsAString & name, nsIDOMHTMLCollection * *_retval) = 0;
/* nsIDOMHTMLCollection getElementsByTagNameNS (in DOMString namespaceURI, in DOMString localName); */
NS_IMETHOD GetElementsByTagNameNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMHTMLCollection * *_retval) = 0;
/* nsIDOMHTMLCollection getElementsByClassName (in DOMString classes); */
NS_IMETHOD GetElementsByClassName(const nsAString & classes, nsIDOMHTMLCollection * *_retval) = 0;
/* [binaryname(ChildElements)] readonly attribute nsIDOMNodeList children; */
NS_IMETHOD GetChildElements(nsIDOMNodeList * *aChildren) = 0;
/* readonly attribute nsIDOMElement firstElementChild; */
NS_IMETHOD GetFirstElementChild(nsIDOMElement * *aFirstElementChild) = 0;
/* readonly attribute nsIDOMElement lastElementChild; */
NS_IMETHOD GetLastElementChild(nsIDOMElement * *aLastElementChild) = 0;
/* readonly attribute nsIDOMElement previousElementSibling; */
NS_IMETHOD GetPreviousElementSibling(nsIDOMElement * *aPreviousElementSibling) = 0;
/* readonly attribute nsIDOMElement nextElementSibling; */
NS_IMETHOD GetNextElementSibling(nsIDOMElement * *aNextElementSibling) = 0;
/* readonly attribute unsigned long childElementCount; */
NS_IMETHOD GetChildElementCount(uint32_t *aChildElementCount) = 0;
/* [binaryname(MozRemove)] void remove (); */
NS_IMETHOD MozRemove(void) = 0;
/* nsIDOMClientRectList getClientRects (); */
NS_IMETHOD GetClientRects(nsIDOMClientRectList * *_retval) = 0;
/* nsIDOMClientRect getBoundingClientRect (); */
NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *_retval) = 0;
/* attribute long scrollTop; */
NS_IMETHOD GetScrollTop(int32_t *aScrollTop) = 0;
NS_IMETHOD SetScrollTop(int32_t aScrollTop) = 0;
/* attribute long scrollLeft; */
NS_IMETHOD GetScrollLeft(int32_t *aScrollLeft) = 0;
NS_IMETHOD SetScrollLeft(int32_t aScrollLeft) = 0;
/* readonly attribute long scrollWidth; */
NS_IMETHOD GetScrollWidth(int32_t *aScrollWidth) = 0;
/* readonly attribute long scrollHeight; */
NS_IMETHOD GetScrollHeight(int32_t *aScrollHeight) = 0;
/* readonly attribute long clientTop; */
NS_IMETHOD GetClientTop(int32_t *aClientTop) = 0;
/* readonly attribute long clientLeft; */
NS_IMETHOD GetClientLeft(int32_t *aClientLeft) = 0;
/* readonly attribute long clientWidth; */
NS_IMETHOD GetClientWidth(int32_t *aClientWidth) = 0;
/* readonly attribute long clientHeight; */
NS_IMETHOD GetClientHeight(int32_t *aClientHeight) = 0;
/* readonly attribute long scrollLeftMax; */
NS_IMETHOD GetScrollLeftMax(int32_t *aScrollLeftMax) = 0;
/* readonly attribute long scrollTopMax; */
NS_IMETHOD GetScrollTopMax(int32_t *aScrollTopMax) = 0;
/* boolean mozMatchesSelector ([Null (Stringify)] in DOMString selector); */
NS_IMETHOD MozMatchesSelector(const nsAString & selector, bool *_retval) = 0;
/* void setCapture ([optional] in boolean retargetToElement); */
NS_IMETHOD SetCapture(bool retargetToElement) = 0;
/* void releaseCapture (); */
NS_IMETHOD ReleaseCapture(void) = 0;
/* void mozRequestFullScreen (); */
NS_IMETHOD MozRequestFullScreen(void) = 0;
/* void mozRequestPointerLock (); */
NS_IMETHOD MozRequestPointerLock(void) = 0;
/* nsIDOMElement querySelector ([Null (Stringify)] in DOMString selectors); */
NS_IMETHOD QuerySelector(const nsAString & selectors, nsIDOMElement * *_retval) = 0;
/* nsIDOMNodeList querySelectorAll ([Null (Stringify)] in DOMString selectors); */
NS_IMETHOD QuerySelectorAll(const nsAString & selectors, nsIDOMNodeList * *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMElement, NS_IDOMELEMENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMELEMENT \
NS_IMETHOD GetTagName(nsAString & aTagName) override; \
NS_IMETHOD GetId(nsAString & aId) override; \
NS_IMETHOD SetId(const nsAString & aId) override; \
NS_IMETHOD GetClassName(nsAString & aClassName) override; \
NS_IMETHOD SetClassName(const nsAString & aClassName) override; \
NS_IMETHOD GetClassList(nsISupports * *aClassList) override; \
NS_IMETHOD GetAttributes(nsIDOMMozNamedAttrMap * *aAttributes) override; \
NS_IMETHOD GetAttribute(const nsAString & name, nsAString & _retval) override; \
NS_IMETHOD GetAttributeNS(const nsAString & namespaceURI, const nsAString & localName, nsAString & _retval) override; \
NS_IMETHOD SetAttribute(const nsAString & name, const nsAString & value) override; \
NS_IMETHOD SetAttributeNS(const nsAString & namespaceURI, const nsAString & qualifiedName, const nsAString & value) override; \
NS_IMETHOD RemoveAttribute(const nsAString & name) override; \
NS_IMETHOD RemoveAttributeNS(const nsAString & namespaceURI, const nsAString & localName) override; \
NS_IMETHOD HasAttribute(const nsAString & name, bool *_retval) override; \
NS_IMETHOD HasAttributeNS(const nsAString & namespaceURI, const nsAString & localName, bool *_retval) override; \
NS_IMETHOD HasAttributes(bool *_retval) override; \
NS_IMETHOD GetAttributeNode(const nsAString & name, nsIDOMAttr * *_retval) override; \
NS_IMETHOD SetAttributeNode(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval) override; \
NS_IMETHOD RemoveAttributeNode(nsIDOMAttr *oldAttr, nsIDOMAttr * *_retval) override; \
NS_IMETHOD GetAttributeNodeNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMAttr * *_retval) override; \
NS_IMETHOD SetAttributeNodeNS(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval) override; \
NS_IMETHOD GetElementsByTagName(const nsAString & name, nsIDOMHTMLCollection * *_retval) override; \
NS_IMETHOD GetElementsByTagNameNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMHTMLCollection * *_retval) override; \
NS_IMETHOD GetElementsByClassName(const nsAString & classes, nsIDOMHTMLCollection * *_retval) override; \
NS_IMETHOD GetChildElements(nsIDOMNodeList * *aChildren) override; \
NS_IMETHOD GetFirstElementChild(nsIDOMElement * *aFirstElementChild) override; \
NS_IMETHOD GetLastElementChild(nsIDOMElement * *aLastElementChild) override; \
NS_IMETHOD GetPreviousElementSibling(nsIDOMElement * *aPreviousElementSibling) override; \
NS_IMETHOD GetNextElementSibling(nsIDOMElement * *aNextElementSibling) override; \
NS_IMETHOD GetChildElementCount(uint32_t *aChildElementCount) override; \
NS_IMETHOD MozRemove(void) override; \
NS_IMETHOD GetClientRects(nsIDOMClientRectList * *_retval) override; \
NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *_retval) override; \
NS_IMETHOD GetScrollTop(int32_t *aScrollTop) override; \
NS_IMETHOD SetScrollTop(int32_t aScrollTop) override; \
NS_IMETHOD GetScrollLeft(int32_t *aScrollLeft) override; \
NS_IMETHOD SetScrollLeft(int32_t aScrollLeft) override; \
NS_IMETHOD GetScrollWidth(int32_t *aScrollWidth) override; \
NS_IMETHOD GetScrollHeight(int32_t *aScrollHeight) override; \
NS_IMETHOD GetClientTop(int32_t *aClientTop) override; \
NS_IMETHOD GetClientLeft(int32_t *aClientLeft) override; \
NS_IMETHOD GetClientWidth(int32_t *aClientWidth) override; \
NS_IMETHOD GetClientHeight(int32_t *aClientHeight) override; \
NS_IMETHOD GetScrollLeftMax(int32_t *aScrollLeftMax) override; \
NS_IMETHOD GetScrollTopMax(int32_t *aScrollTopMax) override; \
NS_IMETHOD MozMatchesSelector(const nsAString & selector, bool *_retval) override; \
NS_IMETHOD SetCapture(bool retargetToElement) override; \
NS_IMETHOD ReleaseCapture(void) override; \
NS_IMETHOD MozRequestFullScreen(void) override; \
NS_IMETHOD MozRequestPointerLock(void) override; \
NS_IMETHOD QuerySelector(const nsAString & selectors, nsIDOMElement * *_retval) override; \
NS_IMETHOD QuerySelectorAll(const nsAString & selectors, nsIDOMNodeList * *_retval) 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_NSIDOMELEMENT \
NS_METHOD GetTagName(nsAString & aTagName); \
NS_METHOD GetId(nsAString & aId); \
NS_METHOD SetId(const nsAString & aId); \
NS_METHOD GetClassName(nsAString & aClassName); \
NS_METHOD SetClassName(const nsAString & aClassName); \
NS_METHOD GetClassList(nsISupports * *aClassList); \
NS_METHOD GetAttributes(nsIDOMMozNamedAttrMap * *aAttributes); \
NS_METHOD GetAttribute(const nsAString & name, nsAString & _retval); \
NS_METHOD GetAttributeNS(const nsAString & namespaceURI, const nsAString & localName, nsAString & _retval); \
NS_METHOD SetAttribute(const nsAString & name, const nsAString & value); \
NS_METHOD SetAttributeNS(const nsAString & namespaceURI, const nsAString & qualifiedName, const nsAString & value); \
NS_METHOD RemoveAttribute(const nsAString & name); \
NS_METHOD RemoveAttributeNS(const nsAString & namespaceURI, const nsAString & localName); \
NS_METHOD HasAttribute(const nsAString & name, bool *_retval); \
NS_METHOD HasAttributeNS(const nsAString & namespaceURI, const nsAString & localName, bool *_retval); \
NS_METHOD HasAttributes(bool *_retval); \
NS_METHOD GetAttributeNode(const nsAString & name, nsIDOMAttr * *_retval); \
NS_METHOD SetAttributeNode(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval); \
NS_METHOD RemoveAttributeNode(nsIDOMAttr *oldAttr, nsIDOMAttr * *_retval); \
NS_METHOD GetAttributeNodeNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMAttr * *_retval); \
NS_METHOD SetAttributeNodeNS(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval); \
NS_METHOD GetElementsByTagName(const nsAString & name, nsIDOMHTMLCollection * *_retval); \
NS_METHOD GetElementsByTagNameNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMHTMLCollection * *_retval); \
NS_METHOD GetElementsByClassName(const nsAString & classes, nsIDOMHTMLCollection * *_retval); \
NS_METHOD GetChildElements(nsIDOMNodeList * *aChildren); \
NS_METHOD GetFirstElementChild(nsIDOMElement * *aFirstElementChild); \
NS_METHOD GetLastElementChild(nsIDOMElement * *aLastElementChild); \
NS_METHOD GetPreviousElementSibling(nsIDOMElement * *aPreviousElementSibling); \
NS_METHOD GetNextElementSibling(nsIDOMElement * *aNextElementSibling); \
NS_METHOD GetChildElementCount(uint32_t *aChildElementCount); \
NS_METHOD MozRemove(void); \
NS_METHOD GetClientRects(nsIDOMClientRectList * *_retval); \
NS_METHOD GetBoundingClientRect(nsIDOMClientRect * *_retval); \
NS_METHOD GetScrollTop(int32_t *aScrollTop); \
NS_METHOD SetScrollTop(int32_t aScrollTop); \
NS_METHOD GetScrollLeft(int32_t *aScrollLeft); \
NS_METHOD SetScrollLeft(int32_t aScrollLeft); \
NS_METHOD GetScrollWidth(int32_t *aScrollWidth); \
NS_METHOD GetScrollHeight(int32_t *aScrollHeight); \
NS_METHOD GetClientTop(int32_t *aClientTop); \
NS_METHOD GetClientLeft(int32_t *aClientLeft); \
NS_METHOD GetClientWidth(int32_t *aClientWidth); \
NS_METHOD GetClientHeight(int32_t *aClientHeight); \
NS_METHOD GetScrollLeftMax(int32_t *aScrollLeftMax); \
NS_METHOD GetScrollTopMax(int32_t *aScrollTopMax); \
NS_METHOD MozMatchesSelector(const nsAString & selector, bool *_retval); \
NS_METHOD SetCapture(bool retargetToElement); \
NS_METHOD ReleaseCapture(void); \
NS_METHOD MozRequestFullScreen(void); \
NS_METHOD MozRequestPointerLock(void); \
NS_METHOD QuerySelector(const nsAString & selectors, nsIDOMElement * *_retval); \
NS_METHOD QuerySelectorAll(const nsAString & selectors, nsIDOMNodeList * *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMELEMENT(_to) \
NS_IMETHOD GetTagName(nsAString & aTagName) override { return _to GetTagName(aTagName); } \
NS_IMETHOD GetId(nsAString & aId) override { return _to GetId(aId); } \
NS_IMETHOD SetId(const nsAString & aId) override { return _to SetId(aId); } \
NS_IMETHOD GetClassName(nsAString & aClassName) override { return _to GetClassName(aClassName); } \
NS_IMETHOD SetClassName(const nsAString & aClassName) override { return _to SetClassName(aClassName); } \
NS_IMETHOD GetClassList(nsISupports * *aClassList) override { return _to GetClassList(aClassList); } \
NS_IMETHOD GetAttributes(nsIDOMMozNamedAttrMap * *aAttributes) override { return _to GetAttributes(aAttributes); } \
NS_IMETHOD GetAttribute(const nsAString & name, nsAString & _retval) override { return _to GetAttribute(name, _retval); } \
NS_IMETHOD GetAttributeNS(const nsAString & namespaceURI, const nsAString & localName, nsAString & _retval) override { return _to GetAttributeNS(namespaceURI, localName, _retval); } \
NS_IMETHOD SetAttribute(const nsAString & name, const nsAString & value) override { return _to SetAttribute(name, value); } \
NS_IMETHOD SetAttributeNS(const nsAString & namespaceURI, const nsAString & qualifiedName, const nsAString & value) override { return _to SetAttributeNS(namespaceURI, qualifiedName, value); } \
NS_IMETHOD RemoveAttribute(const nsAString & name) override { return _to RemoveAttribute(name); } \
NS_IMETHOD RemoveAttributeNS(const nsAString & namespaceURI, const nsAString & localName) override { return _to RemoveAttributeNS(namespaceURI, localName); } \
NS_IMETHOD HasAttribute(const nsAString & name, bool *_retval) override { return _to HasAttribute(name, _retval); } \
NS_IMETHOD HasAttributeNS(const nsAString & namespaceURI, const nsAString & localName, bool *_retval) override { return _to HasAttributeNS(namespaceURI, localName, _retval); } \
NS_IMETHOD HasAttributes(bool *_retval) override { return _to HasAttributes(_retval); } \
NS_IMETHOD GetAttributeNode(const nsAString & name, nsIDOMAttr * *_retval) override { return _to GetAttributeNode(name, _retval); } \
NS_IMETHOD SetAttributeNode(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval) override { return _to SetAttributeNode(newAttr, _retval); } \
NS_IMETHOD RemoveAttributeNode(nsIDOMAttr *oldAttr, nsIDOMAttr * *_retval) override { return _to RemoveAttributeNode(oldAttr, _retval); } \
NS_IMETHOD GetAttributeNodeNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMAttr * *_retval) override { return _to GetAttributeNodeNS(namespaceURI, localName, _retval); } \
NS_IMETHOD SetAttributeNodeNS(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval) override { return _to SetAttributeNodeNS(newAttr, _retval); } \
NS_IMETHOD GetElementsByTagName(const nsAString & name, nsIDOMHTMLCollection * *_retval) override { return _to GetElementsByTagName(name, _retval); } \
NS_IMETHOD GetElementsByTagNameNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMHTMLCollection * *_retval) override { return _to GetElementsByTagNameNS(namespaceURI, localName, _retval); } \
NS_IMETHOD GetElementsByClassName(const nsAString & classes, nsIDOMHTMLCollection * *_retval) override { return _to GetElementsByClassName(classes, _retval); } \
NS_IMETHOD GetChildElements(nsIDOMNodeList * *aChildren) override { return _to GetChildElements(aChildren); } \
NS_IMETHOD GetFirstElementChild(nsIDOMElement * *aFirstElementChild) override { return _to GetFirstElementChild(aFirstElementChild); } \
NS_IMETHOD GetLastElementChild(nsIDOMElement * *aLastElementChild) override { return _to GetLastElementChild(aLastElementChild); } \
NS_IMETHOD GetPreviousElementSibling(nsIDOMElement * *aPreviousElementSibling) override { return _to GetPreviousElementSibling(aPreviousElementSibling); } \
NS_IMETHOD GetNextElementSibling(nsIDOMElement * *aNextElementSibling) override { return _to GetNextElementSibling(aNextElementSibling); } \
NS_IMETHOD GetChildElementCount(uint32_t *aChildElementCount) override { return _to GetChildElementCount(aChildElementCount); } \
NS_IMETHOD MozRemove(void) override { return _to MozRemove(); } \
NS_IMETHOD GetClientRects(nsIDOMClientRectList * *_retval) override { return _to GetClientRects(_retval); } \
NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *_retval) override { return _to GetBoundingClientRect(_retval); } \
NS_IMETHOD GetScrollTop(int32_t *aScrollTop) override { return _to GetScrollTop(aScrollTop); } \
NS_IMETHOD SetScrollTop(int32_t aScrollTop) override { return _to SetScrollTop(aScrollTop); } \
NS_IMETHOD GetScrollLeft(int32_t *aScrollLeft) override { return _to GetScrollLeft(aScrollLeft); } \
NS_IMETHOD SetScrollLeft(int32_t aScrollLeft) override { return _to SetScrollLeft(aScrollLeft); } \
NS_IMETHOD GetScrollWidth(int32_t *aScrollWidth) override { return _to GetScrollWidth(aScrollWidth); } \
NS_IMETHOD GetScrollHeight(int32_t *aScrollHeight) override { return _to GetScrollHeight(aScrollHeight); } \
NS_IMETHOD GetClientTop(int32_t *aClientTop) override { return _to GetClientTop(aClientTop); } \
NS_IMETHOD GetClientLeft(int32_t *aClientLeft) override { return _to GetClientLeft(aClientLeft); } \
NS_IMETHOD GetClientWidth(int32_t *aClientWidth) override { return _to GetClientWidth(aClientWidth); } \
NS_IMETHOD GetClientHeight(int32_t *aClientHeight) override { return _to GetClientHeight(aClientHeight); } \
NS_IMETHOD GetScrollLeftMax(int32_t *aScrollLeftMax) override { return _to GetScrollLeftMax(aScrollLeftMax); } \
NS_IMETHOD GetScrollTopMax(int32_t *aScrollTopMax) override { return _to GetScrollTopMax(aScrollTopMax); } \
NS_IMETHOD MozMatchesSelector(const nsAString & selector, bool *_retval) override { return _to MozMatchesSelector(selector, _retval); } \
NS_IMETHOD SetCapture(bool retargetToElement) override { return _to SetCapture(retargetToElement); } \
NS_IMETHOD ReleaseCapture(void) override { return _to ReleaseCapture(); } \
NS_IMETHOD MozRequestFullScreen(void) override { return _to MozRequestFullScreen(); } \
NS_IMETHOD MozRequestPointerLock(void) override { return _to MozRequestPointerLock(); } \
NS_IMETHOD QuerySelector(const nsAString & selectors, nsIDOMElement * *_retval) override { return _to QuerySelector(selectors, _retval); } \
NS_IMETHOD QuerySelectorAll(const nsAString & selectors, nsIDOMNodeList * *_retval) override { return _to QuerySelectorAll(selectors, _retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMELEMENT(_to) \
NS_IMETHOD GetTagName(nsAString & aTagName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTagName(aTagName); } \
NS_IMETHOD GetId(nsAString & aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
NS_IMETHOD SetId(const nsAString & aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetId(aId); } \
NS_IMETHOD GetClassName(nsAString & aClassName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClassName(aClassName); } \
NS_IMETHOD SetClassName(const nsAString & aClassName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetClassName(aClassName); } \
NS_IMETHOD GetClassList(nsISupports * *aClassList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClassList(aClassList); } \
NS_IMETHOD GetAttributes(nsIDOMMozNamedAttrMap * *aAttributes) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttributes(aAttributes); } \
NS_IMETHOD GetAttribute(const nsAString & name, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttribute(name, _retval); } \
NS_IMETHOD GetAttributeNS(const nsAString & namespaceURI, const nsAString & localName, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttributeNS(namespaceURI, localName, _retval); } \
NS_IMETHOD SetAttribute(const nsAString & name, const nsAString & value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttribute(name, value); } \
NS_IMETHOD SetAttributeNS(const nsAString & namespaceURI, const nsAString & qualifiedName, const nsAString & value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttributeNS(namespaceURI, qualifiedName, value); } \
NS_IMETHOD RemoveAttribute(const nsAString & name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAttribute(name); } \
NS_IMETHOD RemoveAttributeNS(const nsAString & namespaceURI, const nsAString & localName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAttributeNS(namespaceURI, localName); } \
NS_IMETHOD HasAttribute(const nsAString & name, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasAttribute(name, _retval); } \
NS_IMETHOD HasAttributeNS(const nsAString & namespaceURI, const nsAString & localName, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasAttributeNS(namespaceURI, localName, _retval); } \
NS_IMETHOD HasAttributes(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasAttributes(_retval); } \
NS_IMETHOD GetAttributeNode(const nsAString & name, nsIDOMAttr * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttributeNode(name, _retval); } \
NS_IMETHOD SetAttributeNode(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttributeNode(newAttr, _retval); } \
NS_IMETHOD RemoveAttributeNode(nsIDOMAttr *oldAttr, nsIDOMAttr * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAttributeNode(oldAttr, _retval); } \
NS_IMETHOD GetAttributeNodeNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMAttr * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttributeNodeNS(namespaceURI, localName, _retval); } \
NS_IMETHOD SetAttributeNodeNS(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttributeNodeNS(newAttr, _retval); } \
NS_IMETHOD GetElementsByTagName(const nsAString & name, nsIDOMHTMLCollection * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementsByTagName(name, _retval); } \
NS_IMETHOD GetElementsByTagNameNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMHTMLCollection * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementsByTagNameNS(namespaceURI, localName, _retval); } \
NS_IMETHOD GetElementsByClassName(const nsAString & classes, nsIDOMHTMLCollection * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementsByClassName(classes, _retval); } \
NS_IMETHOD GetChildElements(nsIDOMNodeList * *aChildren) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChildElements(aChildren); } \
NS_IMETHOD GetFirstElementChild(nsIDOMElement * *aFirstElementChild) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFirstElementChild(aFirstElementChild); } \
NS_IMETHOD GetLastElementChild(nsIDOMElement * *aLastElementChild) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastElementChild(aLastElementChild); } \
NS_IMETHOD GetPreviousElementSibling(nsIDOMElement * *aPreviousElementSibling) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreviousElementSibling(aPreviousElementSibling); } \
NS_IMETHOD GetNextElementSibling(nsIDOMElement * *aNextElementSibling) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextElementSibling(aNextElementSibling); } \
NS_IMETHOD GetChildElementCount(uint32_t *aChildElementCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChildElementCount(aChildElementCount); } \
NS_IMETHOD MozRemove(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MozRemove(); } \
NS_IMETHOD GetClientRects(nsIDOMClientRectList * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClientRects(_retval); } \
NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBoundingClientRect(_retval); } \
NS_IMETHOD GetScrollTop(int32_t *aScrollTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollTop(aScrollTop); } \
NS_IMETHOD SetScrollTop(int32_t aScrollTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScrollTop(aScrollTop); } \
NS_IMETHOD GetScrollLeft(int32_t *aScrollLeft) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollLeft(aScrollLeft); } \
NS_IMETHOD SetScrollLeft(int32_t aScrollLeft) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScrollLeft(aScrollLeft); } \
NS_IMETHOD GetScrollWidth(int32_t *aScrollWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollWidth(aScrollWidth); } \
NS_IMETHOD GetScrollHeight(int32_t *aScrollHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollHeight(aScrollHeight); } \
NS_IMETHOD GetClientTop(int32_t *aClientTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClientTop(aClientTop); } \
NS_IMETHOD GetClientLeft(int32_t *aClientLeft) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClientLeft(aClientLeft); } \
NS_IMETHOD GetClientWidth(int32_t *aClientWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClientWidth(aClientWidth); } \
NS_IMETHOD GetClientHeight(int32_t *aClientHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClientHeight(aClientHeight); } \
NS_IMETHOD GetScrollLeftMax(int32_t *aScrollLeftMax) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollLeftMax(aScrollLeftMax); } \
NS_IMETHOD GetScrollTopMax(int32_t *aScrollTopMax) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollTopMax(aScrollTopMax); } \
NS_IMETHOD MozMatchesSelector(const nsAString & selector, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MozMatchesSelector(selector, _retval); } \
NS_IMETHOD SetCapture(bool retargetToElement) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCapture(retargetToElement); } \
NS_IMETHOD ReleaseCapture(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReleaseCapture(); } \
NS_IMETHOD MozRequestFullScreen(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MozRequestFullScreen(); } \
NS_IMETHOD MozRequestPointerLock(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MozRequestPointerLock(); } \
NS_IMETHOD QuerySelector(const nsAString & selectors, nsIDOMElement * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QuerySelector(selectors, _retval); } \
NS_IMETHOD QuerySelectorAll(const nsAString & selectors, nsIDOMNodeList * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QuerySelectorAll(selectors, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMElement : public nsIDOMElement
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMELEMENT
nsDOMElement();
private:
~nsDOMElement();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMElement, nsIDOMElement)
nsDOMElement::nsDOMElement()
{
/* member initializers and constructor code */
}
nsDOMElement::~nsDOMElement()
{
/* destructor code */
}
/* readonly attribute DOMString tagName; */
NS_IMETHODIMP nsDOMElement::GetTagName(nsAString & aTagName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString id; */
NS_IMETHODIMP nsDOMElement::GetId(nsAString & aId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMElement::SetId(const nsAString & aId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString className; */
NS_IMETHODIMP nsDOMElement::GetClassName(nsAString & aClassName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMElement::SetClassName(const nsAString & aClassName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISupports classList; */
NS_IMETHODIMP nsDOMElement::GetClassList(nsISupports * *aClassList)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMMozNamedAttrMap attributes; */
NS_IMETHODIMP nsDOMElement::GetAttributes(nsIDOMMozNamedAttrMap * *aAttributes)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* DOMString getAttribute (in DOMString name); */
NS_IMETHODIMP nsDOMElement::GetAttribute(const nsAString & name, nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* DOMString getAttributeNS (in DOMString namespaceURI, in DOMString localName); */
NS_IMETHODIMP nsDOMElement::GetAttributeNS(const nsAString & namespaceURI, const nsAString & localName, nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setAttribute (in DOMString name, in DOMString value); */
NS_IMETHODIMP nsDOMElement::SetAttribute(const nsAString & name, const nsAString & value)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setAttributeNS (in DOMString namespaceURI, in DOMString qualifiedName, in DOMString value); */
NS_IMETHODIMP nsDOMElement::SetAttributeNS(const nsAString & namespaceURI, const nsAString & qualifiedName, const nsAString & value)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeAttribute (in DOMString name); */
NS_IMETHODIMP nsDOMElement::RemoveAttribute(const nsAString & name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeAttributeNS (in DOMString namespaceURI, in DOMString localName); */
NS_IMETHODIMP nsDOMElement::RemoveAttributeNS(const nsAString & namespaceURI, const nsAString & localName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean hasAttribute (in DOMString name); */
NS_IMETHODIMP nsDOMElement::HasAttribute(const nsAString & name, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean hasAttributeNS (in DOMString namespaceURI, in DOMString localName); */
NS_IMETHODIMP nsDOMElement::HasAttributeNS(const nsAString & namespaceURI, const nsAString & localName, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean hasAttributes (); */
NS_IMETHODIMP nsDOMElement::HasAttributes(bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMAttr getAttributeNode (in DOMString name); */
NS_IMETHODIMP nsDOMElement::GetAttributeNode(const nsAString & name, nsIDOMAttr * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMAttr setAttributeNode (in nsIDOMAttr newAttr); */
NS_IMETHODIMP nsDOMElement::SetAttributeNode(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMAttr removeAttributeNode (in nsIDOMAttr oldAttr); */
NS_IMETHODIMP nsDOMElement::RemoveAttributeNode(nsIDOMAttr *oldAttr, nsIDOMAttr * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMAttr getAttributeNodeNS (in DOMString namespaceURI, in DOMString localName); */
NS_IMETHODIMP nsDOMElement::GetAttributeNodeNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMAttr * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMAttr setAttributeNodeNS (in nsIDOMAttr newAttr) raises (DOMException); */
NS_IMETHODIMP nsDOMElement::SetAttributeNodeNS(nsIDOMAttr *newAttr, nsIDOMAttr * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMHTMLCollection getElementsByTagName (in DOMString name); */
NS_IMETHODIMP nsDOMElement::GetElementsByTagName(const nsAString & name, nsIDOMHTMLCollection * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMHTMLCollection getElementsByTagNameNS (in DOMString namespaceURI, in DOMString localName); */
NS_IMETHODIMP nsDOMElement::GetElementsByTagNameNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMHTMLCollection * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMHTMLCollection getElementsByClassName (in DOMString classes); */
NS_IMETHODIMP nsDOMElement::GetElementsByClassName(const nsAString & classes, nsIDOMHTMLCollection * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [binaryname(ChildElements)] readonly attribute nsIDOMNodeList children; */
NS_IMETHODIMP nsDOMElement::GetChildElements(nsIDOMNodeList * *aChildren)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMElement firstElementChild; */
NS_IMETHODIMP nsDOMElement::GetFirstElementChild(nsIDOMElement * *aFirstElementChild)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMElement lastElementChild; */
NS_IMETHODIMP nsDOMElement::GetLastElementChild(nsIDOMElement * *aLastElementChild)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMElement previousElementSibling; */
NS_IMETHODIMP nsDOMElement::GetPreviousElementSibling(nsIDOMElement * *aPreviousElementSibling)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMElement nextElementSibling; */
NS_IMETHODIMP nsDOMElement::GetNextElementSibling(nsIDOMElement * *aNextElementSibling)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long childElementCount; */
NS_IMETHODIMP nsDOMElement::GetChildElementCount(uint32_t *aChildElementCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [binaryname(MozRemove)] void remove (); */
NS_IMETHODIMP nsDOMElement::MozRemove()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMClientRectList getClientRects (); */
NS_IMETHODIMP nsDOMElement::GetClientRects(nsIDOMClientRectList * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMClientRect getBoundingClientRect (); */
NS_IMETHODIMP nsDOMElement::GetBoundingClientRect(nsIDOMClientRect * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long scrollTop; */
NS_IMETHODIMP nsDOMElement::GetScrollTop(int32_t *aScrollTop)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMElement::SetScrollTop(int32_t aScrollTop)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long scrollLeft; */
NS_IMETHODIMP nsDOMElement::GetScrollLeft(int32_t *aScrollLeft)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMElement::SetScrollLeft(int32_t aScrollLeft)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long scrollWidth; */
NS_IMETHODIMP nsDOMElement::GetScrollWidth(int32_t *aScrollWidth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long scrollHeight; */
NS_IMETHODIMP nsDOMElement::GetScrollHeight(int32_t *aScrollHeight)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long clientTop; */
NS_IMETHODIMP nsDOMElement::GetClientTop(int32_t *aClientTop)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long clientLeft; */
NS_IMETHODIMP nsDOMElement::GetClientLeft(int32_t *aClientLeft)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long clientWidth; */
NS_IMETHODIMP nsDOMElement::GetClientWidth(int32_t *aClientWidth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long clientHeight; */
NS_IMETHODIMP nsDOMElement::GetClientHeight(int32_t *aClientHeight)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long scrollLeftMax; */
NS_IMETHODIMP nsDOMElement::GetScrollLeftMax(int32_t *aScrollLeftMax)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long scrollTopMax; */
NS_IMETHODIMP nsDOMElement::GetScrollTopMax(int32_t *aScrollTopMax)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean mozMatchesSelector ([Null (Stringify)] in DOMString selector); */
NS_IMETHODIMP nsDOMElement::MozMatchesSelector(const nsAString & selector, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setCapture ([optional] in boolean retargetToElement); */
NS_IMETHODIMP nsDOMElement::SetCapture(bool retargetToElement)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void releaseCapture (); */
NS_IMETHODIMP nsDOMElement::ReleaseCapture()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void mozRequestFullScreen (); */
NS_IMETHODIMP nsDOMElement::MozRequestFullScreen()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void mozRequestPointerLock (); */
NS_IMETHODIMP nsDOMElement::MozRequestPointerLock()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMElement querySelector ([Null (Stringify)] in DOMString selectors); */
NS_IMETHODIMP nsDOMElement::QuerySelector(const nsAString & selectors, nsIDOMElement * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMNodeList querySelectorAll ([Null (Stringify)] in DOMString selectors); */
NS_IMETHODIMP nsDOMElement::QuerySelectorAll(const nsAString & selectors, nsIDOMNodeList * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMElement_h__ */
|