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

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

Issue 17031006: Rename DOMWindow interface to Window (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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 | « Source/core/page/DOMWindowPagePopup.idl ('k') | Source/core/page/WindowPagePopup.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « Source/core/page/DOMWindowPagePopup.idl ('k') | Source/core/page/WindowPagePopup.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698