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

Unified Diff: Source/core/page/Window.idl

Issue 18112019: Have Window inherit EventTarget interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/page/Window.idl
diff --git a/Source/core/page/Window.idl b/Source/core/page/Window.idl
index 240bde7806c67b2602abd51ac335e132c188d151..d68d8b1062c3a8bb5b74516c68962f7a468d09e3 100644
--- a/Source/core/page/Window.idl
+++ b/Source/core/page/Window.idl
@@ -26,11 +26,10 @@
[
CheckSecurity,
- EventTarget,
CustomToV8,
DoNotGenerateWrap,
ImplementedAs=DOMWindow
-] interface Window {
+] interface Window : EventTarget {
// DOM Level 0
[Replaceable] readonly attribute Screen screen;
[Replaceable] readonly attribute History history;
@@ -263,15 +262,6 @@
[EnabledAtRuntime=deviceMotion] attribute EventListener ondevicemotion;
[EnabledAtRuntime=deviceOrientation] attribute EventListener ondeviceorientation;
- // EventTarget interface
- [Custom] void addEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- [Custom] void removeEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- [RaisesException] boolean dispatchEvent(Event evt);
-
// Additional constructors.
attribute TransitionEventConstructor WebKitTransitionEvent;
[CustomConstructor] attribute HTMLImageElementConstructorConstructor Image; // Usable with new operator
« Source/bindings/v8/custom/V8WindowCustom.cpp ('K') | « Source/bindings/v8/custom/V8WindowCustom.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698