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

Unified Diff: content/child/webthemeengine_impl_default.cc

Issue 2816923002: change overlay scrollbar hover show to hover fade in (Closed)
Patch Set: merge kOverlayScrollbarFadeInDelay and kOverlayScrollbarFadeOutDelay to kOverlayScrollbarFadeDelay Created 3 years, 8 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: content/child/webthemeengine_impl_default.cc
diff --git a/content/child/webthemeengine_impl_default.cc b/content/child/webthemeengine_impl_default.cc
index 3296c5ec6349f810405cb4cd1b349f73d61a95f7..232ff4ae9adb1d28c7ae6f374d747911db6f1297 100644
--- a/content/child/webthemeengine_impl_default.cc
+++ b/content/child/webthemeengine_impl_default.cc
@@ -245,10 +245,9 @@ void WebThemeEngineImpl::Paint(
}
void WebThemeEngineImpl::GetOverlayScrollbarStyle(ScrollbarStyle* style) {
- style->fade_out_delay_seconds =
- ui::kOverlayScrollbarFadeOutDelay.InSecondsF();
+ style->fade_out_delay_seconds = ui::kOverlayScrollbarFadeDelay.InSecondsF();
style->fade_out_duration_seconds =
- ui::kOverlayScrollbarFadeOutDuration.InSecondsF();
+ ui::kOverlayScrollbarFadeDuration.InSecondsF();
// The other fields in this struct are used only on Android to draw solid
// color scrollbars. On other platforms the scrollbars are painted in
// NativeTheme so these fields are unused.

Powered by Google App Engine
This is Rietveld 408576698