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

Unified Diff: Source/core/frame/LocalDOMWindow.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/LocalDOMWindow.h
diff --git a/Source/core/frame/LocalDOMWindow.h b/Source/core/frame/LocalDOMWindow.h
index 8e233fa8b819442464fd86f9556f65e0b5693774..c607ff35b2a26b818d0aa8ecd4d8a9e92aea3d4a 100644
--- a/Source/core/frame/LocalDOMWindow.h
+++ b/Source/core/frame/LocalDOMWindow.h
@@ -137,10 +137,10 @@ public:
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