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

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: 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
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..5c8ee04fc495be283582dc742681e96e09898564 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);
reveman 2016/06/03 21:51:47 nit: UnregisterApp
xdai1 2016/06/03 22:14:46 Done.
+
AppWindow* GetAppWindowForTask(int task_id);
void CheckForAppWindowWidget(aura::Window* window);

Powered by Google App Engine
This is Rietveld 408576698