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

Unified Diff: Source/core/html/HTMLElement.h

Issue 243403006: Implement contextmenu attribute with basic support of <menu> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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: Source/core/html/HTMLElement.h
diff --git a/Source/core/html/HTMLElement.h b/Source/core/html/HTMLElement.h
index 90c3963d63f8677f35c46a7f6541f614d5e854c8..abaf49fd53fc3276896ee2f58bf442fef7b25b97 100644
--- a/Source/core/html/HTMLElement.h
+++ b/Source/core/html/HTMLElement.h
@@ -30,6 +30,7 @@ namespace WebCore {
class DocumentFragment;
class HTMLCollection;
class HTMLFormElement;
+class HTMLMenuElement;
class ExceptionState;
enum TranslateAttributeMode {
@@ -90,6 +91,8 @@ public:
virtual bool matchesReadOnlyPseudoClass() const OVERRIDE;
virtual bool matchesReadWritePseudoClass() const OVERRIDE;
+ HTMLMenuElement* menuElement() const;
+
protected:
HTMLElement(const QualifiedName& tagName, Document&, ConstructionType);

Powered by Google App Engine
This is Rietveld 408576698