| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "core/input/GestureManager.h" | 5 #include "core/input/GestureManager.h" |
| 6 | 6 |
| 7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 8 #include "core/dom/DocumentUserGestureToken.h" | 8 #include "core/dom/DocumentUserGestureToken.h" |
| 9 #include "core/editing/SelectionController.h" | 9 #include "core/editing/SelectionController.h" |
| 10 #include "core/events/GestureEvent.h" | 10 #include "core/events/GestureEvent.h" |
| 11 #include "core/frame/FrameView.h" | 11 #include "core/frame/FrameView.h" |
| 12 #include "core/frame/Settings.h" | 12 #include "core/frame/Settings.h" |
| 13 #include "core/frame/VisualViewport.h" | 13 #include "core/frame/VisualViewport.h" |
| 14 #include "core/input/EventHandler.h" | 14 #include "core/input/EventHandler.h" |
| 15 #include "core/input/EventHandlingUtil.h" | 15 #include "core/input/EventHandlingUtil.h" |
| 16 #include "core/input/InputDeviceCapabilities.h" | 16 #include "core/input/InputDeviceCapabilities.h" |
| 17 #include "core/page/ChromeClient.h" | 17 #include "core/page/ChromeClient.h" |
| 18 #include "core/page/Page.h" | 18 #include "core/page/Page.h" |
| 19 #include "platform/scroll/ScrollAnimatorBase.h" |
| 19 | 20 |
| 20 namespace blink { | 21 namespace blink { |
| 21 | 22 |
| 22 GestureManager::GestureManager(LocalFrame& frame, | 23 GestureManager::GestureManager(LocalFrame& frame, |
| 23 ScrollManager& scroll_manager, | 24 ScrollManager& scroll_manager, |
| 24 MouseEventManager& mouse_event_manager, | 25 MouseEventManager& mouse_event_manager, |
| 25 PointerEventManager& pointer_event_manager, | 26 PointerEventManager& pointer_event_manager, |
| 26 SelectionController& selection_controller) | 27 SelectionController& selection_controller) |
| 27 : frame_(frame), | 28 : frame_(frame), |
| 28 scroll_manager_(scroll_manager), | 29 scroll_manager_(scroll_manager), |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 } | 429 } |
| 429 return WebInputEventResult::kNotHandled; | 430 return WebInputEventResult::kNotHandled; |
| 430 } | 431 } |
| 431 | 432 |
| 432 WTF::Optional<WTF::TimeTicks> GestureManager::GetLastShowPressTimestamp() | 433 WTF::Optional<WTF::TimeTicks> GestureManager::GetLastShowPressTimestamp() |
| 433 const { | 434 const { |
| 434 return last_show_press_timestamp_; | 435 return last_show_press_timestamp_; |
| 435 } | 436 } |
| 436 | 437 |
| 437 } // namespace blink | 438 } // namespace blink |
| OLD | NEW |