OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "core/dom/custom/CustomElementReaction.h" | 5 #include "core/dom/custom/CustomElementReaction.h" |
6 | 6 |
| 7 #include <initializer_list> |
| 8 #include <memory> |
| 9 #include <vector> |
7 #include "core/dom/custom/CustomElementReactionQueue.h" | 10 #include "core/dom/custom/CustomElementReactionQueue.h" |
8 #include "core/dom/custom/CustomElementReactionStack.h" | 11 #include "core/dom/custom/CustomElementReactionStack.h" |
9 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "wtf/Functional.h" | 14 #include "wtf/Functional.h" |
12 #include "wtf/Noncopyable.h" | 15 #include "wtf/Noncopyable.h" |
13 #include <initializer_list> | |
14 #include <memory> | |
15 #include <vector> | |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 | 18 |
19 class Element; | 19 class Element; |
20 | 20 |
21 class Command : public GarbageCollectedFinalized<Command> { | 21 class Command : public GarbageCollectedFinalized<Command> { |
22 WTF_MAKE_NONCOPYABLE(Command); | 22 WTF_MAKE_NONCOPYABLE(Command); |
23 | 23 |
24 public: | 24 public: |
25 Command() = default; | 25 Command() = default; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 } | 142 } |
143 | 143 |
144 CustomElementReactionStack& stack() { return *m_stack; } | 144 CustomElementReactionStack& stack() { return *m_stack; } |
145 | 145 |
146 private: | 146 private: |
147 Member<CustomElementReactionStack> m_stack; | 147 Member<CustomElementReactionStack> m_stack; |
148 Member<CustomElementReactionStack> m_oldStack; | 148 Member<CustomElementReactionStack> m_oldStack; |
149 }; | 149 }; |
150 | 150 |
151 } // namespace blink | 151 } // namespace blink |
OLD | NEW |