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

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

Issue 2478743003: add Tickmarks to aura overlay scrollbar (Closed)
Patch Set: add Tickmarks to aura overlay scrollbar Created 4 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
Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp
index 313a21e6f2ff071a450f4e00f4daf53da268e679..85ebac165fad95fb150eaf1f7cc0e8c88e81ca59 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp
@@ -225,9 +225,9 @@ int ScrollbarThemeAura::minimumThumbLength(
return size.width();
}
-void ScrollbarThemeAura::paintTickmarks(GraphicsContext& context,
- const Scrollbar& scrollbar,
- const IntRect& rect) {
+void ScrollbarThemeAura::paintAuraTickmarks(GraphicsContext& context,
+ const Scrollbar& scrollbar,
+ const IntRect& rect) {
if (scrollbar.orientation() != VerticalScrollbar)
return;
@@ -265,6 +265,12 @@ void ScrollbarThemeAura::paintTickmarks(GraphicsContext& context,
}
}
+void ScrollbarThemeAura::paintTickmarks(GraphicsContext& context,
+ const Scrollbar& scrollbar,
+ const IntRect& rect) {
+ ScrollbarThemeAura::paintAuraTickmarks(context, scrollbar, rect);
+}
+
void ScrollbarThemeAura::paintTrackBackground(GraphicsContext& context,
const Scrollbar& scrollbar,
const IntRect& rect) {

Powered by Google App Engine
This is Rietveld 408576698