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

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

Issue 2033373003: Show/Hide the Arc App windows and corresponding shelf items when switching between desktops. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address reveman@'s comment Created 4 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
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 76e7cb99aa301eb533df269b0921e43309294bd3..64889d15fd329042dfd22b2d0b589c07ee2758b5 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
@@ -63,10 +63,6 @@ class ArcAppWindowLauncherController : public AppWindowLauncherController,
void OnTaskDestroyed(int task_id) override;
void OnTaskSetActive(int32_t task_id) override;
- protected:
- void StartObserving(Profile* profile);
- void StopObserving(Profile* profile);
-
private:
class AppWindow;
@@ -74,6 +70,12 @@ class ArcAppWindowLauncherController : public AppWindowLauncherController,
using AppControllerMap =
std::map<std::string, ArcAppWindowLauncherItemController*>;
+ void StartObserving(Profile* profile);
+ void StopObserving(Profile* profile);
+
+ void RegisterApp(AppWindow* app_window);
+ void UnregisterApp(AppWindow* app_window);
+
AppWindow* GetAppWindowForTask(int task_id);
void CheckForAppWindowWidget(aura::Window* window);
« no previous file with comments | « no previous file | 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