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

Side by Side Diff: content/browser/renderer_host/input/synthetic_smooth_move_gesture.h

Issue 2907053004: GSB uses delta_hints to calculate scrolling chain. (Closed)
Patch Set: Merged with master. Created 3 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_SMOOTH_MOVE_GESTURE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_SMOOTH_MOVE_GESTURE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_SMOOTH_MOVE_GESTURE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_SMOOTH_MOVE_GESTURE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 void ForwardTouchInputEvents( 68 void ForwardTouchInputEvents(
69 const base::TimeTicks& timestamp, SyntheticGestureTarget* target); 69 const base::TimeTicks& timestamp, SyntheticGestureTarget* target);
70 void ForwardMouseWheelInputEvents( 70 void ForwardMouseWheelInputEvents(
71 const base::TimeTicks& timestamp, SyntheticGestureTarget* target); 71 const base::TimeTicks& timestamp, SyntheticGestureTarget* target);
72 void ForwardMouseClickInputEvents( 72 void ForwardMouseClickInputEvents(
73 const base::TimeTicks& timestamp, SyntheticGestureTarget* target); 73 const base::TimeTicks& timestamp, SyntheticGestureTarget* target);
74 74
75 void ForwardMouseWheelEvent(SyntheticGestureTarget* target, 75 void ForwardMouseWheelEvent(SyntheticGestureTarget* target,
76 const gfx::Vector2dF& delta, 76 const gfx::Vector2dF& delta,
77 const blink::WebMouseWheelEvent::Phase phase,
77 const base::TimeTicks& timestamp) const; 78 const base::TimeTicks& timestamp) const;
78 79
79 void PressPoint(SyntheticGestureTarget* target, 80 void PressPoint(SyntheticGestureTarget* target,
80 const base::TimeTicks& timestamp); 81 const base::TimeTicks& timestamp);
81 void MovePoint(SyntheticGestureTarget* target, 82 void MovePoint(SyntheticGestureTarget* target,
82 const gfx::Vector2dF& delta, 83 const gfx::Vector2dF& delta,
83 const base::TimeTicks& timestamp); 84 const base::TimeTicks& timestamp);
84 void ReleasePoint(SyntheticGestureTarget* target, 85 void ReleasePoint(SyntheticGestureTarget* target,
85 const base::TimeTicks& timestamp); 86 const base::TimeTicks& timestamp);
86 87
(...skipping 15 matching lines...) Expand all
102 int current_move_segment_; 103 int current_move_segment_;
103 base::TimeTicks current_move_segment_start_time_; 104 base::TimeTicks current_move_segment_start_time_;
104 base::TimeTicks current_move_segment_stop_time_; 105 base::TimeTicks current_move_segment_stop_time_;
105 106
106 DISALLOW_COPY_AND_ASSIGN(SyntheticSmoothMoveGesture); 107 DISALLOW_COPY_AND_ASSIGN(SyntheticSmoothMoveGesture);
107 }; 108 };
108 109
109 } // namespace content 110 } // namespace content
110 111
111 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_SMOOTH_MOVE_GESTURE_H_ 112 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_SMOOTH_MOVE_GESTURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698