| 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 <set> | 10 #include <set> |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 float top_controls_content_offset_; | 393 float top_controls_content_offset_; |
| 394 float device_scale_factor_; | 394 float device_scale_factor_; |
| 395 | 395 |
| 396 bool visible_; | 396 bool visible_; |
| 397 | 397 |
| 398 base::OneShotTimer<LayerTreeHost> rate_limit_timer_; | 398 base::OneShotTimer<LayerTreeHost> rate_limit_timer_; |
| 399 | 399 |
| 400 float page_scale_factor_; | 400 float page_scale_factor_; |
| 401 float min_page_scale_factor_; | 401 float min_page_scale_factor_; |
| 402 float max_page_scale_factor_; | 402 float max_page_scale_factor_; |
| 403 gfx::Transform impl_transform_; | |
| 404 bool has_gpu_rasterization_trigger_; | 403 bool has_gpu_rasterization_trigger_; |
| 405 bool content_is_suitable_for_gpu_rasterization_; | 404 bool content_is_suitable_for_gpu_rasterization_; |
| 406 bool gpu_rasterization_histogram_recorded_; | 405 bool gpu_rasterization_histogram_recorded_; |
| 407 | 406 |
| 408 SkColor background_color_; | 407 SkColor background_color_; |
| 409 bool has_transparent_background_; | 408 bool has_transparent_background_; |
| 410 | 409 |
| 411 // If set, this texture is used to fill in the parts of the screen not | 410 // If set, this texture is used to fill in the parts of the screen not |
| 412 // covered by layers. | 411 // covered by layers. |
| 413 scoped_ptr<ScopedUIResource> overhang_ui_resource_; | 412 scoped_ptr<ScopedUIResource> overhang_ui_resource_; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 | 454 |
| 456 ScopedPtrVector<SwapPromise> swap_promise_list_; | 455 ScopedPtrVector<SwapPromise> swap_promise_list_; |
| 457 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 456 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
| 458 | 457 |
| 459 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 458 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 460 }; | 459 }; |
| 461 | 460 |
| 462 } // namespace cc | 461 } // namespace cc |
| 463 | 462 |
| 464 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 463 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |