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

Unified Diff: Source/core/events/RelatedEvent.idl

Issue 243403006: Implement contextmenu attribute with basic support of <menu> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added unit tests Created 6 years, 7 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/events/RelatedEvent.idl
diff --git a/Source/modules/gamepad/GamepadEvent.idl b/Source/core/events/RelatedEvent.idl
similarity index 61%
copy from Source/modules/gamepad/GamepadEvent.idl
copy to Source/core/events/RelatedEvent.idl
index 718226e24997bc9cda7d826c90c63f79accceaf1..395784b09af68088e45f08abe00d4884920e7bcf 100644
--- a/Source/modules/gamepad/GamepadEvent.idl
+++ b/Source/core/events/RelatedEvent.idl
@@ -4,6 +4,7 @@
[
EventConstructor,
-] interface GamepadEvent : Event {
- [InitializedByEventConstructor] readonly attribute Gamepad gamepad;
+] interface RelatedEvent : Event {
+ [InitializedByEventConstructor] readonly attribute EventTarget? relatedTarget;
};
+

Powered by Google App Engine
This is Rietveld 408576698