Render aura scrollbars programmatically instead of with ninebox assets.
This also updates overlay scrollbars, but they're still not finished (i.e. ready to be default on CrOS).
BUG=543259,307578
Review URL: https://codereview.chromium.org/1574913004
Cr-Commit-Position: refs/heads/master@{#369033}
diff --git a/ui/native_theme/native_theme_base.h b/ui/native_theme/native_theme_base.h
index f76908b..5b91753 100644
--- a/ui/native_theme/native_theme_base.h
+++ b/ui/native_theme/native_theme_base.h
@@ -134,12 +134,13 @@
const gfx::Rect& rect,
const ProgressBarExtraParams& progress_bar) const;
- virtual void PaintScrollbarThumbStateTransition(
- SkCanvas* canvas,
- State startState,
- State endState,
- double progress,
- const gfx::Rect& rect) const {}
+ virtual void PaintScrollbarThumbStateTransition(SkCanvas* canvas,
+ Part part,
+ State startState,
+ State endState,
+ double progress,
+ const gfx::Rect& rect) const {
+ }
// Shrinks checkbox/radio button rect, if necessary, to make room for padding
// and drop shadow.