Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef __inDOMUtils_h__
6 #define __inDOMUtils_h__
8 #include "inIDOMUtils.h"
10 class nsRuleNode;
11 class nsStyleContext;
12 class nsIAtom;
14 namespace mozilla {
15 namespace dom {
16 class Element;
17 } // namespace dom
18 } // namespace mozilla
20 class inDOMUtils : public inIDOMUtils
21 {
22 public:
23 NS_DECL_ISUPPORTS
24 NS_DECL_INIDOMUTILS
26 inDOMUtils();
27 virtual ~inDOMUtils();
29 private:
30 // aStyleContext must be released by the caller once he's done with aRuleNode.
31 static nsresult GetRuleNodeForElement(mozilla::dom::Element* aElement,
32 nsIAtom* aPseudo,
33 nsStyleContext** aStyleContext,
34 nsRuleNode** aRuleNode);
35 };
37 // {0a499822-a287-4089-ad3f-9ffcd4f40263}
38 #define IN_DOMUTILS_CID \
39 {0x0a499822, 0xa287, 0x4089, {0xad, 0x3f, 0x9f, 0xfc, 0xd4, 0xf4, 0x02, 0x63}}
41 #endif // __inDOMUtils_h__