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

Unified Diff: ui/native_theme/native_theme_base.h

Issue 2426793002: Aura overlay scrollbars adjust color for dark backgrounds (Closed)
Patch Set: fix test Created 4 years, 2 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
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | ui/native_theme/native_theme_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 716f72e94261bbeac3893df189ca3463515b568e..2a95692722cae1fc88369f3ab2e1f4a586161017 100644
--- a/ui/native_theme/native_theme_base.h
+++ b/ui/native_theme/native_theme_base.h
@@ -35,13 +35,6 @@ class NATIVE_THEME_EXPORT NativeThemeBase : public NativeTheme {
const gfx::Rect& rect,
const ExtraParams& extra) const override;
- void PaintStateTransition(SkCanvas* canvas,
- Part part,
- State startState,
- State endState,
- double progress,
- const gfx::Rect& rect) const override;
-
protected:
NativeThemeBase();
~NativeThemeBase() override;
@@ -65,7 +58,8 @@ class NATIVE_THEME_EXPORT NativeThemeBase : public NativeTheme {
SkCanvas* canvas,
Part part,
State state,
- const gfx::Rect& rect) const;
+ const gfx::Rect& rect,
+ NativeTheme::ScrollbarOverlayColorTheme theme) const;
virtual void PaintScrollbarCorner(SkCanvas* canvas,
State state,
@@ -136,14 +130,6 @@ class NATIVE_THEME_EXPORT NativeThemeBase : public NativeTheme {
const gfx::Rect& rect,
const ProgressBarExtraParams& progress_bar) 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.
// TODO(mohsen): This is needed because checkboxes/radio buttons on Android
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | ui/native_theme/native_theme_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698