Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Unified Diff: Source/core/dom/Element.h

Issue 422463002: Hide isXXX() type checking methods in subclasses (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/DocumentFragment.h ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 37a662c17dc8b064c4f144671cc5528ee507c081..8395c8fc608cc04d4ef3e22a81b9ebce2dc5b8e2 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -561,6 +561,10 @@ private:
void clearElementFlag(ElementFlags);
bool hasElementFlagInternal(ElementFlags) const;
+ bool isElementNode() const WTF_DELETED_FUNCTION; // Hide to catch useless calls.
+ bool isDocumentFragment() const WTF_DELETED_FUNCTION; // Hide to catch useless calls.
+ bool isDocumentNode() const WTF_DELETED_FUNCTION; // Hide to catch useless calls.
+
void styleAttributeChanged(const AtomicString& newStyleString, AttributeModificationReason);
void updatePresentationAttributeStyle();
« no previous file with comments | « Source/core/dom/DocumentFragment.h ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698