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

Unified Diff: cc/test/fake_scrollbar.cc

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/test/fake_scrollbar.cc
diff --git a/cc/test/fake_scrollbar.cc b/cc/test/fake_scrollbar.cc
index 7ddafd486ce56c8fafe9ba5cde2c45167f338989..57a6ceefa2de8404e55dd42a4d4dad6346891c01 100644
--- a/cc/test/fake_scrollbar.cc
+++ b/cc/test/fake_scrollbar.cc
@@ -91,4 +91,16 @@ void FakeScrollbar::PaintPart(PaintCanvas* canvas,
canvas->drawRect(rect, flags);
}
+bool FakeScrollbar::UsesNinePatchThumbResource() const {
+ return false;
+}
+
+gfx::Size FakeScrollbar::NinePatchThumbCanvasSize() const {
+ return gfx::Size();
+}
+
+gfx::Rect FakeScrollbar::NinePatchThumbAperture() const {
+ return gfx::Rect();
+}
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698