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

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

Issue 2158973002: cc: Clean up LayerTreeTest and TestHooks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: proxy-impls: test Created 4 years, 5 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/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl_unittest.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_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <bitset> 10 #include <bitset>
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool has_no_damage; 229 bool has_no_damage;
230 230
231 // RenderPassSink implementation. 231 // RenderPassSink implementation.
232 void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) override; 232 void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) override;
233 233
234 private: 234 private:
235 DISALLOW_COPY_AND_ASSIGN(FrameData); 235 DISALLOW_COPY_AND_ASSIGN(FrameData);
236 }; 236 };
237 237
238 virtual void BeginMainFrameAborted(CommitEarlyOutReason reason); 238 virtual void BeginMainFrameAborted(CommitEarlyOutReason reason);
239 virtual void ReadyToCommit() {} // For tests.
239 virtual void BeginCommit(); 240 virtual void BeginCommit();
240 virtual void CommitComplete(); 241 virtual void CommitComplete();
241 virtual void UpdateAnimationState(bool start_ready_animations); 242 virtual void UpdateAnimationState(bool start_ready_animations);
242 bool Mutate(base::TimeTicks monotonic_time); 243 bool Mutate(base::TimeTicks monotonic_time);
243 void ActivateAnimations(); 244 void ActivateAnimations();
244 void Animate(); 245 void Animate();
245 void AnimatePendingTreeAfterCommit(); 246 void AnimatePendingTreeAfterCommit();
246 void MainThreadHasStoppedFlinging(); 247 void MainThreadHasStoppedFlinging();
247 void DidAnimateScrollOffset(); 248 void DidAnimateScrollOffset();
248 void SetViewportDamage(const gfx::Rect& damage_rect); 249 void SetViewportDamage(const gfx::Rect& damage_rect);
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 850
850 std::unique_ptr<PendingTreeDurationHistogramTimer> 851 std::unique_ptr<PendingTreeDurationHistogramTimer>
851 pending_tree_duration_timer_; 852 pending_tree_duration_timer_;
852 853
853 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 854 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
854 }; 855 };
855 856
856 } // namespace cc 857 } // namespace cc
857 858
858 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 859 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698