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

Side by Side Diff: cc/trees/thread_proxy.h

Issue 817603002: cc: Make scheduling be driven by vsync for android webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix misc bugs introduced in last two patches Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // SchedulerClient implementation 213 // SchedulerClient implementation
214 void WillBeginImplFrame(const BeginFrameArgs& args) override; 214 void WillBeginImplFrame(const BeginFrameArgs& args) override;
215 void ScheduledActionSendBeginMainFrame() override; 215 void ScheduledActionSendBeginMainFrame() override;
216 DrawResult ScheduledActionDrawAndSwapIfPossible() override; 216 DrawResult ScheduledActionDrawAndSwapIfPossible() override;
217 DrawResult ScheduledActionDrawAndSwapForced() override; 217 DrawResult ScheduledActionDrawAndSwapForced() override;
218 void ScheduledActionAnimate() override; 218 void ScheduledActionAnimate() override;
219 void ScheduledActionCommit() override; 219 void ScheduledActionCommit() override;
220 void ScheduledActionActivateSyncTree() override; 220 void ScheduledActionActivateSyncTree() override;
221 void ScheduledActionBeginOutputSurfaceCreation() override; 221 void ScheduledActionBeginOutputSurfaceCreation() override;
222 void ScheduledActionPrepareTiles() override; 222 void ScheduledActionPrepareTiles() override;
223 void ScheduledActionInvalidateOutputSurface() override;
223 void DidAnticipatedDrawTimeChange(base::TimeTicks time) override; 224 void DidAnticipatedDrawTimeChange(base::TimeTicks time) override;
224 base::TimeDelta DrawDurationEstimate() override; 225 base::TimeDelta DrawDurationEstimate() override;
225 base::TimeDelta BeginMainFrameToCommitDurationEstimate() override; 226 base::TimeDelta BeginMainFrameToCommitDurationEstimate() override;
226 base::TimeDelta CommitToActivateDurationEstimate() override; 227 base::TimeDelta CommitToActivateDurationEstimate() override;
227 void DidBeginImplFrameDeadline() override; 228 void DidBeginImplFrameDeadline() override;
228 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; 229 void SendBeginFramesToChildren(const BeginFrameArgs& args) override;
229 230
230 // ResourceUpdateControllerClient implementation 231 // ResourceUpdateControllerClient implementation
231 void ReadyToFinalizeTextureUpdates() override; 232 void ReadyToFinalizeTextureUpdates() override;
232 233
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 302
302 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 303 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
303 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 304 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
304 305
305 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 306 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
306 }; 307 };
307 308
308 } // namespace cc 309 } // namespace cc
309 310
310 #endif // CC_TREES_THREAD_PROXY_H_ 311 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698