| 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_LAYER_TREE_HOST_IMPL_H_ | 5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_ |
| 6 #define CC_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_LAYER_TREE_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include "FloatPoint.h" | 8 #include "FloatPoint.h" |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 // InputHandlerClient implementation | 113 // InputHandlerClient implementation |
| 114 virtual InputHandlerClient::ScrollStatus scrollBegin(const gfx::Point&, Inpu
tHandlerClient::ScrollInputType) OVERRIDE; | 114 virtual InputHandlerClient::ScrollStatus scrollBegin(const gfx::Point&, Inpu
tHandlerClient::ScrollInputType) OVERRIDE; |
| 115 virtual void scrollBy(const gfx::Point&, const IntSize&) OVERRIDE; | 115 virtual void scrollBy(const gfx::Point&, const IntSize&) OVERRIDE; |
| 116 virtual void scrollEnd() OVERRIDE; | 116 virtual void scrollEnd() OVERRIDE; |
| 117 virtual void pinchGestureBegin() OVERRIDE; | 117 virtual void pinchGestureBegin() OVERRIDE; |
| 118 virtual void pinchGestureUpdate(float, const IntPoint&) OVERRIDE; | 118 virtual void pinchGestureUpdate(float, const IntPoint&) OVERRIDE; |
| 119 virtual void pinchGestureEnd() OVERRIDE; | 119 virtual void pinchGestureEnd() OVERRIDE; |
| 120 virtual void startPageScaleAnimation(const IntSize& targetPosition, bool anc
horPoint, float pageScale, base::TimeTicks startTime, base::TimeDelta duration)
OVERRIDE; | 120 virtual void startPageScaleAnimation(const IntSize& targetPosition, bool anc
horPoint, float pageScale, base::TimeTicks startTime, base::TimeDelta duration)
OVERRIDE; |
| 121 virtual void scheduleAnimation() OVERRIDE; | 121 virtual void scheduleAnimation() OVERRIDE; |
| 122 virtual bool checkTouchEventHandlerRegionHit(const gfx::Point&) OVERRIDE; |
| 122 | 123 |
| 123 struct CC_EXPORT FrameData : public RenderPassSink { | 124 struct CC_EXPORT FrameData : public RenderPassSink { |
| 124 FrameData(); | 125 FrameData(); |
| 125 ~FrameData(); | 126 ~FrameData(); |
| 126 | 127 |
| 127 std::vector<gfx::Rect> occludingScreenSpaceRects; | 128 std::vector<gfx::Rect> occludingScreenSpaceRects; |
| 128 RenderPassList renderPasses; | 129 RenderPassList renderPasses; |
| 129 RenderPassIdHashMap renderPassesById; | 130 RenderPassIdHashMap renderPassesById; |
| 130 LayerList* renderSurfaceLayerList; | 131 LayerList* renderSurfaceLayerList; |
| 131 LayerList willDrawLayers; | 132 LayerList willDrawLayers; |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 | 352 |
| 352 size_t m_numImplThreadScrolls; | 353 size_t m_numImplThreadScrolls; |
| 353 size_t m_numMainThreadScrolls; | 354 size_t m_numMainThreadScrolls; |
| 354 | 355 |
| 355 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 356 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 356 }; | 357 }; |
| 357 | 358 |
| 358 } // namespace cc | 359 } // namespace cc |
| 359 | 360 |
| 360 #endif // CC_LAYER_TREE_HOST_IMPL_H_ | 361 #endif // CC_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |