Line data Source code
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 : /*
7 : * interface to provide DOM inspector with access to internal interfaces
8 : * via DOM interface
9 : */
10 :
11 : #ifndef nsICSSStyleRuleDOMWrapper_h_
12 : #define nsICSSStyleRuleDOMWrapper_h_
13 :
14 : #include "nsIDOMCSSStyleRule.h"
15 :
16 : // IID for the nsICSSStyleRuleDOMWrapper interface
17 : // {cee1bbb6-0a32-4cf3-8d42-ba3938e9ecaa}
18 : #define NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID \
19 : {0xcee1bbb6, 0x0a32, 0x4cf3, {0x8d, 0x42, 0xba, 0x39, 0x38, 0xe9, 0xec, 0xaa}}
20 :
21 : namespace mozilla {
22 : class BindingStyleRule;
23 : } // namespace mozilla
24 :
25 2933 : class nsICSSStyleRuleDOMWrapper : public nsIDOMCSSStyleRule {
26 : public:
27 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID)
28 :
29 : NS_IMETHOD GetCSSStyleRule(mozilla::BindingStyleRule** aResult) = 0;
30 : };
31 :
32 : NS_DEFINE_STATIC_IID_ACCESSOR(nsICSSStyleRuleDOMWrapper,
33 : NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID)
34 :
35 : #endif /* !defined(nsICSSStyleRuleDOMWrapper_h_) */
|