| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 void setShadowInsertionPointOfYoungerShadowRoot(HTMLShadowElement*); | 113 void setShadowInsertionPointOfYoungerShadowRoot(HTMLShadowElement*); |
| 114 void didAddInsertionPoint(InsertionPoint*); | 114 void didAddInsertionPoint(InsertionPoint*); |
| 115 void didRemoveInsertionPoint(InsertionPoint*); | 115 void didRemoveInsertionPoint(InsertionPoint*); |
| 116 const HeapVector<Member<InsertionPoint>>& descendantInsertionPoints(); | 116 const HeapVector<Member<InsertionPoint>>& descendantInsertionPoints(); |
| 117 | 117 |
| 118 // For Internals, don't use this. | 118 // For Internals, don't use this. |
| 119 unsigned childShadowRootCount() const { return m_childShadowRootCount; } | 119 unsigned childShadowRootCount() const { return m_childShadowRootCount; } |
| 120 unsigned numberOfStyles() const { return m_numberOfStyles; } | 120 unsigned numberOfStyles() const { return m_numberOfStyles; } |
| 121 | 121 |
| 122 void recalcStyle(StyleRecalcChange); | 122 void recalcStyle(StyleRecalcChange); |
| 123 void rebuildLayoutTree(); |
| 123 | 124 |
| 124 void registerScopedHTMLStyleChild(); | 125 void registerScopedHTMLStyleChild(); |
| 125 void unregisterScopedHTMLStyleChild(); | 126 void unregisterScopedHTMLStyleChild(); |
| 126 | 127 |
| 127 SlotAssignment& ensureSlotAssignment(); | 128 SlotAssignment& ensureSlotAssignment(); |
| 128 | 129 |
| 129 void distributeV1(); | 130 void distributeV1(); |
| 130 | 131 |
| 131 Element* activeElement() const; | 132 Element* activeElement() const; |
| 132 | 133 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 treeScope, | 196 treeScope, |
| 196 treeScope->rootNode().isShadowRoot(), | 197 treeScope->rootNode().isShadowRoot(), |
| 197 treeScope.rootNode().isShadowRoot()); | 198 treeScope.rootNode().isShadowRoot()); |
| 198 DEFINE_TYPE_CASTS(TreeScope, ShadowRoot, shadowRoot, true, true); | 199 DEFINE_TYPE_CASTS(TreeScope, ShadowRoot, shadowRoot, true, true); |
| 199 | 200 |
| 200 CORE_EXPORT std::ostream& operator<<(std::ostream&, const ShadowRootType&); | 201 CORE_EXPORT std::ostream& operator<<(std::ostream&, const ShadowRootType&); |
| 201 | 202 |
| 202 } // namespace blink | 203 } // namespace blink |
| 203 | 204 |
| 204 #endif // ShadowRoot_h | 205 #endif // ShadowRoot_h |
| OLD | NEW |