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 eb5a600576234ab8e1fd1e5c0e53093f4203743d..a06f4ffa1fb2555eb3ced3a575310b3cc178d75e 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 |
@@ -14,6 +14,7 @@ |
#include "ash/common/wm_window_property.h" |
#include "ash/display/display_manager.h" |
#include "ash/display/screen_orientation_controller_chromeos.h" |
+#include "ash/shared/app_types.h" |
#include "ash/shell.h" |
#include "ash/wm/window_state_aura.h" |
#include "ash/wm/window_util.h" |
@@ -385,6 +386,9 @@ void ArcAppWindowLauncherController::AttachControllerToWindowIfNeeded( |
if (GetAppWindowForTask(task_id)) |
return; |
+ window->SetProperty(aura::client::kAppType, |
+ static_cast<int>(ash::AppType::ARC_APP)); |
+ |
// Create controller if we have task info. |
TaskIdToShelfAppIdMap::iterator it = task_id_to_shelf_app_id_.find(task_id); |
if (it == task_id_to_shelf_app_id_.end()) |