Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 615953005: Move page scale animation from LayerTreeHostImpl to LayerTreeImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added CC_EXPORT to PageScaleAnimation Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 virtual void SetRootLayerScrollOffsetDelegate( 142 virtual void SetRootLayerScrollOffsetDelegate(
143 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate) OVERRIDE; 143 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate) OVERRIDE;
144 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE; 144 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE;
145 virtual void ScrollEnd() OVERRIDE; 145 virtual void ScrollEnd() OVERRIDE;
146 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE; 146 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE;
147 virtual void MouseMoveAt(const gfx::Point& viewport_point) OVERRIDE; 147 virtual void MouseMoveAt(const gfx::Point& viewport_point) OVERRIDE;
148 virtual void PinchGestureBegin() OVERRIDE; 148 virtual void PinchGestureBegin() OVERRIDE;
149 virtual void PinchGestureUpdate(float magnify_delta, 149 virtual void PinchGestureUpdate(float magnify_delta,
150 const gfx::Point& anchor) OVERRIDE; 150 const gfx::Point& anchor) OVERRIDE;
151 virtual void PinchGestureEnd() OVERRIDE; 151 virtual void PinchGestureEnd() OVERRIDE;
152 virtual void StartPageScaleAnimation(const gfx::Vector2d& target_offset,
153 bool anchor_point,
154 float page_scale,
155 base::TimeDelta duration) OVERRIDE;
156 virtual void SetNeedsAnimate() OVERRIDE; 152 virtual void SetNeedsAnimate() OVERRIDE;
157 virtual bool IsCurrentlyScrollingLayerAt( 153 virtual bool IsCurrentlyScrollingLayerAt(
158 const gfx::Point& viewport_point, 154 const gfx::Point& viewport_point,
159 InputHandler::ScrollInputType type) OVERRIDE; 155 InputHandler::ScrollInputType type) OVERRIDE;
160 virtual bool HaveTouchEventHandlersAt( 156 virtual bool HaveTouchEventHandlersAt(
161 const gfx::Point& viewport_port) OVERRIDE; 157 const gfx::Point& viewport_port) OVERRIDE;
162 virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( 158 virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor(
163 ui::LatencyInfo* latency) OVERRIDE; 159 ui::LatencyInfo* latency) OVERRIDE;
164 160
165 // TopControlsManagerClient implementation. 161 // TopControlsManagerClient implementation.
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 702
707 std::vector<PictureLayerImpl*> picture_layers_; 703 std::vector<PictureLayerImpl*> picture_layers_;
708 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; 704 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_;
709 705
710 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 706 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
711 }; 707 };
712 708
713 } // namespace cc 709 } // namespace cc
714 710
715 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 711 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698