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