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/screen_util.h" | 7 #include "ash/screen_util.h" |
8 #include "ash/shelf/shelf.h" | 8 #include "ash/shelf/shelf.h" |
9 #include "ash/shelf/shelf_constants.h" | 9 #include "ash/shelf/shelf_constants.h" |
10 #include "ash/shelf/shelf_layout_manager.h" | 10 #include "ash/shelf/shelf_layout_manager.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "base/metrics/histogram.h" | 24 #include "base/metrics/histogram.h" |
25 #include "grit/ash_resources.h" | 25 #include "grit/ash_resources.h" |
26 #include "third_party/skia/include/core/SkColor.h" | 26 #include "third_party/skia/include/core/SkColor.h" |
27 #include "third_party/skia/include/core/SkPaint.h" | 27 #include "third_party/skia/include/core/SkPaint.h" |
28 #include "ui/aura/client/focus_client.h" | 28 #include "ui/aura/client/focus_client.h" |
29 #include "ui/aura/client/window_tree_client.h" | 29 #include "ui/aura/client/window_tree_client.h" |
30 #include "ui/aura/window.h" | 30 #include "ui/aura/window.h" |
31 #include "ui/aura/window_delegate.h" | 31 #include "ui/aura/window_delegate.h" |
32 #include "ui/aura/window_event_dispatcher.h" | 32 #include "ui/aura/window_event_dispatcher.h" |
33 #include "ui/base/resource/resource_bundle.h" | 33 #include "ui/base/resource/resource_bundle.h" |
34 #include "ui/compositor/paint_context.h" | |
35 #include "ui/compositor/paint_recorder.h" | 34 #include "ui/compositor/paint_recorder.h" |
36 #include "ui/compositor/scoped_layer_animation_settings.h" | 35 #include "ui/compositor/scoped_layer_animation_settings.h" |
37 #include "ui/gfx/canvas.h" | 36 #include "ui/gfx/canvas.h" |
38 #include "ui/gfx/geometry/rect.h" | 37 #include "ui/gfx/geometry/rect.h" |
39 #include "ui/gfx/image/image_skia_operations.h" | 38 #include "ui/gfx/image/image_skia_operations.h" |
40 #include "ui/views/background.h" | 39 #include "ui/views/background.h" |
41 #include "ui/wm/core/window_util.h" | 40 #include "ui/wm/core/window_util.h" |
42 #include "ui/wm/public/activation_client.h" | 41 #include "ui/wm/public/activation_client.h" |
43 | 42 |
44 namespace ash { | 43 namespace ash { |
(...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1352 | 1351 |
1353 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( | 1352 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( |
1354 const gfx::Rect& keyboard_bounds) { | 1353 const gfx::Rect& keyboard_bounds) { |
1355 // This bounds change will have caused a change to the Shelf which does not | 1354 // This bounds change will have caused a change to the Shelf which does not |
1356 // propagate automatically to this class, so manually recalculate bounds. | 1355 // propagate automatically to this class, so manually recalculate bounds. |
1357 Relayout(); | 1356 Relayout(); |
1358 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); | 1357 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); |
1359 } | 1358 } |
1360 | 1359 |
1361 } // namespace ash | 1360 } // namespace ash |
OLD | NEW |