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

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

Issue 15014010: Bindings generator should include wtf headers with double quotes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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 /* 1 /*
2 This file is part of the Blink open source project. 2 This file is part of the Blink open source project.
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details. 13 Library General Public License for more details.
14 14
15 You should have received a copy of the GNU Library General Public License 15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to 16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. 18 Boston, MA 02111-1307, USA.
19 */ 19 */
20 20
21 #include "config.h" 21 #include "config.h"
22 #include "V8TestCallback.h" 22 #include "V8TestCallback.h"
23 23
24 #include "V8Class1.h" 24 #include "V8Class1.h"
25 #include "V8Class2.h" 25 #include "V8Class2.h"
26 #include "V8DOMStringList.h" 26 #include "V8DOMStringList.h"
27 #include "bindings/v8/V8Binding.h" 27 #include "bindings/v8/V8Binding.h"
28 #include "bindings/v8/V8Callback.h" 28 #include "bindings/v8/V8Callback.h"
29 #include "core/dom/ScriptExecutionContext.h" 29 #include "core/dom/ScriptExecutionContext.h"
30 #include <wtf/GetPtr.h> 30 #include "wtf/Assertions.h"
31 #include <wtf/RefCounted.h> 31 #include "wtf/GetPtr.h"
32 #include <wtf/RefPtr.h> 32 #include "wtf/RefCounted.h"
33 33 #include "wtf/RefPtr.h"
34 #include <wtf/Assertions.h>
35
36 namespace WebCore { 34 namespace WebCore {
37 35
38 V8TestCallback::V8TestCallback(v8::Handle<v8::Object> callback, ScriptExecutionC ontext* context) 36 V8TestCallback::V8TestCallback(v8::Handle<v8::Object> callback, ScriptExecutionC ontext* context)
39 : ActiveDOMCallback(context) 37 : ActiveDOMCallback(context)
40 , m_callback(callback) 38 , m_callback(callback)
41 , m_world(DOMWrapperWorld::current()) 39 , m_world(DOMWrapperWorld::current())
42 { 40 {
43 } 41 }
44 42
45 V8TestCallback::~V8TestCallback() 43 V8TestCallback::~V8TestCallback()
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 v8::Handle<v8::Value> argv[] = { 180 v8::Handle<v8::Value> argv[] = {
183 boolParamHandle 181 boolParamHandle
184 }; 182 };
185 183
186 bool callbackReturnValue = false; 184 bool callbackReturnValue = false;
187 return !invokeCallback(m_callback.get(), 1, argv, callbackReturnValue, scrip tExecutionContext()); 185 return !invokeCallback(m_callback.get(), 1, argv, callbackReturnValue, scrip tExecutionContext());
188 } 186 }
189 187
190 } // namespace WebCore 188 } // namespace WebCore
191 189
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestCallback.h ('k') | Source/bindings/tests/results/V8TestCustomNamedGetter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698