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

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

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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
« no previous file with comments | « cc/trees/remote_channel_unittest.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 std::unique_ptr<AnimationEvents> events) override; 99 std::unique_ptr<AnimationEvents> events) override;
100 bool IsInsideDraw() override; 100 bool IsInsideDraw() override;
101 void RenewTreePriority() override {} 101 void RenewTreePriority() override {}
102 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, 102 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
103 base::TimeDelta delay) override {} 103 base::TimeDelta delay) override {}
104 void DidActivateSyncTree() override; 104 void DidActivateSyncTree() override;
105 void WillPrepareTiles() override; 105 void WillPrepareTiles() override;
106 void DidPrepareTiles() override; 106 void DidPrepareTiles() override;
107 void DidCompletePageScaleAnimationOnImplThread() override; 107 void DidCompletePageScaleAnimationOnImplThread() override;
108 void OnDrawForOutputSurface(bool resourceless_software_draw) override; 108 void OnDrawForOutputSurface(bool resourceless_software_draw) override;
109 void PostFrameTimingEventsOnImplThread(
110 std::unique_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
111 std::unique_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
112 override;
113 109
114 void RequestNewOutputSurface(); 110 void RequestNewOutputSurface();
115 111
116 // Called by the legacy path where RenderWidget does the scheduling. 112 // Called by the legacy path where RenderWidget does the scheduling.
117 void CompositeImmediately(base::TimeTicks frame_begin_time); 113 void CompositeImmediately(base::TimeTicks frame_begin_time);
118 114
119 protected: 115 protected:
120 SingleThreadProxy(LayerTreeHost* layer_tree_host, 116 SingleThreadProxy(LayerTreeHost* layer_tree_host,
121 LayerTreeHostSingleThreadClient* client, 117 LayerTreeHostSingleThreadClient* client,
122 TaskRunnerProvider* task_runner_provider); 118 TaskRunnerProvider* task_runner_provider);
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 private: 236 private:
241 DebugScopedSetImplThread impl_thread_; 237 DebugScopedSetImplThread impl_thread_;
242 DebugScopedSetMainThreadBlocked main_thread_blocked_; 238 DebugScopedSetMainThreadBlocked main_thread_blocked_;
243 239
244 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 240 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
245 }; 241 };
246 242
247 } // namespace cc 243 } // namespace cc
248 244
249 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 245 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/remote_channel_unittest.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698