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

Unified Diff: sky/engine/core/events/EventTarget.idl

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/core/events/EventTarget.cpp ('k') | sky/engine/core/events/UIEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/EventTarget.idl
diff --git a/sky/engine/core/events/EventTarget.idl b/sky/engine/core/events/EventTarget.idl
index 51b10099d72299e545d34692d3a8a04c648362bd..6fa30555981a8dc19484ac27c0a2b8ebe0196e04 100644
--- a/sky/engine/core/events/EventTarget.idl
+++ b/sky/engine/core/events/EventTarget.idl
@@ -18,17 +18,12 @@
* Boston, MA 02110-1301, USA.
*/
-[
- CheckSecurity=Window,
- Custom=ToV8,
-] interface EventTarget {
- // FIXME: first 2 args should be required, but throwing TypeError breaks
- // legacy content. http://crbug.com/353484
- void addEventListener(optional DOMString? type,
- optional EventListener listener,
+interface EventTarget {
+ void addEventListener(DOMString? type,
+ EventListener listener,
optional boolean useCapture);
- void removeEventListener(optional DOMString? type,
- optional EventListener listener,
+ void removeEventListener(DOMString? type,
+ EventListener listener,
optional boolean useCapture);
[RaisesException] boolean dispatchEvent(Event event);
};
« no previous file with comments | « sky/engine/core/events/EventTarget.cpp ('k') | sky/engine/core/events/UIEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698