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

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: Addressed review comments 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 717a6085c2fa05e974f52bd1dff584fccb2440fc..65da13daad43e4db86aa1cc10b3e5b80067a6af2 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();
+ PassRefPtrWillBeRawPtr<HTMLMenuElement> contextMenu() const;
tkent 2014/07/31 06:07:55 The return value should be HTMLMenuElement* becaus
pals 2014/08/01 10:03:07 Done.
+ void setContextMenu(PassRefPtrWillBeRawPtr<HTMLMenuElement>);
tkent 2014/07/31 06:07:55 The argument type should be HTMLMenuElement*.
pals 2014/08/01 10:03:07 Done.
+
protected:
HTMLElement(const QualifiedName& tagName, Document&, ConstructionType);

Powered by Google App Engine
This is Rietveld 408576698