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

Unified Diff: content/browser/renderer_host/input/immediate_input_router.cc

Issue 20356003: Provided batched input delivery with a BufferedInputRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: BufferedInputRouter unit tests Created 7 years, 4 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/immediate_input_router.cc
diff --git a/content/browser/renderer_host/input/immediate_input_router.cc b/content/browser/renderer_host/input/immediate_input_router.cc
index 96e8bb9ac44dc6a81a71ab800d5ab60429ba28f8..1ab4b3fa604df2fba6c2891e99a59f2334d68964 100644
--- a/content/browser/renderer_host/input/immediate_input_router.cc
+++ b/content/browser/renderer_host/input/immediate_input_router.cc
@@ -71,10 +71,9 @@ const char* GetEventAckName(InputEventAckState ack_result) {
} // namespace
-ImmediateInputRouter::ImmediateInputRouter(
- RenderProcessHost* process,
- InputRouterClient* client,
- int routing_id)
+ImmediateInputRouter::ImmediateInputRouter(RenderProcessHost* process,
+ InputRouterClient* client,
+ int routing_id)
: process_(process),
client_(client),
routing_id_(routing_id),
@@ -92,6 +91,10 @@ ImmediateInputRouter::ImmediateInputRouter(
ImmediateInputRouter::~ImmediateInputRouter() {
}
+void ImmediateInputRouter::Flush() {
+ NOTREACHED() << "ImmediateInputRouter will never request a flush.";
+}
+
bool ImmediateInputRouter::SendInput(IPC::Message* message) {
DCHECK(IPC_MESSAGE_ID_CLASS(message->type()) == InputMsgStart);
scoped_ptr<IPC::Message> scoped_message(message);

Powered by Google App Engine
This is Rietveld 408576698