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

Unified Diff: ui/native_theme/native_theme_win.h

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: ui/native_theme/native_theme_win.h
diff --git a/ui/native_theme/native_theme_win.h b/ui/native_theme/native_theme_win.h
index 2f83a07b5e30bc03cb867307e60504bed5728f9f..d2585e41d057b1e9b1568898cf36a2295ba8c1d5 100644
--- a/ui/native_theme/native_theme_win.h
+++ b/ui/native_theme/native_theme_win.h
@@ -109,6 +109,10 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
const ExtraParams& extra) const override;
SkColor GetSystemColor(ColorId color_id) const override;
+ bool SupportsNinePatch(Part part) const override;
+ gfx::Size GetNinePatchCanvasSize(Part part) const override;
+ gfx::Rect GetNinePatchAperture(Part part) const override;
+
protected:
friend class NativeTheme;
// Gets our singleton instance.

Powered by Google App Engine
This is Rietveld 408576698