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

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

Issue 886463010: Make arguments to window.{move,resize}{To,By} non-optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
Index: Source/core/frame/Window.idl
diff --git a/Source/core/frame/Window.idl b/Source/core/frame/Window.idl
index 913fb986b95b342bdb6f85775bce354e61814c76..65d1d95c119b2ab10b0a6b994b4a820b3449e385 100644
--- a/Source/core/frame/Window.idl
+++ b/Source/core/frame/Window.idl
@@ -101,10 +101,10 @@
[RuntimeEnabled=CSSOMSmoothScroll] void scrollTo([Default=Undefined] optional ScrollToOptions scrollToOptions);
void scroll(double x, double y);
[RuntimeEnabled=CSSOMSmoothScroll] void scroll([Default=Undefined] optional ScrollToOptions scrollOptions);
- void moveBy(optional long x = 0, optional long y = 0);
- void moveTo(optional long x, optional long y); // FIXME: Arguments should not be optional, or should have defaults.
- void resizeBy(optional long x = 0, optional long y = 0);
- void resizeTo(optional long width, optional long height); // FIXME: Arguments should not be optional, or should have defaults.
+ void moveBy(long x, long y);
+ void moveTo(long x, long y);
+ void resizeBy(long x, long y);
+ void resizeTo(long width, long height);
[DoNotCheckSecurity] readonly attribute boolean closed;
« LayoutTests/fast/forms/resources/picker-common.js ('K') | « Source/core/frame/RemoteDOMWindow.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698