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

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

Issue 2541073004: ABANDONED CL: Revert of Move EventHandler timers to per-frame task queues. (Closed)
Patch Set: Created 4 years 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 19 matching lines...) Expand all
30 class ScrollState; 30 class ScrollState;
31 31
32 // This class takes care of scrolling and resizing and the related states. The 32 // This class takes care of scrolling and resizing and the related states. The
33 // user action that causes scrolling or resizing is determined in other *Manager 33 // user action that causes scrolling or resizing is determined in other *Manager
34 // classes and they call into this class for doing the work. 34 // classes and they call into this class for doing the work.
35 class CORE_EXPORT ScrollManager 35 class CORE_EXPORT ScrollManager
36 : public GarbageCollectedFinalized<ScrollManager> { 36 : public GarbageCollectedFinalized<ScrollManager> {
37 WTF_MAKE_NONCOPYABLE(ScrollManager); 37 WTF_MAKE_NONCOPYABLE(ScrollManager);
38 38
39 public: 39 public:
40 explicit ScrollManager(LocalFrame&); 40 explicit ScrollManager(LocalFrame*);
41 DECLARE_TRACE(); 41 DECLARE_TRACE();
42 42
43 void clear(); 43 void clear();
44 44
45 bool middleClickAutoscrollInProgress() const; 45 bool middleClickAutoscrollInProgress() const;
46 AutoscrollController* autoscrollController() const; 46 AutoscrollController* autoscrollController() const;
47 void stopAutoscroll(); 47 void stopAutoscroll();
48 48
49 // Performs a chaining logical scroll, within a *single* frame, starting 49 // Performs a chaining logical scroll, within a *single* frame, starting
50 // from either a provided starting node or a default based on the focused or 50 // from either a provided starting node or a default based on the focused or
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 Member<PaintLayerScrollableArea> m_resizeScrollableArea; 143 Member<PaintLayerScrollableArea> m_resizeScrollableArea;
144 144
145 LayoutSize 145 LayoutSize
146 m_offsetFromResizeCorner; // In the coords of m_resizeScrollableArea. 146 m_offsetFromResizeCorner; // In the coords of m_resizeScrollableArea.
147 }; 147 };
148 148
149 } // namespace blink 149 } // namespace blink
150 150
151 #endif // ScrollManager_h 151 #endif // ScrollManager_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/PointerEventManager.cpp ('k') | third_party/WebKit/Source/core/input/ScrollManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698