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

Unified Diff: ash/app_list/app_list_presenter_delegate.cc

Issue 2967543003: collect windows from mru_list in workspace_controller. (Closed)
Patch Set: address applist tests Created 3 years, 5 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 | ash/app_list/app_list_presenter_delegate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/app_list/app_list_presenter_delegate.cc
diff --git a/ash/app_list/app_list_presenter_delegate.cc b/ash/app_list/app_list_presenter_delegate.cc
index 23e902f821671a855f6be6822da0071affbeecc0..adf17f40d7223d542f18690875554491518fd8e0 100644
--- a/ash/app_list/app_list_presenter_delegate.cc
+++ b/ash/app_list/app_list_presenter_delegate.cc
@@ -15,6 +15,7 @@
#include "ash/shelf/shelf_widget.h"
#include "ash/shell.h"
#include "ash/wm/maximize_mode/maximize_mode_controller.h"
+#include "ash/wm/window_state.h"
#include "base/command_line.h"
#include "ui/app_list/app_list_constants.h"
#include "ui/app_list/app_list_features.h"
@@ -119,6 +120,9 @@ void AppListPresenterDelegate::Init(app_list::AppListView* view,
if (!app_list::features::IsFullscreenAppListEnabled()) {
view->MaybeSetAnchorPoint(GetCenterOfDisplayForWindow(
root_window, GetMinimumBoundsHeightForAppList(view)));
+ } else {
+ wm::GetWindowState(view->GetWidget()->GetNativeWindow())
+ ->set_ignored_by_shelf(!IsSideShelf(root_window));
oshima 2017/07/13 00:21:54 we should always set this to true, to keep the sam
Muyuan 2017/07/13 01:41:41 Done.
}
keyboard::KeyboardController* keyboard_controller =
keyboard::KeyboardController::GetInstance();
« no previous file with comments | « no previous file | ash/app_list/app_list_presenter_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698