gecko/layout/inspector/inDOMUtils.h
Robert O'Callahan ae14b92cc6 Bug 945091. Part 1: Flatten inspector/public and inspector/src into inspector. r=glandium
--HG--
rename : layout/inspector/src/inCSSValueSearch.cpp => layout/inspector/inCSSValueSearch.cpp
rename : layout/inspector/src/inCSSValueSearch.h => layout/inspector/inCSSValueSearch.h
rename : layout/inspector/src/inDOMUtils.cpp => layout/inspector/inDOMUtils.cpp
rename : layout/inspector/src/inDOMUtils.h => layout/inspector/inDOMUtils.h
rename : layout/inspector/src/inDOMView.cpp => layout/inspector/inDOMView.cpp
rename : layout/inspector/src/inDOMView.h => layout/inspector/inDOMView.h
rename : layout/inspector/src/inDeepTreeWalker.cpp => layout/inspector/inDeepTreeWalker.cpp
rename : layout/inspector/src/inDeepTreeWalker.h => layout/inspector/inDeepTreeWalker.h
rename : layout/inspector/src/inFlasher.cpp => layout/inspector/inFlasher.cpp
rename : layout/inspector/src/inFlasher.h => layout/inspector/inFlasher.h
rename : layout/inspector/public/inICSSValueSearch.idl => layout/inspector/inICSSValueSearch.idl
rename : layout/inspector/public/inIDOMUtils.idl => layout/inspector/inIDOMUtils.idl
rename : layout/inspector/public/inIDOMView.idl => layout/inspector/inIDOMView.idl
rename : layout/inspector/public/inIDeepTreeWalker.idl => layout/inspector/inIDeepTreeWalker.idl
rename : layout/inspector/public/inIFlasher.idl => layout/inspector/inIFlasher.idl
rename : layout/inspector/public/inISearchObserver.idl => layout/inspector/inISearchObserver.idl
rename : layout/inspector/public/inISearchProcess.idl => layout/inspector/inISearchProcess.idl
rename : layout/inspector/src/inLayoutUtils.cpp => layout/inspector/inLayoutUtils.cpp
rename : layout/inspector/src/inLayoutUtils.h => layout/inspector/inLayoutUtils.h
rename : layout/inspector/src/inSearchLoop.cpp => layout/inspector/inSearchLoop.cpp
rename : layout/inspector/src/inSearchLoop.h => layout/inspector/inSearchLoop.h
rename : layout/inspector/src/moz.build => layout/inspector/moz.build
rename : layout/inspector/src/nsFontFace.cpp => layout/inspector/nsFontFace.cpp
rename : layout/inspector/src/nsFontFace.h => layout/inspector/nsFontFace.h
rename : layout/inspector/src/nsFontFaceList.cpp => layout/inspector/nsFontFaceList.cpp
rename : layout/inspector/src/nsFontFaceList.h => layout/inspector/nsFontFaceList.h
rename : layout/inspector/public/nsIDOMFontFace.idl => layout/inspector/nsIDOMFontFace.idl
rename : layout/inspector/public/nsIDOMFontFaceList.idl => layout/inspector/nsIDOMFontFaceList.idl
2013-12-04 14:04:23 +13:00

42 lines
1.1 KiB
C++

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef __inDOMUtils_h__
#define __inDOMUtils_h__
#include "inIDOMUtils.h"
class nsRuleNode;
class nsStyleContext;
class nsIAtom;
namespace mozilla {
namespace dom {
class Element;
} // namespace dom
} // namespace mozilla
class inDOMUtils : public inIDOMUtils
{
public:
NS_DECL_ISUPPORTS
NS_DECL_INIDOMUTILS
inDOMUtils();
virtual ~inDOMUtils();
private:
// aStyleContext must be released by the caller once he's done with aRuleNode.
static nsresult GetRuleNodeForElement(mozilla::dom::Element* aElement,
nsIAtom* aPseudo,
nsStyleContext** aStyleContext,
nsRuleNode** aRuleNode);
};
// {0a499822-a287-4089-ad3f-9ffcd4f40263}
#define IN_DOMUTILS_CID \
{0x0a499822, 0xa287, 0x4089, {0xad, 0x3f, 0x9f, 0xfc, 0xd4, 0xf4, 0x02, 0x63}}
#endif // __inDOMUtils_h__