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

Side by Side Diff: ash/wm/dock/docked_window_layout_manager.cc

Issue 1898223002: Removes most aura dependencies from WindowResizer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_aura_from_window_state
Patch Set: nit and merge 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/default_window_resizer.cc ('k') | ash/wm/dock/docked_window_layout_manager_unittest.cc » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/dock/docked_window_layout_manager.h" 5 #include "ash/wm/dock/docked_window_layout_manager.h"
6 6
7 #include "ash/screen_util.h" 7 #include "ash/screen_util.h"
8 #include "ash/shelf/shelf.h" 8 #include "ash/shelf/shelf.h"
9 #include "ash/shelf/shelf_constants.h" 9 #include "ash/shelf/shelf_constants.h"
10 #include "ash/shelf/shelf_layout_manager.h" 10 #include "ash/shelf/shelf_layout_manager.h"
11 #include "ash/shelf/shelf_layout_manager_observer.h" 11 #include "ash/shelf/shelf_layout_manager_observer.h"
12 #include "ash/shelf/shelf_types.h" 12 #include "ash/shelf/shelf_types.h"
13 #include "ash/shelf/shelf_widget.h" 13 #include "ash/shelf/shelf_widget.h"
14 #include "ash/shell.h" 14 #include "ash/shell.h"
15 #include "ash/shell_window_ids.h" 15 #include "ash/shell_window_ids.h"
16 #include "ash/wm/common/window_animation_types.h" 16 #include "ash/wm/common/window_animation_types.h"
17 #include "ash/wm/common/window_parenting_utils.h" 17 #include "ash/wm/common/window_parenting_utils.h"
18 #include "ash/wm/coordinate_conversion.h"
19 #include "ash/wm/window_animations.h" 18 #include "ash/wm/window_animations.h"
20 #include "ash/wm/window_properties.h" 19 #include "ash/wm/window_properties.h"
21 #include "ash/wm/window_resizer.h" 20 #include "ash/wm/window_resizer.h"
22 #include "ash/wm/window_state.h" 21 #include "ash/wm/window_state.h"
23 #include "ash/wm/window_state_aura.h" 22 #include "ash/wm/window_state_aura.h"
24 #include "ash/wm/window_util.h" 23 #include "ash/wm/window_util.h"
25 #include "ash/wm/workspace_controller.h" 24 #include "ash/wm/workspace_controller.h"
26 #include "base/auto_reset.h" 25 #include "base/auto_reset.h"
27 #include "base/command_line.h" 26 #include "base/command_line.h"
28 #include "base/metrics/histogram.h" 27 #include "base/metrics/histogram.h"
(...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 1376
1378 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( 1377 void DockedWindowLayoutManager::OnKeyboardBoundsChanging(
1379 const gfx::Rect& keyboard_bounds) { 1378 const gfx::Rect& keyboard_bounds) {
1380 // This bounds change will have caused a change to the Shelf which does not 1379 // This bounds change will have caused a change to the Shelf which does not
1381 // propagate automatically to this class, so manually recalculate bounds. 1380 // propagate automatically to this class, so manually recalculate bounds.
1382 Relayout(); 1381 Relayout();
1383 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); 1382 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING);
1384 } 1383 }
1385 1384
1386 } // namespace ash 1385 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/default_window_resizer.cc ('k') | ash/wm/dock/docked_window_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698