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

Unified Diff: Source/core/page/Page.h

Issue 46353003: Switch AutoscrollController to use animation system instead of timer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@gclient
Patch Set: addresses review feedback Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/FocusController.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.h
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h
index b0d088f998efc15516b986c6f377c40b565f0ace..c29caa8a8ee4aa3f445ad509fdaffaedbf4c1816 100644
--- a/Source/core/page/Page.h
+++ b/Source/core/page/Page.h
@@ -139,6 +139,7 @@ public:
int subframeCount() const { checkSubframeCountConsistency(); return m_subframeCount; }
Chrome& chrome() const { return *m_chrome; }
+ AutoscrollController& autoscrollController() const { return *m_autoscrollController; }
DragCaretController& dragCaretController() const { return *m_dragCaretController; }
DragController& dragController() const { return *m_dragController; }
FocusController& focusController() const { return *m_focusController; }
@@ -150,19 +151,6 @@ public:
SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { return m_sharedWorkerRepositoryClient; }
void setSharedWorkerRepositoryClient(SharedWorkerRepositoryClient* client) { m_sharedWorkerRepositoryClient = client; }
- bool autoscrollInProgress() const;
- bool autoscrollInProgress(const RenderBox*) const;
- bool panScrollInProgress() const;
- void startAutoscrollForSelection(RenderObject*);
- void stopAutoscrollIfNeeded(RenderObject*);
- void stopAutoscrollTimer();
- void updateAutoscrollRenderer();
- void updateDragAndDrop(Node* targetNode, const IntPoint& eventPosition, double eventTime);
-#if OS(WIN)
- void handleMouseReleaseForPanScrolling(Frame*, const PlatformMouseEvent&);
- void startPanScrolling(RenderBox*, const IntPoint&);
-#endif
-
ScrollingCoordinator* scrollingCoordinator();
String mainThreadScrollingReasonsAsText();
« no previous file with comments | « Source/core/page/FocusController.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698