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

Unified Diff: content/public/test/test_renderer_host.cc

Issue 628763003: Support InputRouter recycling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 years, 2 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/public/test/test_renderer_host.cc
diff --git a/content/public/test/test_renderer_host.cc b/content/public/test/test_renderer_host.cc
index 295dae1f2a176ed810c4815e618428ca1c23f8ec..b45324b312553b01b05ea9da57b1366044102252 100644
--- a/content/public/test/test_renderer_host.cc
+++ b/content/public/test/test_renderer_host.cc
@@ -66,9 +66,9 @@ bool RenderViewHostTester::TestOnMessageReceived(RenderViewHost* rvh,
}
// static
-bool RenderViewHostTester::HasTouchEventHandler(RenderViewHost* rvh) {
+bool RenderViewHostTester::WillForwardTouchEvents(RenderViewHost* rvh) {
RenderWidgetHostImpl* host_impl = RenderWidgetHostImpl::From(rvh);
- return host_impl->has_touch_handler();
+ return host_impl->ShouldForwardTouchEvent();
}

Powered by Google App Engine
This is Rietveld 408576698