| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ChildFrameDisconnector_h | 5 #ifndef ChildFrameDisconnector_h |
| 6 #define ChildFrameDisconnector_h | 6 #define ChildFrameDisconnector_h |
| 7 | 7 |
| 8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 } | 27 } |
| 28 | 28 |
| 29 void disconnect(DisconnectPolicy = RootAndDescendants); | 29 void disconnect(DisconnectPolicy = RootAndDescendants); |
| 30 | 30 |
| 31 private: | 31 private: |
| 32 void collectFrameOwners(Node&); | 32 void collectFrameOwners(Node&); |
| 33 void collectFrameOwners(ElementShadow&); | 33 void collectFrameOwners(ElementShadow&); |
| 34 void disconnectCollectedFrameOwners(); | 34 void disconnectCollectedFrameOwners(); |
| 35 Node& root() const { return *m_root; } | 35 Node& root() const { return *m_root; } |
| 36 | 36 |
| 37 WillBeHeapVector<RefPtrWillBeMember<HTMLFrameOwnerElement>, 10> m_frameOwner
s; | 37 HeapVector<Member<HTMLFrameOwnerElement>, 10> m_frameOwners; |
| 38 RawPtrWillBeMember<Node> m_root; | 38 Member<Node> m_root; |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 } // namespace blink | 41 } // namespace blink |
| 42 | 42 |
| 43 #endif // ChildFrameDisconnector_h | 43 #endif // ChildFrameDisconnector_h |
| OLD | NEW |