| 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 | 248 |
| 249 scoped_ptr<blink::WebContextMenuData> last_context_menu_data_; | 249 scoped_ptr<blink::WebContextMenuData> last_context_menu_data_; |
| 250 | 250 |
| 251 blink::WebDragData current_drag_data_; | 251 blink::WebDragData current_drag_data_; |
| 252 | 252 |
| 253 // Location of the touch point that initiated a gesture. | 253 // Location of the touch point that initiated a gesture. |
| 254 blink::WebPoint current_gesture_location_; | 254 blink::WebPoint current_gesture_location_; |
| 255 | 255 |
| 256 // Currently pressed mouse button (Left/Right/Middle or None). | 256 // Currently pressed mouse button (Left/Right/Middle or None). |
| 257 static blink::WebMouseEvent::Button pressed_button_; | 257 static blink::WebMouseEvent::Button pressed_button_; |
| 258 static int modifiers_; |
| 258 | 259 |
| 259 bool replaying_saved_events_; | 260 bool replaying_saved_events_; |
| 260 | 261 |
| 261 std::deque<SavedEvent> mouse_event_queue_; | 262 std::deque<SavedEvent> mouse_event_queue_; |
| 262 | 263 |
| 263 blink::WebDragOperationsMask current_drag_effects_allowed_; | 264 blink::WebDragOperationsMask current_drag_effects_allowed_; |
| 264 | 265 |
| 265 // Location of last mouseMoveTo event. | 266 // Location of last mouseMoveTo event. |
| 266 static blink::WebPoint last_mouse_pos_; | 267 static blink::WebPoint last_mouse_pos_; |
| 267 | 268 |
| (...skipping 11 matching lines...) Expand all 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 |