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

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: Added runtime enabled checks Created 6 years, 5 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 3315088763d4ccb63b60f34db2957693c1bcfdd9..61c23b0c046396f7284ba28a0e66c0a96ca7129f 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 {
@@ -93,6 +94,8 @@ public:
static const AtomicString& eventParameterName();
+ HTMLMenuElement* menuElement() const;
+
protected:
HTMLElement(const QualifiedName& tagName, Document&, ConstructionType);

Powered by Google App Engine
This is Rietveld 408576698