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

Unified Diff: ash/wm/maximize_mode/maximize_mode_window_manager.h

Issue 437213005: Fixing problem with the maximize mode where MultiProfile windows do not get properly handled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 6 years, 4 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: 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);
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_controller.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698