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

Unified Diff: ash/wm/maximize_mode/maximize_mode_window_state.cc

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests Created 4 years, 6 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/wm/maximize_mode/maximize_mode_window_state.cc
diff --git a/ash/wm/maximize_mode/maximize_mode_window_state.cc b/ash/wm/maximize_mode/maximize_mode_window_state.cc
index 3c7ba4288d472f7d473052a8bb56358f47818e38..dbba32223d1107df755e28ac511d07a8e02065a7 100644
--- a/ash/wm/maximize_mode/maximize_mode_window_state.cc
+++ b/ash/wm/maximize_mode/maximize_mode_window_state.cc
@@ -6,6 +6,7 @@
#include <utility>
+#include "ash/aura/wm_window_aura.h"
#include "ash/common/shell_window_ids.h"
#include "ash/common/wm/window_animation_types.h"
#include "ash/common/wm/window_state_delegate.h"
@@ -15,7 +16,6 @@
#include "ash/common/wm/workspace/workspace_window_resizer.h"
#include "ash/screen_util.h"
#include "ash/shell.h"
-#include "ash/wm/aura/wm_window_aura.h"
#include "ash/wm/maximize_mode/maximize_mode_window_manager.h"
#include "ash/wm/window_animations.h"
#include "ash/wm/window_properties.h"
@@ -205,7 +205,7 @@ void MaximizeModeWindowState::AttachState(
current_state_type_ = previous_state->GetType();
aura::Window* window =
- ash::wm::WmWindowAura::GetAuraWindow(window_state->window());
+ ash::WmWindowAura::GetAuraWindow(window_state->window());
views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window);
if (widget) {
gfx::Rect bounds = widget->GetRestoredBounds();
@@ -233,7 +233,7 @@ void MaximizeModeWindowState::AttachState(
void MaximizeModeWindowState::DetachState(wm::WindowState* window_state) {
// From now on, we can use the default session restore mechanism again.
- ash::wm::WmWindowAura::GetAuraWindow(window_state->window())
+ ash::WmWindowAura::GetAuraWindow(window_state->window())
->ClearProperty(ash::kRestoreBoundsOverrideKey);
window_state->set_can_be_dragged(true);
}

Powered by Google App Engine
This is Rietveld 408576698