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

Unified Diff: ui/app_list/views/apps_container_view.h

Issue 163953008: Remove the animation delay for showing the top level apps when user opens app list launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/app_list/views/apps_container_view.h
diff --git a/ui/app_list/views/apps_container_view.h b/ui/app_list/views/apps_container_view.h
index 36cd31d1781d0d5e2bc724252a221e6f0adb7bcf..c3352f7f3636296d11c8eb9d2eec0965fc2462a2 100644
--- a/ui/app_list/views/apps_container_view.h
+++ b/ui/app_list/views/apps_container_view.h
@@ -74,7 +74,7 @@ class AppsContainerView : public views::View,
SHOW_ITEM_REPARENT,
};
- void SetShowState(ShowState show_state);
+ void SetShowState(ShowState show_state, bool show_apps_with_animation);
// Calculates the top item icon bounds in the active folder icon. The bounds
// is relative to AppsContainerView.
@@ -101,6 +101,10 @@ class AppsContainerView : public views::View,
size_t top_icon_animation_pending_count_;
+ // If true, shows top level apps with animation.
+ // Otherwise, do not animate the UI change.
+ bool show_apps_with_animation_;
+
DISALLOW_COPY_AND_ASSIGN(AppsContainerView);
};

Powered by Google App Engine
This is Rietveld 408576698