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

Side by Side Diff: ash/wm/app_list_controller.h

Issue 21592003: app_list: Show apps grid after installing from cws result. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_WM_APP_LIST_CONTROLLER_H_ 5 #ifndef ASH_WM_APP_LIST_CONTROLLER_H_
6 #define ASH_WM_APP_LIST_CONTROLLER_H_ 6 #define ASH_WM_APP_LIST_CONTROLLER_H_
7 7
8 #include "ash/launcher/launcher_icon_observer.h" 8 #include "ash/launcher/launcher_icon_observer.h"
9 #include "ash/shell_observer.h" 9 #include "ash/shell_observer.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 bool GetTargetVisibility() const { return is_visible_; } 60 bool GetTargetVisibility() const { return is_visible_; }
61 61
62 // Returns app list window or NULL if it is not visible. 62 // Returns app list window or NULL if it is not visible.
63 aura::Window* GetWindow(); 63 aura::Window* GetWindow();
64 64
65 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop 65 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop
66 // operations outside the application list. 66 // operations outside the application list.
67 void SetDragAndDropHostOfCurrentAppList( 67 void SetDragAndDropHostOfCurrentAppList(
68 app_list::ApplicationDragAndDropHost* drag_and_drop_host); 68 app_list::ApplicationDragAndDropHost* drag_and_drop_host);
69 69
70 // Shows the apps grid regardless of whether there is a query. It's a no-op if
71 // there is no visible view.
72 void ShowAppsGrid();
73
70 private: 74 private:
71 // Sets the app list view and attempts to show it. 75 // Sets the app list view and attempts to show it.
72 void SetView(app_list::AppListView* view); 76 void SetView(app_list::AppListView* view);
73 77
74 // Forgets the view. 78 // Forgets the view.
75 void ResetView(); 79 void ResetView();
76 80
77 // Starts show/hide animation. 81 // Starts show/hide animation.
78 void ScheduleAnimation(); 82 void ScheduleAnimation();
79 83
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Whether should schedule snap back animation. 131 // Whether should schedule snap back animation.
128 bool should_snap_back_; 132 bool should_snap_back_;
129 133
130 DISALLOW_COPY_AND_ASSIGN(AppListController); 134 DISALLOW_COPY_AND_ASSIGN(AppListController);
131 }; 135 };
132 136
133 } // namespace internal 137 } // namespace internal
134 } // namespace ash 138 } // namespace ash
135 139
136 #endif // ASH_WM_APP_LIST_CONTROLLER_H_ 140 #endif // ASH_WM_APP_LIST_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/app_list_controller.cc » ('j') | ash/wm/app_list_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698