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

Unified Diff: ash/shell/shell_delegate_impl.cc

Issue 24108003: [Cleanup] Rename WindowSettings to WindowState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/shell/shell_delegate_impl.cc
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index 58076ab75be985f43eb5e212d7e1426fc1a5b2f9..3412a51a843d2ad39e651cbf5dfba9354cd9114a 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -17,6 +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_state.h"
#include "ash/wm/window_util.h"
#include "base/message_loop/message_loop.h"
#include "ui/aura/window.h"
@@ -83,7 +84,7 @@ void ShellDelegateImpl::ToggleFullscreen() {
void ShellDelegateImpl::ToggleMaximized() {
aura::Window* window = ash::wm::GetActiveWindow();
if (window)
- ash::wm::ToggleMaximizedWindow(window);
+ wm::GetWindowState(window)->ToggleMaximized();
}
void ShellDelegateImpl::OpenFileManager(bool as_dialog) {

Powered by Google App Engine
This is Rietveld 408576698