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

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 2918053002: Move middle-click autoscroll to synthetic fling. (Closed)
Patch Set: Delete redundant cursor shape print Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/page/ChromeClient.h
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h
index 1d0c1e685592b956d548f664de819e9404946bfc..4fbc05a040aa1c87d614d981deeef8dbeaa8b436 100644
--- a/third_party/WebKit/Source/core/page/ChromeClient.h
+++ b/third_party/WebKit/Source/core/page/ChromeClient.h
@@ -177,6 +177,11 @@ class CORE_EXPORT ChromeClient : public PlatformChromeClient {
// End methods used by PlatformChromeClient.
virtual void SetCursorOverridden(bool) = 0;
+
+ virtual void AutoscrollStart(WebFloatPoint position, LocalFrame*) {}
+ virtual void AutoscrollFling(WebFloatSize velocity, LocalFrame*) {}
+ virtual void AutoscrollEnd(LocalFrame*) {}
+
virtual Cursor LastSetCursorForTesting() const = 0;
Node* LastSetTooltipNodeForTesting() const {
return last_mouse_over_node_.Get();
« no previous file with comments | « third_party/WebKit/Source/core/page/AutoscrollController.cpp ('k') | third_party/WebKit/Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698