Index: content/browser/renderer_host/overscroll_controller.h |
diff --git a/content/browser/renderer_host/overscroll_controller.h b/content/browser/renderer_host/overscroll_controller.h |
index 9c8282ed60a1e55b3d8c897cfa174a36388d6f28..fab531947ee045165df45595c8f1c829fdc19cf0 100644 |
--- a/content/browser/renderer_host/overscroll_controller.h |
+++ b/content/browser/renderer_host/overscroll_controller.h |
@@ -89,8 +89,9 @@ class OverscrollController { |
// overscroll gesture status. |
bool DispatchEventResetsState(const WebKit::WebInputEvent& event) const; |
- // Processes an event and updates internal state for overscroll. |
- void ProcessEventForOverscroll(const WebKit::WebInputEvent& event); |
+ // Processes an event to update the internal state for overscroll. Returns |
+ // true if the state is updated, false otherwise. |
+ bool ProcessEventForOverscroll(const WebKit::WebInputEvent& event); |
// Processes horizontal overscroll. This can update both the overscroll mode |
// and the over scroll amount (i.e. |overscroll_mode_|, |overscroll_delta_x_| |
@@ -106,10 +107,6 @@ class OverscrollController { |
// appropriate). |
void SetOverscrollMode(OverscrollMode new_mode); |
- // Returns whether the input event should be forwarded to the |
- // RenderWidgetHost. |
- bool ShouldForwardToHost(const WebKit::WebInputEvent& event) const; |
- |
// The RenderWidgetHost that owns this overscroll controller. |
RenderWidgetHostImpl* render_widget_host_; |