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

Unified Diff: Source/core/dom/Element.h

Issue 942013006: Simplify scroll APIs in Element (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
« no previous file with comments | « no previous file | Source/core/dom/Element.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 9e8587a743eb4118d7fb8b2aacd978da09378a5a..1c2c93ad290f3b5dd3a49f42b1d7d95562541988 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -187,12 +187,10 @@ public:
virtual int scrollWidth();
virtual int scrollHeight();
- virtual void scrollBy(double x, double y);
+ void scrollBy(double x, double y);
virtual void scrollBy(const ScrollToOptions&);
- virtual void scrollTo(double x, double y);
+ void scrollTo(double x, double y);
virtual void scrollTo(const ScrollToOptions&);
- void scroll(double x, double y) { scrollTo(x, y); }
- void scroll(const ScrollToOptions& scrollToOptions) { scrollTo(scrollToOptions); }
IntRect boundsInRootViewSpace();
« no previous file with comments | « no previous file | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698