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

Unified Diff: ash/frame/caption_buttons/frame_size_button.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/frame/caption_buttons/frame_size_button.cc
diff --git a/ash/frame/caption_buttons/frame_size_button.cc b/ash/frame/caption_buttons/frame_size_button.cc
index 02457c09ddfbb74d29e90efc65791f5ad6886380..0dfa8c1b089e84e51c2e49bc7d285f0b4f0c657f 100644
--- a/ash/frame/caption_buttons/frame_size_button.cc
+++ b/ash/frame/caption_buttons/frame_size_button.cc
@@ -4,6 +4,7 @@
#include "ash/frame/caption_buttons/frame_size_button.h"
+#include "ash/aura/wm_window_aura.h"
#include "ash/common/wm/window_positioning_utils.h"
#include "ash/common/wm/window_state.h"
#include "ash/common/wm/wm_event.h"
@@ -11,7 +12,6 @@
#include "ash/metrics/user_metrics_recorder.h"
#include "ash/screen_util.h"
#include "ash/shell.h"
-#include "ash/wm/aura/wm_window_aura.h"
#include "ash/wm/window_state_aura.h"
#include "ash/wm/window_util.h"
#include "base/i18n/rtl.h"
@@ -224,14 +224,14 @@ void FrameSizeButton::UpdateSnapType(const ui::LocatedEvent& event) {
aura::Window* window = frame_->GetNativeWindow();
if (!phantom_window_controller_.get()) {
phantom_window_controller_.reset(
- new PhantomWindowController(wm::WmWindowAura::Get(window)));
+ new PhantomWindowController(WmWindowAura::Get(window)));
}
gfx::Rect phantom_bounds_in_parent =
(snap_type_ == SNAP_LEFT)
? wm::GetDefaultLeftSnappedWindowBoundsInParent(
- wm::WmWindowAura::Get(window))
+ WmWindowAura::Get(window))
: wm::GetDefaultRightSnappedWindowBoundsInParent(
- wm::WmWindowAura::Get(window));
+ WmWindowAura::Get(window));
phantom_window_controller_->Show(ScreenUtil::ConvertRectToScreen(
window->parent(), phantom_bounds_in_parent));
} else {

Powered by Google App Engine
This is Rietveld 408576698