Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index f0da2fb3f7b20248934a64b1f872672bb7f3a92e..4b1abe7fd9b2157fcaf1ba12184b9c1e6e31d4fa 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -362,8 +362,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl |
// Event queries delegated to the |input_router_|. |
bool ShouldForwardTouchEvent() const; |
- bool has_touch_handler() const { return has_touch_handler_; } |
- |
// Notification that the user has made some kind of input that could |
// perform an action. See OnUserGesture for more details. |
void StartUserGesture(); |
@@ -433,11 +431,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl |
// suppress_next_char_events_. |
void SuppressNextCharEvents(); |
- // Called by RenderWidgetHostView in response to OnSetNeedsFlushInput. |
+ // Called by the view in response to flush requests. |
void FlushInput(); |
- // InputRouterClient |
- virtual void SetNeedsFlush() override; |
+ // Request a flush from the view. |
+ void SetNeedsFlush(); |
// Indicates whether the renderer drives the RenderWidgetHosts's size or the |
// other way around. |
@@ -648,7 +646,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl |
const ui::LatencyInfo& latency_info) override; |
virtual void IncrementInFlightEventCount() override; |
virtual void DecrementInFlightEventCount() override; |
- virtual void OnHasTouchEventHandlers(bool has_handlers) override; |
virtual void DidFlush() override; |
virtual void DidOverscroll(const DidOverscrollParams& params) override; |
@@ -819,11 +816,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl |
bool pending_mouse_lock_request_; |
bool allow_privileged_mouse_lock_; |
- // Keeps track of whether the webpage has any touch event handler. If it does, |
- // then touch events are sent to the renderer. Otherwise, the touch events are |
- // not sent to the renderer. |
- bool has_touch_handler_; |
- |
scoped_ptr<SyntheticGestureController> synthetic_gesture_controller_; |
scoped_ptr<TouchEmulator> touch_emulator_; |