| 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 #ifndef CEReactionsScope_h | 5 #ifndef CEReactionsScope_h |
| 6 #define CEReactionsScope_h | 6 #define CEReactionsScope_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "wtf/Allocator.h" | 10 #include "platform/wtf/Allocator.h" |
| 11 #include "wtf/Noncopyable.h" | 11 #include "platform/wtf/Noncopyable.h" |
| 12 #include "wtf/StdLibExtras.h" | 12 #include "platform/wtf/StdLibExtras.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class CustomElementReaction; | 16 class CustomElementReaction; |
| 17 class Element; | 17 class Element; |
| 18 | 18 |
| 19 // https://html.spec.whatwg.org/multipage/scripting.html#cereactions | 19 // https://html.spec.whatwg.org/multipage/scripting.html#cereactions |
| 20 class CORE_EXPORT CEReactionsScope final { | 20 class CORE_EXPORT CEReactionsScope final { |
| 21 STACK_ALLOCATED(); | 21 STACK_ALLOCATED(); |
| 22 WTF_MAKE_NONCOPYABLE(CEReactionsScope); | 22 WTF_MAKE_NONCOPYABLE(CEReactionsScope); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 void InvokeReactions(); | 42 void InvokeReactions(); |
| 43 | 43 |
| 44 CEReactionsScope* prev_; | 44 CEReactionsScope* prev_; |
| 45 bool work_to_do_; | 45 bool work_to_do_; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace blink | 48 } // namespace blink |
| 49 | 49 |
| 50 #endif // CEReactionsScope_h | 50 #endif // CEReactionsScope_h |
| OLD | NEW |