| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
| 31 #include "core/dom/shadow/InsertionPoint.h" | 31 #include "core/dom/shadow/InsertionPoint.h" |
| 32 #include "core/dom/shadow/SelectRuleFeatureSet.h" | 32 #include "core/dom/shadow/SelectRuleFeatureSet.h" |
| 33 #include "core/dom/shadow/ShadowRoot.h" | 33 #include "core/dom/shadow/ShadowRoot.h" |
| 34 #include "core/dom/shadow/SlotAssignment.h" | 34 #include "core/dom/shadow/SlotAssignment.h" |
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 36 #include "wtf/DoublyLinkedList.h" | 36 #include "wtf/DoublyLinkedList.h" |
| 37 #include "wtf/HashMap.h" | 37 #include "wtf/HashMap.h" |
| 38 #include "wtf/Noncopyable.h" | 38 #include "wtf/Noncopyable.h" |
| 39 #include "wtf/PassOwnPtr.h" | |
| 40 | 39 |
| 41 namespace blink { | 40 namespace blink { |
| 42 | 41 |
| 43 class CORE_EXPORT ElementShadow final : public GarbageCollectedFinalized<Element
Shadow> { | 42 class CORE_EXPORT ElementShadow final : public GarbageCollectedFinalized<Element
Shadow> { |
| 44 WTF_MAKE_NONCOPYABLE(ElementShadow); | 43 WTF_MAKE_NONCOPYABLE(ElementShadow); |
| 45 public: | 44 public: |
| 46 static RawPtr<ElementShadow> create(); | 45 static RawPtr<ElementShadow> create(); |
| 47 ~ElementShadow(); | 46 ~ElementShadow(); |
| 48 | 47 |
| 49 Element* host() const; | 48 Element* host() const; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 inline void ElementShadow::distributeIfNeeded() | 162 inline void ElementShadow::distributeIfNeeded() |
| 164 { | 163 { |
| 165 if (m_needsDistributionRecalc) | 164 if (m_needsDistributionRecalc) |
| 166 distribute(); | 165 distribute(); |
| 167 m_needsDistributionRecalc = false; | 166 m_needsDistributionRecalc = false; |
| 168 } | 167 } |
| 169 | 168 |
| 170 } // namespace blink | 169 } // namespace blink |
| 171 | 170 |
| 172 #endif | 171 #endif |
| OLD | NEW |