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

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc

Issue 2927693002: mash: Limit ShelfWindowWatcher to panels and dialogs. (Closed)
Patch Set: Fix panel behavior, unit tests, etc. Created 3 years, 6 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: chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
index 8df5123dff8b528cedcb9e70d128420b462ecaf9..c3677cf61e353309922081518792e601b8223443 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
@@ -288,6 +288,7 @@ void ArcAppWindowLauncherController::AttachControllerToWindowIfNeeded(
if (GetAppWindowForTask(task_id))
return;
+ window->SetProperty<int>(ash::kShelfItemTypeKey, ash::TYPE_APP);
sky 2017/06/07 23:50:22 For thought: should we combine AppType and ShelfIt
msw 2017/06/08 00:00:11 Yes, I thought about this as well, I considered tr
window->SetProperty(aura::client::kAppType,
static_cast<int>(ash::AppType::ARC_APP));

Powered by Google App Engine
This is Rietveld 408576698