| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 float page_scale, | 133 float page_scale, |
| 134 base::TimeDelta duration) OVERRIDE; | 134 base::TimeDelta duration) OVERRIDE; |
| 135 virtual void ScheduleAnimation() OVERRIDE; | 135 virtual void ScheduleAnimation() OVERRIDE; |
| 136 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_port) OVERRIDE; | 136 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_port) OVERRIDE; |
| 137 virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( | 137 virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( |
| 138 ui::LatencyInfo* latency) OVERRIDE; | 138 ui::LatencyInfo* latency) OVERRIDE; |
| 139 | 139 |
| 140 // TopControlsManagerClient implementation. | 140 // TopControlsManagerClient implementation. |
| 141 virtual void DidChangeTopControlsPosition() OVERRIDE; | 141 virtual void DidChangeTopControlsPosition() OVERRIDE; |
| 142 virtual bool HaveRootScrollLayer() const OVERRIDE; | 142 virtual bool HaveRootScrollLayer() const OVERRIDE; |
| 143 virtual void DidFinishTopControlsGesture() OVERRIDE; |
| 143 | 144 |
| 144 void StartScrollbarAnimation(); | 145 void StartScrollbarAnimation(); |
| 145 | 146 |
| 146 struct CC_EXPORT FrameData : public RenderPassSink { | 147 struct CC_EXPORT FrameData : public RenderPassSink { |
| 147 FrameData(); | 148 FrameData(); |
| 148 virtual ~FrameData(); | 149 virtual ~FrameData(); |
| 149 scoped_ptr<base::Value> AsValue() const; | 150 scoped_ptr<base::Value> AsValue() const; |
| 150 | 151 |
| 151 std::vector<gfx::Rect> occluding_screen_space_rects; | 152 std::vector<gfx::Rect> occluding_screen_space_rects; |
| 152 std::vector<gfx::Rect> non_occluding_screen_space_rects; | 153 std::vector<gfx::Rect> non_occluding_screen_space_rects; |
| (...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 int id_; | 652 int id_; |
| 652 | 653 |
| 653 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 654 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
| 654 | 655 |
| 655 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 656 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 656 }; | 657 }; |
| 657 | 658 |
| 658 } // namespace cc | 659 } // namespace cc |
| 659 | 660 |
| 660 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 661 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |