nsICSSStyleRuleDOMWrapper.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. /*
  6. * interface to provide DOM inspector with access to internal interfaces
  7. * via DOM interface
  8. */
  9. #ifndef nsICSSStyleRuleDOMWrapper_h_
  10. #define nsICSSStyleRuleDOMWrapper_h_
  11. #include "nsIDOMCSSStyleRule.h"
  12. // IID for the nsICSSStyleRuleDOMWrapper interface
  13. // {cee1bbb6-0a32-4cf3-8d42-ba3938e9ecaa}
  14. #define NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID \
  15. {0xcee1bbb6, 0x0a32, 0x4cf3, {0x8d, 0x42, 0xba, 0x39, 0x38, 0xe9, 0xec, 0xaa}}
  16. class nsICSSStyleRuleDOMWrapper : public nsIDOMCSSStyleRule {
  17. public:
  18. NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID)
  19. NS_IMETHOD GetCSSStyleRule(mozilla::css::StyleRule** aResult) = 0;
  20. };
  21. NS_DEFINE_STATIC_IID_ACCESSOR(nsICSSStyleRuleDOMWrapper,
  22. NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID)
  23. #endif /* !defined(nsICSSStyleRuleDOMWrapper_h_) */