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

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

Issue 208933003: Remove SiblingRuleHelper (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tighten types to ContainerNode Created 6 years, 9 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/NodeRareData.cpp ('k') | Source/core/dom/SiblingRuleHelper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/SiblingRuleHelper.h
diff --git a/Source/core/dom/SiblingRuleHelper.h b/Source/core/dom/SiblingRuleHelper.h
deleted file mode 100644
index 47436c7fd38952e90cdef1fe3ae873514d3b8dd9..0000000000000000000000000000000000000000
--- a/Source/core/dom/SiblingRuleHelper.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SiblingRuleHelper_h
-#define SiblingRuleHelper_h
-
-#include "core/dom/Node.h"
-
-namespace WebCore {
-
-class SiblingRuleHelper {
-public:
- SiblingRuleHelper(Node* node) : m_node(node)
- {
- ASSERT(node);
- ASSERT(node->isElementNode() || node->isShadowRoot());
- }
-
- void checkForChildrenAdjacentRuleChanges();
-
- void setChildrenAffectedByDirectAdjacentRules();
- void setChildrenAffectedByIndirectAdjacentRules();
- void setChildrenAffectedByForwardPositionalRules();
- void setChildrenAffectedByBackwardPositionalRules();
- void setChildrenAffectedByFirstChildRules();
- void setChildrenAffectedByLastChildRules();
-
- bool isFinishedParsingChildren();
-
- bool childrenSupportStyleSharing();
-
-private:
- bool childrenAffectedByPositionalRules() const;
- bool childrenAffectedByFirstChildRules() const;
- bool childrenAffectedByLastChildRules() const;
- bool childrenAffectedByDirectAdjacentRules() const;
- bool childrenAffectedByIndirectAdjacentRules() const;
- bool childrenAffectedByForwardPositionalRules() const;
- bool childrenAffectedByBackwardPositionalRules() const;
-
- Node* m_node;
-};
-
-} // namespace
-
-#endif
« no previous file with comments | « Source/core/dom/NodeRareData.cpp ('k') | Source/core/dom/SiblingRuleHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698