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. | 5 // This file has been auto-generated by code_generator_v8.py. |
6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
7 | 7 |
8 // This file has been generated from the Jinja2 template in | 8 // This file has been generated from the Jinja2 template in |
9 // third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl | 9 // third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl |
10 | 10 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 if (V8ScriptRunner::callFunction(m_callback.newLocal(m_scriptState->isolate())
, m_scriptState->getExecutionContext(), thisValue, 1, argv, m_scriptState->isola
te()).ToLocal(&v8ReturnValue)) { | 70 if (V8ScriptRunner::callFunction(m_callback.newLocal(m_scriptState->isolate())
, m_scriptState->getExecutionContext(), thisValue, 1, argv, m_scriptState->isola
te()).ToLocal(&v8ReturnValue)) { |
71 Vector<String> cppValue = toImplArray<Vector<String>>(v8ReturnValue, 0, m_sc
riptState->isolate(), exceptionState); | 71 Vector<String> cppValue = toImplArray<Vector<String>>(v8ReturnValue, 0, m_sc
riptState->isolate(), exceptionState); |
72 if (exceptionState.hadException()) | 72 if (exceptionState.hadException()) |
73 return false; | 73 return false; |
74 returnValue = cppValue; | 74 returnValue = cppValue; |
75 return true; | 75 return true; |
76 } | 76 } |
77 return false; | 77 return false; |
78 } | 78 } |
79 | 79 |
| 80 StringSequenceCallbackFunctionLongSequenceArg* NativeValueTraits<StringSequenceC
allbackFunctionLongSequenceArg>::nativeValue(v8::Isolate* isolate, v8::Local<v8:
:Value> value, ExceptionState& exceptionState) { |
| 81 return StringSequenceCallbackFunctionLongSequenceArg::create(ScriptState::curr
ent(isolate), value); |
| 82 } |
| 83 |
80 } // namespace blink | 84 } // namespace blink |
OLD | NEW |