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

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: 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/HTMLMenuItemElement.idl
diff --git a/Source/core/html/HTMLMenuItemElement.idl b/Source/core/html/HTMLMenuItemElement.idl
new file mode 100644
index 0000000000000000000000000000000000000000..16b778b1f4d24c978b71dc8a2c502ef6d8b84f09
--- /dev/null
+++ b/Source/core/html/HTMLMenuItemElement.idl
@@ -0,0 +1,13 @@
+// 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] readonly attribute DOMString type;
tkent 2014/07/31 06:07:55 Add a test to fast/dom/domstring-attribute-reflect
pals 2014/08/01 10:03:07 Done.
+ [Reflect] readonly attribute DOMString label;
tkent 2014/07/31 06:07:55 Ditto.
pals 2014/08/01 10:03:08 Done.
+ [Reflect] readonly attribute boolean disabled;
tkent 2014/07/31 06:07:55 Add a test to fast/dom/boolean-attribute-reflectio
pals 2014/08/01 10:03:08 Done.
+ [Reflect] readonly attribute boolean checked;
tkent 2014/07/31 06:07:56 Ditto.
pals 2014/08/01 10:03:07 Done.
+ [Reflect] readonly attribute boolean default;
tkent 2014/07/31 06:07:56 Ditto.
pals 2014/08/01 10:03:07 Done.
+};
tkent 2014/07/31 06:07:56 Add a FIXME comment about unimplemented IDL attrib
pals 2014/08/01 10:03:08 Done.

Powered by Google App Engine
This is Rietveld 408576698