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

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

Issue 902173003: EventSender::GestureFlingStart takes a source_device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Throw on invalid source device. Created 5 years, 10 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/renderer/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_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void ReleaseTouchPoint(unsigned index); 108 void ReleaseTouchPoint(unsigned index);
109 void UpdateTouchPoint(unsigned index, float x, float y); 109 void UpdateTouchPoint(unsigned index, float x, float y);
110 void CancelTouchPoint(unsigned index); 110 void CancelTouchPoint(unsigned index);
111 void SetTouchModifier(const std::string& key_name, bool set_mask); 111 void SetTouchModifier(const std::string& key_name, bool set_mask);
112 void SetTouchCancelable(bool cancelable); 112 void SetTouchCancelable(bool cancelable);
113 void ThrowTouchPointError(); 113 void ThrowTouchPointError();
114 114
115 void DumpFilenameBeingDragged(); 115 void DumpFilenameBeingDragged();
116 116
117 void GestureFlingCancel(); 117 void GestureFlingCancel();
118 void GestureFlingStart(float x, float y, float velocity_x, float velocity_y); 118 void GestureFlingStart(float x,
119 float y,
120 float velocity_x,
121 float velocity_y,
122 gin::Arguments* args);
119 void GestureScrollFirstPoint(int x, int y); 123 void GestureScrollFirstPoint(int x, int y);
120 124
121 void TouchStart(); 125 void TouchStart();
122 void TouchMove(); 126 void TouchMove();
123 void TouchCancel(); 127 void TouchCancel();
124 void TouchEnd(); 128 void TouchEnd();
125 129
126 void LeapForward(int milliseconds); 130 void LeapForward(int milliseconds);
127 131
128 void BeginDragWithFiles(const std::vector<std::string>& files); 132 void BeginDragWithFiles(const std::vector<std::string>& files);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 int click_count_; 283 int click_count_;
280 284
281 base::WeakPtrFactory<EventSender> weak_factory_; 285 base::WeakPtrFactory<EventSender> weak_factory_;
282 286
283 DISALLOW_COPY_AND_ASSIGN(EventSender); 287 DISALLOW_COPY_AND_ASSIGN(EventSender);
284 }; 288 };
285 289
286 } // namespace content 290 } // namespace content
287 291
288 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ 292 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/event_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698