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 | 9 |
10 #include "ash/launcher/launcher.h" | 10 #include "ash/launcher/launcher.h" |
11 #include "ash/screen_ash.h" | 11 #include "ash/screen_ash.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_widget.h" | 14 #include "ash/shelf/shelf_widget.h" |
15 #include "ash/shell.h" | 15 #include "ash/shell.h" |
16 #include "ash/shell_window_ids.h" | 16 #include "ash/shell_window_ids.h" |
17 #include "ash/wm/frame_painter.h" | 17 #include "ash/wm/frame_painter.h" |
18 #include "ash/wm/window_animations.h" | 18 #include "ash/wm/window_animations.h" |
19 #include "ash/wm/window_state.h" | 19 #include "ash/wm/window_state.h" |
20 #include "ash/wm/window_util.h" | 20 #include "ash/wm/window_util.h" |
21 #include "base/auto_reset.h" | 21 #include "base/auto_reset.h" |
22 #include "base/bind.h" | 22 #include "base/bind.h" |
23 #include "base/bind_helpers.h" | 23 #include "base/bind_helpers.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/aura/client/activation_client.h" | 27 #include "ui/aura/client/activation_client.h" |
28 #include "ui/aura/focus_manager.h" | 28 #include "ui/aura/client/focus_client.h" |
29 #include "ui/aura/root_window.h" | 29 #include "ui/aura/root_window.h" |
30 #include "ui/aura/window.h" | 30 #include "ui/aura/window.h" |
31 #include "ui/compositor/scoped_layer_animation_settings.h" | 31 #include "ui/compositor/scoped_layer_animation_settings.h" |
32 #include "ui/gfx/canvas.h" | 32 #include "ui/gfx/canvas.h" |
33 #include "ui/gfx/rect.h" | 33 #include "ui/gfx/rect.h" |
34 #include "ui/gfx/vector2d.h" | 34 #include "ui/gfx/vector2d.h" |
35 #include "ui/views/background.h" | 35 #include "ui/views/background.h" |
36 #include "ui/views/widget/widget.h" | 36 #include "ui/views/widget/widget.h" |
37 | 37 |
38 namespace ash { | 38 namespace ash { |
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
868 | 868 |
869 void PanelLayoutManager::OnKeyboardBoundsChanging( | 869 void PanelLayoutManager::OnKeyboardBoundsChanging( |
870 const gfx::Rect& keyboard_bounds) { | 870 const gfx::Rect& keyboard_bounds) { |
871 // This bounds change will have caused a change to the Shelf which does not | 871 // This bounds change will have caused a change to the Shelf which does not |
872 // propogate automatically to this class, so manually recalculate bounds. | 872 // propogate automatically to this class, so manually recalculate bounds. |
873 OnWindowResized(); | 873 OnWindowResized(); |
874 } | 874 } |
875 | 875 |
876 } // namespace internal | 876 } // namespace internal |
877 } // namespace ash | 877 } // namespace ash |
OLD | NEW |