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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
427 scoped_ptr<PageScaleAnimation> page_scale_animation_; | 427 scoped_ptr<PageScaleAnimation> page_scale_animation_; |
428 | 428 |
429 // This is used for ticking animations slowly when hidden. | 429 // This is used for ticking animations slowly when hidden. |
430 scoped_ptr<LayerTreeHostImplTimeSourceAdapter> time_source_client_adapter_; | 430 scoped_ptr<LayerTreeHostImplTimeSourceAdapter> time_source_client_adapter_; |
431 | 431 |
432 scoped_ptr<FrameRateCounter> fps_counter_; | 432 scoped_ptr<FrameRateCounter> fps_counter_; |
433 scoped_ptr<PaintTimeCounter> paint_time_counter_; | 433 scoped_ptr<PaintTimeCounter> paint_time_counter_; |
434 scoped_ptr<MemoryHistory> memory_history_; | 434 scoped_ptr<MemoryHistory> memory_history_; |
435 scoped_ptr<DebugRectHistory> debug_rect_history_; | 435 scoped_ptr<DebugRectHistory> debug_rect_history_; |
436 | 436 |
437 int64 num_impl_thread_scrolls_; | |
egraether
2013/03/23 00:15:40
I forgot to remove these members in the last patch
| |
438 int64 num_main_thread_scrolls_; | |
439 | |
440 int64 cumulative_num_layers_drawn_; | |
441 | |
442 int64 cumulative_num_missing_tiles_; | |
443 | |
444 size_t last_sent_memory_visible_bytes_; | 437 size_t last_sent_memory_visible_bytes_; |
445 size_t last_sent_memory_visible_and_nearby_bytes_; | 438 size_t last_sent_memory_visible_and_nearby_bytes_; |
446 size_t last_sent_memory_use_bytes_; | 439 size_t last_sent_memory_use_bytes_; |
447 | 440 |
448 base::TimeTicks current_frame_time_; | 441 base::TimeTicks current_frame_time_; |
449 | 442 |
450 scoped_ptr<AnimationRegistrar> animation_registrar_; | 443 scoped_ptr<AnimationRegistrar> animation_registrar_; |
451 | 444 |
452 RenderingStatsInstrumentation* rendering_stats_instrumentation_; | 445 RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
453 | 446 |
454 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 447 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
455 }; | 448 }; |
456 | 449 |
457 } // namespace cc | 450 } // namespace cc |
458 | 451 |
459 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 452 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |