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

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

Issue 14244017: Make length property return useful values for DOM bindings functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replace [Optional] by optional Created 7 years, 8 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 WebKit open source project. 2 This file is part of the WebKit open source project.
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY! 3 This file has been generated by generate-bindings.pl. 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 "V8TestException.h" 22 #include "V8TestException.h"
23 23
24 #include "BindingState.h" 24 #include "BindingState.h"
25 #include "ContextFeatures.h" 25 #include "ContextFeatures.h"
26 #include "Frame.h" 26 #include "Frame.h"
27 #include "RuntimeEnabledFeatures.h" 27 #include "RuntimeEnabledFeatures.h"
28 #include "ScriptController.h"
28 #include "V8Binding.h" 29 #include "V8Binding.h"
29 #include "V8DOMWrapper.h" 30 #include "V8DOMWrapper.h"
30 #include <wtf/UnusedParam.h> 31 #include <wtf/UnusedParam.h>
31 32
32 #if ENABLE(BINDING_INTEGRITY) 33 #if ENABLE(BINDING_INTEGRITY)
33 #if defined(OS_WIN) 34 #if defined(OS_WIN)
34 #pragma warning(disable: 4483) 35 #pragma warning(disable: 4483)
35 extern "C" { extern void (*const __identifier("??_7TestException@WebCore@@6B@")[ ])(); } 36 extern "C" { extern void (*const __identifier("??_7TestException@WebCore@@6B@")[ ])(); }
36 #else 37 #else
37 extern "C" { extern void* _ZTVN7WebCore13TestExceptionE[]; } 38 extern "C" { extern void* _ZTVN7WebCore13TestExceptionE[]; }
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 installPerContextProperties(wrapper, impl.get(), isolate); 146 installPerContextProperties(wrapper, impl.get(), isolate);
146 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep endent); 147 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep endent);
147 return wrapper; 148 return wrapper;
148 } 149 }
149 void V8TestException::derefObject(void* object) 150 void V8TestException::derefObject(void* object)
150 { 151 {
151 static_cast<TestException*>(object)->deref(); 152 static_cast<TestException*>(object)->deref();
152 } 153 }
153 154
154 } // namespace WebCore 155 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestEventTarget.cpp ('k') | Source/bindings/tests/results/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698