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

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

Issue 17035010: Revert "Rename DOMWindow interface to Window" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/html/HTMLIFrameElement.idl ('k') | Source/core/page/DOMWindowPagePopup.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « Source/core/html/HTMLIFrameElement.idl ('k') | Source/core/page/DOMWindowPagePopup.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698