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 |