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

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

Issue 2478743003: add Tickmarks to aura overlay scrollbar (Closed)
Patch Set: typo 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..86eec510281cc39bc1b4747f0a84ab7d84f9e8f9 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&);
@@ -176,6 +176,7 @@ class PLATFORM_EXPORT ScrollbarTheme {
static bool mockScrollbarsEnabled();
protected:
+ virtual int tickmarkBorderWidth() { return 0; }
static DisplayItem::Type buttonPartToDisplayItemType(ScrollbarPart);
static DisplayItem::Type trackPiecePartToDisplayItemType(ScrollbarPart);
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698