| Index: third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.h b/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b784f80355cd776fd3cfc03068f3b4e714b0abc8
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.h
|
| @@ -0,0 +1,26 @@
|
| +// 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 V8HTMLConstructor_h
|
| +#define V8HTMLConstructor_h
|
| +
|
| +#include "bindings/core/v8/WrapperTypeInfo.h"
|
| +#include "core/HTMLElementTypeHelpers.h"
|
| +#include <v8.h>
|
| +
|
| +namespace blink {
|
| +
|
| +// https://html.spec.whatwg.org/multipage/dom.html#html-element-constructors
|
| +class CORE_EXPORT V8HTMLConstructor {
|
| + STATIC_ONLY(V8HTMLConstructor)
|
| +
|
| + public:
|
| + static void htmlConstructor(const v8::FunctionCallbackInfo<v8::Value>&,
|
| + const WrapperTypeInfo&,
|
| + const HTMLElementType);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // V8HTMLConstructor_h
|
|
|