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

Side by Side Diff: Source/bindings/tests/results/V8TestCallbackInterface.cpp

Issue 348303002: Move invodeCallback from V8Callback to V8Binding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/bindings/scripts/v8_callback_interface.py ('k') | Source/bindings/v8/V8Binding.h » ('j') | 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. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestCallbackInterface.h" 8 #include "V8TestCallbackInterface.h"
9 9
10 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" 10 #include "bindings/tests/v8/V8TestInterfaceEmpty.h"
11 #include "bindings/tests/v8/V8TestInterfaceWillBeGarbageCollected.h" 11 #include "bindings/tests/v8/V8TestInterfaceWillBeGarbageCollected.h"
12 #include "bindings/v8/V8Binding.h" 12 #include "bindings/v8/V8Binding.h"
13 #include "bindings/v8/V8Callback.h"
14 #include "core/dom/ExecutionContext.h" 13 #include "core/dom/ExecutionContext.h"
15 #include "wtf/Assertions.h" 14 #include "wtf/Assertions.h"
16 #include "wtf/GetPtr.h" 15 #include "wtf/GetPtr.h"
17 #include "wtf/RefPtr.h" 16 #include "wtf/RefPtr.h"
18 17
19 namespace WebCore { 18 namespace WebCore {
20 19
21 V8TestCallbackInterface::V8TestCallbackInterface(v8::Handle<v8::Function> callba ck, ScriptState* scriptState) 20 V8TestCallbackInterface::V8TestCallbackInterface(v8::Handle<v8::Function> callba ck, ScriptState* scriptState)
22 : ActiveDOMCallback(scriptState->executionContext()) 21 : ActiveDOMCallback(scriptState->executionContext())
23 , m_scriptState(scriptState) 22 , m_scriptState(scriptState)
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 if (!isScriptControllerTerminating()) 232 if (!isScriptControllerTerminating())
234 CRASH(); 233 CRASH();
235 return; 234 return;
236 } 235 }
237 v8::Handle<v8::Value> argv[] = { arrayArgHandle }; 236 v8::Handle<v8::Value> argv[] = { arrayArgHandle };
238 237
239 invokeCallback(m_scriptState.get(), m_callback.newLocal(isolate), 1, argv); 238 invokeCallback(m_scriptState.get(), m_callback.newLocal(isolate), 1, argv);
240 } 239 }
241 240
242 } // namespace WebCore 241 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/scripts/v8_callback_interface.py ('k') | Source/bindings/v8/V8Binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698