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 30a1793c1fcf9bde35fa4c2960298f2409ba96f3..e56766540813f74f9bf60170a5e66efc193851ee 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 |
@@ -58,7 +58,9 @@ class ArcAppWindowLauncherController : public AppWindowLauncherController, |
void OnWindowInitialized(aura::Window* window) override; |
// aura::WindowObserver: |
- void OnWindowVisibilityChanged(aura::Window* window, bool visible) override; |
+ void OnWindowPropertyChanged(aura::Window* window, |
+ const void* key, |
+ intptr_t old) override; |
void OnWindowDestroying(aura::Window* window) override; |
// aura::client::ActivationChangeObserver: |
@@ -99,7 +101,8 @@ class ArcAppWindowLauncherController : public AppWindowLauncherController, |
AppWindow* GetAppWindowForTask(int task_id); |
- void AttachControllerToWindowIfNeeded(aura::Window* window); |
+ // Returns true if the window has been attached to a controller. |
+ bool AttachControllerToWindowIfNeeded(aura::Window* window); |
void AttachControllerToWindowsIfNeeded(); |
void SetOrientationLockForAppWindow(AppWindow* app_window); |