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

Unified Diff: ash/wm/lock_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/lock_window_state.cc
diff --git a/ash/wm/lock_window_state.cc b/ash/wm/lock_window_state.cc
index e4973e0034daf7fc2a41ef3ecd0549e01862cdd0..aabd475b1f767691d0bfa46114b6898ad4aeab0d 100644
--- a/ash/wm/lock_window_state.cc
+++ b/ash/wm/lock_window_state.cc
@@ -6,6 +6,7 @@
#include <utility>
+#include "ash/aura/wm_window_aura.h"
#include "ash/common/wm/window_animation_types.h"
#include "ash/common/wm/window_state.h"
#include "ash/common/wm/window_state_delegate.h"
@@ -14,7 +15,6 @@
#include "ash/display/display_manager.h"
#include "ash/screen_util.h"
#include "ash/shell.h"
-#include "ash/wm/aura/wm_window_aura.h"
#include "ash/wm/lock_layout_manager.h"
#include "ash/wm/window_animations.h"
#include "ash/wm/window_state_aura.h"
@@ -38,7 +38,7 @@ LockWindowState::~LockWindowState() {
void LockWindowState::OnWMEvent(wm::WindowState* window_state,
const wm::WMEvent* event) {
aura::Window* window =
- ash::wm::WmWindowAura::GetAuraWindow(window_state->window());
+ ash::WmWindowAura::GetAuraWindow(window_state->window());
gfx::Rect bounds = window->bounds();
switch (event->type()) {
@@ -197,7 +197,7 @@ void LockWindowState::UpdateBounds(wm::WindowState* window_state) {
keyboard_bounds = keyboard_controller->current_keyboard_bounds();
}
gfx::Rect bounds = ScreenUtil::GetShelfDisplayBoundsInRoot(
- ash::wm::WmWindowAura::GetAuraWindow(window_state->window()));
+ ash::WmWindowAura::GetAuraWindow(window_state->window()));
bounds.set_height(bounds.height() - keyboard_bounds.height());

Powered by Google App Engine
This is Rietveld 408576698