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

Unified Diff: Source/core/html/HTMLMenuItemElement.cpp

Issue 443373002: Add <menuitem>, new HTMLMenuElement IDL attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed comments Created 6 years, 4 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
« no previous file with comments | « Source/core/html/HTMLMenuItemElement.h ('k') | Source/core/html/HTMLMenuItemElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMenuItemElement.cpp
diff --git a/Source/core/html/HTMLMenuItemElement.cpp b/Source/core/html/HTMLMenuItemElement.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..b303651deaf6f41ab5a13ace77f0b99028aab350
--- /dev/null
+++ b/Source/core/html/HTMLMenuItemElement.cpp
@@ -0,0 +1,20 @@
+// Copyright 2014 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 "config.h"
+#include "core/html/HTMLMenuItemElement.h"
+
+#include "core/HTMLNames.h"
+
+namespace blink {
+
+inline HTMLMenuItemElement::HTMLMenuItemElement(Document& document)
+ : HTMLElement(HTMLNames::menuitemTag, document)
+{
+ ScriptWrappable::init(this);
+}
+
+DEFINE_NODE_FACTORY(HTMLMenuItemElement)
+
+} // namespace blink
« no previous file with comments | « Source/core/html/HTMLMenuItemElement.h ('k') | Source/core/html/HTMLMenuItemElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698