| 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 #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/browser/renderer_host/input/web_input_event_util.h" | |
| 10 #include "content/common/input/web_touch_event_traits.h" | 9 #include "content/common/input/web_touch_event_traits.h" |
| 11 #include "content/grit/content_resources.h" | 10 #include "content/grit/content_resources.h" |
| 12 #include "content/public/common/content_client.h" | 11 #include "content/public/common/content_client.h" |
| 13 #include "content/public/common/content_switches.h" | 12 #include "content/public/common/content_switches.h" |
| 14 #include "third_party/WebKit/public/platform/WebCursorInfo.h" | 13 #include "third_party/WebKit/public/platform/WebCursorInfo.h" |
| 15 #include "ui/events/base_event_utils.h" | 14 #include "ui/events/base_event_utils.h" |
| 16 #include "ui/events/blink/blink_event_util.h" | 15 #include "ui/events/blink/blink_event_util.h" |
| 17 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" | 16 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" |
| 18 #include "ui/gfx/image/image.h" | 17 #include "ui/gfx/image/image.h" |
| 19 | 18 |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 point.tiltX = 0; | 452 point.tiltX = 0; |
| 454 point.tiltY = 0; | 453 point.tiltY = 0; |
| 455 point.pointerType = blink::WebPointerProperties::PointerType::Touch; | 454 point.pointerType = blink::WebPointerProperties::PointerType::Touch; |
| 456 } | 455 } |
| 457 | 456 |
| 458 bool TouchEmulator::InPinchGestureMode() const { | 457 bool TouchEmulator::InPinchGestureMode() const { |
| 459 return shift_pressed_; | 458 return shift_pressed_; |
| 460 } | 459 } |
| 461 | 460 |
| 462 } // namespace content | 461 } // namespace content |
| OLD | NEW |