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

Side by Side Diff: third_party/WebKit/Source/core/input/GestureManager.cpp

Issue 2836813002: Move ScrollbarManager from core to platform and use as Scrollbar parent (Closed)
Patch Set: Created 3 years, 8 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 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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RootFrameViewport.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutScrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698