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

Side by Side Diff: components/test_runner/event_sender.h

Issue 1800143002: Notify Blink about start of gesture scroll through a queued event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed touch_event_stream_validator Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_
6 #define COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ 6 #define COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <queue> 10 #include <queue>
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void GestureFlingStart(float x, 124 void GestureFlingStart(float x,
125 float y, 125 float y,
126 float velocity_x, 126 float velocity_x,
127 float velocity_y, 127 float velocity_y,
128 gin::Arguments* args); 128 gin::Arguments* args);
129 bool IsFlinging() const; 129 bool IsFlinging() const;
130 void GestureScrollFirstPoint(int x, int y); 130 void GestureScrollFirstPoint(int x, int y);
131 131
132 void TouchStart(); 132 void TouchStart();
133 void TouchMove(); 133 void TouchMove();
134 void TouchMoveCausingScrollIfUncanceled();
135 void TouchCancel(); 134 void TouchCancel();
136 void TouchEnd(); 135 void TouchEnd();
136 void NotifyStartOfTouchScroll();
137 137
138 void LeapForward(int milliseconds); 138 void LeapForward(int milliseconds);
139 139
140 void BeginDragWithFiles(const std::vector<std::string>& files); 140 void BeginDragWithFiles(const std::vector<std::string>& files);
141 141
142 void AddTouchPoint(float x, float y, gin::Arguments* args); 142 void AddTouchPoint(float x, float y, gin::Arguments* args);
143 143
144 void GestureScrollBegin(gin::Arguments* args); 144 void GestureScrollBegin(gin::Arguments* args);
145 void GestureScrollEnd(gin::Arguments* args); 145 void GestureScrollEnd(gin::Arguments* args);
146 void GestureScrollUpdate(gin::Arguments* args); 146 void GestureScrollUpdate(gin::Arguments* args);
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 double last_event_timestamp_; 301 double last_event_timestamp_;
302 302
303 base::WeakPtrFactory<EventSender> weak_factory_; 303 base::WeakPtrFactory<EventSender> weak_factory_;
304 304
305 DISALLOW_COPY_AND_ASSIGN(EventSender); 305 DISALLOW_COPY_AND_ASSIGN(EventSender);
306 }; 306 };
307 307
308 } // namespace test_runner 308 } // namespace test_runner
309 309
310 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ 310 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/event_sender.cc » ('j') | content/browser/renderer_host/input/input_router_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698