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

Unified Diff: ui/native_theme/native_theme_aura.cc

Issue 1671313002: MacViews: Overlay Scrollbars with Show/Hide Animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comments and fixed nits Created 4 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.cc
diff --git a/ui/native_theme/native_theme_aura.cc b/ui/native_theme/native_theme_aura.cc
index 223969f44b34ffd11db2cc6e091f974f48a932b8..af64dfd3aaf5c7ec7727fc9f0d98413e969fa8af 100644
--- a/ui/native_theme/native_theme_aura.cc
+++ b/ui/native_theme/native_theme_aura.cc
@@ -180,10 +180,12 @@ void NativeThemeAura::PaintScrollbarTrack(
canvas->drawIRect(gfx::RectToSkIRect(rect), paint);
}
-void NativeThemeAura::PaintScrollbarThumb(SkCanvas* canvas,
- Part part,
- State state,
- const gfx::Rect& rect) const {
+void NativeThemeAura::PaintScrollbarThumb(
+ SkCanvas* canvas,
+ Part part,
+ State state,
+ const ScrollbarThumbExtraParams& extra_params,
+ const gfx::Rect& rect) const {
// Do not paint if state is disabled.
if (state == kDisabled)
return;

Powered by Google App Engine
This is Rietveld 408576698