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

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

Issue 914403003: cc: Add main frame timing info to frame timing tracker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 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 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 scoped_ptr<AnimationEventsVector> queue) override; 203 scoped_ptr<AnimationEventsVector> queue) override;
204 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, 204 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes,
205 int priority_cutoff) override; 205 int priority_cutoff) override;
206 bool IsInsideDraw() override; 206 bool IsInsideDraw() override;
207 void RenewTreePriority() override; 207 void RenewTreePriority() override;
208 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, 208 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
209 base::TimeDelta delay) override; 209 base::TimeDelta delay) override;
210 void DidActivateSyncTree() override; 210 void DidActivateSyncTree() override;
211 void DidPrepareTiles() override; 211 void DidPrepareTiles() override;
212 void DidCompletePageScaleAnimationOnImplThread() override; 212 void DidCompletePageScaleAnimationOnImplThread() override;
213 base::TimeTicks GetNextBeginImplFrameTimeIfRequested() const override;
213 214
214 // SchedulerClient implementation 215 // SchedulerClient implementation
215 void WillBeginImplFrame(const BeginFrameArgs& args) override; 216 void WillBeginImplFrame(const BeginFrameArgs& args) override;
216 void ScheduledActionSendBeginMainFrame() override; 217 void ScheduledActionSendBeginMainFrame() override;
217 DrawResult ScheduledActionDrawAndSwapIfPossible() override; 218 DrawResult ScheduledActionDrawAndSwapIfPossible() override;
218 DrawResult ScheduledActionDrawAndSwapForced() override; 219 DrawResult ScheduledActionDrawAndSwapForced() override;
219 void ScheduledActionAnimate() override; 220 void ScheduledActionAnimate() override;
220 void ScheduledActionCommit() override; 221 void ScheduledActionCommit() override;
221 void ScheduledActionActivateSyncTree() override; 222 void ScheduledActionActivateSyncTree() override;
222 void ScheduledActionBeginOutputSurfaceCreation() override; 223 void ScheduledActionBeginOutputSurfaceCreation() override;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 305
305 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 306 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
306 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 307 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
307 308
308 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 309 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
309 }; 310 };
310 311
311 } // namespace cc 312 } // namespace cc
312 313
313 #endif // CC_TREES_THREAD_PROXY_H_ 314 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698