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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.h

Issue 2424693002: Custom Elements: Complete HTMLConstructor Algorithm (Closed)
Patch Set: Redefinition guard Created 4 years, 2 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/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
« no previous file with comments | « third_party/WebKit/Source/bindings/bindings.gni ('k') | third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698