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

Side by Side Diff: Source/bindings/tests/results/V8SVGTestInterface.cpp

Issue 234403004: Rename V8TRYCATCH_* macros in v8/V8BindingMacros.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: BOOL*_BOOL -> BOOL* Created 6 years, 8 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
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 "V8SVGTestInterface.h" 8 #include "V8SVGTestInterface.h"
9 9
10 #include "RuntimeEnabledFeatures.h" 10 #include "RuntimeEnabledFeatures.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 { 55 {
56 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 56 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
57 SVGTestInterfaceV8Internal::typeAttributeGetter(info); 57 SVGTestInterfaceV8Internal::typeAttributeGetter(info);
58 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 58 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
59 } 59 }
60 60
61 static void typeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Property CallbackInfo<void>& info) 61 static void typeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Property CallbackInfo<void>& info)
62 { 62 {
63 v8::Handle<v8::Object> holder = info.Holder(); 63 v8::Handle<v8::Object> holder = info.Holder();
64 SVGTestInterface* impl = V8SVGTestInterface::toNative(holder); 64 SVGTestInterface* impl = V8SVGTestInterface::toNative(holder);
65 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); 65 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
66 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; 66 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
67 impl->setAttribute(SVGNames::typeAttr, cppValue); 67 impl->setAttribute(SVGNames::typeAttr, cppValue);
68 } 68 }
69 69
70 static void typeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Val ue> v8Value, const v8::PropertyCallbackInfo<void>& info) 70 static void typeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Val ue> v8Value, const v8::PropertyCallbackInfo<void>& info)
71 { 71 {
72 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 72 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
73 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; 73 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
74 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); 74 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info);
75 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 75 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 fromInternalPointer(object)->deref(); 152 fromInternalPointer(object)->deref();
153 } 153 }
154 154
155 template<> 155 template<>
156 v8::Handle<v8::Value> toV8NoInline(SVGTestInterface* impl, v8::Handle<v8::Object > creationContext, v8::Isolate* isolate) 156 v8::Handle<v8::Value> toV8NoInline(SVGTestInterface* impl, v8::Handle<v8::Object > creationContext, v8::Isolate* isolate)
157 { 157 {
158 return toV8(impl, creationContext, isolate); 158 return toV8(impl, creationContext, isolate);
159 } 159 }
160 160
161 } // namespace WebCore 161 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/results/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698