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

Side by Side Diff: ash/common/wm/dock/docked_window_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) 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698