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

Side by Side Diff: ash/wm/panels/panel_layout_manager.cc

Issue 1921353002: Moves handful of files to ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shell_ids
Patch Set: merge to trunk 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/panels/panel_layout_manager.h ('k') | ash/wm/panels/panel_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/panels/panel_layout_manager.h" 5 #include "ash/wm/panels/panel_layout_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <utility> 9 #include <utility>
10 10
11 #include "ash/shelf/shelf.h" 11 #include "ash/shelf/shelf.h"
12 #include "ash/shelf/shelf_layout_manager.h" 12 #include "ash/shelf/shelf_layout_manager.h"
13 #include "ash/shelf/shelf_types.h" 13 #include "ash/shelf/shelf_types.h"
14 #include "ash/shelf/shelf_util.h" 14 #include "ash/shelf/shelf_util.h"
15 #include "ash/shelf/shelf_widget.h" 15 #include "ash/shelf/shelf_widget.h"
16 #include "ash/shell.h" 16 #include "ash/shell.h"
17 #include "ash/shell_window_ids.h" 17 #include "ash/shell_window_ids.h"
18 #include "ash/wm/aura/wm_window_aura.h" 18 #include "ash/wm/aura/wm_window_aura.h"
19 #include "ash/wm/common/window_animation_types.h" 19 #include "ash/wm/common/window_animation_types.h"
20 #include "ash/wm/common/window_parenting_utils.h" 20 #include "ash/wm/common/window_parenting_utils.h"
21 #include "ash/wm/common/window_state.h"
21 #include "ash/wm/common/wm_globals.h" 22 #include "ash/wm/common/wm_globals.h"
22 #include "ash/wm/common/wm_root_window_controller.h" 23 #include "ash/wm/common/wm_root_window_controller.h"
23 #include "ash/wm/common/wm_window.h" 24 #include "ash/wm/common/wm_window.h"
24 #include "ash/wm/common/wm_window_property.h" 25 #include "ash/wm/common/wm_window_property.h"
25 #include "ash/wm/overview/window_selector_controller.h" 26 #include "ash/wm/overview/window_selector_controller.h"
26 #include "ash/wm/window_animations.h" 27 #include "ash/wm/window_animations.h"
27 #include "ash/wm/window_state.h"
28 #include "base/auto_reset.h" 28 #include "base/auto_reset.h"
29 #include "third_party/skia/include/core/SkColor.h" 29 #include "third_party/skia/include/core/SkColor.h"
30 #include "third_party/skia/include/core/SkPaint.h" 30 #include "third_party/skia/include/core/SkPaint.h"
31 #include "third_party/skia/include/core/SkPath.h" 31 #include "third_party/skia/include/core/SkPath.h"
32 #include "ui/aura/window.h" 32 #include "ui/aura/window.h"
33 #include "ui/compositor/scoped_layer_animation_settings.h" 33 #include "ui/compositor/scoped_layer_animation_settings.h"
34 #include "ui/gfx/canvas.h" 34 #include "ui/gfx/canvas.h"
35 #include "ui/gfx/geometry/rect.h" 35 #include "ui/gfx/geometry/rect.h"
36 #include "ui/gfx/geometry/vector2d.h" 36 #include "ui/gfx/geometry/vector2d.h"
37 #include "ui/views/background.h" 37 #include "ui/views/background.h"
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 // Keyboard hidden, restore original bounds if they exist. 918 // Keyboard hidden, restore original bounds if they exist.
919 panel->SetBoundsDirect(panel_state->GetRestoreBoundsInScreen()); 919 panel->SetBoundsDirect(panel_state->GetRestoreBoundsInScreen());
920 } 920 }
921 } 921 }
922 // This bounds change will have caused a change to the Shelf which does not 922 // This bounds change will have caused a change to the Shelf which does not
923 // propogate automatically to this class, so manually recalculate bounds. 923 // propogate automatically to this class, so manually recalculate bounds.
924 OnWindowResized(); 924 OnWindowResized();
925 } 925 }
926 926
927 } // namespace ash 927 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/panels/panel_layout_manager.h ('k') | ash/wm/panels/panel_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698