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

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

Issue 386353002: Implement reflected attributes of HTMLMarqueeElement in Blink-in-JS (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
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 3463 matching lines...) Expand 10 before | Expand all | Expand 10 after
3474 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 3474 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
3475 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; 3475 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
3476 TestObjectV8Internal::reflectLongAttributeAttributeSetter(v8Value, info); 3476 TestObjectV8Internal::reflectLongAttributeAttributeSetter(v8Value, info);
3477 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 3477 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
3478 } 3478 }
3479 3479
3480 static void reflectUnsignedShortAttributeAttributeGetter(const v8::PropertyCallb ackInfo<v8::Value>& info) 3480 static void reflectUnsignedShortAttributeAttributeGetter(const v8::PropertyCallb ackInfo<v8::Value>& info)
3481 { 3481 {
3482 v8::Handle<v8::Object> holder = info.Holder(); 3482 v8::Handle<v8::Object> holder = info.Holder();
3483 TestObject* impl = V8TestObject::toNative(holder); 3483 TestObject* impl = V8TestObject::toNative(holder);
3484 v8SetReturnValueUnsigned(info, std::max(0, impl->fastGetAttribute(HTMLNames: :reflectunsignedshortattributeAttr))); 3484 v8SetReturnValueUnsigned(info, std::max(0, int(impl->fastGetAttribute(HTMLNa mes::reflectunsignedshortattributeAttr))));
3485 } 3485 }
3486 3486
3487 static void reflectUnsignedShortAttributeAttributeGetterCallback(v8::Local<v8::S tring>, const v8::PropertyCallbackInfo<v8::Value>& info) 3487 static void reflectUnsignedShortAttributeAttributeGetterCallback(v8::Local<v8::S tring>, const v8::PropertyCallbackInfo<v8::Value>& info)
3488 { 3488 {
3489 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 3489 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
3490 TestObjectV8Internal::reflectUnsignedShortAttributeAttributeGetter(info); 3490 TestObjectV8Internal::reflectUnsignedShortAttributeAttributeGetter(info);
3491 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 3491 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
3492 } 3492 }
3493 3493
3494 static void reflectUnsignedShortAttributeAttributeSetter(v8::Local<v8::Value> v8 Value, const v8::PropertyCallbackInfo<void>& info) 3494 static void reflectUnsignedShortAttributeAttributeSetter(v8::Local<v8::Value> v8 Value, const v8::PropertyCallbackInfo<void>& info)
(...skipping 11 matching lines...) Expand all
3506 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 3506 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
3507 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; 3507 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
3508 TestObjectV8Internal::reflectUnsignedShortAttributeAttributeSetter(v8Value, info); 3508 TestObjectV8Internal::reflectUnsignedShortAttributeAttributeSetter(v8Value, info);
3509 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 3509 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
3510 } 3510 }
3511 3511
3512 static void reflectUnsignedLongAttributeAttributeGetter(const v8::PropertyCallba ckInfo<v8::Value>& info) 3512 static void reflectUnsignedLongAttributeAttributeGetter(const v8::PropertyCallba ckInfo<v8::Value>& info)
3513 { 3513 {
3514 v8::Handle<v8::Object> holder = info.Holder(); 3514 v8::Handle<v8::Object> holder = info.Holder();
3515 TestObject* impl = V8TestObject::toNative(holder); 3515 TestObject* impl = V8TestObject::toNative(holder);
3516 v8SetReturnValueUnsigned(info, std::max(0, impl->getIntegralAttribute(HTMLNa mes::reflectunsignedlongattributeAttr))); 3516 v8SetReturnValueUnsigned(info, std::max(0, int(impl->getIntegralAttribute(HT MLNames::reflectunsignedlongattributeAttr))));
3517 } 3517 }
3518 3518
3519 static void reflectUnsignedLongAttributeAttributeGetterCallback(v8::Local<v8::St ring>, const v8::PropertyCallbackInfo<v8::Value>& info) 3519 static void reflectUnsignedLongAttributeAttributeGetterCallback(v8::Local<v8::St ring>, const v8::PropertyCallbackInfo<v8::Value>& info)
3520 { 3520 {
3521 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 3521 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
3522 TestObjectV8Internal::reflectUnsignedLongAttributeAttributeGetter(info); 3522 TestObjectV8Internal::reflectUnsignedLongAttributeAttributeGetter(info);
3523 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 3523 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
3524 } 3524 }
3525 3525
3526 static void reflectUnsignedLongAttributeAttributeSetter(v8::Local<v8::Value> v8V alue, const v8::PropertyCallbackInfo<void>& info) 3526 static void reflectUnsignedLongAttributeAttributeSetter(v8::Local<v8::Value> v8V alue, const v8::PropertyCallbackInfo<void>& info)
(...skipping 7511 matching lines...) Expand 10 before | Expand all | Expand 10 after
11038 fromInternalPointer(object)->deref(); 11038 fromInternalPointer(object)->deref();
11039 } 11039 }
11040 11040
11041 template<> 11041 template<>
11042 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 11042 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
11043 { 11043 {
11044 return toV8(impl, creationContext, isolate); 11044 return toV8(impl, creationContext, isolate);
11045 } 11045 }
11046 11046
11047 } // namespace WebCore 11047 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698