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

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

Issue 308683007: Rename childrenAffectedBy methods and constants. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Renamed as proposed. Created 6 years, 7 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/css/SelectorChecker.cpp ('k') | Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ContainerNode.h
diff --git a/Source/core/dom/ContainerNode.h b/Source/core/dom/ContainerNode.h
index b687459c0a316df6d5ca4ea3aac80b50d931bb4b..b0c5ddac031b73cc814c0670129ca6a777799384 100644
--- a/Source/core/dom/ContainerNode.h
+++ b/Source/core/dom/ContainerNode.h
@@ -99,10 +99,10 @@ public:
#endif
enum DynamicRestyleFlags {
- ChildrenAffectedByFocus = 1 << 0,
- ChildrenAffectedByHover = 1 << 1,
- ChildrenAffectedByActive = 1 << 2,
- ChildrenAffectedByDrag = 1 << 3,
+ ChildrenOrSiblingsAffectedByFocus = 1 << 0,
+ ChildrenOrSiblingsAffectedByHover = 1 << 1,
+ ChildrenOrSiblingsAffectedByActive = 1 << 2,
+ ChildrenOrSiblingsAffectedByDrag = 1 << 3,
ChildrenAffectedByFirstChildRules = 1 << 4,
ChildrenAffectedByLastChildRules = 1 << 5,
ChildrenAffectedByDirectAdjacentRules = 1 << 6,
@@ -170,17 +170,17 @@ public:
virtual void setActive(bool = true) OVERRIDE;
virtual void setHovered(bool = true) OVERRIDE;
- bool childrenAffectedByFocus() const { return hasRestyleFlag(ChildrenAffectedByFocus); }
- void setChildrenAffectedByFocus() { setRestyleFlag(ChildrenAffectedByFocus); }
+ bool childrenOrSiblingsAffectedByFocus() const { return hasRestyleFlag(ChildrenOrSiblingsAffectedByFocus); }
+ void setChildrenOrSiblingsAffectedByFocus() { setRestyleFlag(ChildrenOrSiblingsAffectedByFocus); }
- bool childrenAffectedByHover() const { return hasRestyleFlag(ChildrenAffectedByHover); }
- void setChildrenAffectedByHover() { setRestyleFlag(ChildrenAffectedByHover); }
+ bool childrenOrSiblingsAffectedByHover() const { return hasRestyleFlag(ChildrenOrSiblingsAffectedByHover); }
+ void setChildrenOrSiblingsAffectedByHover() { setRestyleFlag(ChildrenOrSiblingsAffectedByHover); }
- bool childrenAffectedByActive() const { return hasRestyleFlag(ChildrenAffectedByActive); }
- void setChildrenAffectedByActive() { setRestyleFlag(ChildrenAffectedByActive); }
+ bool childrenOrSiblingsAffectedByActive() const { return hasRestyleFlag(ChildrenOrSiblingsAffectedByActive); }
+ void setChildrenOrSiblingsAffectedByActive() { setRestyleFlag(ChildrenOrSiblingsAffectedByActive); }
- bool childrenAffectedByDrag() const { return hasRestyleFlag(ChildrenAffectedByDrag); }
- void setChildrenAffectedByDrag() { setRestyleFlag(ChildrenAffectedByDrag); }
+ bool childrenOrSiblingsAffectedByDrag() const { return hasRestyleFlag(ChildrenOrSiblingsAffectedByDrag); }
+ void setChildrenOrSiblingsAffectedByDrag() { setRestyleFlag(ChildrenOrSiblingsAffectedByDrag); }
bool childrenAffectedByPositionalRules() const { return hasRestyleFlag(ChildrenAffectedByForwardPositionalRules) || hasRestyleFlag(ChildrenAffectedByBackwardPositionalRules); }
« no previous file with comments | « Source/core/css/SelectorChecker.cpp ('k') | Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698