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

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

Issue 1233483002: Add counters for add/removeEventListener() called with one argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: No [Conditional] support Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/tests/results/core/V8TestObject.h ('k') | Source/core/events/EventTarget.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 "V8TestObject.h" 8 #include "V8TestObject.h"
9 9
10 #include "bindings/core/v8/BindingSecurity.h" 10 #include "bindings/core/v8/BindingSecurity.h"
(...skipping 10278 matching lines...) Expand 10 before | Expand all | Expand 10 after
10289 } 10289 }
10290 #endif // ENABLE(CONDITION) 10290 #endif // ENABLE(CONDITION)
10291 10291
10292 static void customVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Va lue>& info) 10292 static void customVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Va lue>& info)
10293 { 10293 {
10294 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 10294 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
10295 V8TestObject::customVoidMethodMethodCustom(info); 10295 V8TestObject::customVoidMethodMethodCustom(info);
10296 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 10296 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
10297 } 10297 }
10298 10298
10299 static void customCallPrologueVoidMethodMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info)
10300 {
10301 TestObject* impl = V8TestObject::toImpl(info.Holder());
10302 V8TestObject::customCallPrologueVoidMethodMethodPrologueCustom(info, impl);
10303 impl->customCallPrologueVoidMethod();
10304 }
10305
10306 static void customCallPrologueVoidMethodMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info)
10307 {
10308 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
10309 TestObjectV8Internal::customCallPrologueVoidMethodMethod(info);
10310 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
10311 }
10312
10299 static void customCallEpilogueVoidMethodMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info) 10313 static void customCallEpilogueVoidMethodMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info)
10300 { 10314 {
10301 TestObject* impl = V8TestObject::toImpl(info.Holder()); 10315 TestObject* impl = V8TestObject::toImpl(info.Holder());
10302 impl->customCallEpilogueVoidMethod(); 10316 impl->customCallEpilogueVoidMethod();
10303 V8TestObject::customCallEpilogueVoidMethodMethodEpilogueCustom(info, impl); 10317 V8TestObject::customCallEpilogueVoidMethodMethodEpilogueCustom(info, impl);
10304 } 10318 }
10305 10319
10306 static void customCallEpilogueVoidMethodMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info) 10320 static void customCallEpilogueVoidMethodMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info)
10307 { 10321 {
10308 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 10322 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
(...skipping 2508 matching lines...) Expand 10 before | Expand all | Expand 10 after
12817 {"callWithScriptStateScriptArgumentsVoidMethod", TestObjectV8Internal::callW ithScriptStateScriptArgumentsVoidMethodMethodCallback, 0, 0, V8DOMConfiguration: :ExposedToAllScripts}, 12831 {"callWithScriptStateScriptArgumentsVoidMethod", TestObjectV8Internal::callW ithScriptStateScriptArgumentsVoidMethodMethodCallback, 0, 0, V8DOMConfiguration: :ExposedToAllScripts},
12818 {"callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg", TestObjec tV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMetho dCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12832 {"callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg", TestObjec tV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMetho dCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12819 {"callWithActiveWindow", TestObjectV8Internal::callWithActiveWindowMethodCal lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12833 {"callWithActiveWindow", TestObjectV8Internal::callWithActiveWindowMethodCal lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12820 {"callWithActiveWindowScriptWindow", TestObjectV8Internal::callWithActiveWin dowScriptWindowMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12834 {"callWithActiveWindowScriptWindow", TestObjectV8Internal::callWithActiveWin dowScriptWindowMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12821 {"callWithThisValue", TestObjectV8Internal::callWithThisValueMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12835 {"callWithThisValue", TestObjectV8Internal::callWithThisValueMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12822 {"checkSecurityForNodeVoidMethod", TestObjectV8Internal::checkSecurityForNod eVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12836 {"checkSecurityForNodeVoidMethod", TestObjectV8Internal::checkSecurityForNod eVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12823 #if ENABLE(CONDITION) 12837 #if ENABLE(CONDITION)
12824 {"conditionalConditionVoidMethod", TestObjectV8Internal::conditionalConditio nVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12838 {"conditionalConditionVoidMethod", TestObjectV8Internal::conditionalConditio nVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12825 #endif // ENABLE(CONDITION) 12839 #endif // ENABLE(CONDITION)
12826 {"customVoidMethod", TestObjectV8Internal::customVoidMethodMethodCallback, 0 , 0, V8DOMConfiguration::ExposedToAllScripts}, 12840 {"customVoidMethod", TestObjectV8Internal::customVoidMethodMethodCallback, 0 , 0, V8DOMConfiguration::ExposedToAllScripts},
12841 {"customCallPrologueVoidMethod", TestObjectV8Internal::customCallPrologueVoi dMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12827 {"customCallEpilogueVoidMethod", TestObjectV8Internal::customCallEpilogueVoi dMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12842 {"customCallEpilogueVoidMethod", TestObjectV8Internal::customCallEpilogueVoi dMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12828 #if ENABLE(CONDITION) 12843 #if ENABLE(CONDITION)
12829 {"conditionalConditionCustomVoidMethod", TestObjectV8Internal::conditionalCo nditionCustomVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr ipts}, 12844 {"conditionalConditionCustomVoidMethod", TestObjectV8Internal::conditionalCo nditionCustomVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr ipts},
12830 #endif // ENABLE(CONDITION) 12845 #endif // ENABLE(CONDITION)
12831 {"customElementCallbacksVoidMethod", TestObjectV8Internal::customElementCall backsVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12846 {"customElementCallbacksVoidMethod", TestObjectV8Internal::customElementCall backsVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12832 {"deprecatedVoidMethod", TestObjectV8Internal::deprecatedVoidMethodMethodCal lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12847 {"deprecatedVoidMethod", TestObjectV8Internal::deprecatedVoidMethodMethodCal lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12833 {"implementedAsVoidMethod", TestObjectV8Internal::implementedAsVoidMethodMet hodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12848 {"implementedAsVoidMethod", TestObjectV8Internal::implementedAsVoidMethodMet hodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12834 {"measureAsVoidMethod", TestObjectV8Internal::measureAsVoidMethodMethodCallb ack, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12849 {"measureAsVoidMethod", TestObjectV8Internal::measureAsVoidMethodMethodCallb ack, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
12835 {"measureMethod", TestObjectV8Internal::measureMethodMethodCallback, 0, 0, V 8DOMConfiguration::ExposedToAllScripts}, 12850 {"measureMethod", TestObjectV8Internal::measureMethodMethodCallback, 0, 0, V 8DOMConfiguration::ExposedToAllScripts},
12836 {"measureOverloadedMethod", TestObjectV8Internal::measureOverloadedMethodMet hodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 12851 {"measureOverloadedMethod", TestObjectV8Internal::measureOverloadedMethodMet hodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
13597 ScriptState::Scope scope(scriptState); 13612 ScriptState::Scope scope(scriptState);
13598 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa l(), scriptState->isolate()); 13613 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa l(), scriptState->isolate());
13599 if (holder.IsEmpty()) 13614 if (holder.IsEmpty())
13600 return false; 13615 return false;
13601 13616
13602 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ; 13617 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ;
13603 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue)); 13618 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue));
13604 } 13619 }
13605 13620
13606 } // namespace blink 13621 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestObject.h ('k') | Source/core/events/EventTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698