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

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

Issue 900203002: Add use counters for missing arguments to window.{move,resize}{To,By} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« Source/core/frame/LocalDOMWindow.cpp ('K') | « Source/core/frame/UseCounter.h ('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 913fb986b95b342bdb6f85775bce354e61814c76..9e2432738ded15684c4f156425b2dfb7a569ecfd 100644
--- a/Source/core/frame/Window.idl
+++ b/Source/core/frame/Window.idl
@@ -101,9 +101,9 @@
[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 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.
- void resizeBy(optional long x = 0, optional long y = 0);
+ void resizeBy(optional long x, optional long y);
void resizeTo(optional long width, optional long height); // FIXME: Arguments should not be optional, or should have defaults.
[DoNotCheckSecurity] readonly attribute boolean closed;
« Source/core/frame/LocalDOMWindow.cpp ('K') | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698