2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2006-05-17 06:22:14 +04:00
|
|
|
|
|
|
|
#ifndef __inDOMUtils_h__
|
|
|
|
#define __inDOMUtils_h__
|
|
|
|
|
|
|
|
#include "inIDOMUtils.h"
|
|
|
|
|
2009-08-11 02:52:29 +04:00
|
|
|
class nsRuleNode;
|
2009-11-25 08:35:55 +03:00
|
|
|
class nsStyleContext;
|
2011-05-06 01:12:04 +04:00
|
|
|
class nsIAtom;
|
2013-11-11 12:00:41 +04:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
class Element;
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|
2009-08-11 02:52:29 +04:00
|
|
|
|
2015-03-21 19:28:04 +03:00
|
|
|
class inDOMUtils final : public inIDOMUtils
|
2006-05-17 06:22:14 +04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_INIDOMUTILS
|
2006-05-17 06:22:15 +04:00
|
|
|
|
|
|
|
inDOMUtils();
|
|
|
|
|
2009-08-11 02:52:29 +04:00
|
|
|
private:
|
2014-06-24 02:40:01 +04:00
|
|
|
virtual ~inDOMUtils();
|
|
|
|
|
2017-03-14 03:23:17 +03:00
|
|
|
static already_AddRefed<nsStyleContext>
|
|
|
|
GetCleanStyleContextForElement(mozilla::dom::Element* aElement,
|
|
|
|
nsIAtom* aPseudo);
|
2006-05-17 06:22:14 +04:00
|
|
|
};
|
|
|
|
|
2011-06-16 10:31:36 +04:00
|
|
|
// {0a499822-a287-4089-ad3f-9ffcd4f40263}
|
2006-05-19 22:59:39 +04:00
|
|
|
#define IN_DOMUTILS_CID \
|
2011-06-16 10:31:36 +04:00
|
|
|
{0x0a499822, 0xa287, 0x4089, {0xad, 0x3f, 0x9f, 0xfc, 0xd4, 0xf4, 0x02, 0x63}}
|
2006-05-19 22:59:39 +04:00
|
|
|
|
2006-05-17 06:22:14 +04:00
|
|
|
#endif // __inDOMUtils_h__
|