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

Unified Diff: ui/native_theme/overlay_scrollbar_constants_aura.h

Issue 2816923002: change overlay scrollbar hover show to hover fade in (Closed)
Patch Set: bokan comment addressed 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: ui/native_theme/overlay_scrollbar_constants_aura.h
diff --git a/ui/native_theme/overlay_scrollbar_constants_aura.h b/ui/native_theme/overlay_scrollbar_constants_aura.h
index 65537995792dd13f5387a16e2a9c6a92f7ef2926..0a39e9d97d16febba841794063a1606ebce6181b 100644
--- a/ui/native_theme/overlay_scrollbar_constants_aura.h
+++ b/ui/native_theme/overlay_scrollbar_constants_aura.h
@@ -16,10 +16,12 @@ constexpr int kOverlayScrollbarThumbWidthPressed = 10;
// kOverlayScrollbarShowDelay is only for the case where the mouse hovers near
// the screen edge.
-constexpr base::TimeDelta kOverlayScrollbarShowDelay =
+constexpr base::TimeDelta kOverlayScrollbarFadeInDelay =
base::TimeDelta::FromMilliseconds(1000);
constexpr base::TimeDelta kOverlayScrollbarFadeOutDelay =
base::TimeDelta::FromMilliseconds(1000);
+constexpr base::TimeDelta kOverlayScrollbarFadeInDuration =
+ base::TimeDelta::FromMilliseconds(200);
constexpr base::TimeDelta kOverlayScrollbarFadeOutDuration =
base::TimeDelta::FromMilliseconds(200);
// TODO(bokan): This is still undetermined. crbug.com/652520.

Powered by Google App Engine
This is Rietveld 408576698