| 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/wm/dock/docked_window_layout_manager.h" | 5 #include "ash/wm/dock/docked_window_layout_manager.h" |
| 6 | 6 |
| 7 #include "ash/screen_util.h" | 7 #include "ash/screen_util.h" |
| 8 #include "ash/shelf/shelf.h" | 8 #include "ash/shelf/shelf.h" |
| 9 #include "ash/shelf/shelf_constants.h" | 9 #include "ash/shelf/shelf_constants.h" |
| 10 #include "ash/shelf/shelf_layout_manager.h" | 10 #include "ash/shelf/shelf_layout_manager.h" |
| 11 #include "ash/shelf/shelf_layout_manager_observer.h" | 11 #include "ash/shelf/shelf_layout_manager_observer.h" |
| 12 #include "ash/shelf/shelf_types.h" | 12 #include "ash/shelf/shelf_types.h" |
| 13 #include "ash/shelf/shelf_widget.h" | 13 #include "ash/shelf/shelf_widget.h" |
| 14 #include "ash/shell.h" | 14 #include "ash/shell.h" |
| 15 #include "ash/shell_window_ids.h" | 15 #include "ash/shell_window_ids.h" |
| 16 #include "ash/wm/common/window_animation_types.h" | 16 #include "ash/wm/common/window_animation_types.h" |
| 17 #include "ash/wm/common/window_parenting_utils.h" | 17 #include "ash/wm/common/window_parenting_utils.h" |
| 18 #include "ash/wm/coordinate_conversion.h" | |
| 19 #include "ash/wm/window_animations.h" | 18 #include "ash/wm/window_animations.h" |
| 20 #include "ash/wm/window_properties.h" | 19 #include "ash/wm/window_properties.h" |
| 21 #include "ash/wm/window_resizer.h" | 20 #include "ash/wm/window_resizer.h" |
| 22 #include "ash/wm/window_state.h" | 21 #include "ash/wm/window_state.h" |
| 23 #include "ash/wm/window_state_aura.h" | 22 #include "ash/wm/window_state_aura.h" |
| 24 #include "ash/wm/window_util.h" | 23 #include "ash/wm/window_util.h" |
| 25 #include "ash/wm/workspace_controller.h" | 24 #include "ash/wm/workspace_controller.h" |
| 26 #include "base/auto_reset.h" | 25 #include "base/auto_reset.h" |
| 27 #include "base/command_line.h" | 26 #include "base/command_line.h" |
| 28 #include "base/metrics/histogram.h" | 27 #include "base/metrics/histogram.h" |
| (...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1377 | 1376 |
| 1378 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( | 1377 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( |
| 1379 const gfx::Rect& keyboard_bounds) { | 1378 const gfx::Rect& keyboard_bounds) { |
| 1380 // This bounds change will have caused a change to the Shelf which does not | 1379 // This bounds change will have caused a change to the Shelf which does not |
| 1381 // propagate automatically to this class, so manually recalculate bounds. | 1380 // propagate automatically to this class, so manually recalculate bounds. |
| 1382 Relayout(); | 1381 Relayout(); |
| 1383 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); | 1382 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); |
| 1384 } | 1383 } |
| 1385 | 1384 |
| 1386 } // namespace ash | 1385 } // namespace ash |
| OLD | NEW |