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

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

Issue 132163009: [#6]Pass gfx structs by const ref (gfx::Vector2d) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on TOT Created 6 years, 10 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_client.h ('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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE; 123 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE;
124 virtual void ScrollEnd() OVERRIDE; 124 virtual void ScrollEnd() OVERRIDE;
125 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE; 125 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE;
126 virtual void NotifyCurrentFlingVelocity( 126 virtual void NotifyCurrentFlingVelocity(
127 const gfx::Vector2dF& velocity) OVERRIDE; 127 const gfx::Vector2dF& velocity) OVERRIDE;
128 virtual void MouseMoveAt(gfx::Point viewport_point) OVERRIDE; 128 virtual void MouseMoveAt(gfx::Point viewport_point) OVERRIDE;
129 virtual void PinchGestureBegin() OVERRIDE; 129 virtual void PinchGestureBegin() OVERRIDE;
130 virtual void PinchGestureUpdate(float magnify_delta, 130 virtual void PinchGestureUpdate(float magnify_delta,
131 gfx::Point anchor) OVERRIDE; 131 gfx::Point anchor) OVERRIDE;
132 virtual void PinchGestureEnd() OVERRIDE; 132 virtual void PinchGestureEnd() OVERRIDE;
133 virtual void StartPageScaleAnimation(gfx::Vector2d target_offset, 133 virtual void StartPageScaleAnimation(const gfx::Vector2d& target_offset,
134 bool anchor_point, 134 bool anchor_point,
135 float page_scale, 135 float page_scale,
136 base::TimeDelta duration) OVERRIDE; 136 base::TimeDelta duration) OVERRIDE;
137 virtual void ScheduleAnimation() OVERRIDE; 137 virtual void ScheduleAnimation() OVERRIDE;
138 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_port) OVERRIDE; 138 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_port) OVERRIDE;
139 virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( 139 virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor(
140 ui::LatencyInfo* latency) OVERRIDE; 140 ui::LatencyInfo* latency) OVERRIDE;
141 141
142 // TopControlsManagerClient implementation. 142 // TopControlsManagerClient implementation.
143 virtual void DidChangeTopControlsPosition() OVERRIDE; 143 virtual void DidChangeTopControlsPosition() OVERRIDE;
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 int id_; 655 int id_;
656 656
657 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 657 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
658 658
659 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 659 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
660 }; 660 };
661 661
662 } // namespace cc 662 } // namespace cc
663 663
664 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 664 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_client.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698