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

Side by Side Diff: third_party/WebKit/Source/core/input/ScrollManager.h

Issue 2255323004: Create MouseEventManager and EventHandlingUtil (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make all *Manager classes GarbageCollected Created 4 years, 3 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 #ifndef ScrollManager_h 5 #ifndef ScrollManager_h
6 #define ScrollManager_h 6 #define ScrollManager_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/page/EventWithHitTestResults.h" 9 #include "core/page/EventWithHitTestResults.h"
10 #include "platform/PlatformEvent.h" 10 #include "platform/PlatformEvent.h"
(...skipping 15 matching lines...) Expand all
26 class LocalFrame; 26 class LocalFrame;
27 class PaintLayer; 27 class PaintLayer;
28 class PaintLayerScrollableArea; 28 class PaintLayerScrollableArea;
29 class PlatformGestureEvent; 29 class PlatformGestureEvent;
30 class Scrollbar; 30 class Scrollbar;
31 class ScrollState; 31 class ScrollState;
32 32
33 // This class takes care of scrolling and resizing and the related states. The 33 // This class takes care of scrolling and resizing and the related states. The
34 // user action that causes scrolling or resizing is determined in other *Manager 34 // user action that causes scrolling or resizing is determined in other *Manager
35 // classes and they call into this class for doing the work. 35 // classes and they call into this class for doing the work.
36 class CORE_EXPORT ScrollManager { 36 class CORE_EXPORT ScrollManager final : public GarbageCollectedFinalized<ScrollM anager> {
37 WTF_MAKE_NONCOPYABLE(ScrollManager); 37 WTF_MAKE_NONCOPYABLE(ScrollManager);
38 DISALLOW_NEW();
39 public: 38 public:
40 explicit ScrollManager(LocalFrame*); 39 explicit ScrollManager(LocalFrame*);
41 ~ScrollManager(); 40 ~ScrollManager();
42 DECLARE_TRACE(); 41 DECLARE_TRACE();
43 42
44 void clear(); 43 void clear();
45 44
46 bool panScrollInProgress() const; 45 bool panScrollInProgress() const;
47 AutoscrollController* autoscrollController() const; 46 AutoscrollController* autoscrollController() const;
48 void stopAutoscroll(); 47 void stopAutoscroll();
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 136
138 Member<PaintLayerScrollableArea> m_resizeScrollableArea; 137 Member<PaintLayerScrollableArea> m_resizeScrollableArea;
139 138
140 LayoutSize m_offsetFromResizeCorner; // In the coords of m_resizeScrollableA rea. 139 LayoutSize m_offsetFromResizeCorner; // In the coords of m_resizeScrollableA rea.
141 140
142 }; 141 };
143 142
144 } // namespace blink 143 } // namespace blink
145 144
146 #endif // ScrollManager_h 145 #endif // ScrollManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698