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

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

Issue 213783002: Pass current value of attributes to WebDOMActivityLogger Setter logs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Nils's 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
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 "HTMLNames.h" 10 #include "HTMLNames.h"
(...skipping 1579 matching lines...) Expand 10 before | Expand all | Expand 10 after
1590 v8::Handle<v8::Object> holder = info.Holder(); 1590 v8::Handle<v8::Object> holder = info.Holder();
1591 TestObject* impl = V8TestObject::toNative(holder); 1591 TestObject* impl = V8TestObject::toNative(holder);
1592 v8SetReturnValueInt(info, impl->activityLoggingAccessForAllWorldsLongAttribu te()); 1592 v8SetReturnValueInt(info, impl->activityLoggingAccessForAllWorldsLongAttribu te());
1593 } 1593 }
1594 1594
1595 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallbac k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 1595 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallbac k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
1596 { 1596 {
1597 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1597 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1598 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 1598 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
1599 if (contextData && contextData->activityLogger()) 1599 if (contextData && contextData->activityLogger())
1600 contextData->activityLogger()->log("TestObject.activityLoggingAccessForA llWorldsLongAttribute", 0, 0, "Getter"); 1600 contextData->activityLogger()->logGetter("TestObject.activityLoggingAcce ssForAllWorldsLongAttribute");
1601 TestObjectV8Internal::activityLoggingAccessForAllWorldsLongAttributeAttribut eGetter(info); 1601 TestObjectV8Internal::activityLoggingAccessForAllWorldsLongAttributeAttribut eGetter(info);
1602 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 1602 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
1603 } 1603 }
1604 1604
1605 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetter(v8::Lo cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 1605 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetter(v8::Lo cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
1606 { 1606 {
1607 v8::Handle<v8::Object> holder = info.Holder(); 1607 v8::Handle<v8::Object> holder = info.Holder();
1608 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gAccessForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); 1608 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gAccessForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate());
1609 TestObject* impl = V8TestObject::toNative(holder); 1609 TestObject* impl = V8TestObject::toNative(holder);
1610 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState); 1610 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState);
1611 impl->setActivityLoggingAccessForAllWorldsLongAttribute(cppValue); 1611 impl->setActivityLoggingAccessForAllWorldsLongAttribute(cppValue);
1612 } 1612 }
1613 1613
1614 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallbac k(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbac kInfo<void>& info) 1614 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallbac k(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbac kInfo<void>& info)
1615 { 1615 {
1616 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 1616 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1617 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 1617 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
1618 if (contextData && contextData->activityLogger()) { 1618 if (contextData && contextData->activityLogger()) {
1619 v8::Handle<v8::Value> loggerArg[] = { v8Value }; 1619 contextData->activityLogger()->logSetter("TestObject.activityLoggingAcce ssForAllWorldsLongAttribute", v8Value);
1620 contextData->activityLogger()->log("TestObject.activityLoggingAccessForA llWorldsLongAttribute", 1, &loggerArg[0], "Setter");
1621 } 1620 }
1622 TestObjectV8Internal::activityLoggingAccessForAllWorldsLongAttributeAttribut eSetter(v8Value, info); 1621 TestObjectV8Internal::activityLoggingAccessForAllWorldsLongAttributeAttribut eSetter(v8Value, info);
1623 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 1622 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
1624 } 1623 }
1625 1624
1626 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) 1625 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
1627 { 1626 {
1628 v8::Handle<v8::Object> holder = info.Holder(); 1627 v8::Handle<v8::Object> holder = info.Holder();
1629 TestObject* impl = V8TestObject::toNative(holder); 1628 TestObject* impl = V8TestObject::toNative(holder);
1630 v8SetReturnValueInt(info, impl->activityLoggingGetterForAllWorldsLongAttribu te()); 1629 v8SetReturnValueInt(info, impl->activityLoggingGetterForAllWorldsLongAttribu te());
1631 } 1630 }
1632 1631
1633 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallbac k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 1632 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallbac k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
1634 { 1633 {
1635 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1634 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1636 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 1635 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
1637 if (contextData && contextData->activityLogger()) 1636 if (contextData && contextData->activityLogger())
1638 contextData->activityLogger()->log("TestObject.activityLoggingGetterForA llWorldsLongAttribute", 0, 0, "Getter"); 1637 contextData->activityLogger()->logGetter("TestObject.activityLoggingGett erForAllWorldsLongAttribute");
1639 TestObjectV8Internal::activityLoggingGetterForAllWorldsLongAttributeAttribut eGetter(info); 1638 TestObjectV8Internal::activityLoggingGetterForAllWorldsLongAttributeAttribut eGetter(info);
1640 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 1639 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
1641 } 1640 }
1642 1641
1643 static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetter(v8::Lo cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 1642 static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetter(v8::Lo cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
1644 { 1643 {
1645 v8::Handle<v8::Object> holder = info.Holder(); 1644 v8::Handle<v8::Object> holder = info.Holder();
1646 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gGetterForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); 1645 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gGetterForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate());
1647 TestObject* impl = V8TestObject::toNative(holder); 1646 TestObject* impl = V8TestObject::toNative(holder);
1648 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState); 1647 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState);
(...skipping 28 matching lines...) Expand all
1677 TestObject* impl = V8TestObject::toNative(holder); 1676 TestObject* impl = V8TestObject::toNative(holder);
1678 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState); 1677 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState);
1679 impl->setActivityLoggingSetterForAllWorldsLongAttribute(cppValue); 1678 impl->setActivityLoggingSetterForAllWorldsLongAttribute(cppValue);
1680 } 1679 }
1681 1680
1682 static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallbac k(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbac kInfo<void>& info) 1681 static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallbac k(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbac kInfo<void>& info)
1683 { 1682 {
1684 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 1683 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1685 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 1684 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
1686 if (contextData && contextData->activityLogger()) { 1685 if (contextData && contextData->activityLogger()) {
1687 v8::Handle<v8::Value> loggerArg[] = { v8Value }; 1686 contextData->activityLogger()->logSetter("TestObject.activityLoggingSett erForAllWorldsLongAttribute", v8Value);
1688 contextData->activityLogger()->log("TestObject.activityLoggingSetterForA llWorldsLongAttribute", 1, &loggerArg[0], "Setter");
1689 } 1687 }
1690 TestObjectV8Internal::activityLoggingSetterForAllWorldsLongAttributeAttribut eSetter(v8Value, info); 1688 TestObjectV8Internal::activityLoggingSetterForAllWorldsLongAttributeAttribut eSetter(v8Value, info);
1691 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 1689 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
1692 } 1690 }
1693 1691
1694 static void cachedAttributeAnyAttributeAttributeGetter(const v8::PropertyCallbac kInfo<v8::Value>& info) 1692 static void cachedAttributeAnyAttributeAttributeGetter(const v8::PropertyCallbac kInfo<v8::Value>& info)
1695 { 1693 {
1696 v8::Handle<v8::Object> holder = info.Holder(); 1694 v8::Handle<v8::Object> holder = info.Holder();
1697 v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cac hedAttributeAnyAttribute"); 1695 v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cac hedAttributeAnyAttribute");
1698 TestObject* impl = V8TestObject::toNative(holder); 1696 TestObject* impl = V8TestObject::toNative(holder);
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
2463 v8::Handle<v8::Object> holder = info.Holder(); 2461 v8::Handle<v8::Object> holder = info.Holder();
2464 TestObject* impl = V8TestObject::toNative(holder); 2462 TestObject* impl = V8TestObject::toNative(holder);
2465 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt ribute()); 2463 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt ribute());
2466 } 2464 }
2467 2465
2468 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 2466 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
2469 { 2467 {
2470 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 2468 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2471 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 2469 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
2472 if (contextData && contextData->activityLogger()) 2470 if (contextData && contextData->activityLogger())
2473 contextData->activityLogger()->log("TestObject.activityLoggingAccessPerW orldBindingsLongAttribute", 0, 0, "Getter"); 2471 contextData->activityLogger()->logGetter("TestObject.activityLoggingAcce ssPerWorldBindingsLongAttribute");
2474 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr ibuteGetter(info); 2472 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr ibuteGetter(info);
2475 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2473 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2476 } 2474 }
2477 2475
2478 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetter(v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 2476 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetter(v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
2479 { 2477 {
2480 v8::Handle<v8::Object> holder = info.Holder(); 2478 v8::Handle<v8::Object> holder = info.Holder();
2481 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); 2479 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
2482 TestObject* impl = V8TestObject::toNative(holder); 2480 TestObject* impl = V8TestObject::toNative(holder);
2483 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState); 2481 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState);
2484 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); 2482 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue);
2485 } 2483 }
2486 2484
2487 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal lbackInfo<void>& info) 2485 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal lbackInfo<void>& info)
2488 { 2486 {
2489 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 2487 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
2490 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 2488 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
2491 if (contextData && contextData->activityLogger()) { 2489 if (contextData && contextData->activityLogger()) {
2492 v8::Handle<v8::Value> loggerArg[] = { v8Value }; 2490 contextData->activityLogger()->logSetter("TestObject.activityLoggingAcce ssPerWorldBindingsLongAttribute", v8Value);
2493 contextData->activityLogger()->log("TestObject.activityLoggingAccessPerW orldBindingsLongAttribute", 1, &loggerArg[0], "Setter");
2494 } 2491 }
2495 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr ibuteSetter(v8Value, info); 2492 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr ibuteSetter(v8Value, info);
2496 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2493 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2497 } 2494 }
2498 2495
2499 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterFor MainWorld(const v8::PropertyCallbackInfo<v8::Value>& info) 2496 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterFor MainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
2500 { 2497 {
2501 v8::Handle<v8::Object> holder = info.Holder(); 2498 v8::Handle<v8::Object> holder = info.Holder();
2502 TestObject* impl = V8TestObject::toNative(holder); 2499 TestObject* impl = V8TestObject::toNative(holder);
2503 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt ribute()); 2500 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt ribute());
2504 } 2501 }
2505 2502
2506 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu e>& info) 2503 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu e>& info)
2507 { 2504 {
2508 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 2505 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2509 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 2506 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
2510 if (contextData && contextData->activityLogger()) 2507 if (contextData && contextData->activityLogger())
2511 contextData->activityLogger()->log("TestObject.activityLoggingAccessPerW orldBindingsLongAttribute", 0, 0, "Getter"); 2508 contextData->activityLogger()->logGetter("TestObject.activityLoggingAcce ssPerWorldBindingsLongAttribute");
2512 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr ibuteGetterForMainWorld(info); 2509 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr ibuteGetterForMainWorld(info);
2513 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2510 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2514 } 2511 }
2515 2512
2516 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterFor MainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& in fo) 2513 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterFor MainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& in fo)
2517 { 2514 {
2518 v8::Handle<v8::Object> holder = info.Holder(); 2515 v8::Handle<v8::Object> holder = info.Holder();
2519 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); 2516 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
2520 TestObject* impl = V8TestObject::toNative(holder); 2517 TestObject* impl = V8TestObject::toNative(holder);
2521 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState); 2518 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState);
2522 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); 2519 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue);
2523 } 2520 }
2524 2521
2525 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal lbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8: :PropertyCallbackInfo<void>& info) 2522 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal lbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8: :PropertyCallbackInfo<void>& info)
2526 { 2523 {
2527 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 2524 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
2528 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 2525 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
2529 if (contextData && contextData->activityLogger()) { 2526 if (contextData && contextData->activityLogger()) {
2530 v8::Handle<v8::Value> loggerArg[] = { v8Value }; 2527 contextData->activityLogger()->logSetter("TestObject.activityLoggingAcce ssPerWorldBindingsLongAttribute", v8Value);
2531 contextData->activityLogger()->log("TestObject.activityLoggingAccessPerW orldBindingsLongAttribute", 1, &loggerArg[0], "Setter");
2532 } 2528 }
2533 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr ibuteSetterForMainWorld(v8Value, info); 2529 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr ibuteSetterForMainWorld(v8Value, info);
2534 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2530 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2535 } 2531 }
2536 2532
2537 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) 2533 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
2538 { 2534 {
2539 v8::Handle<v8::Object> holder = info.Holder(); 2535 v8::Handle<v8::Object> holder = info.Holder();
2540 TestObject* impl = V8TestObject::toNative(holder); 2536 TestObject* impl = V8TestObject::toNative(holder);
2541 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor ldBindingsLongAttribute()); 2537 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor ldBindingsLongAttribute());
2542 } 2538 }
2543 2539
2544 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8: :Value>& info) 2540 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8: :Value>& info)
2545 { 2541 {
2546 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 2542 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2547 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 2543 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
2548 if (contextData && contextData->activityLogger()) 2544 if (contextData && contextData->activityLogger())
2549 contextData->activityLogger()->log("TestObject.activityLoggingAccessForI solatedWorldsPerWorldBindingsLongAttribute", 0, 0, "Getter"); 2545 contextData->activityLogger()->logGetter("TestObject.activityLoggingAcce ssForIsolatedWorldsPerWorldBindingsLongAttribute");
2550 TestObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindings LongAttributeAttributeGetter(info); 2546 TestObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindings LongAttributeAttributeGetter(info);
2551 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2547 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2552 } 2548 }
2553 2549
2554 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void >& info) 2550 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void >& info)
2555 { 2551 {
2556 v8::Handle<v8::Object> holder = info.Holder(); 2552 v8::Handle<v8::Object> holder = info.Holder();
2557 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, in fo.GetIsolate()); 2553 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, in fo.GetIsolate());
2558 TestObject* impl = V8TestObject::toNative(holder); 2554 TestObject* impl = V8TestObject::toNative(holder);
2559 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState); 2555 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState);
2560 impl->setActivityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute (cppValue); 2556 impl->setActivityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute (cppValue);
2561 } 2557 }
2562 2558
2563 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, cons t v8::PropertyCallbackInfo<void>& info) 2559 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, cons t v8::PropertyCallbackInfo<void>& info)
2564 { 2560 {
2565 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 2561 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
2566 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 2562 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
2567 if (contextData && contextData->activityLogger()) { 2563 if (contextData && contextData->activityLogger()) {
2568 v8::Handle<v8::Value> loggerArg[] = { v8Value }; 2564 contextData->activityLogger()->logSetter("TestObject.activityLoggingAcce ssForIsolatedWorldsPerWorldBindingsLongAttribute", v8Value);
2569 contextData->activityLogger()->log("TestObject.activityLoggingAccessForI solatedWorldsPerWorldBindingsLongAttribute", 1, &loggerArg[0], "Setter");
2570 } 2565 }
2571 TestObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindings LongAttributeAttributeSetter(v8Value, info); 2566 TestObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindings LongAttributeAttributeSetter(v8Value, info);
2572 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2567 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2573 } 2568 }
2574 2569
2575 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info) 2570 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
2576 { 2571 {
2577 v8::Handle<v8::Object> holder = info.Holder(); 2572 v8::Handle<v8::Object> holder = info.Holder();
2578 TestObject* impl = V8TestObject::toNative(holder); 2573 TestObject* impl = V8TestObject::toNative(holder);
2579 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor ldBindingsLongAttribute()); 2574 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor ldBindingsLongAttribute());
(...skipping 27 matching lines...) Expand all
2607 v8::Handle<v8::Object> holder = info.Holder(); 2602 v8::Handle<v8::Object> holder = info.Holder();
2608 TestObject* impl = V8TestObject::toNative(holder); 2603 TestObject* impl = V8TestObject::toNative(holder);
2609 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt ribute()); 2604 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt ribute());
2610 } 2605 }
2611 2606
2612 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 2607 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
2613 { 2608 {
2614 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 2609 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2615 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 2610 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
2616 if (contextData && contextData->activityLogger()) 2611 if (contextData && contextData->activityLogger())
2617 contextData->activityLogger()->log("TestObject.activityLoggingGetterPerW orldBindingsLongAttribute", 0, 0, "Getter"); 2612 contextData->activityLogger()->logGetter("TestObject.activityLoggingGett erPerWorldBindingsLongAttribute");
2618 TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttr ibuteGetter(info); 2613 TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttr ibuteGetter(info);
2619 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2614 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2620 } 2615 }
2621 2616
2622 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetter(v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 2617 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetter(v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
2623 { 2618 {
2624 v8::Handle<v8::Object> holder = info.Holder(); 2619 v8::Handle<v8::Object> holder = info.Holder();
2625 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); 2620 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
2626 TestObject* impl = V8TestObject::toNative(holder); 2621 TestObject* impl = V8TestObject::toNative(holder);
2627 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState); 2622 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState);
(...skipping 12 matching lines...) Expand all
2640 v8::Handle<v8::Object> holder = info.Holder(); 2635 v8::Handle<v8::Object> holder = info.Holder();
2641 TestObject* impl = V8TestObject::toNative(holder); 2636 TestObject* impl = V8TestObject::toNative(holder);
2642 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt ribute()); 2637 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt ribute());
2643 } 2638 }
2644 2639
2645 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu e>& info) 2640 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu e>& info)
2646 { 2641 {
2647 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 2642 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2648 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 2643 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
2649 if (contextData && contextData->activityLogger()) 2644 if (contextData && contextData->activityLogger())
2650 contextData->activityLogger()->log("TestObject.activityLoggingGetterPerW orldBindingsLongAttribute", 0, 0, "Getter"); 2645 contextData->activityLogger()->logGetter("TestObject.activityLoggingGett erPerWorldBindingsLongAttribute");
2651 TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttr ibuteGetterForMainWorld(info); 2646 TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttr ibuteGetterForMainWorld(info);
2652 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2647 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2653 } 2648 }
2654 2649
2655 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterFor MainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& in fo) 2650 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterFor MainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& in fo)
2656 { 2651 {
2657 v8::Handle<v8::Object> holder = info.Holder(); 2652 v8::Handle<v8::Object> holder = info.Holder();
2658 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); 2653 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
2659 TestObject* impl = V8TestObject::toNative(holder); 2654 TestObject* impl = V8TestObject::toNative(holder);
2660 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState); 2655 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState);
(...skipping 12 matching lines...) Expand all
2673 v8::Handle<v8::Object> holder = info.Holder(); 2668 v8::Handle<v8::Object> holder = info.Holder();
2674 TestObject* impl = V8TestObject::toNative(holder); 2669 TestObject* impl = V8TestObject::toNative(holder);
2675 v8SetReturnValueInt(info, impl->activityLoggingGetterForIsolatedWorldsPerWor ldBindingsLongAttribute()); 2670 v8SetReturnValueInt(info, impl->activityLoggingGetterForIsolatedWorldsPerWor ldBindingsLongAttribute());
2676 } 2671 }
2677 2672
2678 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8: :Value>& info) 2673 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8: :Value>& info)
2679 { 2674 {
2680 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 2675 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2681 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 2676 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
2682 if (contextData && contextData->activityLogger()) 2677 if (contextData && contextData->activityLogger())
2683 contextData->activityLogger()->log("TestObject.activityLoggingGetterForI solatedWorldsPerWorldBindingsLongAttribute", 0, 0, "Getter"); 2678 contextData->activityLogger()->logGetter("TestObject.activityLoggingGett erForIsolatedWorldsPerWorldBindingsLongAttribute");
2684 TestObjectV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindings LongAttributeAttributeGetter(info); 2679 TestObjectV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindings LongAttributeAttributeGetter(info);
2685 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2680 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2686 } 2681 }
2687 2682
2688 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void >& info) 2683 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA ttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void >& info)
2689 { 2684 {
2690 v8::Handle<v8::Object> holder = info.Holder(); 2685 v8::Handle<v8::Object> holder = info.Holder();
2691 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, in fo.GetIsolate()); 2686 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, in fo.GetIsolate());
2692 TestObject* impl = V8TestObject::toNative(holder); 2687 TestObject* impl = V8TestObject::toNative(holder);
2693 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState); 2688 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState);
(...skipping 4368 matching lines...) Expand 10 before | Expand all | Expand 10 after
7062 TestObject* impl = V8TestObject::toNative(info.Holder()); 7057 TestObject* impl = V8TestObject::toNative(info.Holder());
7063 impl->activityLoggingAccessForAllWorldsMethod(); 7058 impl->activityLoggingAccessForAllWorldsMethod();
7064 } 7059 }
7065 7060
7066 static void activityLoggingAccessForAllWorldsMethodMethodCallback(const v8::Func tionCallbackInfo<v8::Value>& info) 7061 static void activityLoggingAccessForAllWorldsMethodMethodCallback(const v8::Func tionCallbackInfo<v8::Value>& info)
7067 { 7062 {
7068 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 7063 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
7069 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 7064 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
7070 if (contextData && contextData->activityLogger()) { 7065 if (contextData && contextData->activityLogger()) {
7071 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle <v8::Value> >(info, 0); 7066 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle <v8::Value> >(info, 0);
7072 contextData->activityLogger()->log("TestObject.activityLoggingAccessForA llWorldsMethod", info.Length(), loggerArgs.data(), "Method"); 7067 contextData->activityLogger()->logMethod("TestObject.activityLoggingAcce ssForAllWorldsMethod", info.Length(), loggerArgs.data());
7073 } 7068 }
7074 TestObjectV8Internal::activityLoggingAccessForAllWorldsMethodMethod(info); 7069 TestObjectV8Internal::activityLoggingAccessForAllWorldsMethodMethod(info);
7075 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 7070 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
7076 } 7071 }
7077 7072
7078 static void callWithScriptStateVoidMethodMethod(const v8::FunctionCallbackInfo<v 8::Value>& info) 7073 static void callWithScriptStateVoidMethodMethod(const v8::FunctionCallbackInfo<v 8::Value>& info)
7079 { 7074 {
7080 TestObject* impl = V8TestObject::toNative(info.Holder()); 7075 TestObject* impl = V8TestObject::toNative(info.Holder());
7081 ScriptState* state = ScriptState::current(); 7076 ScriptState* state = ScriptState::current();
7082 if (!state) 7077 if (!state)
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
7534 TestObject* impl = V8TestObject::toNative(info.Holder()); 7529 TestObject* impl = V8TestObject::toNative(info.Holder());
7535 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); 7530 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod();
7536 } 7531 }
7537 7532
7538 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback( const v8::FunctionCallbackInfo<v8::Value>& info) 7533 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback( const v8::FunctionCallbackInfo<v8::Value>& info)
7539 { 7534 {
7540 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 7535 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
7541 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 7536 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
7542 if (contextData && contextData->activityLogger()) { 7537 if (contextData && contextData->activityLogger()) {
7543 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle <v8::Value> >(info, 0); 7538 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle <v8::Value> >(info, 0);
7544 contextData->activityLogger()->log("TestObject.activityLoggingForAllWorl dsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data(), "Method"); 7539 contextData->activityLogger()->logMethod("TestObject.activityLoggingForA llWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data());
7545 } 7540 }
7546 TestObjectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodM ethod(info); 7541 TestObjectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodM ethod(info);
7547 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 7542 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
7548 } 7543 }
7549 7544
7550 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodForMainWo rld(const v8::FunctionCallbackInfo<v8::Value>& info) 7545 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodForMainWo rld(const v8::FunctionCallbackInfo<v8::Value>& info)
7551 { 7546 {
7552 TestObject* impl = V8TestObject::toNative(info.Holder()); 7547 TestObject* impl = V8TestObject::toNative(info.Holder());
7553 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); 7548 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod();
7554 } 7549 }
7555 7550
7556 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallbackF orMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) 7551 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallbackF orMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info)
7557 { 7552 {
7558 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 7553 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
7559 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 7554 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
7560 if (contextData && contextData->activityLogger()) { 7555 if (contextData && contextData->activityLogger()) {
7561 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle <v8::Value> >(info, 0); 7556 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle <v8::Value> >(info, 0);
7562 contextData->activityLogger()->log("TestObject.activityLoggingForAllWorl dsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data(), "Method"); 7557 contextData->activityLogger()->logMethod("TestObject.activityLoggingForA llWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data());
7563 } 7558 }
7564 TestObjectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodM ethodForMainWorld(info); 7559 TestObjectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodM ethodForMainWorld(info);
7565 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 7560 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
7566 } 7561 }
7567 7562
7568 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethod(con st v8::FunctionCallbackInfo<v8::Value>& info) 7563 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethod(con st v8::FunctionCallbackInfo<v8::Value>& info)
7569 { 7564 {
7570 TestObject* impl = V8TestObject::toNative(info.Holder()); 7565 TestObject* impl = V8TestObject::toNative(info.Holder());
7571 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod(); 7566 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod();
7572 } 7567 }
7573 7568
7574 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCall back(const v8::FunctionCallbackInfo<v8::Value>& info) 7569 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCall back(const v8::FunctionCallbackInfo<v8::Value>& info)
7575 { 7570 {
7576 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 7571 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
7577 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 7572 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
7578 if (contextData && contextData->activityLogger()) { 7573 if (contextData && contextData->activityLogger()) {
7579 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle <v8::Value> >(info, 0); 7574 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle <v8::Value> >(info, 0);
7580 contextData->activityLogger()->log("TestObject.activityLoggingForIsolate dWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data(), "Method"); 7575 contextData->activityLogger()->logMethod("TestObject.activityLoggingForI solatedWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data());
7581 } 7576 }
7582 TestObjectV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMe thodMethod(info); 7577 TestObjectV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMe thodMethod(info);
7583 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 7578 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
7584 } 7579 }
7585 7580
7586 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodForM ainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) 7581 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodForM ainWorld(const v8::FunctionCallbackInfo<v8::Value>& info)
7587 { 7582 {
7588 TestObject* impl = V8TestObject::toNative(info.Holder()); 7583 TestObject* impl = V8TestObject::toNative(info.Holder());
7589 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod(); 7584 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod();
7590 } 7585 }
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
8462 fromInternalPointer(object)->deref(); 8457 fromInternalPointer(object)->deref();
8463 } 8458 }
8464 8459
8465 template<> 8460 template<>
8466 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 8461 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
8467 { 8462 {
8468 return toV8(impl, creationContext, isolate); 8463 return toV8(impl, creationContext, isolate);
8469 } 8464 }
8470 8465
8471 } // namespace WebCore 8466 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698