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

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

Issue 936503003: Add TypeChecking=Unrestricted to Element and Window interfaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added Window too. Created 5 years, 10 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/dom/Element.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Window.idl
diff --git a/Source/core/frame/Window.idl b/Source/core/frame/Window.idl
index 6b85aa197fb35e6cfe212350fce228cb3d324a8f..e6fbe2e0dae490c660aaf7ceb2653923679ac5ba 100644
--- a/Source/core/frame/Window.idl
+++ b/Source/core/frame/Window.idl
@@ -32,6 +32,7 @@
Custom=ToV8,
ImplementedAs=DOMWindow,
PrimaryGlobal,
+ TypeChecking=Unrestricted,
] interface Window : EventTarget {
// DOM Level 0
readonly attribute Screen screen;
@@ -95,11 +96,11 @@
readonly attribute double pageXOffset;
readonly attribute double pageYOffset;
- void scrollBy(double x, double y);
+ void scrollBy(unrestricted double x, unrestricted double y);
[RuntimeEnabled=CSSOMSmoothScroll] void scrollBy([Default=Undefined] optional ScrollToOptions scrollToOptions);
- void scrollTo(double x, double y);
+ void scrollTo(unrestricted double x, unrestricted double y);
[RuntimeEnabled=CSSOMSmoothScroll] void scrollTo([Default=Undefined] optional ScrollToOptions scrollToOptions);
- void scroll(double x, double y);
+ void scroll(unrestricted double x, unrestricted double y);
[RuntimeEnabled=CSSOMSmoothScroll] void scroll([Default=Undefined] optional ScrollToOptions scrollOptions);
void moveBy(optional long x, optional long y);
void moveTo(optional long x, optional long y); // FIXME: Arguments should not be optional, or should have defaults.
« no previous file with comments | « Source/core/dom/Element.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698