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

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: 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
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 cc0dec6597e250aed6692d3ebb46977190177ce8..9077adbb95c09afe212ef28ab9193d7a10895837 100644
--- a/chrome/browser/ui/views/aura/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/views/aura/chrome_shell_delegate.cc
@@ -47,8 +47,9 @@ views::Widget* ChromeShellDelegate::CreateStatusArea() {
return status_area_widget;
}
-void ChromeShellDelegate::ShowApps() {
- AppListWindow::SetVisible(!AppListWindow::IsVisible());
+void ChromeShellDelegate::RequestAppListWidget(
+ const aura_shell::SetWidgetCallback& callback) {
+ new AppListWindow(callback); // AppListWindow deletes itself when closed.
}
void ChromeShellDelegate::LauncherItemClicked(

Powered by Google App Engine
This is Rietveld 408576698