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

Unified Diff: ash/wm/window_state_util.cc

Issue 2901663003: chromeos: converts WindowState to aura::Window (Closed)
Patch Set: feedback Created 3 years, 7 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
« no previous file with comments | « ash/wm/window_state.cc ('k') | ash/wm/window_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_state_util.cc
diff --git a/ash/wm/window_state_util.cc b/ash/wm/window_state_util.cc
index dd0983eff28627d1abae110ff894e188a426693f..20e8f443731ed21a7dfd9f77e2308ff9ace5fab1 100644
--- a/ash/wm/window_state_util.cc
+++ b/ash/wm/window_state_util.cc
@@ -7,6 +7,7 @@
#include "ash/wm/window_state.h"
#include "ash/wm/window_state_delegate.h"
#include "ash/wm_window.h"
+#include "ui/wm/core/window_util.h"
namespace ash {
namespace wm {
@@ -21,7 +22,7 @@ void ToggleFullScreen(wm::WindowState* window_state,
if (delegate && delegate->ToggleFullscreen(window_state))
return;
- window_state->window()->SetFullscreen(!is_fullscreen);
+ ::wm::SetWindowFullscreen(window_state->window(), !is_fullscreen);
}
} // namespace wm
« no previous file with comments | « ash/wm/window_state.cc ('k') | ash/wm/window_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698