Index: Source/core/frame/DOMWindow.h |
diff --git a/Source/core/frame/DOMWindow.h b/Source/core/frame/DOMWindow.h |
index ed475d7d5985026387aeb059959e394e42dc2af5..6bd5a454db7df7c7f687866c535f390eb436641d 100644 |
--- a/Source/core/frame/DOMWindow.h |
+++ b/Source/core/frame/DOMWindow.h |
@@ -148,12 +148,16 @@ public: |
virtual void scrollTo(const ScrollToOptions&) const = 0; |
void scroll(double x, double y) const { scrollTo(x, y); } |
void scroll(const ScrollToOptions& scrollToOptions) const { scrollTo(scrollToOptions); } |
- virtual void moveBy(int x, int y) const = 0; |
+ void moveBy() const { moveBy(0, 0, false, false); } |
+ void moveBy(int x) const { moveBy(x, 0, true, false); } |
+ virtual void moveBy(int x, int y, bool hasX = true, bool hasY = true) const = 0; |
void moveTo() const { moveTo(0, 0, false, false); } |
void moveTo(int x) const { moveTo(x, 0, true, false); } |
virtual void moveTo(int x, int y, bool hasX = true, bool hasY = true) const = 0; |
- virtual void resizeBy(int x, int y) const = 0; |
+ void resizeBy() const { resizeBy(0, 0, false, false); } |
+ void resizeBy(int x) const { resizeBy(x, 0, true, false); } |
+ virtual void resizeBy(int x, int y, bool hasX = true, bool hasY = true) const = 0; |
void resizeTo() const { resizeTo(0, 0, false, false); } |
void resizeTo(int x) const { resizeTo(x, 0, true, false); } |
virtual void resizeTo(int width, int height, bool hasWidth = true, bool hasHeight = true) const = 0; |