| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ |
| 6 #define CC_TREES_LAYER_TREE_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_IMPL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 bool top_controls_shrink_blink_size_; | 405 bool top_controls_shrink_blink_size_; |
| 406 | 406 |
| 407 float top_controls_height_; | 407 float top_controls_height_; |
| 408 | 408 |
| 409 // The up-to-date content offset of the top controls, i.e. the amount that the | 409 // The up-to-date content offset of the top controls, i.e. the amount that the |
| 410 // web contents have been shifted down from the top of the device viewport. | 410 // web contents have been shifted down from the top of the device viewport. |
| 411 float top_controls_content_offset_; | 411 float top_controls_content_offset_; |
| 412 float top_controls_delta_; | 412 float top_controls_delta_; |
| 413 float sent_top_controls_delta_; | 413 float sent_top_controls_delta_; |
| 414 | 414 |
| 415 // The cached viewport rect for tile priority since the last call of |
| 416 // UpdateDrawProperties. |
| 417 gfx::Rect viewport_rect_for_tile_priority_; |
| 415 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 418 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
| 416 | 419 |
| 417 private: | 420 private: |
| 418 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 421 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 419 }; | 422 }; |
| 420 | 423 |
| 421 } // namespace cc | 424 } // namespace cc |
| 422 | 425 |
| 423 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 426 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |