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

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

Issue 660663002: Clear pending events upon main frame navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 years, 1 month 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
« no previous file with comments | « content/public/test/test_renderer_host.h ('k') | ui/events/gesture_detection/filtered_gesture_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 28735e4cc087d332131b38360020f8d8586a3f59..b5abfcec00951c4aac6d58a4cc4a3cfc4f3175ff 100644
--- a/content/public/test/test_renderer_host.cc
+++ b/content/public/test/test_renderer_host.cc
@@ -65,9 +65,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();
}
« no previous file with comments | « content/public/test/test_renderer_host.h ('k') | ui/events/gesture_detection/filtered_gesture_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698