layout/style/nsICSSStyleRuleDOMWrapper.h

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:69b9b1da6213
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
22 class nsICSSStyleRuleDOMWrapper : public nsIDOMCSSStyleRule {
23 public:
24 NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID)
25
26 NS_IMETHOD GetCSSStyleRule(mozilla::css::StyleRule** aResult) = 0;
27 };
28
29 NS_DEFINE_STATIC_IID_ACCESSOR(nsICSSStyleRuleDOMWrapper,
30 NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID)
31
32 #endif /* !defined(nsICSSStyleRuleDOMWrapper_h_) */

mercurial