Index: Source/core/page/DOMWindow.idl |
diff --git a/Source/core/page/Window.idl b/Source/core/page/DOMWindow.idl |
similarity index 97% |
rename from Source/core/page/Window.idl |
rename to Source/core/page/DOMWindow.idl |
index 46b983cf3a5ad3e2b15e15760c8bb463a5899cc7..9f8e44d7972ec9ba442197e70706cec2a9a41136 100644 |
--- a/Source/core/page/Window.idl |
+++ b/Source/core/page/DOMWindow.idl |
@@ -29,8 +29,8 @@ |
EventTarget, |
CustomToV8, |
DoNotGenerateWrap, |
- ImplementedAs=DOMWindow |
-] interface Window { |
+ InterfaceName=Window |
+] interface DOMWindow { |
// DOM Level 0 |
[Replaceable] readonly attribute Screen screen; |
[Replaceable] readonly attribute History history; |
@@ -56,7 +56,7 @@ |
void print(); |
void stop(); |
- [Custom] Window open(DOMString url, |
+ [Custom] DOMWindow open(DOMString url, |
DOMString name, |
optional DOMString options); |
@@ -112,13 +112,13 @@ |
attribute DOMString defaultstatus; |
// Self referential attributes |
- [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute Window self; |
- [DoNotCheckSecurity, Unforgeable] readonly attribute Window window; |
- [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute Window frames; |
+ [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute DOMWindow self; |
+ [DoNotCheckSecurity, Unforgeable] readonly attribute DOMWindow window; |
+ [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute DOMWindow frames; |
- [Replaceable, DoNotCheckSecurityOnGetter, CustomSetter] readonly attribute Window opener; |
- [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute Window parent; |
- [DoNotCheckSecurityOnGetter, Unforgeable] readonly attribute Window top; |
+ [Replaceable, DoNotCheckSecurityOnGetter, CustomSetter] readonly attribute DOMWindow opener; |
+ [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute DOMWindow parent; |
+ [DoNotCheckSecurityOnGetter, Unforgeable] readonly attribute DOMWindow top; |
// DOM Level 2 AbstractView Interface |
readonly attribute Document document; |
@@ -314,7 +314,7 @@ |
// window.toString() requires special handling in V8 |
[DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString toString(); |
- [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index); |
- [Custom, NotEnumerable] getter Window (DOMString name); |
+ [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter DOMWindow(unsigned long index); |
+ [Custom, NotEnumerable] getter DOMWindow (DOMString name); |
}; |