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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMenuItemElement.h

Issue 2372593005: Restrict type attribute on menuitem (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/core/html/HTMLMenuItemElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMenuItemElement.h b/third_party/WebKit/Source/core/html/HTMLMenuItemElement.h
index 20c5cd24089ec7e6b3c0790937eba83cc5f88ec0..72e0da3ff47cad2552d5e3a52c1a8968fa0881c6 100644
--- a/third_party/WebKit/Source/core/html/HTMLMenuItemElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMenuItemElement.h
@@ -15,6 +15,9 @@ class HTMLMenuItemElement final : public HTMLElement {
public:
DECLARE_NODE_FACTORY(HTMLMenuItemElement);
+ AtomicString type() const;
+ void setType(const AtomicString&);
+
private:
explicit HTMLMenuItemElement(Document&);
bool isURLAttribute(const Attribute&) const override;

Powered by Google App Engine
This is Rietveld 408576698