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

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

Issue 2668873002: cc: Add checker-imaging support to TileManager. (Closed)
Patch Set: rebase Created 3 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_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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 std::unique_ptr<MutatorEvents> events) override; 88 std::unique_ptr<MutatorEvents> events) override;
89 bool IsInsideDraw() override; 89 bool IsInsideDraw() override;
90 void RenewTreePriority() override {} 90 void RenewTreePriority() override {}
91 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, 91 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
92 base::TimeDelta delay) override {} 92 base::TimeDelta delay) override {}
93 void DidActivateSyncTree() override; 93 void DidActivateSyncTree() override;
94 void WillPrepareTiles() override; 94 void WillPrepareTiles() override;
95 void DidPrepareTiles() override; 95 void DidPrepareTiles() override;
96 void DidCompletePageScaleAnimationOnImplThread() override; 96 void DidCompletePageScaleAnimationOnImplThread() override;
97 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override; 97 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override;
98 void NeedsImplSideInvalidation() override;
98 99
99 void RequestNewCompositorFrameSink(); 100 void RequestNewCompositorFrameSink();
100 101
101 // Called by the legacy path where RenderWidget does the scheduling. 102 // Called by the legacy path where RenderWidget does the scheduling.
102 void CompositeImmediately(base::TimeTicks frame_begin_time); 103 void CompositeImmediately(base::TimeTicks frame_begin_time);
103 104
104 protected: 105 protected:
105 SingleThreadProxy(LayerTreeHost* layer_tree_host, 106 SingleThreadProxy(LayerTreeHost* layer_tree_host,
106 LayerTreeHostSingleThreadClient* client, 107 LayerTreeHostSingleThreadClient* client,
107 TaskRunnerProvider* task_runner_provider); 108 TaskRunnerProvider* task_runner_provider);
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 private: 232 private:
232 DebugScopedSetImplThread impl_thread_; 233 DebugScopedSetImplThread impl_thread_;
233 DebugScopedSetMainThreadBlocked main_thread_blocked_; 234 DebugScopedSetMainThreadBlocked main_thread_blocked_;
234 235
235 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 236 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
236 }; 237 };
237 238
238 } // namespace cc 239 } // namespace cc
239 240
240 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 241 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698