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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.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/ScrollbarThemeOverlay.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp
index 9b1fb69267c52a13da0f04d73048b7b99bf13afe..79488a96fe74d7c13a5cffd788007493adcb2921 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp
@@ -29,6 +29,7 @@
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/paint/DrawingRecorder.h"
#include "platform/scroll/Scrollbar.h"
+#include "platform/scroll/ScrollbarThemeAura.h"
#include "platform/transforms/TransformationMatrix.h"
#include "public/platform/Platform.h"
#include "public/platform/WebRect.h"
@@ -134,6 +135,12 @@ IntRect ScrollbarThemeOverlay::trackRect(const ScrollbarThemeClient& scrollbar,
return rect;
}
+void ScrollbarThemeOverlay::paintTickmarks(GraphicsContext& context,
+ const Scrollbar& scrollbar,
+ const IntRect& rect) {
+ ScrollbarThemeAura::paintAuraTickmarks(context, scrollbar, rect);
+}
+
int ScrollbarThemeOverlay::thumbThickness(const ScrollbarThemeClient&) {
return m_thumbThickness;
}

Powered by Google App Engine
This is Rietveld 408576698