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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.h

Issue 2709983004: WIP bindings: Add support for the record<K,V> WebIDL type. (Closed)
Patch Set: Rebased patch using NativeValueTraits for IDL types Created 3 years, 9 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 // This file has been auto-generated by code_generator_v8.py. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // This file has been generated from the Jinja2 template in 8 // This file has been generated from the Jinja2 template in
9 // third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl 9 // third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
10 10
11 // clang-format off 11 // clang-format off
12 12
13 #ifndef StringSequenceCallbackFunctionLongSequenceArg_h 13 #ifndef StringSequenceCallbackFunctionLongSequenceArg_h
14 #define StringSequenceCallbackFunctionLongSequenceArg_h 14 #define StringSequenceCallbackFunctionLongSequenceArg_h
15 15
16 #include "bindings/core/v8/NativeValueTraits.h"
16 #include "bindings/core/v8/ScriptWrappable.h" 17 #include "bindings/core/v8/ScriptWrappable.h"
17 #include "bindings/core/v8/TraceWrapperV8Reference.h" 18 #include "bindings/core/v8/TraceWrapperV8Reference.h"
18 #include "core/CoreExport.h" 19 #include "core/CoreExport.h"
19 #include "platform/heap/Handle.h" 20 #include "platform/heap/Handle.h"
20 #include "wtf/text/WTFString.h" 21 #include "wtf/text/WTFString.h"
21 22
22 namespace blink { 23 namespace blink {
23 24
24 class ScriptState; 25 class ScriptState;
25 26
(...skipping 12 matching lines...) Expand all
38 return m_callback.newLocal(isolate); 39 return m_callback.newLocal(isolate);
39 } 40 }
40 41
41 private: 42 private:
42 StringSequenceCallbackFunctionLongSequenceArg(ScriptState*, v8::Local<v8::Func tion>); 43 StringSequenceCallbackFunctionLongSequenceArg(ScriptState*, v8::Local<v8::Func tion>);
43 44
44 RefPtr<ScriptState> m_scriptState; 45 RefPtr<ScriptState> m_scriptState;
45 TraceWrapperV8Reference<v8::Function> m_callback; 46 TraceWrapperV8Reference<v8::Function> m_callback;
46 }; 47 };
47 48
49 template <>
50 struct NativeValueTraits<StringSequenceCallbackFunctionLongSequenceArg> {
51 using ImplType = StringSequenceCallbackFunctionLongSequenceArg;
52 CORE_EXPORT static StringSequenceCallbackFunctionLongSequenceArg* nativeValue( v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
53 };
54
48 } // namespace blink 55 } // namespace blink
49 56
50 #endif // StringSequenceCallbackFunctionLongSequenceArg_h 57 #endif // StringSequenceCallbackFunctionLongSequenceArg_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698