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

Unified Diff: ui/app_list/views/app_list_folder_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: Move show/hide and animation logic for the views from Layout to SetShowState. 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
« no previous file with comments | « no previous file | ui/app_list/views/app_list_folder_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_folder_view.h
diff --git a/ui/app_list/views/app_list_folder_view.h b/ui/app_list/views/app_list_folder_view.h
index 72b8fc5bd3e87d27d723fd39d6986d5319771062..a79377ab498044d511fc216e59fbd6526fb500ee 100644
--- a/ui/app_list/views/app_list_folder_view.h
+++ b/ui/app_list/views/app_list_folder_view.h
@@ -81,6 +81,9 @@ class AppListFolderView : public views::View,
// to the drag_drop_host, eg. dropped on shelf.
void DispatchEndDragEventForReparent(bool events_forwarded_to_drag_drop_host);
+ // Hides the view immediately without animation.
+ void HideViewImmediately();
+
// views::View overrides:
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual void Layout() OVERRIDE;
@@ -93,7 +96,6 @@ class AppListFolderView : public views::View,
virtual void OnImplicitAnimationsCompleted() OVERRIDE;
AppsGridView* items_grid_view() { return items_grid_view_; }
- bool hide_for_reparent() const { return hide_for_reparent_; }
private:
void CalculateIdealBounds();
« no previous file with comments | « no previous file | ui/app_list/views/app_list_folder_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698