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

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

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
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.cpp.tmpl
10
8 // clang-format off 11 // clang-format off
9 12
10 #include "VoidCallbackFunctionModules.h" 13 #include "VoidCallbackFunctionModules.h"
11 14
12 #include "bindings/core/v8/ExceptionState.h" 15 #include "bindings/core/v8/ExceptionState.h"
13 #include "bindings/core/v8/ScriptState.h" 16 #include "bindings/core/v8/ScriptState.h"
14 #include "bindings/core/v8/ToV8.h" 17 #include "bindings/core/v8/ToV8.h"
15 #include "bindings/core/v8/V8Binding.h" 18 #include "bindings/core/v8/V8Binding.h"
16 #include "core/dom/ExecutionContext.h" 19 #include "core/dom/ExecutionContext.h"
17 #include "wtf/Assertions.h" 20 #include "wtf/Assertions.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 v8::TryCatch exceptionCatcher(m_scriptState->isolate()); 58 v8::TryCatch exceptionCatcher(m_scriptState->isolate());
56 exceptionCatcher.SetVerbose(true); 59 exceptionCatcher.SetVerbose(true);
57 60
58 if (V8ScriptRunner::callFunction(m_callback.newLocal(m_scriptState->isolate()) , m_scriptState->getExecutionContext(), thisValue, 0, argv, m_scriptState->isola te()).ToLocal(&v8ReturnValue)) { 61 if (V8ScriptRunner::callFunction(m_callback.newLocal(m_scriptState->isolate()) , m_scriptState->getExecutionContext(), thisValue, 0, argv, m_scriptState->isola te()).ToLocal(&v8ReturnValue)) {
59 return true; 62 return true;
60 } 63 }
61 return false; 64 return false;
62 } 65 }
63 66
64 } // namespace blink 67 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698