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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp

Issue 2780923003: Revert of Change minimum length of Aura overlay scrollbars. (Closed)
Patch Set: Created 3 years, 9 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/platform/scroll/ScrollbarTheme.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
index a0aa22c5da620de5520003ba63d4589404afb201..91c715962d6a175c94658900d4be421b447e417b 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
@@ -357,6 +357,10 @@
IntRect track = trackRect(scrollbar);
return scrollbar.orientation() == HorizontalScrollbar ? track.height()
: track.width();
+}
+
+int ScrollbarTheme::minimumThumbLength(const ScrollbarThemeClient& scrollbar) {
+ return scrollbarThickness(scrollbar.controlSize());
}
void ScrollbarTheme::splitTrack(const ScrollbarThemeClient& scrollbar,

Powered by Google App Engine
This is Rietveld 408576698