Index: chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.h |
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.h b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.h |
index 621c8ff12dd567d75715267744f55ce7de3ad6d7..ee992d4a12c1b2f8efe873847d965b02bb3c4c00 100644 |
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.h |
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.h |
@@ -22,6 +22,7 @@ namespace aura { |
class Window; |
} |
+class ArcAppWindow; |
class ArcAppWindowLauncherItemController; |
class ChromeLauncherController; |
@@ -73,8 +74,9 @@ class ArcAppWindowLauncherController : public AppWindowLauncherController, |
int32_t task_id, |
const arc::mojom::OrientationLock orientation_lock) override; |
+ int active_task_id() const { return active_task_id_; } |
+ |
private: |
- class AppWindow; |
class AppWindowInfo; |
using TaskIdToAppWindowInfo = std::map<int, std::unique_ptr<AppWindowInfo>>; |
@@ -91,7 +93,7 @@ class ArcAppWindowLauncherController : public AppWindowLauncherController, |
void UnregisterApp(AppWindowInfo* app_window_info); |
AppWindowInfo* GetAppWindowInfoForTask(int task_id); |
- AppWindow* GetAppWindowForTask(int task_id); |
+ ArcAppWindow* GetAppWindowForTask(int task_id); |
void AttachControllerToWindowIfNeeded(aura::Window* window); |
void AttachControllerToWindowsIfNeeded(); |
@@ -99,7 +101,7 @@ class ArcAppWindowLauncherController : public AppWindowLauncherController, |
int taskId, |
const AppWindowInfo& app_window_info); |
- void SetOrientationLockForAppWindow(AppWindow* app_window); |
+ void SetOrientationLockForAppWindow(ArcAppWindow* app_window); |
std::vector<int> GetTaskIdsForApp(const std::string& arc_app_id) const; |