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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp

Issue 1914923002: Rename all existing custom element classes as V0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CustomElementV0 -> V0CustomElement Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
index 90f40429aea05eb39c7772c8557e7cba648ef282..0e307f17f26ae77cfe986791f491ac06e8f89e39 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
@@ -56,7 +56,7 @@
#include "core/dom/Document.h"
#include "core/dom/FlexibleArrayBufferView.h"
#include "core/dom/TagCollection.h"
-#include "core/dom/custom/CustomElementProcessingStack.h"
+#include "core/dom/custom/V0CustomElementProcessingStack.h"
#include "core/frame/Deprecation.h"
#include "core/frame/LocalFrame.h"
#include "core/frame/UseCounter.h"
@@ -3515,14 +3515,14 @@ static void reflectTestInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8
exceptionState.throwIfNeeded();
return;
}
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::reflecttestinterfaceattributeAttr, cppValue);
}
static void reflectTestInterfaceAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::reflectTestInterfaceAttributeAttributeSetter(v8Value, info);
}
@@ -3549,14 +3549,14 @@ static void reflectReflectedNameAttributeTestAttributeAttributeSetter(v8::Local<
exceptionState.throwIfNeeded();
return;
}
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::reflectedNameAttributeAttr, cppValue);
}
static void reflectReflectedNameAttributeTestAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::reflectReflectedNameAttributeTestAttributeAttributeSetter(v8Value, info);
}
@@ -3580,14 +3580,14 @@ static void reflectBooleanAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
bool cppValue = toBoolean(info.GetIsolate(), v8Value, exceptionState);
if (exceptionState.throwIfNeeded())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setBooleanAttribute(HTMLNames::reflectbooleanattributeAttr, cppValue);
}
static void reflectBooleanAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::reflectBooleanAttributeAttributeSetter(v8Value, info);
}
@@ -3611,14 +3611,14 @@ static void reflectLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, co
int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState);
if (exceptionState.throwIfNeeded())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setIntegralAttribute(HTMLNames::reflectlongattributeAttr, cppValue);
}
static void reflectLongAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::reflectLongAttributeAttributeSetter(v8Value, info);
}
@@ -3642,14 +3642,14 @@ static void reflectUnsignedShortAttributeAttributeSetter(v8::Local<v8::Value> v8
unsigned cppValue = toUInt16(info.GetIsolate(), v8Value, NormalConversion, exceptionState);
if (exceptionState.throwIfNeeded())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::reflectunsignedshortattributeAttr, cppValue);
}
static void reflectUnsignedShortAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::reflectUnsignedShortAttributeAttributeSetter(v8Value, info);
}
@@ -3673,14 +3673,14 @@ static void reflectUnsignedLongAttributeAttributeSetter(v8::Local<v8::Value> v8V
unsigned cppValue = toUInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState);
if (exceptionState.throwIfNeeded())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setUnsignedIntegralAttribute(HTMLNames::reflectunsignedlongattributeAttr, cppValue);
}
static void reflectUnsignedLongAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::reflectUnsignedLongAttributeAttributeSetter(v8Value, info);
}
@@ -3703,14 +3703,14 @@ static void idAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCa
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::idAttr, cppValue);
}
static void idAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::idAttributeSetter(v8Value, info);
}
@@ -3733,14 +3733,14 @@ static void nameAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Function
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::nameAttr, cppValue);
}
static void nameAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::nameAttributeSetter(v8Value, info);
}
@@ -3763,14 +3763,14 @@ static void classAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Functio
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::classAttr, cppValue);
}
static void classAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::classAttributeSetter(v8Value, info);
}
@@ -3793,14 +3793,14 @@ static void reflectedIdAttributeSetter(v8::Local<v8::Value> v8Value, const v8::F
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::idAttr, cppValue);
}
static void reflectedIdAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::reflectedIdAttributeSetter(v8Value, info);
}
@@ -3823,14 +3823,14 @@ static void reflectedNameAttributeSetter(v8::Local<v8::Value> v8Value, const v8:
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::nameAttr, cppValue);
}
static void reflectedNameAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::reflectedNameAttributeSetter(v8Value, info);
}
@@ -3853,14 +3853,14 @@ static void reflectedClassAttributeSetter(v8::Local<v8::Value> v8Value, const v8
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::classAttr, cppValue);
}
static void reflectedClassAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::reflectedClassAttributeSetter(v8Value, info);
}
@@ -3891,14 +3891,14 @@ static void limitedToOnlyOneAttributeAttributeSetter(v8::Local<v8::Value> v8Valu
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::limitedtoonlyoneattributeAttr, cppValue);
}
static void limitedToOnlyOneAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::limitedToOnlyOneAttributeAttributeSetter(v8Value, info);
}
@@ -3933,14 +3933,14 @@ static void limitedToOnlyAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::limitedtoonlyattributeAttr, cppValue);
}
static void limitedToOnlyAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::limitedToOnlyAttributeAttributeSetter(v8Value, info);
}
@@ -3973,14 +3973,14 @@ static void limitedToOnlyOtherAttributeAttributeSetter(v8::Local<v8::Value> v8Va
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::otherAttr, cppValue);
}
static void limitedToOnlyOtherAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::limitedToOnlyOtherAttributeAttributeSetter(v8Value, info);
}
@@ -4013,14 +4013,14 @@ static void limitedWithMissingDefaultAttributeAttributeSetter(v8::Local<v8::Valu
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::limitedwithmissingdefaultattributeAttr, cppValue);
}
static void limitedWithMissingDefaultAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::limitedWithMissingDefaultAttributeAttributeSetter(v8Value, info);
}
@@ -4055,14 +4055,14 @@ static void limitedWithInvalidMissingDefaultAttributeAttributeSetter(v8::Local<v
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::limitedwithinvalidmissingdefaultattributeAttr, cppValue);
}
static void limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::limitedWithInvalidMissingDefaultAttributeAttributeSetter(v8Value, info);
}
@@ -4415,14 +4415,14 @@ static void urlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, cons
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::urlstringattributeAttr, cppValue);
}
static void urlStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::urlStringAttributeAttributeSetter(v8Value, info);
}
@@ -4445,14 +4445,14 @@ static void urlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, cons
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(HTMLNames::reflectUrlAttributeAttr, cppValue);
}
static void urlStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
TestObjectV8Internal::urlStringAttributeAttributeSetter(v8Value, info);
}
@@ -9373,7 +9373,7 @@ static void customCallEpilogueVoidMethodMethodCallback(const v8::FunctionCallbac
static void customElementCallbacksVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestObject* impl = V8TestObject::toImpl(info.Holder());
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->customElementCallbacksVoidMethod();
}

Powered by Google App Engine
This is Rietveld 408576698