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

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

Issue 308683002: Move MaximizeModeWindowManager to the controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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: 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 8bc851aecdd30ae5fadf6464a315efa01b543cec..78e4405a443179389a0608035e53e898b4af2e43 100644
--- a/ash/wm/maximize_mode/maximize_mode_window_manager.h
+++ b/ash/wm/maximize_mode/maximize_mode_window_manager.h
@@ -22,8 +22,8 @@ class TouchEvent;
}
namespace ash {
+class MaximizeModeController;
class MaximizeModeWindowState;
-class Shell;
// A window manager which - when created - will force all windows into maximized
// mode. Exception are panels and windows which cannot be maximized.
@@ -66,7 +66,7 @@ class ASH_EXPORT MaximizeModeWindowManager : public aura::WindowObserver,
virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
protected:
- friend class ash::Shell;
+ friend class MaximizeModeController;
// The object should only be created by the ash::Shell.
MaximizeModeWindowManager();
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_controller_unittest.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