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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 | 252 |
253 scoped_ptr<blink::WebContextMenuData> last_context_menu_data_; | 253 scoped_ptr<blink::WebContextMenuData> last_context_menu_data_; |
254 | 254 |
255 blink::WebDragData current_drag_data_; | 255 blink::WebDragData current_drag_data_; |
256 | 256 |
257 // Location of the touch point that initiated a gesture. | 257 // Location of the touch point that initiated a gesture. |
258 blink::WebPoint current_gesture_location_; | 258 blink::WebPoint current_gesture_location_; |
259 | 259 |
260 // Currently pressed mouse button (Left/Right/Middle or None). | 260 // Currently pressed mouse button (Left/Right/Middle or None). |
261 static blink::WebMouseEvent::Button pressed_button_; | 261 static blink::WebMouseEvent::Button pressed_button_; |
| 262 static int modifiers_; |
262 | 263 |
263 bool replaying_saved_events_; | 264 bool replaying_saved_events_; |
264 | 265 |
265 std::deque<SavedEvent> mouse_event_queue_; | 266 std::deque<SavedEvent> mouse_event_queue_; |
266 | 267 |
267 blink::WebDragOperationsMask current_drag_effects_allowed_; | 268 blink::WebDragOperationsMask current_drag_effects_allowed_; |
268 | 269 |
269 // Location of last mouseMoveTo event. | 270 // Location of last mouseMoveTo event. |
270 static blink::WebPoint last_mouse_pos_; | 271 static blink::WebPoint last_mouse_pos_; |
271 | 272 |
(...skipping 11 matching lines...) Expand all Loading... |
283 int click_count_; | 284 int click_count_; |
284 | 285 |
285 base::WeakPtrFactory<EventSender> weak_factory_; | 286 base::WeakPtrFactory<EventSender> weak_factory_; |
286 | 287 |
287 DISALLOW_COPY_AND_ASSIGN(EventSender); | 288 DISALLOW_COPY_AND_ASSIGN(EventSender); |
288 }; | 289 }; |
289 | 290 |
290 } // namespace content | 291 } // namespace content |
291 | 292 |
292 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ | 293 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ |
OLD | NEW |