mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
27 lines
778 B
C++
27 lines
778 B
C++
#ifndef _nsIStyleRuleSupplier_h
|
|
#define _nsIStyleRuleSupplier_h
|
|
|
|
#include "nsISupports.h"
|
|
#include "nsIStyleRuleProcessor.h"
|
|
|
|
// {2D77A45B-4F3A-4203-A7D2-F4B84D0C1EE4}
|
|
#define NS_ISTYLERULESUPPLIER_IID \
|
|
{ 0x2d77a45b, 0x4f3a, 0x4203, { 0xa7, 0xd2, 0xf4, 0xb8, 0x4d, 0xc, 0x1e, 0xe4 } }
|
|
|
|
class nsIContent;
|
|
class nsStyleSet;
|
|
|
|
class nsIStyleRuleSupplier : public nsISupports {
|
|
public:
|
|
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISTYLERULESUPPLIER_IID)
|
|
|
|
NS_IMETHOD WalkRules(nsStyleSet* aStyleSet,
|
|
nsIStyleRuleProcessor::EnumFunc aFunc,
|
|
RuleProcessorData* aData,
|
|
PRBool* aCutOffInheritance)=0;
|
|
};
|
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(nsIStyleRuleSupplier, NS_ISTYLERULESUPPLIER_IID)
|
|
|
|
#endif /* _nsIStyleRuleSupplier_h */
|