| OLD | NEW |
| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 const InsertionPoint* finalDestinationInsertionPointFor(const Node*) const; | 67 const InsertionPoint* finalDestinationInsertionPointFor(const Node*) const; |
| 68 const DestinationInsertionPoints* destinationInsertionPointsFor(const Node*)
const; | 68 const DestinationInsertionPoints* destinationInsertionPointsFor(const Node*)
const; |
| 69 | 69 |
| 70 void didDistributeNode(const Node*, InsertionPoint*); | 70 void didDistributeNode(const Node*, InsertionPoint*); |
| 71 | 71 |
| 72 void trace(Visitor*); | 72 void trace(Visitor*); |
| 73 | 73 |
| 74 private: | 74 private: |
| 75 ElementShadow(); | 75 ElementShadow(); |
| 76 | 76 |
| 77 #if !ENABLE(OILPAN) |
| 77 void removeDetachedShadowRoots(); | 78 void removeDetachedShadowRoots(); |
| 79 #endif |
| 78 | 80 |
| 79 void distribute(); | 81 void distribute(); |
| 80 void clearDistribution(); | 82 void clearDistribution(); |
| 81 | 83 |
| 82 void collectSelectFeatureSetFrom(ShadowRoot&); | 84 void collectSelectFeatureSetFrom(ShadowRoot&); |
| 83 void distributeNodeChildrenTo(InsertionPoint*, ContainerNode*); | 85 void distributeNodeChildrenTo(InsertionPoint*, ContainerNode*); |
| 84 | 86 |
| 85 bool needsSelectFeatureSet() const { return m_needsSelectFeatureSet; } | 87 bool needsSelectFeatureSet() const { return m_needsSelectFeatureSet; } |
| 86 void setNeedsSelectFeatureSet() { m_needsSelectFeatureSet = true; } | 88 void setNeedsSelectFeatureSet() { m_needsSelectFeatureSet = true; } |
| 87 | 89 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 inline void ElementShadow::distributeIfNeeded() | 126 inline void ElementShadow::distributeIfNeeded() |
| 125 { | 127 { |
| 126 if (m_needsDistributionRecalc) | 128 if (m_needsDistributionRecalc) |
| 127 distribute(); | 129 distribute(); |
| 128 m_needsDistributionRecalc = false; | 130 m_needsDistributionRecalc = false; |
| 129 } | 131 } |
| 130 | 132 |
| 131 } // namespace | 133 } // namespace |
| 132 | 134 |
| 133 #endif | 135 #endif |
| OLD | NEW |