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

Unified Diff: ui/native_theme/native_theme_base.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_base.h
diff --git a/ui/native_theme/native_theme_base.h b/ui/native_theme/native_theme_base.h
index 00675ab211872fd58ced40548174c9a747f57425..0e349c5dee2b1447d672c6d43a0ffa15f22ed4f9 100644
--- a/ui/native_theme/native_theme_base.h
+++ b/ui/native_theme/native_theme_base.h
@@ -33,6 +33,10 @@ class NATIVE_THEME_EXPORT NativeThemeBase : public NativeTheme {
const gfx::Rect& rect,
const ExtraParams& extra) const override;
+ bool SupportsNinePatch(Part part) const override;
+ gfx::Size GetNinePatchCanvasSize(Part part) const override;
+ gfx::Rect GetNinePatchAperture(Part part) const override;
+
protected:
NativeThemeBase();
~NativeThemeBase() override;

Powered by Google App Engine
This is Rietveld 408576698