| 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/common/wm/panels/panel_layout_manager.h" | 5 #include "ash/common/wm/panels/panel_layout_manager.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 899 } else if (panel_state->HasRestoreBounds()) { | 899 } else if (panel_state->HasRestoreBounds()) { |
| 900 // Keyboard hidden, restore original bounds if they exist. | 900 // Keyboard hidden, restore original bounds if they exist. |
| 901 panel->SetBoundsDirect(panel_state->GetRestoreBoundsInScreen()); | 901 panel->SetBoundsDirect(panel_state->GetRestoreBoundsInScreen()); |
| 902 } | 902 } |
| 903 } | 903 } |
| 904 // This bounds change will have caused a change to the Shelf which does not | 904 // This bounds change will have caused a change to the Shelf which does not |
| 905 // propogate automatically to this class, so manually recalculate bounds. | 905 // propogate automatically to this class, so manually recalculate bounds. |
| 906 OnWindowResized(); | 906 OnWindowResized(); |
| 907 } | 907 } |
| 908 | 908 |
| 909 void PanelLayoutManager::OnKeyboardHidden() {} |
| 910 |
| 909 } // namespace ash | 911 } // namespace ash |
| OLD | NEW |