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

Unified Diff: cc/thread_proxy.h

Issue 12408028: cc: Delay start of scrollbar animation setNeedsRedraw. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to 187970 and update test Created 7 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: cc/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index a56b5bede54347ef6be9afc1c8db1e2a393250a9..e9af5a0d7e42b469c977b30bc07a208c23bfb630 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -74,6 +74,7 @@ public:
virtual void SendManagedMemoryStats() OVERRIDE;
virtual bool IsInsideDraw() OVERRIDE;
virtual void RenewTreePriority() OVERRIDE;
+ virtual void RequestScrollbarAnimationOnImplThread(double delay) OVERRIDE;
// SchedulerClient implementation
virtual void scheduledActionBeginFrame() OVERRIDE;
@@ -149,6 +150,7 @@ private:
void asValueOnImplThread(CompletionEvent*, base::DictionaryValue*) const;
void renewTreePriorityOnImplThread();
void didSwapUseIncompleteTileOnImplThread();
+ void StartScrollbarAnimationOnImplThread();
// Accessed on main thread only.
bool m_animateRequested; // Set only when setNeedsAnimate is called.

Powered by Google App Engine
This is Rietveld 408576698