| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void ZoomPageOut(); | 99 void ZoomPageOut(); |
| 100 void SetPageZoomFactor(double zoom_factor); | 100 void SetPageZoomFactor(double zoom_factor); |
| 101 | 101 |
| 102 // TODO: Move these into Internals once PageScaleConstraints are moved out of | 102 // TODO: Move these into Internals once PageScaleConstraints are moved out of |
| 103 // Source/web. crbug.com/434450. | 103 // Source/web. crbug.com/434450. |
| 104 void SetPageScaleFactor(float scale_factor, int x, int y); | 104 void SetPageScaleFactor(float scale_factor, int x, int y); |
| 105 void SetPageScaleFactorLimits(float min_scale, float max_scale); | 105 void SetPageScaleFactorLimits(float min_scale, float max_scale); |
| 106 | 106 |
| 107 void ClearTouchPoints(); | 107 void ClearTouchPoints(); |
| 108 void ReleaseTouchPoint(unsigned index); | 108 void ReleaseTouchPoint(unsigned index); |
| 109 void UpdateTouchPoint(unsigned index, float x, float y); | 109 void UpdateTouchPoint(gin::Arguments* args); |
| 110 void CancelTouchPoint(unsigned index); | 110 void CancelTouchPoint(unsigned index); |
| 111 void SetTouchPointTilt(unsigned index, float tilt, float tiltDirection); |
| 111 void SetTouchModifier(const std::string& key_name, bool set_mask); | 112 void SetTouchModifier(const std::string& key_name, bool set_mask); |
| 112 void SetTouchCancelable(bool cancelable); | 113 void SetTouchCancelable(bool cancelable); |
| 113 void ThrowTouchPointError(); | 114 void ThrowTouchPointError(); |
| 114 | 115 |
| 115 void DumpFilenameBeingDragged(); | 116 void DumpFilenameBeingDragged(); |
| 116 | 117 |
| 117 void GestureFlingCancel(); | 118 void GestureFlingCancel(); |
| 118 void GestureFlingStart(float x, float y, float velocity_x, float velocity_y); | 119 void GestureFlingStart(float x, float y, float velocity_x, float velocity_y); |
| 119 void GestureScrollFirstPoint(int x, int y); | 120 void GestureScrollFirstPoint(int x, int y); |
| 120 | 121 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 int click_count_; | 280 int click_count_; |
| 280 | 281 |
| 281 base::WeakPtrFactory<EventSender> weak_factory_; | 282 base::WeakPtrFactory<EventSender> weak_factory_; |
| 282 | 283 |
| 283 DISALLOW_COPY_AND_ASSIGN(EventSender); | 284 DISALLOW_COPY_AND_ASSIGN(EventSender); |
| 284 }; | 285 }; |
| 285 | 286 |
| 286 } // namespace content | 287 } // namespace content |
| 287 | 288 |
| 288 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ | 289 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ |
| OLD | NEW |