/usr/include/thunderbird/inIDOMUtils.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/inIDOMUtils.idl
*/
#ifndef __gen_inIDOMUtils_h__
#define __gen_inIDOMUtils_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#include "js/Value.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIArray; /* forward declaration */
class nsIArrayExtensions; /* forward declaration */
class nsIDOMCharacterData; /* forward declaration */
class nsIDOMElement; /* forward declaration */
class nsIDOMDocument; /* forward declaration */
class nsIDOMCSSRule; /* forward declaration */
class nsIDOMCSSStyleRule; /* forward declaration */
class nsIDOMNode; /* forward declaration */
class nsIDOMNodeList; /* forward declaration */
class nsIDOMFontFaceList; /* forward declaration */
class nsIDOMRange; /* forward declaration */
class nsIDOMCSSStyleSheet; /* forward declaration */
/* starting interface: inIDOMUtils */
#define INIDOMUTILS_IID_STR "362e98c3-82c2-4ad8-8dcb-00e8e4eab497"
#define INIDOMUTILS_IID \
{0x362e98c3, 0x82c2, 0x4ad8, \
{ 0x8d, 0xcb, 0x00, 0xe8, 0xe4, 0xea, 0xb4, 0x97 }}
class NS_NO_VTABLE inIDOMUtils : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(INIDOMUTILS_IID)
/* void getAllStyleSheets (in nsIDOMDocument aDoc, [optional] out unsigned long aLength, [array, size_is (aLength), retval] out nsISupports aSheets); */
NS_IMETHOD GetAllStyleSheets(nsIDOMDocument *aDoc, uint32_t *aLength, nsISupports * **aSheets) = 0;
/* nsIArrayExtensions getCSSStyleRules (in nsIDOMElement aElement, [optional] in DOMString aPseudo); */
NS_IMETHOD GetCSSStyleRules(nsIDOMElement *aElement, const nsAString & aPseudo, nsIArrayExtensions * *_retval) = 0;
/* unsigned long getRuleLine (in nsIDOMCSSRule aRule); */
NS_IMETHOD GetRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval) = 0;
/* unsigned long getRuleColumn (in nsIDOMCSSRule aRule); */
NS_IMETHOD GetRuleColumn(nsIDOMCSSRule *aRule, uint32_t *_retval) = 0;
/* unsigned long getRelativeRuleLine (in nsIDOMCSSRule aRule); */
NS_IMETHOD GetRelativeRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval) = 0;
/* [implicit_jscontext] jsval getCSSLexer (in DOMString aText); */
NS_IMETHOD GetCSSLexer(const nsAString & aText, JSContext* cx, JS::MutableHandleValue _retval) = 0;
/* unsigned long getSelectorCount (in nsIDOMCSSStyleRule aRule); */
NS_IMETHOD GetSelectorCount(nsIDOMCSSStyleRule *aRule, uint32_t *_retval) = 0;
/* AString getSelectorText (in nsIDOMCSSStyleRule aRule, in unsigned long aSelectorIndex); */
NS_IMETHOD GetSelectorText(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, nsAString & _retval) = 0;
/* unsigned long long getSpecificity (in nsIDOMCSSStyleRule aRule, in unsigned long aSelectorIndex); */
NS_IMETHOD GetSpecificity(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, uint64_t *_retval) = 0;
/* bool selectorMatchesElement (in nsIDOMElement aElement, in nsIDOMCSSStyleRule aRule, in unsigned long aSelectorIndex, [optional] in DOMString aPseudo); */
NS_IMETHOD SelectorMatchesElement(nsIDOMElement *aElement, nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, const nsAString & aPseudo, bool *_retval) = 0;
/* bool isInheritedProperty (in AString aPropertyName); */
NS_IMETHOD IsInheritedProperty(const nsAString & aPropertyName, bool *_retval) = 0;
enum {
EXCLUDE_SHORTHANDS = 1U,
INCLUDE_ALIASES = 2U
};
/* void getCSSPropertyNames ([optional] in unsigned long aFlags, [optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aProps); */
NS_IMETHOD GetCSSPropertyNames(uint32_t aFlags, uint32_t *aCount, char16_t * **aProps) = 0;
/* void getCSSValuesForProperty (in AString aProperty, [optional] out unsigned long aLength, [array, size_is (aLength), retval] out wstring aValues); */
NS_IMETHOD GetCSSValuesForProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues) = 0;
/* [implicit_jscontext] jsval colorNameToRGB (in DOMString aColorName); */
NS_IMETHOD ColorNameToRGB(const nsAString & aColorName, JSContext* cx, JS::MutableHandleValue _retval) = 0;
/* AString rgbToColorName (in octet aR, in octet aG, in octet aB); */
NS_IMETHOD RgbToColorName(uint8_t aR, uint8_t aG, uint8_t aB, nsAString & _retval) = 0;
/* [implicit_jscontext] jsval colorToRGBA (in DOMString aColorString); */
NS_IMETHOD ColorToRGBA(const nsAString & aColorString, JSContext* cx, JS::MutableHandleValue _retval) = 0;
/* bool isValidCSSColor (in AString aColorString); */
NS_IMETHOD IsValidCSSColor(const nsAString & aColorString, bool *_retval) = 0;
/* bool cssPropertyIsValid (in AString aPropertyName, in AString aPropertyValue); */
NS_IMETHOD CssPropertyIsValid(const nsAString & aPropertyName, const nsAString & aPropertyValue, bool *_retval) = 0;
/* void getSubpropertiesForCSSProperty (in AString aProperty, [optional] out unsigned long aLength, [array, size_is (aLength), retval] out wstring aValues); */
NS_IMETHOD GetSubpropertiesForCSSProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues) = 0;
/* bool cssPropertyIsShorthand (in AString aProperty); */
NS_IMETHOD CssPropertyIsShorthand(const nsAString & aProperty, bool *_retval) = 0;
enum {
TYPE_LENGTH = 0U,
TYPE_PERCENTAGE = 1U,
TYPE_COLOR = 2U,
TYPE_URL = 3U,
TYPE_ANGLE = 4U,
TYPE_FREQUENCY = 5U,
TYPE_TIME = 6U,
TYPE_GRADIENT = 7U,
TYPE_TIMING_FUNCTION = 8U,
TYPE_IMAGE_RECT = 9U,
TYPE_NUMBER = 10U
};
/* bool cssPropertySupportsType (in AString aProperty, in unsigned long type); */
NS_IMETHOD CssPropertySupportsType(const nsAString & aProperty, uint32_t type, bool *_retval) = 0;
/* boolean isIgnorableWhitespace (in nsIDOMCharacterData aDataNode); */
NS_IMETHOD IsIgnorableWhitespace(nsIDOMCharacterData *aDataNode, bool *_retval) = 0;
/* nsIDOMNode getParentForNode (in nsIDOMNode aNode, in boolean aShowingAnonymousContent); */
NS_IMETHOD GetParentForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNode * *_retval) = 0;
/* nsIDOMNodeList getChildrenForNode (in nsIDOMNode aNode, in boolean aShowingAnonymousContent); */
NS_IMETHOD GetChildrenForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNodeList * *_retval) = 0;
/* nsIArray getBindingURLs (in nsIDOMElement aElement); */
NS_IMETHOD GetBindingURLs(nsIDOMElement *aElement, nsIArray * *_retval) = 0;
/* unsigned long long getContentState (in nsIDOMElement aElement); */
NS_IMETHOD GetContentState(nsIDOMElement *aElement, uint64_t *_retval) = 0;
/* bool setContentState (in nsIDOMElement aElement, in unsigned long long aState); */
NS_IMETHOD SetContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval) = 0;
/* bool removeContentState (in nsIDOMElement aElement, in unsigned long long aState); */
NS_IMETHOD RemoveContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval) = 0;
/* nsIDOMFontFaceList getUsedFontFaces (in nsIDOMRange aRange); */
NS_IMETHOD GetUsedFontFaces(nsIDOMRange *aRange, nsIDOMFontFaceList * *_retval) = 0;
/* void getCSSPseudoElementNames ([optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aNames); */
NS_IMETHOD GetCSSPseudoElementNames(uint32_t *aCount, char16_t * **aNames) = 0;
/* void addPseudoClassLock (in nsIDOMElement aElement, in DOMString aPseudoClass); */
NS_IMETHOD AddPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass) = 0;
/* void removePseudoClassLock (in nsIDOMElement aElement, in DOMString aPseudoClass); */
NS_IMETHOD RemovePseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass) = 0;
/* bool hasPseudoClassLock (in nsIDOMElement aElement, in DOMString aPseudoClass); */
NS_IMETHOD HasPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass, bool *_retval) = 0;
/* void clearPseudoClassLocks (in nsIDOMElement aElement); */
NS_IMETHOD ClearPseudoClassLocks(nsIDOMElement *aElement) = 0;
/* void parseStyleSheet (in nsIDOMCSSStyleSheet aSheet, in DOMString aInput); */
NS_IMETHOD ParseStyleSheet(nsIDOMCSSStyleSheet *aSheet, const nsAString & aInput) = 0;
/* void scrollElementIntoView (in nsIDOMElement aElement); */
NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(inIDOMUtils, INIDOMUTILS_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_INIDOMUTILS \
NS_IMETHOD GetAllStyleSheets(nsIDOMDocument *aDoc, uint32_t *aLength, nsISupports * **aSheets) override; \
NS_IMETHOD GetCSSStyleRules(nsIDOMElement *aElement, const nsAString & aPseudo, nsIArrayExtensions * *_retval) override; \
NS_IMETHOD GetRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval) override; \
NS_IMETHOD GetRuleColumn(nsIDOMCSSRule *aRule, uint32_t *_retval) override; \
NS_IMETHOD GetRelativeRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval) override; \
NS_IMETHOD GetCSSLexer(const nsAString & aText, JSContext* cx, JS::MutableHandleValue _retval) override; \
NS_IMETHOD GetSelectorCount(nsIDOMCSSStyleRule *aRule, uint32_t *_retval) override; \
NS_IMETHOD GetSelectorText(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, nsAString & _retval) override; \
NS_IMETHOD GetSpecificity(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, uint64_t *_retval) override; \
NS_IMETHOD SelectorMatchesElement(nsIDOMElement *aElement, nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, const nsAString & aPseudo, bool *_retval) override; \
NS_IMETHOD IsInheritedProperty(const nsAString & aPropertyName, bool *_retval) override; \
NS_IMETHOD GetCSSPropertyNames(uint32_t aFlags, uint32_t *aCount, char16_t * **aProps) override; \
NS_IMETHOD GetCSSValuesForProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues) override; \
NS_IMETHOD ColorNameToRGB(const nsAString & aColorName, JSContext* cx, JS::MutableHandleValue _retval) override; \
NS_IMETHOD RgbToColorName(uint8_t aR, uint8_t aG, uint8_t aB, nsAString & _retval) override; \
NS_IMETHOD ColorToRGBA(const nsAString & aColorString, JSContext* cx, JS::MutableHandleValue _retval) override; \
NS_IMETHOD IsValidCSSColor(const nsAString & aColorString, bool *_retval) override; \
NS_IMETHOD CssPropertyIsValid(const nsAString & aPropertyName, const nsAString & aPropertyValue, bool *_retval) override; \
NS_IMETHOD GetSubpropertiesForCSSProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues) override; \
NS_IMETHOD CssPropertyIsShorthand(const nsAString & aProperty, bool *_retval) override; \
NS_IMETHOD CssPropertySupportsType(const nsAString & aProperty, uint32_t type, bool *_retval) override; \
NS_IMETHOD IsIgnorableWhitespace(nsIDOMCharacterData *aDataNode, bool *_retval) override; \
NS_IMETHOD GetParentForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNode * *_retval) override; \
NS_IMETHOD GetChildrenForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNodeList * *_retval) override; \
NS_IMETHOD GetBindingURLs(nsIDOMElement *aElement, nsIArray * *_retval) override; \
NS_IMETHOD GetContentState(nsIDOMElement *aElement, uint64_t *_retval) override; \
NS_IMETHOD SetContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval) override; \
NS_IMETHOD RemoveContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval) override; \
NS_IMETHOD GetUsedFontFaces(nsIDOMRange *aRange, nsIDOMFontFaceList * *_retval) override; \
NS_IMETHOD GetCSSPseudoElementNames(uint32_t *aCount, char16_t * **aNames) override; \
NS_IMETHOD AddPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass) override; \
NS_IMETHOD RemovePseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass) override; \
NS_IMETHOD HasPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass, bool *_retval) override; \
NS_IMETHOD ClearPseudoClassLocks(nsIDOMElement *aElement) override; \
NS_IMETHOD ParseStyleSheet(nsIDOMCSSStyleSheet *aSheet, const nsAString & aInput) override; \
NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement) 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_INIDOMUTILS \
NS_METHOD GetAllStyleSheets(nsIDOMDocument *aDoc, uint32_t *aLength, nsISupports * **aSheets); \
NS_METHOD GetCSSStyleRules(nsIDOMElement *aElement, const nsAString & aPseudo, nsIArrayExtensions * *_retval); \
NS_METHOD GetRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval); \
NS_METHOD GetRuleColumn(nsIDOMCSSRule *aRule, uint32_t *_retval); \
NS_METHOD GetRelativeRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval); \
NS_METHOD GetCSSLexer(const nsAString & aText, JSContext* cx, JS::MutableHandleValue _retval); \
NS_METHOD GetSelectorCount(nsIDOMCSSStyleRule *aRule, uint32_t *_retval); \
NS_METHOD GetSelectorText(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, nsAString & _retval); \
NS_METHOD GetSpecificity(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, uint64_t *_retval); \
NS_METHOD SelectorMatchesElement(nsIDOMElement *aElement, nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, const nsAString & aPseudo, bool *_retval); \
NS_METHOD IsInheritedProperty(const nsAString & aPropertyName, bool *_retval); \
NS_METHOD GetCSSPropertyNames(uint32_t aFlags, uint32_t *aCount, char16_t * **aProps); \
NS_METHOD GetCSSValuesForProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues); \
NS_METHOD ColorNameToRGB(const nsAString & aColorName, JSContext* cx, JS::MutableHandleValue _retval); \
NS_METHOD RgbToColorName(uint8_t aR, uint8_t aG, uint8_t aB, nsAString & _retval); \
NS_METHOD ColorToRGBA(const nsAString & aColorString, JSContext* cx, JS::MutableHandleValue _retval); \
NS_METHOD IsValidCSSColor(const nsAString & aColorString, bool *_retval); \
NS_METHOD CssPropertyIsValid(const nsAString & aPropertyName, const nsAString & aPropertyValue, bool *_retval); \
NS_METHOD GetSubpropertiesForCSSProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues); \
NS_METHOD CssPropertyIsShorthand(const nsAString & aProperty, bool *_retval); \
NS_METHOD CssPropertySupportsType(const nsAString & aProperty, uint32_t type, bool *_retval); \
NS_METHOD IsIgnorableWhitespace(nsIDOMCharacterData *aDataNode, bool *_retval); \
NS_METHOD GetParentForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNode * *_retval); \
NS_METHOD GetChildrenForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNodeList * *_retval); \
NS_METHOD GetBindingURLs(nsIDOMElement *aElement, nsIArray * *_retval); \
NS_METHOD GetContentState(nsIDOMElement *aElement, uint64_t *_retval); \
NS_METHOD SetContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval); \
NS_METHOD RemoveContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval); \
NS_METHOD GetUsedFontFaces(nsIDOMRange *aRange, nsIDOMFontFaceList * *_retval); \
NS_METHOD GetCSSPseudoElementNames(uint32_t *aCount, char16_t * **aNames); \
NS_METHOD AddPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass); \
NS_METHOD RemovePseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass); \
NS_METHOD HasPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass, bool *_retval); \
NS_METHOD ClearPseudoClassLocks(nsIDOMElement *aElement); \
NS_METHOD ParseStyleSheet(nsIDOMCSSStyleSheet *aSheet, const nsAString & aInput); \
NS_METHOD ScrollElementIntoView(nsIDOMElement *aElement);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_INIDOMUTILS(_to) \
NS_IMETHOD GetAllStyleSheets(nsIDOMDocument *aDoc, uint32_t *aLength, nsISupports * **aSheets) override { return _to GetAllStyleSheets(aDoc, aLength, aSheets); } \
NS_IMETHOD GetCSSStyleRules(nsIDOMElement *aElement, const nsAString & aPseudo, nsIArrayExtensions * *_retval) override { return _to GetCSSStyleRules(aElement, aPseudo, _retval); } \
NS_IMETHOD GetRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval) override { return _to GetRuleLine(aRule, _retval); } \
NS_IMETHOD GetRuleColumn(nsIDOMCSSRule *aRule, uint32_t *_retval) override { return _to GetRuleColumn(aRule, _retval); } \
NS_IMETHOD GetRelativeRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval) override { return _to GetRelativeRuleLine(aRule, _retval); } \
NS_IMETHOD GetCSSLexer(const nsAString & aText, JSContext* cx, JS::MutableHandleValue _retval) override { return _to GetCSSLexer(aText, cx, _retval); } \
NS_IMETHOD GetSelectorCount(nsIDOMCSSStyleRule *aRule, uint32_t *_retval) override { return _to GetSelectorCount(aRule, _retval); } \
NS_IMETHOD GetSelectorText(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, nsAString & _retval) override { return _to GetSelectorText(aRule, aSelectorIndex, _retval); } \
NS_IMETHOD GetSpecificity(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, uint64_t *_retval) override { return _to GetSpecificity(aRule, aSelectorIndex, _retval); } \
NS_IMETHOD SelectorMatchesElement(nsIDOMElement *aElement, nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, const nsAString & aPseudo, bool *_retval) override { return _to SelectorMatchesElement(aElement, aRule, aSelectorIndex, aPseudo, _retval); } \
NS_IMETHOD IsInheritedProperty(const nsAString & aPropertyName, bool *_retval) override { return _to IsInheritedProperty(aPropertyName, _retval); } \
NS_IMETHOD GetCSSPropertyNames(uint32_t aFlags, uint32_t *aCount, char16_t * **aProps) override { return _to GetCSSPropertyNames(aFlags, aCount, aProps); } \
NS_IMETHOD GetCSSValuesForProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues) override { return _to GetCSSValuesForProperty(aProperty, aLength, aValues); } \
NS_IMETHOD ColorNameToRGB(const nsAString & aColorName, JSContext* cx, JS::MutableHandleValue _retval) override { return _to ColorNameToRGB(aColorName, cx, _retval); } \
NS_IMETHOD RgbToColorName(uint8_t aR, uint8_t aG, uint8_t aB, nsAString & _retval) override { return _to RgbToColorName(aR, aG, aB, _retval); } \
NS_IMETHOD ColorToRGBA(const nsAString & aColorString, JSContext* cx, JS::MutableHandleValue _retval) override { return _to ColorToRGBA(aColorString, cx, _retval); } \
NS_IMETHOD IsValidCSSColor(const nsAString & aColorString, bool *_retval) override { return _to IsValidCSSColor(aColorString, _retval); } \
NS_IMETHOD CssPropertyIsValid(const nsAString & aPropertyName, const nsAString & aPropertyValue, bool *_retval) override { return _to CssPropertyIsValid(aPropertyName, aPropertyValue, _retval); } \
NS_IMETHOD GetSubpropertiesForCSSProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues) override { return _to GetSubpropertiesForCSSProperty(aProperty, aLength, aValues); } \
NS_IMETHOD CssPropertyIsShorthand(const nsAString & aProperty, bool *_retval) override { return _to CssPropertyIsShorthand(aProperty, _retval); } \
NS_IMETHOD CssPropertySupportsType(const nsAString & aProperty, uint32_t type, bool *_retval) override { return _to CssPropertySupportsType(aProperty, type, _retval); } \
NS_IMETHOD IsIgnorableWhitespace(nsIDOMCharacterData *aDataNode, bool *_retval) override { return _to IsIgnorableWhitespace(aDataNode, _retval); } \
NS_IMETHOD GetParentForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNode * *_retval) override { return _to GetParentForNode(aNode, aShowingAnonymousContent, _retval); } \
NS_IMETHOD GetChildrenForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNodeList * *_retval) override { return _to GetChildrenForNode(aNode, aShowingAnonymousContent, _retval); } \
NS_IMETHOD GetBindingURLs(nsIDOMElement *aElement, nsIArray * *_retval) override { return _to GetBindingURLs(aElement, _retval); } \
NS_IMETHOD GetContentState(nsIDOMElement *aElement, uint64_t *_retval) override { return _to GetContentState(aElement, _retval); } \
NS_IMETHOD SetContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval) override { return _to SetContentState(aElement, aState, _retval); } \
NS_IMETHOD RemoveContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval) override { return _to RemoveContentState(aElement, aState, _retval); } \
NS_IMETHOD GetUsedFontFaces(nsIDOMRange *aRange, nsIDOMFontFaceList * *_retval) override { return _to GetUsedFontFaces(aRange, _retval); } \
NS_IMETHOD GetCSSPseudoElementNames(uint32_t *aCount, char16_t * **aNames) override { return _to GetCSSPseudoElementNames(aCount, aNames); } \
NS_IMETHOD AddPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass) override { return _to AddPseudoClassLock(aElement, aPseudoClass); } \
NS_IMETHOD RemovePseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass) override { return _to RemovePseudoClassLock(aElement, aPseudoClass); } \
NS_IMETHOD HasPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass, bool *_retval) override { return _to HasPseudoClassLock(aElement, aPseudoClass, _retval); } \
NS_IMETHOD ClearPseudoClassLocks(nsIDOMElement *aElement) override { return _to ClearPseudoClassLocks(aElement); } \
NS_IMETHOD ParseStyleSheet(nsIDOMCSSStyleSheet *aSheet, const nsAString & aInput) override { return _to ParseStyleSheet(aSheet, aInput); } \
NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement) override { return _to ScrollElementIntoView(aElement); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_INIDOMUTILS(_to) \
NS_IMETHOD GetAllStyleSheets(nsIDOMDocument *aDoc, uint32_t *aLength, nsISupports * **aSheets) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllStyleSheets(aDoc, aLength, aSheets); } \
NS_IMETHOD GetCSSStyleRules(nsIDOMElement *aElement, const nsAString & aPseudo, nsIArrayExtensions * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCSSStyleRules(aElement, aPseudo, _retval); } \
NS_IMETHOD GetRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRuleLine(aRule, _retval); } \
NS_IMETHOD GetRuleColumn(nsIDOMCSSRule *aRule, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRuleColumn(aRule, _retval); } \
NS_IMETHOD GetRelativeRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRelativeRuleLine(aRule, _retval); } \
NS_IMETHOD GetCSSLexer(const nsAString & aText, JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCSSLexer(aText, cx, _retval); } \
NS_IMETHOD GetSelectorCount(nsIDOMCSSStyleRule *aRule, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectorCount(aRule, _retval); } \
NS_IMETHOD GetSelectorText(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectorText(aRule, aSelectorIndex, _retval); } \
NS_IMETHOD GetSpecificity(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, uint64_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSpecificity(aRule, aSelectorIndex, _retval); } \
NS_IMETHOD SelectorMatchesElement(nsIDOMElement *aElement, nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, const nsAString & aPseudo, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectorMatchesElement(aElement, aRule, aSelectorIndex, aPseudo, _retval); } \
NS_IMETHOD IsInheritedProperty(const nsAString & aPropertyName, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsInheritedProperty(aPropertyName, _retval); } \
NS_IMETHOD GetCSSPropertyNames(uint32_t aFlags, uint32_t *aCount, char16_t * **aProps) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCSSPropertyNames(aFlags, aCount, aProps); } \
NS_IMETHOD GetCSSValuesForProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCSSValuesForProperty(aProperty, aLength, aValues); } \
NS_IMETHOD ColorNameToRGB(const nsAString & aColorName, JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ColorNameToRGB(aColorName, cx, _retval); } \
NS_IMETHOD RgbToColorName(uint8_t aR, uint8_t aG, uint8_t aB, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RgbToColorName(aR, aG, aB, _retval); } \
NS_IMETHOD ColorToRGBA(const nsAString & aColorString, JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ColorToRGBA(aColorString, cx, _retval); } \
NS_IMETHOD IsValidCSSColor(const nsAString & aColorString, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsValidCSSColor(aColorString, _retval); } \
NS_IMETHOD CssPropertyIsValid(const nsAString & aPropertyName, const nsAString & aPropertyValue, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CssPropertyIsValid(aPropertyName, aPropertyValue, _retval); } \
NS_IMETHOD GetSubpropertiesForCSSProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSubpropertiesForCSSProperty(aProperty, aLength, aValues); } \
NS_IMETHOD CssPropertyIsShorthand(const nsAString & aProperty, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CssPropertyIsShorthand(aProperty, _retval); } \
NS_IMETHOD CssPropertySupportsType(const nsAString & aProperty, uint32_t type, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CssPropertySupportsType(aProperty, type, _retval); } \
NS_IMETHOD IsIgnorableWhitespace(nsIDOMCharacterData *aDataNode, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsIgnorableWhitespace(aDataNode, _retval); } \
NS_IMETHOD GetParentForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNode * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentForNode(aNode, aShowingAnonymousContent, _retval); } \
NS_IMETHOD GetChildrenForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNodeList * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChildrenForNode(aNode, aShowingAnonymousContent, _retval); } \
NS_IMETHOD GetBindingURLs(nsIDOMElement *aElement, nsIArray * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBindingURLs(aElement, _retval); } \
NS_IMETHOD GetContentState(nsIDOMElement *aElement, uint64_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentState(aElement, _retval); } \
NS_IMETHOD SetContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContentState(aElement, aState, _retval); } \
NS_IMETHOD RemoveContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveContentState(aElement, aState, _retval); } \
NS_IMETHOD GetUsedFontFaces(nsIDOMRange *aRange, nsIDOMFontFaceList * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUsedFontFaces(aRange, _retval); } \
NS_IMETHOD GetCSSPseudoElementNames(uint32_t *aCount, char16_t * **aNames) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCSSPseudoElementNames(aCount, aNames); } \
NS_IMETHOD AddPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddPseudoClassLock(aElement, aPseudoClass); } \
NS_IMETHOD RemovePseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemovePseudoClassLock(aElement, aPseudoClass); } \
NS_IMETHOD HasPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasPseudoClassLock(aElement, aPseudoClass, _retval); } \
NS_IMETHOD ClearPseudoClassLocks(nsIDOMElement *aElement) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearPseudoClassLocks(aElement); } \
NS_IMETHOD ParseStyleSheet(nsIDOMCSSStyleSheet *aSheet, const nsAString & aInput) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseStyleSheet(aSheet, aInput); } \
NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollElementIntoView(aElement); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class inDOMUtils : public inIDOMUtils
{
public:
NS_DECL_ISUPPORTS
NS_DECL_INIDOMUTILS
inDOMUtils();
private:
~inDOMUtils();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(inDOMUtils, inIDOMUtils)
inDOMUtils::inDOMUtils()
{
/* member initializers and constructor code */
}
inDOMUtils::~inDOMUtils()
{
/* destructor code */
}
/* void getAllStyleSheets (in nsIDOMDocument aDoc, [optional] out unsigned long aLength, [array, size_is (aLength), retval] out nsISupports aSheets); */
NS_IMETHODIMP inDOMUtils::GetAllStyleSheets(nsIDOMDocument *aDoc, uint32_t *aLength, nsISupports * **aSheets)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIArrayExtensions getCSSStyleRules (in nsIDOMElement aElement, [optional] in DOMString aPseudo); */
NS_IMETHODIMP inDOMUtils::GetCSSStyleRules(nsIDOMElement *aElement, const nsAString & aPseudo, nsIArrayExtensions * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long getRuleLine (in nsIDOMCSSRule aRule); */
NS_IMETHODIMP inDOMUtils::GetRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long getRuleColumn (in nsIDOMCSSRule aRule); */
NS_IMETHODIMP inDOMUtils::GetRuleColumn(nsIDOMCSSRule *aRule, uint32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long getRelativeRuleLine (in nsIDOMCSSRule aRule); */
NS_IMETHODIMP inDOMUtils::GetRelativeRuleLine(nsIDOMCSSRule *aRule, uint32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [implicit_jscontext] jsval getCSSLexer (in DOMString aText); */
NS_IMETHODIMP inDOMUtils::GetCSSLexer(const nsAString & aText, JSContext* cx, JS::MutableHandleValue _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long getSelectorCount (in nsIDOMCSSStyleRule aRule); */
NS_IMETHODIMP inDOMUtils::GetSelectorCount(nsIDOMCSSStyleRule *aRule, uint32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AString getSelectorText (in nsIDOMCSSStyleRule aRule, in unsigned long aSelectorIndex); */
NS_IMETHODIMP inDOMUtils::GetSelectorText(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long long getSpecificity (in nsIDOMCSSStyleRule aRule, in unsigned long aSelectorIndex); */
NS_IMETHODIMP inDOMUtils::GetSpecificity(nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, uint64_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* bool selectorMatchesElement (in nsIDOMElement aElement, in nsIDOMCSSStyleRule aRule, in unsigned long aSelectorIndex, [optional] in DOMString aPseudo); */
NS_IMETHODIMP inDOMUtils::SelectorMatchesElement(nsIDOMElement *aElement, nsIDOMCSSStyleRule *aRule, uint32_t aSelectorIndex, const nsAString & aPseudo, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* bool isInheritedProperty (in AString aPropertyName); */
NS_IMETHODIMP inDOMUtils::IsInheritedProperty(const nsAString & aPropertyName, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getCSSPropertyNames ([optional] in unsigned long aFlags, [optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aProps); */
NS_IMETHODIMP inDOMUtils::GetCSSPropertyNames(uint32_t aFlags, uint32_t *aCount, char16_t * **aProps)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getCSSValuesForProperty (in AString aProperty, [optional] out unsigned long aLength, [array, size_is (aLength), retval] out wstring aValues); */
NS_IMETHODIMP inDOMUtils::GetCSSValuesForProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [implicit_jscontext] jsval colorNameToRGB (in DOMString aColorName); */
NS_IMETHODIMP inDOMUtils::ColorNameToRGB(const nsAString & aColorName, JSContext* cx, JS::MutableHandleValue _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AString rgbToColorName (in octet aR, in octet aG, in octet aB); */
NS_IMETHODIMP inDOMUtils::RgbToColorName(uint8_t aR, uint8_t aG, uint8_t aB, nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [implicit_jscontext] jsval colorToRGBA (in DOMString aColorString); */
NS_IMETHODIMP inDOMUtils::ColorToRGBA(const nsAString & aColorString, JSContext* cx, JS::MutableHandleValue _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* bool isValidCSSColor (in AString aColorString); */
NS_IMETHODIMP inDOMUtils::IsValidCSSColor(const nsAString & aColorString, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* bool cssPropertyIsValid (in AString aPropertyName, in AString aPropertyValue); */
NS_IMETHODIMP inDOMUtils::CssPropertyIsValid(const nsAString & aPropertyName, const nsAString & aPropertyValue, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getSubpropertiesForCSSProperty (in AString aProperty, [optional] out unsigned long aLength, [array, size_is (aLength), retval] out wstring aValues); */
NS_IMETHODIMP inDOMUtils::GetSubpropertiesForCSSProperty(const nsAString & aProperty, uint32_t *aLength, char16_t * **aValues)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* bool cssPropertyIsShorthand (in AString aProperty); */
NS_IMETHODIMP inDOMUtils::CssPropertyIsShorthand(const nsAString & aProperty, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* bool cssPropertySupportsType (in AString aProperty, in unsigned long type); */
NS_IMETHODIMP inDOMUtils::CssPropertySupportsType(const nsAString & aProperty, uint32_t type, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean isIgnorableWhitespace (in nsIDOMCharacterData aDataNode); */
NS_IMETHODIMP inDOMUtils::IsIgnorableWhitespace(nsIDOMCharacterData *aDataNode, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMNode getParentForNode (in nsIDOMNode aNode, in boolean aShowingAnonymousContent); */
NS_IMETHODIMP inDOMUtils::GetParentForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNode * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMNodeList getChildrenForNode (in nsIDOMNode aNode, in boolean aShowingAnonymousContent); */
NS_IMETHODIMP inDOMUtils::GetChildrenForNode(nsIDOMNode *aNode, bool aShowingAnonymousContent, nsIDOMNodeList * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIArray getBindingURLs (in nsIDOMElement aElement); */
NS_IMETHODIMP inDOMUtils::GetBindingURLs(nsIDOMElement *aElement, nsIArray * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long long getContentState (in nsIDOMElement aElement); */
NS_IMETHODIMP inDOMUtils::GetContentState(nsIDOMElement *aElement, uint64_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* bool setContentState (in nsIDOMElement aElement, in unsigned long long aState); */
NS_IMETHODIMP inDOMUtils::SetContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* bool removeContentState (in nsIDOMElement aElement, in unsigned long long aState); */
NS_IMETHODIMP inDOMUtils::RemoveContentState(nsIDOMElement *aElement, uint64_t aState, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMFontFaceList getUsedFontFaces (in nsIDOMRange aRange); */
NS_IMETHODIMP inDOMUtils::GetUsedFontFaces(nsIDOMRange *aRange, nsIDOMFontFaceList * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getCSSPseudoElementNames ([optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aNames); */
NS_IMETHODIMP inDOMUtils::GetCSSPseudoElementNames(uint32_t *aCount, char16_t * **aNames)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addPseudoClassLock (in nsIDOMElement aElement, in DOMString aPseudoClass); */
NS_IMETHODIMP inDOMUtils::AddPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removePseudoClassLock (in nsIDOMElement aElement, in DOMString aPseudoClass); */
NS_IMETHODIMP inDOMUtils::RemovePseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* bool hasPseudoClassLock (in nsIDOMElement aElement, in DOMString aPseudoClass); */
NS_IMETHODIMP inDOMUtils::HasPseudoClassLock(nsIDOMElement *aElement, const nsAString & aPseudoClass, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void clearPseudoClassLocks (in nsIDOMElement aElement); */
NS_IMETHODIMP inDOMUtils::ClearPseudoClassLocks(nsIDOMElement *aElement)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void parseStyleSheet (in nsIDOMCSSStyleSheet aSheet, in DOMString aInput); */
NS_IMETHODIMP inDOMUtils::ParseStyleSheet(nsIDOMCSSStyleSheet *aSheet, const nsAString & aInput)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void scrollElementIntoView (in nsIDOMElement aElement); */
NS_IMETHODIMP inDOMUtils::ScrollElementIntoView(nsIDOMElement *aElement)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#define IN_DOMUTILS_CONTRACTID "@mozilla.org/inspector/dom-utils;1"
#endif /* __gen_inIDOMUtils_h__ */
|