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

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

Issue 2734483002: Reland Change minimum length of Aura overlay scrollbars. (Closed)
Patch Set: Fix breakage on Android 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/ScrollbarThemeMock.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.cpp
index 1b7f3949a46b41686a18a62020b633b2b03f8172..ee1875f49c27e803ae54a389d23fb828cd10f30c 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.cpp
@@ -87,4 +87,9 @@ void ScrollbarThemeMock::paintScrollCorner(GraphicsContext& context,
context.fillRect(cornerRect, Color::white);
}
+int ScrollbarThemeMock::minimumThumbLength(
+ const ScrollbarThemeClient& scrollbar) {
+ return scrollbarThickness(scrollbar.controlSize());
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698