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

Unified Diff: ui/views/view_unittest.cc

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
« cc/layers/overlay_scrollbar_layer.h ('K') | « ui/native_theme/native_theme_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view_unittest.cc
diff --git a/ui/views/view_unittest.cc b/ui/views/view_unittest.cc
index b5ce1adecb25f5e6670eec3c88b6f3c09a497804..329755c81bdc6f8c007a9ec3ea88a7f102b42c15 100644
--- a/ui/views/view_unittest.cc
+++ b/ui/views/view_unittest.cc
@@ -4584,6 +4584,14 @@ class TestNativeTheme : public ui::NativeTheme {
const gfx::Rect& rect,
const ExtraParams& extra) const override {}
+ bool SupportsNinePatch(Part part) const override { return false; }
+ gfx::Size GetNinePatchCanvasSize(Part part) const override {
+ return gfx::Size();
+ }
+ gfx::Rect GetNinePatchAperture(Part part) const override {
+ return gfx::Rect();
+ }
+
private:
DISALLOW_COPY_AND_ASSIGN(TestNativeTheme);
};
« cc/layers/overlay_scrollbar_layer.h ('K') | « ui/native_theme/native_theme_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698