| 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/shell_window_ids.h" | 
| 7 #include "ash/common/wm/shelf/wm_shelf.h" | 8 #include "ash/common/wm/shelf/wm_shelf.h" | 
| 8 #include "ash/common/wm/shelf/wm_shelf_constants.h" | 9 #include "ash/common/wm/shelf/wm_shelf_constants.h" | 
| 9 #include "ash/common/wm/shelf/wm_shelf_observer.h" | 10 #include "ash/common/wm/shelf/wm_shelf_observer.h" | 
| 10 #include "ash/common/wm/window_animation_types.h" | 11 #include "ash/common/wm/window_animation_types.h" | 
| 11 #include "ash/common/wm/window_parenting_utils.h" | 12 #include "ash/common/wm/window_parenting_utils.h" | 
| 12 #include "ash/common/wm/window_resizer.h" | 13 #include "ash/common/wm/window_resizer.h" | 
| 13 #include "ash/common/wm/window_state.h" | 14 #include "ash/common/wm/window_state.h" | 
| 14 #include "ash/common/wm/wm_globals.h" | 15 #include "ash/common/wm/wm_globals.h" | 
| 15 #include "ash/common/wm/wm_lookup.h" | 16 #include "ash/common/wm/wm_lookup.h" | 
| 16 #include "ash/common/wm/wm_root_window_controller.h" | 17 #include "ash/common/wm/wm_root_window_controller.h" | 
| 17 #include "ash/common/wm/wm_shell_window_ids.h" |  | 
| 18 #include "ash/common/wm/wm_window.h" | 18 #include "ash/common/wm/wm_window.h" | 
| 19 #include "base/auto_reset.h" | 19 #include "base/auto_reset.h" | 
| 20 #include "base/metrics/histogram.h" | 20 #include "base/metrics/histogram.h" | 
| 21 #include "grit/ash_resources.h" | 21 #include "grit/ash_resources.h" | 
| 22 #include "third_party/skia/include/core/SkColor.h" | 22 #include "third_party/skia/include/core/SkColor.h" | 
| 23 #include "third_party/skia/include/core/SkPaint.h" | 23 #include "third_party/skia/include/core/SkPaint.h" | 
| 24 #include "ui/base/resource/resource_bundle.h" | 24 #include "ui/base/resource/resource_bundle.h" | 
| 25 #include "ui/compositor/paint_recorder.h" | 25 #include "ui/compositor/paint_recorder.h" | 
| 26 #include "ui/compositor/scoped_layer_animation_settings.h" | 26 #include "ui/compositor/scoped_layer_animation_settings.h" | 
| 27 #include "ui/display/display.h" | 27 #include "ui/display/display.h" | 
| (...skipping 1292 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1320 | 1320 | 
| 1321 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( | 1321 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( | 
| 1322     const gfx::Rect& keyboard_bounds) { | 1322     const gfx::Rect& keyboard_bounds) { | 
| 1323   // This bounds change will have caused a change to the Shelf which does not | 1323   // This bounds change will have caused a change to the Shelf which does not | 
| 1324   // propagate automatically to this class, so manually recalculate bounds. | 1324   // propagate automatically to this class, so manually recalculate bounds. | 
| 1325   Relayout(); | 1325   Relayout(); | 
| 1326   UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); | 1326   UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); | 
| 1327 } | 1327 } | 
| 1328 | 1328 | 
| 1329 }  // namespace ash | 1329 }  // namespace ash | 
| OLD | NEW | 
|---|