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

Side by Side Diff: content/shell/test_runner/event_sender.h

Issue 2867093003: Do not increase the pointer id when type is eraser (Closed)
Patch Set: eraser id Created 3 years, 7 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 | « no previous file | content/shell/test_runner/event_sender.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 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 CONTENT_SHELL_TEST_RUNNER_EVENT_SENDER_H_ 5 #ifndef CONTENT_SHELL_TEST_RUNNER_EVENT_SENDER_H_
6 #define CONTENT_SHELL_TEST_RUNNER_EVENT_SENDER_H_ 6 #define CONTENT_SHELL_TEST_RUNNER_EVENT_SENDER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 void GestureTap(gin::Arguments* args); 160 void GestureTap(gin::Arguments* args);
161 void GestureTapDown(gin::Arguments* args); 161 void GestureTapDown(gin::Arguments* args);
162 void GestureShowPress(gin::Arguments* args); 162 void GestureShowPress(gin::Arguments* args);
163 void GestureTapCancel(gin::Arguments* args); 163 void GestureTapCancel(gin::Arguments* args);
164 void GestureLongPress(gin::Arguments* args); 164 void GestureLongPress(gin::Arguments* args);
165 void GestureLongTap(gin::Arguments* args); 165 void GestureLongTap(gin::Arguments* args);
166 void GestureTwoFingerTap(gin::Arguments* args); 166 void GestureTwoFingerTap(gin::Arguments* args);
167 167
168 void MouseScrollBy(gin::Arguments* args, MouseScrollType scroll_type); 168 void MouseScrollBy(gin::Arguments* args, MouseScrollType scroll_type);
169 void MouseMoveTo(gin::Arguments* args); 169 void MouseMoveTo(gin::Arguments* args);
170 void MouseLeave(); 170 void MouseLeave(blink::WebPointerProperties::PointerType, int pointerId);
171 void ScheduleAsynchronousClick(int button_number, int modifiers); 171 void ScheduleAsynchronousClick(int button_number, int modifiers);
172 void ScheduleAsynchronousKeyDown(const std::string& code_str, 172 void ScheduleAsynchronousKeyDown(const std::string& code_str,
173 int modifiers, 173 int modifiers,
174 KeyLocationCode location); 174 KeyLocationCode location);
175 175
176 double GetCurrentEventTimeSec(); 176 double GetCurrentEventTimeSec();
177 177
178 void DoLeapForward(int milliseconds); 178 void DoLeapForward(int milliseconds);
179 179
180 uint32_t GetUniqueTouchEventId(gin::Arguments* args); 180 uint32_t GetUniqueTouchEventId(gin::Arguments* args);
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 double last_event_timestamp_; 325 double last_event_timestamp_;
326 326
327 base::WeakPtrFactory<EventSender> weak_factory_; 327 base::WeakPtrFactory<EventSender> weak_factory_;
328 328
329 DISALLOW_COPY_AND_ASSIGN(EventSender); 329 DISALLOW_COPY_AND_ASSIGN(EventSender);
330 }; 330 };
331 331
332 } // namespace test_runner 332 } // namespace test_runner
333 333
334 #endif // CONTENT_SHELL_TEST_RUNNER_EVENT_SENDER_H_ 334 #endif // CONTENT_SHELL_TEST_RUNNER_EVENT_SENDER_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/test_runner/event_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698