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

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

Issue 464903002: Add contextmenu attribute for HTMLElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added more tests 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/HTMLAttributeNames.in ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLElement.h
diff --git a/Source/core/html/HTMLElement.h b/Source/core/html/HTMLElement.h
index 590b8eff543b5b1692d5a03681e742c48e930649..49f647be9d241b9810d523aa826f4758d183927b 100644
--- a/Source/core/html/HTMLElement.h
+++ b/Source/core/html/HTMLElement.h
@@ -30,6 +30,7 @@ namespace blink {
class DocumentFragment;
class HTMLCollection;
class HTMLFormElement;
+class HTMLMenuElement;
class ExceptionState;
enum TranslateAttributeMode {
@@ -95,6 +96,9 @@ public:
static const AtomicString& eventParameterName();
+ HTMLMenuElement* contextMenu() const;
+ void setContextMenu(HTMLMenuElement*);
+
protected:
HTMLElement(const QualifiedName& tagName, Document&, ConstructionType);
« no previous file with comments | « Source/core/html/HTMLAttributeNames.in ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698