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

Unified Diff: Source/core/frame/RemoteDOMWindow.h

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: rebased Created 5 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
Index: Source/core/frame/RemoteDOMWindow.h
diff --git a/Source/core/frame/RemoteDOMWindow.h b/Source/core/frame/RemoteDOMWindow.h
index e081bbf2766175f1b5de81fef44fa5f01f295f5e..22524ee0859b12aa2c850935fb8932f12bad4787 100644
--- a/Source/core/frame/RemoteDOMWindow.h
+++ b/Source/core/frame/RemoteDOMWindow.h
@@ -69,10 +69,10 @@ public:
void scrollBy(const ScrollToOptions&) const override;
void scrollTo(double x, double y) const override;
void scrollTo(const ScrollToOptions&) const override;
- void moveBy(int x, int y, bool hasX, bool hasY) const override;
- void moveTo(int x, int y, bool hasX, bool hasY) const override;
- void resizeBy(int x, int y, bool hasX, bool hasY) const override;
- void resizeTo(int width, int height, bool hasWidth, bool hasHeight) const override;
+ void moveBy(int x, int y) const override;
+ void moveTo(int x, int y) const override;
+ void resizeBy(int x, int y) const override;
+ void resizeTo(int width, int height) const override;
PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override;
PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override;
PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const String& pseudoElt) const override;

Powered by Google App Engine
This is Rietveld 408576698