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

Unified Diff: ash/app_list/app_list_delegate_impl.cc

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: Rebased to fix merge conflicts and addressed comments. Created 3 years, 7 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: ash/app_list/app_list_delegate_impl.cc
diff --git a/ash/app_list/app_list_delegate_impl.cc b/ash/app_list/app_list_delegate_impl.cc
index c8fbf0f0edde5c4af59d8358fb5f6e6c17f0016b..3c51896a1ceffd604bc7022350eee6a9bfc04874 100644
--- a/ash/app_list/app_list_delegate_impl.cc
+++ b/ash/app_list/app_list_delegate_impl.cc
@@ -11,6 +11,7 @@
#include "ash/shell.h"
#include "ash/shell_port.h"
#include "ash/wm_window.h"
+#include "ui/app_list/app_list_features.h"
#include "ui/app_list/presenter/app_list.h"
namespace ash {
@@ -36,6 +37,11 @@ void AppListDelegateImpl::OnAppListVisibilityChanged(bool visible,
app_list_button->OnAppListShown();
else
app_list_button->OnAppListDismissed();
+
+ if (app_list::features::IsFullscreenAppListEnabled()) {
+ Shelf* shelf = Shelf::ForWindow(root_window);
+ shelf->OnAppListIsActive(visible);
xiyuan 2017/05/30 22:18:50 nit: get rid of |shelf| and use Shelf::ForWindow i
newcomer 2017/06/01 01:42:53 Done.
sky 2017/06/01 13:34:05 Thanks for starting down this path! What I'm reall
newcomer 2017/06/05 22:01:44 Discussed Offline, I've created a bug and plan mer
+ }
}
} // namespace ash
« no previous file with comments | « no previous file | ash/app_list/app_list_presenter_delegate.cc » ('j') | ash/app_list/app_list_presenter_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698