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

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: Rebased 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
« no previous file with comments | « blimp/net/input_message_generator.cc ('k') | components/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 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 void GestureFlingStart(float x, 130 void GestureFlingStart(float x,
131 float y, 131 float y,
132 float velocity_x, 132 float velocity_x,
133 float velocity_y, 133 float velocity_y,
134 gin::Arguments* args); 134 gin::Arguments* args);
135 bool IsFlinging() const; 135 bool IsFlinging() const;
136 void GestureScrollFirstPoint(int x, int y); 136 void GestureScrollFirstPoint(int x, int y);
137 137
138 void TouchStart(); 138 void TouchStart();
139 void TouchMove(); 139 void TouchMove();
140 void TouchMoveCausingScrollIfUncanceled();
141 void TouchCancel(); 140 void TouchCancel();
142 void TouchEnd(); 141 void TouchEnd();
142 void NotifyStartOfTouchScroll();
143 143
144 void LeapForward(int milliseconds); 144 void LeapForward(int milliseconds);
145 145
146 void BeginDragWithFiles(const std::vector<std::string>& files); 146 void BeginDragWithFiles(const std::vector<std::string>& files);
147 147
148 void AddTouchPoint(float x, float y, gin::Arguments* args); 148 void AddTouchPoint(float x, float y, gin::Arguments* args);
149 149
150 void GestureScrollBegin(gin::Arguments* args); 150 void GestureScrollBegin(gin::Arguments* args);
151 void GestureScrollEnd(gin::Arguments* args); 151 void GestureScrollEnd(gin::Arguments* args);
152 void GestureScrollUpdate(gin::Arguments* args); 152 void GestureScrollUpdate(gin::Arguments* args);
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 double last_event_timestamp_; 317 double last_event_timestamp_;
318 318
319 base::WeakPtrFactory<EventSender> weak_factory_; 319 base::WeakPtrFactory<EventSender> weak_factory_;
320 320
321 DISALLOW_COPY_AND_ASSIGN(EventSender); 321 DISALLOW_COPY_AND_ASSIGN(EventSender);
322 }; 322 };
323 323
324 } // namespace test_runner 324 } // namespace test_runner
325 325
326 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ 326 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_
OLDNEW
« no previous file with comments | « blimp/net/input_message_generator.cc ('k') | components/test_runner/event_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698