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

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

Issue 948243003: cc: Misc animation refactoring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address danakj's comment. 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
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 LayerTreeHostImplClient* client, 525 LayerTreeHostImplClient* client,
526 Proxy* proxy, 526 Proxy* proxy,
527 RenderingStatsInstrumentation* rendering_stats_instrumentation, 527 RenderingStatsInstrumentation* rendering_stats_instrumentation,
528 SharedBitmapManager* shared_bitmap_manager, 528 SharedBitmapManager* shared_bitmap_manager,
529 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager, 529 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
530 int id); 530 int id);
531 531
532 532
533 // Virtual for testing. 533 // Virtual for testing.
534 virtual void AnimateLayers(base::TimeTicks monotonic_time); 534 virtual void AnimateLayers(base::TimeTicks monotonic_time);
535 const AnimationRegistrar::AnimationControllerMap&
536 active_animation_controllers() const {
537 return animation_registrar_->active_animation_controllers();
538 }
539 535
540 LayerTreeHostImplClient* client_; 536 LayerTreeHostImplClient* client_;
541 Proxy* proxy_; 537 Proxy* proxy_;
542 538
543 private: 539 private:
544 void CreateAndSetRenderer(); 540 void CreateAndSetRenderer();
545 void CreateAndSetTileManager(); 541 void CreateAndSetTileManager();
546 void DestroyTileManager(); 542 void DestroyTileManager();
547 void ReleaseTreeResources(); 543 void ReleaseTreeResources();
548 void RecreateTreeResources(); 544 void RecreateTreeResources();
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 bool is_likely_to_require_a_draw_; 731 bool is_likely_to_require_a_draw_;
736 732
737 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 733 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
738 734
739 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 735 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
740 }; 736 };
741 737
742 } // namespace cc 738 } // namespace cc
743 739
744 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 740 #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.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698