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

Unified Diff: content/browser/renderer_host/input/input_router_impl.h

Issue 2893843002: input: Remove now dead code. (Closed)
Patch Set: tot merge Created 3 years, 7 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/input/input_router_impl.h
diff --git a/content/browser/renderer_host/input/input_router_impl.h b/content/browser/renderer_host/input/input_router_impl.h
index d26663a0a4f312fa2801cd7c1c60ac30ad3479f1..3c25826bc0e7aa292401f71f99061da2f1a3e41d 100644
--- a/content/browser/renderer_host/input/input_router_impl.h
+++ b/content/browser/renderer_host/input/input_router_impl.h
@@ -73,7 +73,6 @@ class CONTENT_EXPORT InputRouterImpl
void SendTouchEvent(const TouchEventWithLatencyInfo& touch_event) override;
const NativeWebKeyboardEvent* GetLastKeyboardEvent() const override;
void NotifySiteIsMobileOptimized(bool is_mobile_optimized) override;
- void RequestNotificationWhenFlushed() override;
bool HasPendingEvents() const override;
void SetDeviceScaleFactor(float device_scale_factor) override;
@@ -202,10 +201,6 @@ class CONTENT_EXPORT InputRouterImpl
// non-zero touch timeout configuration.
void UpdateTouchAckTimeoutEnabled();
- // If a flush has been requested, signals a completed flush to the client if
- // all events have been dispatched (i.e., |HasPendingEvents()| is false).
- void SignalFlushedIfNecessary();
-
int routing_id() const { return routing_id_; }
IPC::Sender* sender_;
@@ -243,10 +238,6 @@ class CONTENT_EXPORT InputRouterImpl
// Defaults to ACK_SOURCE_NONE.
AckSource current_ack_source_;
- // Whether a call to |Flush()| has yet been accompanied by a |DidFlush()| call
- // to the client_ after all events have been dispatched/acked.
- bool flush_requested_;
-
// Whether there are any active flings in the renderer. As the fling
// end notification is asynchronous, we use a count rather than a boolean
// to avoid races in bookkeeping when starting a new fling.
« no previous file with comments | « content/browser/renderer_host/input/input_router_client.h ('k') | content/browser/renderer_host/input/input_router_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698