| 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 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 <memory> | 10 #include <memory> |
| 11 #include <queue> | 11 #include <queue> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <unordered_map> | 13 #include <unordered_map> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
| 19 #include "third_party/WebKit/public/platform/WebDragData.h" | 19 #include "third_party/WebKit/public/platform/WebDragData.h" |
| 20 #include "third_party/WebKit/public/platform/WebDragOperation.h" | 20 #include "third_party/WebKit/public/platform/WebDragOperation.h" |
| 21 #include "third_party/WebKit/public/platform/WebInputEvent.h" | 21 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 22 #include "third_party/WebKit/public/platform/WebInputEventResult.h" | 22 #include "third_party/WebKit/public/platform/WebInputEventResult.h" |
| 23 #include "third_party/WebKit/public/platform/WebPoint.h" | 23 #include "third_party/WebKit/public/platform/WebPoint.h" |
| 24 #include "third_party/WebKit/public/platform/WebTouchPoint.h" | 24 #include "third_party/WebKit/public/platform/WebTouchPoint.h" |
| 25 | 25 |
| 26 namespace blink { | 26 namespace blink { |
| 27 class WebFrameWidget; |
| 27 class WebLocalFrame; | 28 class WebLocalFrame; |
| 28 class WebView; | 29 class WebView; |
| 29 class WebWidget; | 30 class WebWidget; |
| 30 struct WebContextMenuData; | 31 struct WebContextMenuData; |
| 31 } | 32 } |
| 32 | 33 |
| 33 namespace gin { | 34 namespace gin { |
| 34 class Arguments; | 35 class Arguments; |
| 35 } | 36 } |
| 36 | 37 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 int wm_sys_char_; | 259 int wm_sys_char_; |
| 259 int wm_sys_dead_char_; | 260 int wm_sys_dead_char_; |
| 260 #endif | 261 #endif |
| 261 | 262 |
| 262 WebWidgetTestProxyBase* web_widget_test_proxy_base_; | 263 WebWidgetTestProxyBase* web_widget_test_proxy_base_; |
| 263 TestInterfaces* interfaces(); | 264 TestInterfaces* interfaces(); |
| 264 WebTestDelegate* delegate(); | 265 WebTestDelegate* delegate(); |
| 265 const blink::WebView* view() const; | 266 const blink::WebView* view() const; |
| 266 blink::WebView* view(); | 267 blink::WebView* view(); |
| 267 blink::WebWidget* widget(); | 268 blink::WebWidget* widget(); |
| 269 blink::WebFrameWidget* mainFrameWidget(); |
| 268 | 270 |
| 269 bool force_layout_on_events_; | 271 bool force_layout_on_events_; |
| 270 | 272 |
| 271 // When set to true (the default value), we batch mouse move and mouse up | 273 // When set to true (the default value), we batch mouse move and mouse up |
| 272 // events so we can simulate drag & drop. | 274 // events so we can simulate drag & drop. |
| 273 bool is_drag_mode_; | 275 bool is_drag_mode_; |
| 274 | 276 |
| 275 int touch_modifiers_; | 277 int touch_modifiers_; |
| 276 bool touch_cancelable_; | 278 bool touch_cancelable_; |
| 277 std::vector<blink::WebTouchPoint> touch_points_; | 279 std::vector<blink::WebTouchPoint> touch_points_; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 double last_event_timestamp_; | 330 double last_event_timestamp_; |
| 329 | 331 |
| 330 base::WeakPtrFactory<EventSender> weak_factory_; | 332 base::WeakPtrFactory<EventSender> weak_factory_; |
| 331 | 333 |
| 332 DISALLOW_COPY_AND_ASSIGN(EventSender); | 334 DISALLOW_COPY_AND_ASSIGN(EventSender); |
| 333 }; | 335 }; |
| 334 | 336 |
| 335 } // namespace test_runner | 337 } // namespace test_runner |
| 336 | 338 |
| 337 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ | 339 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ |
| OLD | NEW |