OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CallbackFunctionTest_h | |
6 #define CallbackFunctionTest_h | |
7 | |
8 #include "bindings/core/v8/ScriptWrappable.h" | |
9 #include "platform/heap/Handle.h" | |
10 #include "wtf/text/WTFString.h" | |
11 | |
12 namespace blink { | |
13 | |
14 class ExceptionState; | |
15 class ScriptState; | |
16 class V8TestCallback; | |
17 | |
18 class CallbackFunctionTest final : public GarbageCollectedFinalized<CallbackFunc tionTest>, public ScriptWrappable { | |
haraken
2016/09/20 07:08:22
You can use GarbageCollected<CallbackFunctionTest>
lkawai
2016/09/20 08:15:07
Done.
| |
19 DEFINE_WRAPPERTYPEINFO(); | |
20 public: | |
21 DECLARE_TRACE(); | |
22 | |
23 static CallbackFunctionTest* create() { return new CallbackFunctionTest(); } | |
24 virtual ~CallbackFunctionTest() = default; | |
haraken
2016/09/20 07:08:22
You can remove this.
lkawai
2016/09/20 08:15:07
Done.
| |
25 | |
26 String testCallback(ScriptState*, V8TestCallback*, const String&, const Stri ng&, ExceptionState&); | |
27 }; | |
28 | |
29 } // namespace blink | |
30 | |
31 #endif // CallbackFunctionTest_h | |
OLD | NEW |