Index: ash/wm/maximize_mode/maximize_mode_window_manager.h |
diff --git a/ash/wm/maximize_mode/maximize_mode_window_manager.h b/ash/wm/maximize_mode/maximize_mode_window_manager.h |
index 78e4405a443179389a0608035e53e898b4af2e43..08146210bb43770cb64efa87fd4bea8c10b1912e 100644 |
--- a/ash/wm/maximize_mode/maximize_mode_window_manager.h |
+++ b/ash/wm/maximize_mode/maximize_mode_window_manager.h |
@@ -42,6 +42,12 @@ class ASH_EXPORT MaximizeModeWindowManager : public aura::WindowObserver, |
// Returns the number of maximized & tracked windows by this manager. |
int GetNumberOfManagedWindows(); |
+ // Adds a window which needs to be maximized. This is used by other window |
+ // managers for windows which needs to get tracked due to (upcoming) state |
+ // changes. |
+ // The call gets ignored if the window was already or should not be handled. |
+ void AddWindow(aura::Window* window); |
+ |
// Called from a window state object when it gets destroyed. |
void WindowStateDestroyed(aura::Window* window); |