Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Side by Side Diff: content/shell/renderer/test_runner/event_sender.h

Issue 878413003: Support buttons attribute for drag event (chromium side). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 253
254 scoped_ptr<blink::WebContextMenuData> last_context_menu_data_; 254 scoped_ptr<blink::WebContextMenuData> last_context_menu_data_;
255 255
256 blink::WebDragData current_drag_data_; 256 blink::WebDragData current_drag_data_;
257 257
258 // Location of the touch point that initiated a gesture. 258 // Location of the touch point that initiated a gesture.
259 blink::WebPoint current_gesture_location_; 259 blink::WebPoint current_gesture_location_;
260 260
261 // Currently pressed mouse button (Left/Right/Middle or None). 261 // Currently pressed mouse button (Left/Right/Middle or None).
262 static blink::WebMouseEvent::Button pressed_button_; 262 static blink::WebMouseEvent::Button pressed_button_;
263 static int modifiers_;
263 264
264 bool replaying_saved_events_; 265 bool replaying_saved_events_;
265 266
266 std::deque<SavedEvent> mouse_event_queue_; 267 std::deque<SavedEvent> mouse_event_queue_;
267 268
268 blink::WebDragOperationsMask current_drag_effects_allowed_; 269 blink::WebDragOperationsMask current_drag_effects_allowed_;
269 270
270 // Location of last mouseMoveTo event. 271 // Location of last mouseMoveTo event.
271 static blink::WebPoint last_mouse_pos_; 272 static blink::WebPoint last_mouse_pos_;
272 273
(...skipping 11 matching lines...) Expand all
284 int click_count_; 285 int click_count_;
285 286
286 base::WeakPtrFactory<EventSender> weak_factory_; 287 base::WeakPtrFactory<EventSender> weak_factory_;
287 288
288 DISALLOW_COPY_AND_ASSIGN(EventSender); 289 DISALLOW_COPY_AND_ASSIGN(EventSender);
289 }; 290 };
290 291
291 } // namespace content 292 } // namespace content
292 293
293 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ 294 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_drag_dest_mac.mm ('k') | content/shell/renderer/test_runner/event_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698