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

Side by Side Diff: content/browser/renderer_host/input/touch_emulator.cc

Issue 2590273002: Move WebMouseEvent into its own header file. (Closed)
Patch Set: Fix android build Created 3 years, 11 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 #include "content/browser/renderer_host/input/touch_emulator.h" 5 #include "content/browser/renderer_host/input/touch_emulator.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/browser/renderer_host/input/motion_event_web.h" 8 #include "content/browser/renderer_host/input/motion_event_web.h"
9 #include "content/common/input/web_touch_event_traits.h" 9 #include "content/common/input/web_touch_event_traits.h"
10 #include "content/grit/content_resources.h" 10 #include "content/grit/content_resources.h"
11 #include "content/public/common/content_client.h" 11 #include "content/public/common/content_client.h"
12 #include "content/public/common/content_switches.h" 12 #include "content/public/common/content_switches.h"
13 #include "third_party/WebKit/public/platform/WebCursorInfo.h" 13 #include "third_party/WebKit/public/platform/WebCursorInfo.h"
14 #include "third_party/WebKit/public/platform/WebMouseEvent.h"
14 #include "ui/events/base_event_utils.h" 15 #include "ui/events/base_event_utils.h"
15 #include "ui/events/blink/blink_event_util.h" 16 #include "ui/events/blink/blink_event_util.h"
16 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" 17 #include "ui/events/gesture_detection/gesture_provider_config_helper.h"
17 #include "ui/gfx/image/image.h" 18 #include "ui/gfx/image/image.h"
18 19
19 using blink::WebGestureEvent; 20 using blink::WebGestureEvent;
20 using blink::WebInputEvent; 21 using blink::WebInputEvent;
21 using blink::WebKeyboardEvent; 22 using blink::WebKeyboardEvent;
22 using blink::WebMouseEvent; 23 using blink::WebMouseEvent;
23 using blink::WebMouseWheelEvent; 24 using blink::WebMouseWheelEvent;
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 point.tiltX = 0; 468 point.tiltX = 0;
468 point.tiltY = 0; 469 point.tiltY = 0;
469 point.pointerType = blink::WebPointerProperties::PointerType::Touch; 470 point.pointerType = blink::WebPointerProperties::PointerType::Touch;
470 } 471 }
471 472
472 bool TouchEmulator::InPinchGestureMode() const { 473 bool TouchEmulator::InPinchGestureMode() const {
473 return shift_pressed_; 474 return shift_pressed_;
474 } 475 }
475 476
476 } // namespace content 477 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/touch_emulator.h ('k') | content/public/test/browser_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698