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

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

Issue 894693005: IDL: Auto-declare implied methods only if not otherwise declared (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix spelling 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/idls/core/TestInterface3.idl ('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 "V8TestInterface3.h" 8 #include "V8TestInterface3.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 20 matching lines...) Expand all
31 // bindings/core/v8/ScriptWrappable.h. 31 // bindings/core/v8/ScriptWrappable.h.
32 const WrapperTypeInfo& TestInterface3::s_wrapperTypeInfo = V8TestInterface3::wra pperTypeInfo; 32 const WrapperTypeInfo& TestInterface3::s_wrapperTypeInfo = V8TestInterface3::wra pperTypeInfo;
33 33
34 namespace TestInterface3V8Internal { 34 namespace TestInterface3V8Internal {
35 35
36 static void keysMethod(const v8::FunctionCallbackInfo<v8::Value>& info) 36 static void keysMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
37 { 37 {
38 ExceptionState exceptionState(ExceptionState::ExecutionContext, "keys", "Tes tInterface3", info.Holder(), info.GetIsolate()); 38 ExceptionState exceptionState(ExceptionState::ExecutionContext, "keys", "Tes tInterface3", info.Holder(), info.GetIsolate());
39 TestInterface3* impl = V8TestInterface3::toImpl(info.Holder()); 39 TestInterface3* impl = V8TestInterface3::toImpl(info.Holder());
40 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); 40 ScriptState* scriptState = ScriptState::current(info.GetIsolate());
41 RawPtr<Iterator> result = impl->keys(scriptState, exceptionState); 41 RawPtr<Iterator> result = impl->iterableKeys(scriptState, exceptionState);
42 if (exceptionState.hadException()) { 42 if (exceptionState.hadException()) {
43 exceptionState.throwIfNeeded(); 43 exceptionState.throwIfNeeded();
44 return; 44 return;
45 } 45 }
46 v8SetReturnValue(info, result.release()); 46 v8SetReturnValue(info, result.release());
47 } 47 }
48 48
49 static void keysMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) 49 static void keysMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
50 { 50 {
51 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 51 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 { 278 {
279 scriptWrappable->toImpl<TestInterface3>()->ref(); 279 scriptWrappable->toImpl<TestInterface3>()->ref();
280 } 280 }
281 281
282 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable) 282 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable)
283 { 283 {
284 scriptWrappable->toImpl<TestInterface3>()->deref(); 284 scriptWrappable->toImpl<TestInterface3>()->deref();
285 } 285 }
286 286
287 } // namespace blink 287 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/core/TestInterface3.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698