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

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

Issue 2883193002: WIP
Patch Set: git cl try 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: 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;
« no previous file with comments | « chrome/browser/ui/ash/launcher/arc_app_window.cc ('k') | chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698