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

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

Issue 2591863003: Use nine-patch resource for drawing Aura overlay scrollbar thumb. (Closed)
Patch Set: Addressed sadrul@'s feedback Created 3 years, 10 months 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.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.h
index 0772e2136ff5d47dbe0f8151b79f6ecf15aee58b..811cb6a1b3fbc6cc06c0178621bc56700c6347a5 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.h
@@ -81,6 +81,10 @@ class PLATFORM_EXPORT ScrollbarThemeOverlay : public ScrollbarTheme {
void paintThumb(GraphicsContext&, const Scrollbar&, const IntRect&) override;
ScrollbarPart hitTest(const ScrollbarThemeClient&, const IntPoint&) override;
+ bool usesNinePatchThumbResource() const override;
+ IntSize ninePatchThumbCanvasSize(const ScrollbarThemeClient&) const override;
+ IntRect ninePatchThumbAperture(const ScrollbarThemeClient&) const override;
+
static ScrollbarThemeOverlay& mobileTheme();
private:

Powered by Google App Engine
This is Rietveld 408576698