| Index: third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/CustomElementConstructorBuilder.h b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.h
|
| similarity index 81%
|
| rename from third_party/WebKit/Source/bindings/core/v8/CustomElementConstructorBuilder.h
|
| rename to third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.h
|
| index be6817aed7b5e2135e2bbd66e8852ad44fd695da..75ffde814df7fe28e8efb2ad519060b996a894bc 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/CustomElementConstructorBuilder.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.h
|
| @@ -28,13 +28,13 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef CustomElementConstructorBuilder_h
|
| -#define CustomElementConstructorBuilder_h
|
| +#ifndef V0CustomElementConstructorBuilder_h
|
| +#define V0CustomElementConstructorBuilder_h
|
|
|
| #include "bindings/core/v8/ScriptValue.h"
|
| -#include "bindings/core/v8/V8CustomElementLifecycleCallbacks.h"
|
| +#include "bindings/core/v8/V8V0CustomElementLifecycleCallbacks.h"
|
| #include "core/dom/QualifiedName.h"
|
| -#include "core/dom/custom/CustomElementLifecycleCallbacks.h"
|
| +#include "core/dom/custom/V0CustomElementLifecycleCallbacks.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefPtr.h"
|
| #include "wtf/text/AtomicString.h"
|
| @@ -42,7 +42,7 @@
|
|
|
| namespace blink {
|
|
|
| -class CustomElementDefinition;
|
| +class V0CustomElementDefinition;
|
| class Document;
|
| class ElementRegistrationOptions;
|
| class ExceptionState;
|
| @@ -53,11 +53,11 @@ struct WrapperTypeInfo;
|
| // registration algorithm and constructor generation algorithm. It is
|
| // used in the implementation of those algorithms in
|
| // Document::registerElement.
|
| -class CustomElementConstructorBuilder {
|
| - WTF_MAKE_NONCOPYABLE(CustomElementConstructorBuilder);
|
| +class V0CustomElementConstructorBuilder {
|
| + WTF_MAKE_NONCOPYABLE(V0CustomElementConstructorBuilder);
|
| STACK_ALLOCATED();
|
| public:
|
| - CustomElementConstructorBuilder(ScriptState*, const ElementRegistrationOptions&);
|
| + V0CustomElementConstructorBuilder(ScriptState*, const ElementRegistrationOptions&);
|
|
|
| // The builder accumulates state and may run script at specific
|
| // points. These methods must be called in order. When one fails
|
| @@ -65,8 +65,8 @@ public:
|
|
|
| bool isFeatureAllowed() const;
|
| bool validateOptions(const AtomicString& type, QualifiedName& tagName, ExceptionState&);
|
| - CustomElementLifecycleCallbacks* createCallbacks();
|
| - bool createConstructor(Document*, CustomElementDefinition*, ExceptionState&);
|
| + V0CustomElementLifecycleCallbacks* createCallbacks();
|
| + bool createConstructor(Document*, V0CustomElementDefinition*, ExceptionState&);
|
| bool didRegisterDefinition() const;
|
|
|
| // This method collects a return value for the bindings. It is
|
| @@ -83,9 +83,9 @@ private:
|
| const ElementRegistrationOptions& m_options;
|
| v8::Local<v8::Object> m_prototype;
|
| v8::Local<v8::Function> m_constructor;
|
| - Member<V8CustomElementLifecycleCallbacks> m_callbacks;
|
| + Member<V8V0CustomElementLifecycleCallbacks> m_callbacks;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // CustomElementConstructorBuilder_h
|
| +#endif // V0CustomElementConstructorBuilder_h
|
|
|