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

Unified Diff: chrome/browser/ui/views/aura/chrome_shell_delegate.cc

Issue 8558031: [Aura] Refactor and update app list window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync, change initial size close to final size to avoid CardSlider resize animation Created 9 years, 1 month 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 | « chrome/browser/ui/views/aura/chrome_shell_delegate.h ('k') | ui/aura_shell/app_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/aura/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/views/aura/chrome_shell_delegate.cc b/chrome/browser/ui/views/aura/chrome_shell_delegate.cc
index e07bf43506f3ec8f77a6c9643dab2cbe2af568fd..1eb887fae75266a0da4ba4de277d1d42f53b8b7b 100644
--- a/chrome/browser/ui/views/aura/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/views/aura/chrome_shell_delegate.cc
@@ -57,8 +57,9 @@ views::Widget* ChromeShellDelegate::CreateStatusArea() {
return status_area_widget;
}
-void ChromeShellDelegate::ShowApps() {
- AppListWindow::SetVisible(!AppListWindow::IsVisible());
+void ChromeShellDelegate::RequestAppListWidget(
+ const SetWidgetCallback& callback) {
+ new AppListWindow(callback); // AppListWindow deletes itself when closed.
}
void ChromeShellDelegate::LauncherItemClicked(
« no previous file with comments | « chrome/browser/ui/views/aura/chrome_shell_delegate.h ('k') | ui/aura_shell/app_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698