Index: public/web/WebView.h |
diff --git a/public/web/WebView.h b/public/web/WebView.h |
index 081629584dddc91800761c72249d52e342152ce7..d45a8c272a522ae58e4300aaea154614bde51f18 100644 |
--- a/public/web/WebView.h |
+++ b/public/web/WebView.h |
@@ -176,6 +176,9 @@ public: |
// viewport space. Returns true if an animation was started. |
virtual bool scrollFocusedNodeIntoRect(const WebRect&) { return false; } |
+ // Smooth scroll the root layer to |targetX|, |targetY| in |durationMs|. |
+ virtual void smoothScroll(int targetX, int targetY, long durationMs) { } |
+ |
// Advance the focus of the WebView forward to the next element or to the |
// previous element in the tab sequence (if reverse is true). |
virtual void advanceFocus(bool reverse) { } |