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

Unified Diff: ui/native_theme/native_theme_aura.h

Issue 2763373002: Overlay scrollbars flush with window edge (Closed)
Patch Set: bokan comment addressed Created 3 years, 9 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 eeebd051e3c120f29b881c8c55eea8c8a073be70..2326d183207f4cb87ba13eddf3b6fc8584d77b30 100644
--- a/ui/native_theme/native_theme_aura.h
+++ b/ui/native_theme/native_theme_aura.h
@@ -42,11 +42,12 @@ class NATIVE_THEME_EXPORT NativeThemeAura : public NativeThemeBase {
State state,
const ScrollbarTrackExtraParams& extra_params,
const gfx::Rect& rect) const override;
- void PaintScrollbarThumb(cc::PaintCanvas* canvas,
- Part part,
- State state,
- const gfx::Rect& rect,
- ScrollbarOverlayColorTheme theme) const override;
+ void PaintScrollbarThumb(
+ cc::PaintCanvas* canvas,
+ Part part,
+ State state,
+ const gfx::Rect& rect,
+ const NativeTheme::ScrollbarThumbExtraParams& params) const override;
void PaintScrollbarCorner(cc::PaintCanvas* canvas,
State state,
const gfx::Rect& rect) const override;

Powered by Google App Engine
This is Rietveld 408576698