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

Unified Diff: cc/input/scrollbar.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: cc/input/scrollbar.h
diff --git a/cc/input/scrollbar.h b/cc/input/scrollbar.h
index 69fbd3262bcb83d08b5d2cdc84492fa645dcb6a9..d159dba7b1708043509682e6b034c87ee2355a09 100644
--- a/cc/input/scrollbar.h
+++ b/cc/input/scrollbar.h
@@ -35,6 +35,9 @@ class Scrollbar {
virtual void PaintPart(PaintCanvas* canvas,
ScrollbarPart part,
const gfx::Rect& content_rect) = 0;
+ virtual bool UsesNinePatchThumbResource() const = 0;
+ virtual gfx::Size NinePatchThumbCanvasSize() const = 0;
+ virtual gfx::Rect NinePatchThumbAperture() const = 0;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698