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

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

Issue 2424693002: Custom Elements: Complete HTMLConstructor Algorithm (Closed)
Patch Set: Updated expected test results 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..f8d1890f0b893cc59eddc610204b9bf32e76cbca
--- /dev/null
+++ b/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.h
@@ -0,0 +1,29 @@
+// 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.
+
+#include "bindings/core/v8/DOMWrapperWorld.h"
+#include "bindings/core/v8/ExceptionState.h"
+#include "bindings/core/v8/ScriptCustomElementDefinition.h"
+#include "bindings/core/v8/V8Binding.h"
+#include "bindings/core/v8/V8BindingMacros.h"
+#include "bindings/core/v8/V8HTMLElement.h"
+#include "core/dom/Document.h"
+#include "core/dom/Element.h"
+#include "core/dom/ExceptionCode.h"
+#include "core/dom/custom/CustomElementRegistry.h"
+#include "core/frame/LocalDOMWindow.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

Powered by Google App Engine
This is Rietveld 408576698