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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 scoped_ptr<PageScaleAnimation> page_scale_animation_; | 442 scoped_ptr<PageScaleAnimation> page_scale_animation_; |
443 | 443 |
444 // This is used for ticking animations slowly when hidden. | 444 // This is used for ticking animations slowly when hidden. |
445 scoped_ptr<LayerTreeHostImplTimeSourceAdapter> time_source_client_adapter_; | 445 scoped_ptr<LayerTreeHostImplTimeSourceAdapter> time_source_client_adapter_; |
446 | 446 |
447 scoped_ptr<FrameRateCounter> fps_counter_; | 447 scoped_ptr<FrameRateCounter> fps_counter_; |
448 scoped_ptr<PaintTimeCounter> paint_time_counter_; | 448 scoped_ptr<PaintTimeCounter> paint_time_counter_; |
449 scoped_ptr<MemoryHistory> memory_history_; | 449 scoped_ptr<MemoryHistory> memory_history_; |
450 scoped_ptr<DebugRectHistory> debug_rect_history_; | 450 scoped_ptr<DebugRectHistory> debug_rect_history_; |
451 | 451 |
452 int64 num_impl_thread_scrolls_; | |
453 int64 num_main_thread_scrolls_; | |
454 | |
455 int64 cumulative_num_layers_drawn_; | |
456 | |
457 int64 cumulative_num_missing_tiles_; | |
458 | |
459 size_t last_sent_memory_visible_bytes_; | 452 size_t last_sent_memory_visible_bytes_; |
460 size_t last_sent_memory_visible_and_nearby_bytes_; | 453 size_t last_sent_memory_visible_and_nearby_bytes_; |
461 size_t last_sent_memory_use_bytes_; | 454 size_t last_sent_memory_use_bytes_; |
462 | 455 |
463 base::TimeTicks current_frame_time_; | 456 base::TimeTicks current_frame_time_; |
464 | 457 |
465 scoped_ptr<AnimationRegistrar> animation_registrar_; | 458 scoped_ptr<AnimationRegistrar> animation_registrar_; |
466 | 459 |
467 RenderingStatsInstrumentation* rendering_stats_instrumentation_; | 460 RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
468 | 461 |
469 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 462 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
470 }; | 463 }; |
471 | 464 |
472 } // namespace cc | 465 } // namespace cc |
473 | 466 |
474 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 467 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |