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

Unified Diff: cc/layers/scrollbar_layer_unittest.cc

Issue 2816923002: change overlay scrollbar hover show to hover fade in (Closed)
Patch Set: combine fade_in_delay and fade_out_delay to fade_delay 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
« no previous file with comments | « cc/input/scrollbar_animation_controller_unittest.cc ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/scrollbar_layer_unittest.cc
diff --git a/cc/layers/scrollbar_layer_unittest.cc b/cc/layers/scrollbar_layer_unittest.cc
index 65cd0610bde1a8db191421d2deb9484895c7066c..5eda03ffc9345ff9a9719993a9b84f03e4e9f38d 100644
--- a/cc/layers/scrollbar_layer_unittest.cc
+++ b/cc/layers/scrollbar_layer_unittest.cc
@@ -106,11 +106,9 @@ class ScrollbarLayerTest : public testing::Test {
layer_tree_settings_.use_zero_copy = true;
layer_tree_settings_.scrollbar_animator =
LayerTreeSettings::ANDROID_OVERLAY;
- layer_tree_settings_.scrollbar_show_delay =
+ layer_tree_settings_.scrollbar_fade_delay =
base::TimeDelta::FromMilliseconds(20);
- layer_tree_settings_.scrollbar_fade_out_delay =
- base::TimeDelta::FromMilliseconds(20);
- layer_tree_settings_.scrollbar_fade_out_duration =
+ layer_tree_settings_.scrollbar_fade_duration =
base::TimeDelta::FromMilliseconds(20);
scrollbar_layer_id_ = -1;
« no previous file with comments | « cc/input/scrollbar_animation_controller_unittest.cc ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698