Index: ui/native_theme/native_theme.h |
diff --git a/ui/native_theme/native_theme.h b/ui/native_theme/native_theme.h |
index 664aa50e4ee938f6bd30422bae9cf4a66220b6de..5ed382a0a38df7e1e0dd8ec2927189aa2e0e9a7e 100644 |
--- a/ui/native_theme/native_theme.h |
+++ b/ui/native_theme/native_theme.h |
@@ -171,8 +171,14 @@ class NATIVE_THEME_EXPORT NativeTheme { |
int classic_state; // Used on Windows when uxtheme is not available. |
}; |
+ enum ScrollbarOverlayColorTheme { |
+ ScrollbarOverlayColorThemeDark, |
+ ScrollbarOverlayColorThemeLight |
+ }; |
+ |
struct ScrollbarThumbExtraParams { |
bool is_hovering; |
+ ScrollbarOverlayColorTheme scrollbar_theme; |
}; |
struct SliderExtraParams { |
@@ -235,7 +241,8 @@ class NATIVE_THEME_EXPORT NativeTheme { |
State startState, |
State endState, |
double progress, |
- const gfx::Rect& rect) const { } |
+ const gfx::Rect& rect, |
+ ScrollbarOverlayColorTheme theme) const {} |
// Supports theme specific colors. |
void SetScrollbarColors(unsigned inactive_color, |