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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.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
Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h
index 069d18ecf881d43164dcd48ad2cb8e0209f5b024..35753a9865532d8ba32a6eb86aee21297e2a0ca4 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h
@@ -90,11 +90,6 @@ class PLATFORM_EXPORT ScrollbarThemeMac : public ScrollbarTheme {
virtual void updateButtonPlacement(WebScrollbarButtonsPlacement) {}
- void paintGivenTickmarks(SkCanvas*,
- const Scrollbar&,
- const IntRect&,
- const Vector<IntRect>&);
-
IntRect trackRect(const ScrollbarThemeClient&,
bool painting = false) override;
IntRect backButtonRect(const ScrollbarThemeClient&,
@@ -109,6 +104,8 @@ class PLATFORM_EXPORT ScrollbarThemeMac : public ScrollbarTheme {
int minimumThumbLength(const ScrollbarThemeClient&) override;
+ int tickmarkBorderWidth() override { return 1; }
+
RefPtr<Pattern> m_overhangPattern;
};
}

Powered by Google App Engine
This is Rietveld 408576698