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

Unified Diff: ui/native_theme/native_theme_base.h

Issue 1574913004: Render aura scrollbars programmatically instead of with ninebox assets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove assets Created 4 years, 11 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 f76908b922724553c776959978819dd0d63c66f6..5b91753426c3bb44c50cfde9a4e97494aa0217c5 100644
--- a/ui/native_theme/native_theme_base.h
+++ b/ui/native_theme/native_theme_base.h
@@ -134,12 +134,13 @@ class NATIVE_THEME_EXPORT NativeThemeBase : public NativeTheme {
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.

Powered by Google App Engine
This is Rietveld 408576698