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

Unified Diff: cc/test/fake_scrollbar.h

Issue 2591863003: Use nine-patch resource for drawing Aura overlay scrollbar thumb. (Closed)
Patch Set: Finish Plumbing Created 4 years 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/test/fake_scrollbar.h
diff --git a/cc/test/fake_scrollbar.h b/cc/test/fake_scrollbar.h
index 9ef7e2263e40a7ac2932841d49fc025b5082814f..9ca0d2d09a0b3354409a8748300980d64368fb47 100644
--- a/cc/test/fake_scrollbar.h
+++ b/cc/test/fake_scrollbar.h
@@ -37,6 +37,9 @@ class FakeScrollbar : public Scrollbar {
void PaintPart(SkCanvas* canvas,
ScrollbarPart part,
const gfx::Rect& content_rect) override;
+ bool UsesNinePatchThumbResource() const override;
+ gfx::Size NinePatchThumbCanvasSize() const override;
+ gfx::Rect NinePatchThumbAperture() const override;
void set_location(const gfx::Point& location) { location_ = location; }
void set_track_rect(const gfx::Rect& track_rect) { track_rect_ = track_rect; }

Powered by Google App Engine
This is Rietveld 408576698