OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |