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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h

Issue 2569923003: Refer back to Jinja templates from the C++ code generated from IDL files. (Closed)
Patch Set: Also cover templates used from code_generator_web_module.py Created 4 years 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
9 // third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
10
8 // clang-format off 11 // clang-format off
9 12
10 #ifndef VoidCallbackFunctionModules_h 13 #ifndef VoidCallbackFunctionModules_h
11 #define VoidCallbackFunctionModules_h 14 #define VoidCallbackFunctionModules_h
12 15
13 #include "bindings/core/v8/ScriptWrappable.h" 16 #include "bindings/core/v8/ScriptWrappable.h"
14 #include "bindings/core/v8/TraceWrapperV8Reference.h" 17 #include "bindings/core/v8/TraceWrapperV8Reference.h"
15 #include "modules/ModulesExport.h" 18 #include "modules/ModulesExport.h"
16 #include "platform/heap/Handle.h" 19 #include "platform/heap/Handle.h"
17 #include "wtf/text/WTFString.h" 20 #include "wtf/text/WTFString.h"
(...skipping 27 matching lines...) Expand all
45 private: 48 private:
46 VoidCallbackFunctionModules(ScriptState*, v8::Local<v8::Function>); 49 VoidCallbackFunctionModules(ScriptState*, v8::Local<v8::Function>);
47 50
48 RefPtr<ScriptState> m_scriptState; 51 RefPtr<ScriptState> m_scriptState;
49 TraceWrapperV8Reference<v8::Function> m_callback; 52 TraceWrapperV8Reference<v8::Function> m_callback;
50 }; 53 };
51 54
52 } // namespace blink 55 } // namespace blink
53 56
54 #endif // VoidCallbackFunctionModules_h 57 #endif // VoidCallbackFunctionModules_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698