| Index: third_party/WebKit/Source/core/dom/custom/CustomElementDefinitionBuilder.h
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinitionBuilder.h b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinitionBuilder.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d92aeeeb40543f8906c96fe42471a951bddc0de1
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinitionBuilder.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CustomElementDefinitionBuilder_h
|
| +#define CustomElementDefinitionBuilder_h
|
| +
|
| +#include "core/CoreExport.h"
|
| +#include "wtf/Allocator.h"
|
| +#include "wtf/Noncopyable.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class CustomElementDefinition;
|
| +class CustomElementDescriptor;
|
| +class CustomElementsRegistry;
|
| +class ExceptionState;
|
| +class ScriptState;
|
| +class ScriptValue;
|
| +
|
| +class CORE_EXPORT CustomElementDefinitionBuilder {
|
| + STACK_ALLOCATED();
|
| + WTF_MAKE_NONCOPYABLE(CustomElementDefinitionBuilder);
|
| +public:
|
| + CustomElementDefinitionBuilder() { }
|
| + virtual void checkConstructorIntrinsics() = 0;
|
| + virtual void checkConstructorNotRegistered() = 0;
|
| + virtual bool checkPrototype() = 0;
|
| + virtual CustomElementDefinition* build(const CustomElementDescriptor&) = 0;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // CustomElementDefinitionBuilder_h
|
|
|