Chromium Code Reviews| 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 Proxy* proxy, | 84 Proxy* proxy, |
| 85 RenderingStatsInstrumentation* rendering_stats_instrumentation); | 85 RenderingStatsInstrumentation* rendering_stats_instrumentation); |
| 86 virtual ~LayerTreeHostImpl(); | 86 virtual ~LayerTreeHostImpl(); |
| 87 | 87 |
| 88 // InputHandlerClient implementation | 88 // InputHandlerClient implementation |
| 89 virtual InputHandlerClient::ScrollStatus ScrollBegin( | 89 virtual InputHandlerClient::ScrollStatus ScrollBegin( |
| 90 gfx::Point viewport_point, | 90 gfx::Point viewport_point, |
| 91 InputHandlerClient::ScrollInputType type) OVERRIDE; | 91 InputHandlerClient::ScrollInputType type) OVERRIDE; |
| 92 virtual bool ScrollBy(gfx::Point viewport_point, | 92 virtual bool ScrollBy(gfx::Point viewport_point, |
| 93 gfx::Vector2dF scroll_delta) OVERRIDE; | 93 gfx::Vector2dF scroll_delta) OVERRIDE; |
| 94 virtual bool ScrollVerticallyByPage( | |
| 95 gfx::Point viewport_point, | |
| 96 WebKit::WebScrollbar::ScrollDirection direction) OVERRIDE; | |
|
enne (OOO)
2013/03/23 00:25:51
I know we already depend on a lot of WebScrollbar-
| |
| 94 virtual void ScrollEnd() OVERRIDE; | 97 virtual void ScrollEnd() OVERRIDE; |
| 95 virtual void PinchGestureBegin() OVERRIDE; | 98 virtual void PinchGestureBegin() OVERRIDE; |
| 96 virtual void PinchGestureUpdate(float magnify_delta, | 99 virtual void PinchGestureUpdate(float magnify_delta, |
| 97 gfx::Point anchor) OVERRIDE; | 100 gfx::Point anchor) OVERRIDE; |
| 98 virtual void PinchGestureEnd() OVERRIDE; | 101 virtual void PinchGestureEnd() OVERRIDE; |
| 99 virtual void StartPageScaleAnimation(gfx::Vector2d target_offset, | 102 virtual void StartPageScaleAnimation(gfx::Vector2d target_offset, |
| 100 bool anchor_point, | 103 bool anchor_point, |
| 101 float page_scale, | 104 float page_scale, |
| 102 base::TimeTicks start_time, | 105 base::TimeTicks start_time, |
| 103 base::TimeDelta duration) OVERRIDE; | 106 base::TimeDelta duration) OVERRIDE; |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 450 scoped_ptr<AnimationRegistrar> animation_registrar_; | 453 scoped_ptr<AnimationRegistrar> animation_registrar_; |
| 451 | 454 |
| 452 RenderingStatsInstrumentation* rendering_stats_instrumentation_; | 455 RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
| 453 | 456 |
| 454 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 457 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 455 }; | 458 }; |
| 456 | 459 |
| 457 } // namespace cc | 460 } // namespace cc |
| 458 | 461 |
| 459 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 462 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |