OLD | NEW |
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 11868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11879 static void setMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) | 11879 static void setMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
11880 { | 11880 { |
11881 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 11881 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
11882 TestObjectV8Internal::setMethod(info); | 11882 TestObjectV8Internal::setMethod(info); |
11883 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 11883 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
11884 } | 11884 } |
11885 | 11885 |
11886 static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info) | 11886 static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
11887 { | 11887 { |
11888 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 11888 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
11889 v8SetReturnValueString(info, impl->toString(), info.GetIsolate()); | 11889 v8SetReturnValueString(info, impl->stringifierAttribute(), info.GetIsolate()
); |
11890 } | 11890 } |
11891 | 11891 |
11892 static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in
fo) | 11892 static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in
fo) |
11893 { | 11893 { |
11894 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 11894 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
11895 TestObjectV8Internal::toStringMethod(info); | 11895 TestObjectV8Internal::toStringMethod(info); |
11896 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 11896 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
11897 } | 11897 } |
11898 | 11898 |
11899 static void iteratorMethod(const v8::FunctionCallbackInfo<v8::Value>& info) | 11899 static void iteratorMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13188 return false; | 13188 return false; |
13189 | 13189 |
13190 ScriptState::Scope scope(scriptState); | 13190 ScriptState::Scope scope(scriptState); |
13191 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 13191 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
13192 | 13192 |
13193 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; | 13193 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; |
13194 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); | 13194 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); |
13195 } | 13195 } |
13196 | 13196 |
13197 } // namespace blink | 13197 } // namespace blink |
OLD | NEW |