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

Unified Diff: ui/views/view_unittest.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 | « 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 4753be7534ecfdafab19aeca838dc10be686456c..6fe827757635ba4d434f6fdc27c04c5466233d98 100644
--- a/ui/views/view_unittest.cc
+++ b/ui/views/view_unittest.cc
@@ -4565,6 +4565,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);
};
« no previous file with comments | « 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