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

Unified Diff: ash/wm/common/window_state_util.cc

Issue 1921883002: Removes WindowState::aura_window() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows build Created 4 years, 8 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/common/root_window_finder.cc ('k') | ash/wm/common/wm_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/window_state_util.cc
diff --git a/ash/wm/common/window_state_util.cc b/ash/wm/common/window_state_util.cc
index feb019d5a9172e0bc6823c752b370f454d28f924..c146980b2f214d9d6e8b9bc039af1fe4ca3abbdc 100644
--- a/ash/wm/common/window_state_util.cc
+++ b/ash/wm/common/window_state_util.cc
@@ -4,9 +4,9 @@
#include "ash/wm/common/window_state_util.h"
+#include "ash/wm/common/wm_window.h"
#include "ash/wm/window_state.h"
#include "ash/wm/window_state_delegate.h"
-#include "ui/aura/client/aura_constants.h"
namespace ash {
namespace wm {
@@ -26,8 +26,7 @@ void ToggleFullScreen(wm::WindowState* window_state,
window_state->Restore();
} else {
// Set the property to activate full screen.
- window_state->aura_window()->SetProperty(aura::client::kShowStateKey,
- ui::SHOW_STATE_FULLSCREEN);
+ window_state->window()->SetFullscreen();
}
}
« no previous file with comments | « ash/wm/common/root_window_finder.cc ('k') | ash/wm/common/wm_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698