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_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 #include <list> | 9 #include <list> |
10 #include <vector> | 10 #include <vector> |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 | 353 |
354 scoped_refptr<Layer> root_layer_; | 354 scoped_refptr<Layer> root_layer_; |
355 scoped_refptr<HeadsUpDisplayLayer> hud_layer_; | 355 scoped_refptr<HeadsUpDisplayLayer> hud_layer_; |
356 | 356 |
357 scoped_ptr<PrioritizedResourceManager> contents_texture_manager_; | 357 scoped_ptr<PrioritizedResourceManager> contents_texture_manager_; |
358 scoped_ptr<PrioritizedResource> surface_memory_placeholder_; | 358 scoped_ptr<PrioritizedResource> surface_memory_placeholder_; |
359 | 359 |
360 base::WeakPtr<InputHandler> input_handler_weak_ptr_; | 360 base::WeakPtr<InputHandler> input_handler_weak_ptr_; |
361 base::WeakPtr<TopControlsManager> top_controls_manager_weak_ptr_; | 361 base::WeakPtr<TopControlsManager> top_controls_manager_weak_ptr_; |
362 | 362 |
363 LayerTreeSettings settings_; | 363 const LayerTreeSettings settings_; |
364 LayerTreeDebugState debug_state_; | 364 LayerTreeDebugState debug_state_; |
365 | 365 |
366 gfx::Size device_viewport_size_; | 366 gfx::Size device_viewport_size_; |
367 float overdraw_bottom_height_; | 367 float overdraw_bottom_height_; |
368 float device_scale_factor_; | 368 float device_scale_factor_; |
369 | 369 |
370 bool visible_; | 370 bool visible_; |
371 | 371 |
372 typedef base::hash_map<WebKit::WebGraphicsContext3D*, | 372 typedef base::hash_map<WebKit::WebGraphicsContext3D*, |
373 scoped_refptr<RateLimiter> > RateLimiterMap; | 373 scoped_refptr<RateLimiter> > RateLimiterMap; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 }; | 418 }; |
419 LCDTextMetrics lcd_text_metrics_; | 419 LCDTextMetrics lcd_text_metrics_; |
420 int tree_id_; | 420 int tree_id_; |
421 | 421 |
422 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 422 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
423 }; | 423 }; |
424 | 424 |
425 } // namespace cc | 425 } // namespace cc |
426 | 426 |
427 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 427 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |