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

Unified Diff: content/browser/renderer_host/render_widget_host_unittest.cc

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_unittest.cc
diff --git a/content/browser/renderer_host/render_widget_host_unittest.cc b/content/browser/renderer_host/render_widget_host_unittest.cc
index cb7d64efc8f435a31d615d8ad0c1e264f282f432..46acbd1dbae6d48581ac9393358222dd4d686b81 100644
--- a/content/browser/renderer_host/render_widget_host_unittest.cc
+++ b/content/browser/renderer_host/render_widget_host_unittest.cc
@@ -70,7 +70,6 @@ class MockInputRouter : public InputRouter {
~MockInputRouter() override {}
// InputRouter
- void Flush() override { flush_called_ = true; }
bool SendInput(scoped_ptr<IPC::Message> message) override {
send_event_called_ = true;
return true;
@@ -101,6 +100,7 @@ class MockInputRouter : public InputRouter {
return NULL;
}
void OnViewUpdated(int view_flags) override {}
+ void RequestNotificationWhenFlushed() override {}
bool HasPendingEvents() const override { return false; }
// IPC::Listener
@@ -109,7 +109,6 @@ class MockInputRouter : public InputRouter {
return false;
}
- bool flush_called_;
bool send_event_called_;
bool sent_mouse_event_;
bool sent_wheel_event_;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_view_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698