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

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

Issue 316303002: Enable floating point touch co-ordinates in EventSender (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void TextZoomOut(); 96 void TextZoomOut();
97 97
98 void ZoomPageIn(); 98 void ZoomPageIn();
99 void ZoomPageOut(); 99 void ZoomPageOut();
100 void SetPageZoomFactor(double zoom_factor); 100 void SetPageZoomFactor(double zoom_factor);
101 101
102 void SetPageScaleFactor(float scale_factor, int x, int y); 102 void SetPageScaleFactor(float scale_factor, int x, int y);
103 103
104 void ClearTouchPoints(); 104 void ClearTouchPoints();
105 void ReleaseTouchPoint(unsigned index); 105 void ReleaseTouchPoint(unsigned index);
106 void UpdateTouchPoint(unsigned index, int x, int y); 106 void UpdateTouchPoint(unsigned index, float x, float y);
107 void CancelTouchPoint(unsigned index); 107 void CancelTouchPoint(unsigned index);
108 void SetTouchModifier(const std::string& key_name, bool set_mask); 108 void SetTouchModifier(const std::string& key_name, bool set_mask);
109 void SetTouchCancelable(bool cancelable); 109 void SetTouchCancelable(bool cancelable);
110 void ThrowTouchPointError(); 110 void ThrowTouchPointError();
111 111
112 void DumpFilenameBeingDragged(); 112 void DumpFilenameBeingDragged();
113 113
114 void GestureFlingCancel(); 114 void GestureFlingCancel();
115 void GestureFlingStart(float x, float y, float velocity_x, float velocity_y); 115 void GestureFlingStart(float x, float y, float velocity_x, float velocity_y);
116 void GestureScrollFirstPoint(int x, int y); 116 void GestureScrollFirstPoint(int x, int y);
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 int click_count_; 272 int click_count_;
273 273
274 base::WeakPtrFactory<EventSender> weak_factory_; 274 base::WeakPtrFactory<EventSender> weak_factory_;
275 275
276 DISALLOW_COPY_AND_ASSIGN(EventSender); 276 DISALLOW_COPY_AND_ASSIGN(EventSender);
277 }; 277 };
278 278
279 } // namespace content 279 } // namespace content
280 280
281 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ 281 #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