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

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: Created 6 years, 11 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
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE; 122 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE;
123 virtual void ScrollEnd() OVERRIDE; 123 virtual void ScrollEnd() OVERRIDE;
124 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE; 124 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE;
125 virtual void NotifyCurrentFlingVelocity( 125 virtual void NotifyCurrentFlingVelocity(
126 const gfx::Vector2dF& velocity) OVERRIDE; 126 const gfx::Vector2dF& velocity) OVERRIDE;
127 virtual void MouseMoveAt(gfx::Point viewport_point) OVERRIDE; 127 virtual void MouseMoveAt(gfx::Point viewport_point) OVERRIDE;
128 virtual void PinchGestureBegin() OVERRIDE; 128 virtual void PinchGestureBegin() OVERRIDE;
129 virtual void PinchGestureUpdate(float magnify_delta, 129 virtual void PinchGestureUpdate(float magnify_delta,
130 gfx::Point anchor) OVERRIDE; 130 gfx::Point anchor) OVERRIDE;
131 virtual void PinchGestureEnd() OVERRIDE; 131 virtual void PinchGestureEnd() OVERRIDE;
132 virtual void StartPageScaleAnimation(gfx::Vector2d target_offset, 132 virtual void StartPageScaleAnimation(const gfx::Vector2d& target_offset,
133 bool anchor_point, 133 bool anchor_point,
134 float page_scale, 134 float page_scale,
135 base::TimeDelta duration) OVERRIDE; 135 base::TimeDelta duration) OVERRIDE;
136 virtual void ScheduleAnimation() OVERRIDE; 136 virtual void ScheduleAnimation() OVERRIDE;
137 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_port) OVERRIDE; 137 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_port) OVERRIDE;
138 virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( 138 virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor(
139 ui::LatencyInfo* latency) OVERRIDE; 139 ui::LatencyInfo* latency) OVERRIDE;
140 140
141 // TopControlsManagerClient implementation. 141 // TopControlsManagerClient implementation.
142 virtual void DidChangeTopControlsPosition() OVERRIDE; 142 virtual void DidChangeTopControlsPosition() OVERRIDE;
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 int id_; 652 int id_;
653 653
654 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 654 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
655 655
656 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 656 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
657 }; 657 };
658 658
659 } // namespace cc 659 } // namespace cc
660 660
661 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 661 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698