OLD | NEW |
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/common/wm/panels/panel_layout_manager.h" | 5 #include "ash/common/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/common/shelf/wm_shelf.h" | 11 #include "ash/common/shelf/wm_shelf.h" |
12 #include "ash/common/shelf/wm_shelf_util.h" | 12 #include "ash/common/shelf/wm_shelf_util.h" |
13 #include "ash/common/shell_window_ids.h" | |
14 #include "ash/common/wm/overview/window_selector_controller.h" | 13 #include "ash/common/wm/overview/window_selector_controller.h" |
15 #include "ash/common/wm/window_animation_types.h" | 14 #include "ash/common/wm/window_animation_types.h" |
16 #include "ash/common/wm/window_parenting_utils.h" | 15 #include "ash/common/wm/window_parenting_utils.h" |
17 #include "ash/common/wm/window_state.h" | 16 #include "ash/common/wm/window_state.h" |
18 #include "ash/common/wm_lookup.h" | 17 #include "ash/common/wm_lookup.h" |
19 #include "ash/common/wm_root_window_controller.h" | 18 #include "ash/common/wm_root_window_controller.h" |
20 #include "ash/common/wm_shell.h" | 19 #include "ash/common/wm_shell.h" |
21 #include "ash/common/wm_window.h" | 20 #include "ash/common/wm_window.h" |
22 #include "ash/common/wm_window_property.h" | 21 #include "ash/common/wm_window_property.h" |
| 22 #include "ash/public/cpp/shell_window_ids.h" |
23 #include "base/auto_reset.h" | 23 #include "base/auto_reset.h" |
24 #include "third_party/skia/include/core/SkColor.h" | 24 #include "third_party/skia/include/core/SkColor.h" |
25 #include "third_party/skia/include/core/SkPaint.h" | 25 #include "third_party/skia/include/core/SkPaint.h" |
26 #include "third_party/skia/include/core/SkPath.h" | 26 #include "third_party/skia/include/core/SkPath.h" |
27 #include "ui/compositor/scoped_layer_animation_settings.h" | 27 #include "ui/compositor/scoped_layer_animation_settings.h" |
28 #include "ui/gfx/canvas.h" | 28 #include "ui/gfx/canvas.h" |
29 #include "ui/gfx/geometry/rect.h" | 29 #include "ui/gfx/geometry/rect.h" |
30 #include "ui/gfx/geometry/vector2d.h" | 30 #include "ui/gfx/geometry/vector2d.h" |
31 #include "ui/views/background.h" | 31 #include "ui/views/background.h" |
32 #include "ui/views/widget/widget.h" | 32 #include "ui/views/widget/widget.h" |
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 } | 902 } |
903 } | 903 } |
904 // This bounds change will have caused a change to the Shelf which does not | 904 // This bounds change will have caused a change to the Shelf which does not |
905 // propogate automatically to this class, so manually recalculate bounds. | 905 // propogate automatically to this class, so manually recalculate bounds. |
906 OnWindowResized(); | 906 OnWindowResized(); |
907 } | 907 } |
908 | 908 |
909 void PanelLayoutManager::OnKeyboardClosed() {} | 909 void PanelLayoutManager::OnKeyboardClosed() {} |
910 | 910 |
911 } // namespace ash | 911 } // namespace ash |
OLD | NEW |