Home | History | Annotate | Download | only in html

Lines Matching refs:thisType

145 #define DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) \
146 inline bool is##thisType(const thisType* element); \
147 inline bool is##thisType(const thisType& element); \
148 inline bool is##thisType(const HTMLElement* element) { return element && is##thisType(*element); } \
149 inline bool is##thisType(const Element* element) { return element && is##thisType(*element); } \
150 inline bool is##thisType(const Node& node) { return node.isElementNode() ? is##thisType(toElement(node)) : false; } \
151 inline bool is##thisType(const Node* node) { return node && node->isElementNode() ? is##thisType(*toElement(node)) : false; } \
152 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { return is##thisType(node.get()); } \
153 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { return is##thisType(node.get()); } \
154 template <> inline bool isElementOfType<const thisType>(const HTMLElement& element) { return is##thisType(element); } \
155 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)