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(); |