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 CustomElementReaction_h | 5 #ifndef CustomElementReaction_h |
6 #define CustomElementReaction_h | 6 #define CustomElementReaction_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/Noncopyable.h" | |
11 | 10 |
12 namespace blink { | 11 namespace blink { |
13 | 12 |
14 class Element; | 13 class Element; |
15 | 14 |
16 class CORE_EXPORT CustomElementReaction | 15 class CORE_EXPORT CustomElementReaction |
17 : public GarbageCollectedFinalized<CustomElementReaction> { | 16 : public GarbageCollectedFinalized<CustomElementReaction> { |
18 WTF_MAKE_NONCOPYABLE(CustomElementReaction); | 17 DISALLOW_COPY_AND_ASSIGN(CustomElementReaction); |
yosin_UTC9
2016/06/02 02:02:18
Sorry for confusion.
Oops, usually DISALLOW_COPY_
| |
19 public: | 18 public: |
20 CustomElementReaction() { } | 19 CustomElementReaction() { } |
21 virtual ~CustomElementReaction() { } | 20 virtual ~CustomElementReaction() { } |
22 DEFINE_INLINE_VIRTUAL_TRACE() { } | 21 DEFINE_INLINE_VIRTUAL_TRACE() { } |
23 virtual void invoke(Element*) = 0; | 22 virtual void invoke(Element*) = 0; |
24 }; | 23 }; |
25 | 24 |
26 } // namespace blink | 25 } // namespace blink |
27 | 26 |
28 #endif // CustomElementReaction_h | 27 #endif // CustomElementReaction_h |
OLD | NEW |