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

Unified Diff: Source/core/html/HTMLMenuItemElement.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/HTMLMenuItemElement.cpp ('k') | Source/core/html/HTMLTagNames.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMenuItemElement.idl
diff --git a/Source/core/html/HTMLMenuItemElement.idl b/Source/core/html/HTMLMenuItemElement.idl
new file mode 100644
index 0000000000000000000000000000000000000000..8c148b6bd36158cce345f8b8cb8b8b3bf239386a
--- /dev/null
+++ b/Source/core/html/HTMLMenuItemElement.idl
@@ -0,0 +1,14 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ RuntimeEnabled=ContextMenu,
+] interface HTMLMenuItemElement : HTMLElement {
+ [Reflect] attribute DOMString type;
+ [Reflect] attribute DOMString label;
+ [Reflect] attribute boolean disabled;
+ [Reflect] attribute boolean checked;
+ [Reflect] attribute boolean default;
+ // FIXME(sanjoy): icon, radiogroup and command need to be implemented.
+};
« no previous file with comments | « Source/core/html/HTMLMenuItemElement.cpp ('k') | Source/core/html/HTMLTagNames.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698