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

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

Issue 140833005: Ensure touch handler state on Android is accurate after preload (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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.cc
diff --git a/content/browser/renderer_host/input/input_router_impl.cc b/content/browser/renderer_host/input/input_router_impl.cc
index 522758c0abe2b02e3d98969f219c386868d77ea6..370a990144a724bfa9e5a0bdacf0fb48157e78d3 100644
--- a/content/browser/renderer_host/input/input_router_impl.cc
+++ b/content/browser/renderer_host/input/input_router_impl.cc
@@ -498,6 +498,9 @@ void InputRouterImpl::OnSelectRangeAck() {
}
void InputRouterImpl::OnHasTouchEventHandlers(bool has_handlers) {
+ TRACE_EVENT1("input", "InputRouterImpl::OnHasTouchEventHandlers",
jdduke (slow) 2014/01/16 22:53:05 Is this spammy? If not, this should be fine, other
+ "has_handlers", has_handlers);
+
if (has_handlers == touch_event_queue_->has_handlers())
return;
touch_event_queue_->OnHasTouchEventHandlers(has_handlers);

Powered by Google App Engine
This is Rietveld 408576698