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

Side by Side Diff: Source/bindings/tests/results/core/V8TestTypedefs.cpp

Issue 921813002: Fix template angle bracket syntax in bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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/tests/results/core/V8TestObject.cpp ('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. 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 "V8TestTypedefs.h" 8 #include "V8TestTypedefs.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 static void uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethod(const v8::Fun ctionCallbackInfo<v8::Value>& info) 160 static void uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethod(const v8::Fun ctionCallbackInfo<v8::Value>& info)
161 { 161 {
162 ExceptionState exceptionState(ExceptionState::ExecutionContext, "uLongLongMe thodTestInterfaceEmptyTypeSequenceArg", "TestTypedefs", info.Holder(), info.GetI solate()); 162 ExceptionState exceptionState(ExceptionState::ExecutionContext, "uLongLongMe thodTestInterfaceEmptyTypeSequenceArg", "TestTypedefs", info.Holder(), info.GetI solate());
163 if (UNLIKELY(info.Length() < 1)) { 163 if (UNLIKELY(info.Length() < 1)) {
164 setMinimumArityTypeError(exceptionState, 1, info.Length()); 164 setMinimumArityTypeError(exceptionState, 1, info.Length());
165 exceptionState.throwIfNeeded(); 165 exceptionState.throwIfNeeded();
166 return; 166 return;
167 } 167 }
168 TestTypedefs* impl = V8TestTypedefs::toImpl(info.Holder()); 168 TestTypedefs* impl = V8TestTypedefs::toImpl(info.Holder());
169 Vector<RefPtr<TestInterfaceEmpty> > testInterfaceEmptyTypeSequenceArg; 169 Vector<RefPtr<TestInterfaceEmpty>> testInterfaceEmptyTypeSequenceArg;
170 { 170 {
171 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(testInterfaceEmptyTypeSequenceArg, (toRefPtrNativeArray<TestInterfaceEmpty, V8TestInterfaceEmpty>(info[0], 1, info .GetIsolate(), exceptionState)), exceptionState); 171 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(testInterfaceEmptyTypeSequenceArg, (toRefPtrNativeArray<TestInterfaceEmpty, V8TestInterfaceEmpty>(info[0], 1, info .GetIsolate(), exceptionState)), exceptionState);
172 } 172 }
173 v8SetReturnValue(info, static_cast<double>(impl->uLongLongMethodTestInterfac eEmptyTypeSequenceArg(testInterfaceEmptyTypeSequenceArg))); 173 v8SetReturnValue(info, static_cast<double>(impl->uLongLongMethodTestInterfac eEmptyTypeSequenceArg(testInterfaceEmptyTypeSequenceArg)));
174 } 174 }
175 175
176 static void uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) 176 static void uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
177 { 177 {
178 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 178 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
179 TestTypedefsV8Internal::uLongLongMethodTestInterfaceEmptyTypeSequenceArgMeth od(info); 179 TestTypedefsV8Internal::uLongLongMethodTestInterfaceEmptyTypeSequenceArgMeth od(info);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 { 350 {
351 scriptWrappable->toImpl<TestTypedefs>()->ref(); 351 scriptWrappable->toImpl<TestTypedefs>()->ref();
352 } 352 }
353 353
354 void V8TestTypedefs::derefObject(ScriptWrappable* scriptWrappable) 354 void V8TestTypedefs::derefObject(ScriptWrappable* scriptWrappable)
355 { 355 {
356 scriptWrappable->toImpl<TestTypedefs>()->deref(); 356 scriptWrappable->toImpl<TestTypedefs>()->deref();
357 } 357 }
358 358
359 } // namespace blink 359 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698