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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h

Issue 2587563002: Mouse up updates scrollbar hovered part if needed. (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h
index d7877208a9506bb034b7dc5c4ac2a93f7eb48265..1022c2b2b1c47c73126368059e7c2f22428339ac 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h
@@ -58,6 +58,11 @@ class PLATFORM_EXPORT ScrollbarThemeOverlayMock : public ScrollbarThemeOverlay {
ScrollbarThemeOverlay::paintThumb(gc, scrollbar, rect);
}
+ bool shouldSnapBackToDragOrigin(const ScrollbarThemeClient& scrollbar,
+ const PlatformMouseEvent& evt) override {
+ return false;
bokan 2016/12/19 18:23:50 This is fine, but was it a problem to implement Pl
sahel 2016/12/19 19:05:53 These unittests don't use testingPlatformSupport.
+ }
+
private:
double m_delayInSeconds;
bool isMockTheme() const final { return true; }
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/Scrollbar.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698