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/ash_switches.h" | 7 #include "ash/ash_switches.h" |
8 #include "ash/screen_util.h" | 8 #include "ash/screen_util.h" |
9 #include "ash/shelf/shelf.h" | 9 #include "ash/shelf/shelf.h" |
10 #include "ash/shelf/shelf_constants.h" | 10 #include "ash/shelf/shelf_constants.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "ash/wm/workspace_controller.h" | 22 #include "ash/wm/workspace_controller.h" |
23 #include "base/auto_reset.h" | 23 #include "base/auto_reset.h" |
24 #include "base/command_line.h" | 24 #include "base/command_line.h" |
25 #include "base/metrics/histogram.h" | 25 #include "base/metrics/histogram.h" |
26 #include "grit/ash_resources.h" | 26 #include "grit/ash_resources.h" |
27 #include "third_party/skia/include/core/SkColor.h" | 27 #include "third_party/skia/include/core/SkColor.h" |
28 #include "third_party/skia/include/core/SkPaint.h" | 28 #include "third_party/skia/include/core/SkPaint.h" |
29 #include "ui/aura/client/activation_client.h" | 29 #include "ui/aura/client/activation_client.h" |
30 #include "ui/aura/client/focus_client.h" | 30 #include "ui/aura/client/focus_client.h" |
31 #include "ui/aura/client/window_tree_client.h" | 31 #include "ui/aura/client/window_tree_client.h" |
32 #include "ui/aura/root_window.h" | |
33 #include "ui/aura/window.h" | 32 #include "ui/aura/window.h" |
34 #include "ui/aura/window_delegate.h" | 33 #include "ui/aura/window_delegate.h" |
| 34 #include "ui/aura/window_event_dispatcher.h" |
35 #include "ui/base/resource/resource_bundle.h" | 35 #include "ui/base/resource/resource_bundle.h" |
36 #include "ui/compositor/scoped_layer_animation_settings.h" | 36 #include "ui/compositor/scoped_layer_animation_settings.h" |
37 #include "ui/gfx/canvas.h" | 37 #include "ui/gfx/canvas.h" |
38 #include "ui/gfx/image/image_skia_operations.h" | 38 #include "ui/gfx/image/image_skia_operations.h" |
39 #include "ui/gfx/rect.h" | 39 #include "ui/gfx/rect.h" |
40 #include "ui/views/background.h" | 40 #include "ui/views/background.h" |
41 #include "ui/views/corewm/window_util.h" | 41 #include "ui/views/corewm/window_util.h" |
42 | 42 |
43 namespace ash { | 43 namespace ash { |
44 namespace internal { | 44 namespace internal { |
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1311 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( | 1311 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( |
1312 const gfx::Rect& keyboard_bounds) { | 1312 const gfx::Rect& keyboard_bounds) { |
1313 // This bounds change will have caused a change to the Shelf which does not | 1313 // This bounds change will have caused a change to the Shelf which does not |
1314 // propagate automatically to this class, so manually recalculate bounds. | 1314 // propagate automatically to this class, so manually recalculate bounds. |
1315 Relayout(); | 1315 Relayout(); |
1316 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); | 1316 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); |
1317 } | 1317 } |
1318 | 1318 |
1319 } // namespace internal | 1319 } // namespace internal |
1320 } // namespace ash | 1320 } // namespace ash |
OLD | NEW |