OLD | NEW |
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/common/wm/dock/docked_window_layout_manager.h" | 5 #include "ash/wm/dock/docked_window_layout_manager.h" |
6 | 6 |
7 #include "ash/animation/animation_change_type.h" | 7 #include "ash/animation/animation_change_type.h" |
8 #include "ash/common/shelf/shelf_background_animator.h" | |
9 #include "ash/common/shelf/shelf_background_animator_observer.h" | |
10 #include "ash/common/shelf/shelf_constants.h" | |
11 #include "ash/common/shelf/wm_shelf.h" | |
12 #include "ash/common/shelf/wm_shelf_observer.h" | |
13 #include "ash/common/wm/overview/window_selector_controller.h" | |
14 #include "ash/common/wm/window_animation_types.h" | |
15 #include "ash/common/wm/window_parenting_utils.h" | |
16 #include "ash/common/wm/window_resizer.h" | |
17 #include "ash/common/wm/window_state.h" | |
18 #include "ash/common/wm_shell.h" | |
19 #include "ash/common/wm_window.h" | |
20 #include "ash/public/cpp/shell_window_ids.h" | 8 #include "ash/public/cpp/shell_window_ids.h" |
21 #include "ash/resources/grit/ash_resources.h" | 9 #include "ash/resources/grit/ash_resources.h" |
22 #include "ash/root_window_controller.h" | 10 #include "ash/root_window_controller.h" |
| 11 #include "ash/shelf/shelf_background_animator.h" |
| 12 #include "ash/shelf/shelf_background_animator_observer.h" |
| 13 #include "ash/shelf/shelf_constants.h" |
| 14 #include "ash/shelf/wm_shelf.h" |
| 15 #include "ash/shelf/wm_shelf_observer.h" |
| 16 #include "ash/wm/overview/window_selector_controller.h" |
| 17 #include "ash/wm/window_animation_types.h" |
| 18 #include "ash/wm/window_parenting_utils.h" |
| 19 #include "ash/wm/window_resizer.h" |
| 20 #include "ash/wm/window_state.h" |
23 #include "ash/wm/window_state_aura.h" | 21 #include "ash/wm/window_state_aura.h" |
| 22 #include "ash/wm_shell.h" |
| 23 #include "ash/wm_window.h" |
24 #include "base/auto_reset.h" | 24 #include "base/auto_reset.h" |
25 #include "base/metrics/histogram_macros.h" | 25 #include "base/metrics/histogram_macros.h" |
26 #include "third_party/skia/include/core/SkColor.h" | 26 #include "third_party/skia/include/core/SkColor.h" |
27 #include "ui/base/resource/resource_bundle.h" | 27 #include "ui/base/resource/resource_bundle.h" |
28 #include "ui/compositor/scoped_layer_animation_settings.h" | 28 #include "ui/compositor/scoped_layer_animation_settings.h" |
29 #include "ui/display/display.h" | 29 #include "ui/display/display.h" |
30 #include "ui/display/screen.h" | 30 #include "ui/display/screen.h" |
31 #include "ui/views/background.h" | 31 #include "ui/views/background.h" |
32 #include "ui/wm/core/coordinate_conversion.h" | 32 #include "ui/wm/core/coordinate_conversion.h" |
33 #include "ui/wm/core/window_animations.h" | 33 #include "ui/wm/core/window_animations.h" |
(...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1327 const gfx::Rect& keyboard_bounds) { | 1327 const gfx::Rect& keyboard_bounds) { |
1328 // This bounds change will have caused a change to the Shelf which does not | 1328 // This bounds change will have caused a change to the Shelf which does not |
1329 // propagate automatically to this class, so manually recalculate bounds. | 1329 // propagate automatically to this class, so manually recalculate bounds. |
1330 Relayout(); | 1330 Relayout(); |
1331 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); | 1331 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); |
1332 } | 1332 } |
1333 | 1333 |
1334 void DockedWindowLayoutManager::OnKeyboardClosed() {} | 1334 void DockedWindowLayoutManager::OnKeyboardClosed() {} |
1335 | 1335 |
1336 } // namespace ash | 1336 } // namespace ash |
OLD | NEW |