| 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 <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 template <typename RenderPassCuller> | 410 template <typename RenderPassCuller> |
| 411 static void RemoveRenderPasses(RenderPassCuller culler, FrameData* frame); | 411 static void RemoveRenderPasses(RenderPassCuller culler, FrameData* frame); |
| 412 | 412 |
| 413 gfx::Vector2dF accumulated_root_overscroll() const { | 413 gfx::Vector2dF accumulated_root_overscroll() const { |
| 414 return accumulated_root_overscroll_; | 414 return accumulated_root_overscroll_; |
| 415 } | 415 } |
| 416 | 416 |
| 417 bool pinch_gesture_active() const { return pinch_gesture_active_; } | 417 bool pinch_gesture_active() const { return pinch_gesture_active_; } |
| 418 | 418 |
| 419 void SetTreePriority(TreePriority priority); | 419 void SetTreePriority(TreePriority priority); |
| 420 TreePriority GetTreePriority() const; |
| 420 | 421 |
| 421 void UpdateCurrentBeginFrameArgs(const BeginFrameArgs& args); | 422 void UpdateCurrentBeginFrameArgs(const BeginFrameArgs& args); |
| 422 void ResetCurrentBeginFrameArgsForNextFrame(); | 423 void ResetCurrentBeginFrameArgsForNextFrame(); |
| 423 virtual BeginFrameArgs CurrentBeginFrameArgs() const; | 424 virtual BeginFrameArgs CurrentBeginFrameArgs() const; |
| 424 | 425 |
| 425 // Expected time between two begin impl frame calls. | 426 // Expected time between two begin impl frame calls. |
| 426 base::TimeDelta begin_impl_frame_interval() const { | 427 base::TimeDelta begin_impl_frame_interval() const { |
| 427 return begin_impl_frame_interval_; | 428 return begin_impl_frame_interval_; |
| 428 } | 429 } |
| 429 | 430 |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; | 709 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; |
| 709 | 710 |
| 710 bool requires_high_res_to_draw_; | 711 bool requires_high_res_to_draw_; |
| 711 | 712 |
| 712 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 713 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 713 }; | 714 }; |
| 714 | 715 |
| 715 } // namespace cc | 716 } // namespace cc |
| 716 | 717 |
| 717 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 718 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |