Rename WindowSettings to WindowState
Move window control methods from window_util.h to WindowState
Removed property_util which is no longer necessary.
BUG=272460
Review URL: https://chromiumcodereview.appspot.com/24108003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224288 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index 58076ab7..eb6839c 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -17,7 +17,7 @@
#include "ash/shell/toplevel_window.h"
#include "ash/shell_window_ids.h"
#include "ash/system/tray/default_system_tray_delegate.h"
-#include "ash/wm/window_util.h"
+#include "ash/wm/window_state.h"
#include "base/message_loop/message_loop.h"
#include "ui/aura/window.h"
#include "ui/views/corewm/input_method_event_filter.h"
@@ -81,9 +81,9 @@
}
void ShellDelegateImpl::ToggleMaximized() {
- aura::Window* window = ash::wm::GetActiveWindow();
- if (window)
- ash::wm::ToggleMaximizedWindow(window);
+ wm::WindowState* window_state = wm::GetActiveWindowState();
+ if (window_state)
+ window_state->ToggleMaximized();
}
void ShellDelegateImpl::OpenFileManager(bool as_dialog) {