Chromium Code Reviews

Unified Diff: cc/thread_proxy.cc

Issue 11565022: Add API to route end of fling messages from WebLayerTreeView to InputHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: cc/thread_proxy.cc
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc
index cd0baa3b6aa6dbc3d892f62a2f039722001599bb..b2ed9ea4762923d2385717efb85c7eda6443b3ab 100644
--- a/cc/thread_proxy.cc
+++ b/cc/thread_proxy.cc
@@ -431,6 +431,12 @@ void ThreadProxy::setNeedsRedrawOnImplThread()
m_schedulerOnImplThread->setNeedsRedraw();
}
+void ThreadProxy::mainThreadHasStoppedFlinging()
+{
+ if (m_inputHandlerOnImplThread.get())
jamesr 2012/12/13 21:39:05 nits: - just "if (m_inputHandlerOnImplThread)" wi
+ m_inputHandlerOnImplThread->mainThreadHasStoppedFlinging();
+}
+
void ThreadProxy::start()
{
DCHECK(isMainThread());

Powered by Google App Engine