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

Unified Diff: cc/test/fake_scrollbar.h

Issue 2591863003: Use nine-patch resource for drawing Aura overlay scrollbar thumb. (Closed)
Patch Set: Move CheckGeometryLimitations back to where it used to be (AppendQuads) 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
« no previous file with comments | « cc/test/data/overlay_scrollbar_scaled_up.png ('k') | cc/test/fake_scrollbar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_scrollbar.h
diff --git a/cc/test/fake_scrollbar.h b/cc/test/fake_scrollbar.h
index dff1feeec990fb9ec06ec21bddd518a1b51ab1ab..f5a3bd7a10f1570d6098c8b044eb6bd1e0cbb130 100644
--- a/cc/test/fake_scrollbar.h
+++ b/cc/test/fake_scrollbar.h
@@ -37,6 +37,9 @@ class FakeScrollbar : public Scrollbar {
void PaintPart(PaintCanvas* 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; }
« no previous file with comments | « cc/test/data/overlay_scrollbar_scaled_up.png ('k') | cc/test/fake_scrollbar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698