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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 RenderingStatsInstrumentation* rendering_stats_instrumentation, | 119 RenderingStatsInstrumentation* rendering_stats_instrumentation, |
120 SharedBitmapManager* manager, | 120 SharedBitmapManager* manager, |
121 int id); | 121 int id); |
122 virtual ~LayerTreeHostImpl(); | 122 virtual ~LayerTreeHostImpl(); |
123 | 123 |
124 // InputHandler implementation | 124 // InputHandler implementation |
125 virtual void BindToClient(InputHandlerClient* client) OVERRIDE; | 125 virtual void BindToClient(InputHandlerClient* client) OVERRIDE; |
126 virtual InputHandler::ScrollStatus ScrollBegin( | 126 virtual InputHandler::ScrollStatus ScrollBegin( |
127 const gfx::Point& viewport_point, | 127 const gfx::Point& viewport_point, |
128 InputHandler::ScrollInputType type) OVERRIDE; | 128 InputHandler::ScrollInputType type) OVERRIDE; |
| 129 virtual InputHandler::ScrollStatus ScrollAnimated( |
| 130 const gfx::Point& viewport_point, |
| 131 const gfx::Vector2dF& scroll_delta) OVERRIDE; |
129 virtual bool ScrollBy(const gfx::Point& viewport_point, | 132 virtual bool ScrollBy(const gfx::Point& viewport_point, |
130 const gfx::Vector2dF& scroll_delta) OVERRIDE; | 133 const gfx::Vector2dF& scroll_delta) OVERRIDE; |
131 virtual bool ScrollVerticallyByPage(const gfx::Point& viewport_point, | 134 virtual bool ScrollVerticallyByPage(const gfx::Point& viewport_point, |
132 ScrollDirection direction) OVERRIDE; | 135 ScrollDirection direction) OVERRIDE; |
133 virtual void SetRootLayerScrollOffsetDelegate( | 136 virtual void SetRootLayerScrollOffsetDelegate( |
134 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate) OVERRIDE; | 137 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate) OVERRIDE; |
135 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE; | 138 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE; |
136 virtual void ScrollEnd() OVERRIDE; | 139 virtual void ScrollEnd() OVERRIDE; |
137 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE; | 140 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE; |
138 virtual void MouseMoveAt(const gfx::Point& viewport_point) OVERRIDE; | 141 virtual void MouseMoveAt(const gfx::Point& viewport_point) OVERRIDE; |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 size_t transfer_buffer_memory_limit_; | 698 size_t transfer_buffer_memory_limit_; |
696 | 699 |
697 std::vector<PictureLayerImpl*> picture_layers_; | 700 std::vector<PictureLayerImpl*> picture_layers_; |
698 | 701 |
699 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 702 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
700 }; | 703 }; |
701 | 704 |
702 } // namespace cc | 705 } // namespace cc |
703 | 706 |
704 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 707 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |