Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: ash/common/wm/panels/panel_layout_manager.cc

Issue 2323823004: Add action for each button on opt-in IME menu. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698