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

Unified Diff: cc/test/fake_scrollbar.cc

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/fake_scrollbar.h ('k') | cc/trees/layer_tree_host_pixeltest_scrollbars.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « cc/test/fake_scrollbar.h ('k') | cc/trees/layer_tree_host_pixeltest_scrollbars.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698