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

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

Issue 1296673004: Devtools/CC: Remove continuous repainting feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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_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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class AnimationHost; 53 class AnimationHost;
54 class CompletionEvent; 54 class CompletionEvent;
55 class CompositorFrameMetadata; 55 class CompositorFrameMetadata;
56 class DebugRectHistory; 56 class DebugRectHistory;
57 class EvictionTilePriorityQueue; 57 class EvictionTilePriorityQueue;
58 class FrameRateCounter; 58 class FrameRateCounter;
59 class LayerImpl; 59 class LayerImpl;
60 class LayerTreeImpl; 60 class LayerTreeImpl;
61 class MemoryHistory; 61 class MemoryHistory;
62 class PageScaleAnimation; 62 class PageScaleAnimation;
63 class PaintTimeCounter;
64 class PictureLayerImpl; 63 class PictureLayerImpl;
65 class RasterTilePriorityQueue; 64 class RasterTilePriorityQueue;
66 class TileTaskWorkerPool; 65 class TileTaskWorkerPool;
67 class RenderPassDrawQuad; 66 class RenderPassDrawQuad;
68 class RenderingStatsInstrumentation; 67 class RenderingStatsInstrumentation;
69 class ResourcePool; 68 class ResourcePool;
70 class ScrollElasticityHelper; 69 class ScrollElasticityHelper;
71 class ScrollbarLayerImplBase; 70 class ScrollbarLayerImplBase;
72 class SwapPromise; 71 class SwapPromise;
73 class SwapPromiseMonitor; 72 class SwapPromiseMonitor;
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 453
455 scoped_ptr<ScrollAndScaleSet> ProcessScrollDeltas(); 454 scoped_ptr<ScrollAndScaleSet> ProcessScrollDeltas();
456 455
457 void set_max_memory_needed_bytes(size_t bytes) { 456 void set_max_memory_needed_bytes(size_t bytes) {
458 max_memory_needed_bytes_ = bytes; 457 max_memory_needed_bytes_ = bytes;
459 } 458 }
460 459
461 FrameRateCounter* fps_counter() { 460 FrameRateCounter* fps_counter() {
462 return fps_counter_.get(); 461 return fps_counter_.get();
463 } 462 }
464 PaintTimeCounter* paint_time_counter() {
465 return paint_time_counter_.get();
466 }
467 MemoryHistory* memory_history() { 463 MemoryHistory* memory_history() {
468 return memory_history_.get(); 464 return memory_history_.get();
469 } 465 }
470 DebugRectHistory* debug_rect_history() { 466 DebugRectHistory* debug_rect_history() {
471 return debug_rect_history_.get(); 467 return debug_rect_history_.get();
472 } 468 }
473 ResourceProvider* resource_provider() { 469 ResourceProvider* resource_provider() {
474 return resource_provider_.get(); 470 return resource_provider_.get();
475 } 471 }
476 TopControlsManager* top_controls_manager() { 472 TopControlsManager* top_controls_manager() {
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 gfx::Vector2dF accumulated_root_overscroll_; 751 gfx::Vector2dF accumulated_root_overscroll_;
756 752
757 bool pinch_gesture_active_; 753 bool pinch_gesture_active_;
758 bool pinch_gesture_end_should_clear_scrolling_layer_; 754 bool pinch_gesture_end_should_clear_scrolling_layer_;
759 755
760 scoped_ptr<TopControlsManager> top_controls_manager_; 756 scoped_ptr<TopControlsManager> top_controls_manager_;
761 757
762 scoped_ptr<PageScaleAnimation> page_scale_animation_; 758 scoped_ptr<PageScaleAnimation> page_scale_animation_;
763 759
764 scoped_ptr<FrameRateCounter> fps_counter_; 760 scoped_ptr<FrameRateCounter> fps_counter_;
765 scoped_ptr<PaintTimeCounter> paint_time_counter_;
766 scoped_ptr<MemoryHistory> memory_history_; 761 scoped_ptr<MemoryHistory> memory_history_;
767 scoped_ptr<DebugRectHistory> debug_rect_history_; 762 scoped_ptr<DebugRectHistory> debug_rect_history_;
768 763
769 scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_; 764 scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_;
770 765
771 // The maximum memory that would be used by the prioritized resource 766 // The maximum memory that would be used by the prioritized resource
772 // manager, if there were no limit on memory usage. 767 // manager, if there were no limit on memory usage.
773 size_t max_memory_needed_bytes_; 768 size_t max_memory_needed_bytes_;
774 769
775 // Viewport size passed in from the main thread, in physical pixels. This 770 // Viewport size passed in from the main thread, in physical pixels. This
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 817 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
823 818
824 scoped_ptr<Viewport> viewport_; 819 scoped_ptr<Viewport> viewport_;
825 820
826 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 821 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
827 }; 822 };
828 823
829 } // namespace cc 824 } // namespace cc
830 825
831 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 826 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698