| 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/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 Loading... |
| 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 |
| OLD | NEW |