OLD | NEW |
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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 scoped_ptr<PageScaleAnimation> page_scale_animation_; | 446 scoped_ptr<PageScaleAnimation> page_scale_animation_; |
447 | 447 |
448 // This is used for ticking animations slowly when hidden. | 448 // This is used for ticking animations slowly when hidden. |
449 scoped_ptr<LayerTreeHostImplTimeSourceAdapter> time_source_client_adapter_; | 449 scoped_ptr<LayerTreeHostImplTimeSourceAdapter> time_source_client_adapter_; |
450 | 450 |
451 scoped_ptr<FrameRateCounter> fps_counter_; | 451 scoped_ptr<FrameRateCounter> fps_counter_; |
452 scoped_ptr<PaintTimeCounter> paint_time_counter_; | 452 scoped_ptr<PaintTimeCounter> paint_time_counter_; |
453 scoped_ptr<MemoryHistory> memory_history_; | 453 scoped_ptr<MemoryHistory> memory_history_; |
454 scoped_ptr<DebugRectHistory> debug_rect_history_; | 454 scoped_ptr<DebugRectHistory> debug_rect_history_; |
455 | 455 |
456 int64 num_impl_thread_scrolls_; | |
457 int64 num_main_thread_scrolls_; | |
458 | |
459 int64 cumulative_num_layers_drawn_; | |
460 | |
461 int64 cumulative_num_missing_tiles_; | |
462 | |
463 // The maximum memory that would be used by the prioritized resource | 456 // The maximum memory that would be used by the prioritized resource |
464 // manager, if there were no limit on memory usage. | 457 // manager, if there were no limit on memory usage. |
465 size_t max_memory_needed_bytes_; | 458 size_t max_memory_needed_bytes_; |
466 | 459 |
467 size_t last_sent_memory_visible_bytes_; | 460 size_t last_sent_memory_visible_bytes_; |
468 size_t last_sent_memory_visible_and_nearby_bytes_; | 461 size_t last_sent_memory_visible_and_nearby_bytes_; |
469 size_t last_sent_memory_use_bytes_; | 462 size_t last_sent_memory_use_bytes_; |
470 | 463 |
471 base::TimeTicks current_frame_time_; | 464 base::TimeTicks current_frame_time_; |
472 | 465 |
473 scoped_ptr<AnimationRegistrar> animation_registrar_; | 466 scoped_ptr<AnimationRegistrar> animation_registrar_; |
474 | 467 |
475 RenderingStatsInstrumentation* rendering_stats_instrumentation_; | 468 RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
476 | 469 |
477 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 470 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
478 }; | 471 }; |
479 | 472 |
480 } // namespace cc | 473 } // namespace cc |
481 | 474 |
482 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 475 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |