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

Unified Diff: Source/core/html/HTMLMenuElement.idl

Issue 243403006: Implement contextmenu attribute with basic support of <menu> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reflect HTMLMenuElement as per spec 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/HTMLElement.idl ('k') | Source/core/html/HTMLMenuItemElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMenuElement.idl
diff --git a/Source/core/html/HTMLMenuElement.idl b/Source/core/html/HTMLMenuElement.idl
index ea756fcaeacb7f1108b87b376c29cb9302705cea..42110b5911d020a834101eb75420edbe90dfd25e 100644
--- a/Source/core/html/HTMLMenuElement.idl
+++ b/Source/core/html/HTMLMenuElement.idl
@@ -18,6 +18,8 @@
*/
interface HTMLMenuElement : HTMLElement {
+ [RuntimeEnabled=ContextMenu, Reflect] attribute DOMString type;
+ [RuntimeEnabled=ContextMenu, Reflect] attribute DOMString label;
[Reflect] attribute boolean compact;
};
« no previous file with comments | « Source/core/html/HTMLElement.idl ('k') | Source/core/html/HTMLMenuItemElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698