| 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/ash_switches.h" | 7 #include "ash/ash_switches.h" |
| 8 #include "ash/launcher/launcher.h" | 8 #include "ash/launcher/launcher.h" |
| 9 #include "ash/screen_ash.h" | 9 #include "ash/screen_ash.h" |
| 10 #include "ash/shelf/shelf_layout_manager.h" | 10 #include "ash/shelf/shelf_layout_manager.h" |
| (...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 866 last_active_window_ = active_window; | 866 last_active_window_ = active_window; |
| 867 } | 867 } |
| 868 | 868 |
| 869 //////////////////////////////////////////////////////////////////////////////// | 869 //////////////////////////////////////////////////////////////////////////////// |
| 870 // keyboard::KeyboardControllerObserver implementation: | 870 // keyboard::KeyboardControllerObserver implementation: |
| 871 | 871 |
| 872 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( | 872 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( |
| 873 const gfx::Rect& keyboard_bounds) { | 873 const gfx::Rect& keyboard_bounds) { |
| 874 // This bounds change will have caused a change to the Shelf which does not | 874 // This bounds change will have caused a change to the Shelf which does not |
| 875 // propagate automatically to this class, so manually recalculate bounds. | 875 // propagate automatically to this class, so manually recalculate bounds. |
| 876 Relayout(); |
| 876 UpdateDockBounds(); | 877 UpdateDockBounds(); |
| 877 } | 878 } |
| 878 | 879 |
| 879 } // namespace internal | 880 } // namespace internal |
| 880 } // namespace ash | 881 } // namespace ash |
| OLD | NEW |