| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 void distributeIfNeeded(); | 78 void distributeIfNeeded(); |
| 79 void setNeedsDistributionRecalc(); | 79 void setNeedsDistributionRecalc(); |
| 80 | 80 |
| 81 const InsertionPoint* finalDestinationInsertionPointFor(const Node*) const; | 81 const InsertionPoint* finalDestinationInsertionPointFor(const Node*) const; |
| 82 const DestinationInsertionPoints* destinationInsertionPointsFor(const Node*)
const; | 82 const DestinationInsertionPoints* destinationInsertionPointsFor(const Node*)
const; |
| 83 | 83 |
| 84 void didDistributeNode(const Node*, InsertionPoint*); | 84 void didDistributeNode(const Node*, InsertionPoint*); |
| 85 | 85 |
| 86 bool isV1() const { return youngestShadowRoot().isV1(); }; | 86 bool isV1() const { return youngestShadowRoot().isV1(); }; |
| 87 bool isOpen() const { return youngestShadowRoot().isOpen(); }; |
| 87 | 88 |
| 88 DECLARE_TRACE(); | 89 DECLARE_TRACE(); |
| 89 | 90 |
| 90 private: | 91 private: |
| 91 ElementShadow(); | 92 ElementShadow(); |
| 92 | 93 |
| 93 #if !ENABLE(OILPAN) | 94 #if !ENABLE(OILPAN) |
| 94 void removeDetachedShadowRoots(); | 95 void removeDetachedShadowRoots(); |
| 95 #endif | 96 #endif |
| 96 | 97 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 inline void ElementShadow::distributeIfNeeded() | 163 inline void ElementShadow::distributeIfNeeded() |
| 163 { | 164 { |
| 164 if (m_needsDistributionRecalc) | 165 if (m_needsDistributionRecalc) |
| 165 distribute(); | 166 distribute(); |
| 166 m_needsDistributionRecalc = false; | 167 m_needsDistributionRecalc = false; |
| 167 } | 168 } |
| 168 | 169 |
| 169 } // namespace | 170 } // namespace |
| 170 | 171 |
| 171 #endif | 172 #endif |
| OLD | NEW |