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

Unified Diff: ui/native_theme/native_theme_aura.h

Issue 2591863003: Use nine-patch resource for drawing Aura overlay scrollbar thumb. (Closed)
Patch Set: Address aelias@'s review 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_aura.h
diff --git a/ui/native_theme/native_theme_aura.h b/ui/native_theme/native_theme_aura.h
index 6212613614830baa5370cda5499db247fa24e5a4..eeebd051e3c120f29b881c8c55eea8c8a073be70 100644
--- a/ui/native_theme/native_theme_aura.h
+++ b/ui/native_theme/native_theme_aura.h
@@ -53,6 +53,9 @@ class NATIVE_THEME_EXPORT NativeThemeAura : public NativeThemeBase {
gfx::Size GetPartSize(Part part,
State state,
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;
private:
bool use_overlay_scrollbars_;

Powered by Google App Engine
This is Rietveld 408576698