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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 1003023002: Signal input flush when all flings have terminated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test compile Created 5 years, 9 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
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 79a84932632b3e8239b5611a0313655108dabe05..617b54735b047ee223b2efd90cd49ee0018ce2fe 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -445,11 +445,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 a flush request.
void FlushInput();
- // InputRouterClient
- void SetNeedsFlush() override;
+ // Request a flush signal from the view.
+ void SetNeedsFlush();
// Indicates whether the renderer drives the RenderWidgetHosts's size or the
// other way around.
@@ -611,7 +611,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
void OnSetTooltipText(const base::string16& tooltip_text,
blink::WebTextDirection text_direction_hint);
bool OnSwapCompositorFrame(const IPC::Message& message);
- void OnFlingingStopped();
void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet);
virtual void OnFocus();
@@ -665,6 +664,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl
void OnHasTouchEventHandlers(bool has_handlers) override;
void DidFlush() override;
void DidOverscroll(const DidOverscrollParams& params) override;
+ void DidStopFlinging() override;
// InputAckHandler
void OnKeyboardEventAck(const NativeWebKeyboardEvent& event,

Powered by Google App Engine
This is Rietveld 408576698