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

Side by Side Diff: ash/wm/window_state.cc

Issue 1900443002: Removes aura dependencies from WindowPositioner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nuke GetWorkAreaForWindowInParent and fix windows 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 unified diff | Download patch
« no previous file with comments | « ash/wm/window_resizer.cc ('k') | ash/wm/window_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/wm/window_state.h" 5 #include "ash/wm/window_state.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/ash_switches.h" 9 #include "ash/ash_switches.h"
10 #include "ash/root_window_controller.h" 10 #include "ash/root_window_controller.h"
11 #include "ash/screen_util.h" 11 #include "ash/screen_util.h"
12 #include "ash/shell_window_ids.h" 12 #include "ash/shell_window_ids.h"
13 #include "ash/wm/common/window_positioning_utils.h"
13 #include "ash/wm/common/wm_event.h" 14 #include "ash/wm/common/wm_event.h"
14 #include "ash/wm/common/wm_screen_util.h" 15 #include "ash/wm/common/wm_screen_util.h"
15 #include "ash/wm/default_state.h" 16 #include "ash/wm/default_state.h"
16 #include "ash/wm/window_state_delegate.h" 17 #include "ash/wm/window_state_delegate.h"
17 #include "ash/wm/window_state_observer.h" 18 #include "ash/wm/window_state_observer.h"
18 #include "ash/wm/window_util.h" 19 #include "ash/wm/window_util.h"
19 #include "base/auto_reset.h" 20 #include "base/auto_reset.h"
20 #include "ui/aura/client/aura_constants.h" 21 #include "ui/aura/client/aura_constants.h"
21 #include "ui/gfx/display.h" 22 #include "ui/gfx/display.h"
22 #include "ui/gfx/screen.h" 23 #include "ui/gfx/screen.h"
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 if (!window_->GetTargetVisibility()) { 394 if (!window_->GetTargetVisibility()) {
394 SetBoundsConstrained(new_bounds); 395 SetBoundsConstrained(new_bounds);
395 return; 396 return;
396 } 397 }
397 398
398 window_->SetBoundsDirectCrossFade(new_bounds); 399 window_->SetBoundsDirectCrossFade(new_bounds);
399 } 400 }
400 401
401 } // namespace wm 402 } // namespace wm
402 } // namespace ash 403 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/window_resizer.cc ('k') | ash/wm/window_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698