| 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/common/wm/dock/docked_window_layout_manager.h" |
| 6 | 6 |
| 7 #include "ash/common/material_design/material_design_controller.h" | 7 #include "ash/common/material_design/material_design_controller.h" |
| 8 #include "ash/common/shelf/shelf_background_animator.h" | 8 #include "ash/common/shelf/shelf_background_animator.h" |
| 9 #include "ash/common/shelf/shelf_background_animator_observer.h" | 9 #include "ash/common/shelf/shelf_background_animator_observer.h" |
| 10 #include "ash/common/shelf/shelf_constants.h" | 10 #include "ash/common/shelf/shelf_constants.h" |
| (...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1379 // keyboard::KeyboardControllerObserver implementation: | 1379 // keyboard::KeyboardControllerObserver implementation: |
| 1380 | 1380 |
| 1381 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( | 1381 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( |
| 1382 const gfx::Rect& keyboard_bounds) { | 1382 const gfx::Rect& keyboard_bounds) { |
| 1383 // This bounds change will have caused a change to the Shelf which does not | 1383 // This bounds change will have caused a change to the Shelf which does not |
| 1384 // propagate automatically to this class, so manually recalculate bounds. | 1384 // propagate automatically to this class, so manually recalculate bounds. |
| 1385 Relayout(); | 1385 Relayout(); |
| 1386 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); | 1386 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); |
| 1387 } | 1387 } |
| 1388 | 1388 |
| 1389 void DockedWindowLayoutManager::OnKeyboardHidden() {} |
| 1390 |
| 1389 } // namespace ash | 1391 } // namespace ash |
| OLD | NEW |