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

Side by Side Diff: Source/core/dom/shadow/ElementShadow.h

Issue 1129673002: Remove support for pseudo classes in <content select>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix more tests. Created 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 ShadowRoot* oldestShadowRoot() const { return m_shadowRoots.tail(); } 51 ShadowRoot* oldestShadowRoot() const { return m_shadowRoots.tail(); }
52 ElementShadow* containingShadow() const; 52 ElementShadow* containingShadow() const;
53 53
54 ShadowRoot& addShadowRoot(Element& shadowHost, ShadowRoot::ShadowRootType); 54 ShadowRoot& addShadowRoot(Element& shadowHost, ShadowRoot::ShadowRootType);
55 55
56 bool hasSameStyles(const ElementShadow*) const; 56 bool hasSameStyles(const ElementShadow*) const;
57 57
58 void attach(const Node::AttachContext&); 58 void attach(const Node::AttachContext&);
59 void detach(const Node::AttachContext&); 59 void detach(const Node::AttachContext&);
60 60
61 void distributedNodePseudoStateChanged(CSSSelector::PseudoType);
62 void willAffectSelector(); 61 void willAffectSelector();
63 const SelectRuleFeatureSet& ensureSelectFeatureSet(); 62 const SelectRuleFeatureSet& ensureSelectFeatureSet();
64 63
65 void distributeIfNeeded(); 64 void distributeIfNeeded();
66 void setNeedsDistributionRecalc(); 65 void setNeedsDistributionRecalc();
67 66
68 const InsertionPoint* finalDestinationInsertionPointFor(const Node*) const; 67 const InsertionPoint* finalDestinationInsertionPointFor(const Node*) const;
69 const DestinationInsertionPoints* destinationInsertionPointsFor(const Node*) const; 68 const DestinationInsertionPoints* destinationInsertionPointsFor(const Node*) const;
70 69
71 void didDistributeNode(const Node*, InsertionPoint*); 70 void didDistributeNode(const Node*, InsertionPoint*);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 inline void ElementShadow::distributeIfNeeded() 133 inline void ElementShadow::distributeIfNeeded()
135 { 134 {
136 if (m_needsDistributionRecalc) 135 if (m_needsDistributionRecalc)
137 distribute(); 136 distribute();
138 m_needsDistributionRecalc = false; 137 m_needsDistributionRecalc = false;
139 } 138 }
140 139
141 } // namespace 140 } // namespace
142 141
143 #endif 142 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698