Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: third_party/WebKit/Source/core/testing/CallbackFunctionTest.h

Issue 2312093003: Generated bindings for IDL callback functions (Closed)
Patch Set: Changed BUILD.gn Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
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 "wtf/text/WTFString.h"
10
11 namespace blink {
12
13 class ExceptionState;
14 class ScriptState;
15 class ScriptValue;
16 class V8TestCallback;
17
18 class CallbackFunctionTest final : public GarbageCollectedFinalized<CallbackFunc tionTest>, public ScriptWrappable {
19 DEFINE_WRAPPERTYPEINFO();
20 public:
21 DECLARE_TRACE();
22
23 static CallbackFunctionTest* create() { return new CallbackFunctionTest(); }
24 virtual ~CallbackFunctionTest() = default;
25
26 String testDOMString(ScriptState*, V8TestCallback*, ExceptionState&);
27 };
28
29 } // namespace blink
30
31 #endif // CallbackFunctionTest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698