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

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

Issue 2478743003: add Tickmarks to aura overlay scrollbar (Closed)
Patch Set: fix for mac 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/ScrollbarTheme.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
index 1d7840e92cd57ac82fa438c6a7e81b007da56c24..dfc7618b02d8f26b1dfc5b4ae6f687e1f27583d4 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
@@ -88,7 +88,7 @@ class PLATFORM_EXPORT ScrollbarTheme {
const IntRect& cornerRect);
virtual void paintTickmarks(GraphicsContext&,
const Scrollbar&,
- const IntRect&) {}
+ const IntRect&);
virtual bool shouldCenterOnThumb(const ScrollbarThemeClient&,
const PlatformMouseEvent&);
@@ -178,6 +178,10 @@ class PLATFORM_EXPORT ScrollbarTheme {
protected:
static DisplayItem::Type buttonPartToDisplayItemType(ScrollbarPart);
static DisplayItem::Type trackPiecePartToDisplayItemType(ScrollbarPart);
+ static void paintTickmarksWithBorderWidth(GraphicsContext&,
+ const Scrollbar&,
+ const IntRect&,
+ const int);
private:
static ScrollbarTheme&

Powered by Google App Engine
This is Rietveld 408576698