OLD | NEW |
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/wm/panel_window_resizer.h" | 5 #include "ash/wm/panel_window_resizer.h" |
6 | 6 |
7 #include "ash/launcher/launcher.h" | 7 #include "ash/launcher/launcher.h" |
8 #include "ash/root_window_controller.h" | 8 #include "ash/root_window_controller.h" |
9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
10 #include "ash/shell_window_ids.h" | 10 #include "ash/shell_window_ids.h" |
11 #include "ash/wm/cursor_manager.h" | |
12 #include "ash/wm/panel_layout_manager.h" | 11 #include "ash/wm/panel_layout_manager.h" |
13 #include "ash/wm/property_util.h" | 12 #include "ash/wm/property_util.h" |
14 #include "ash/wm/window_properties.h" | 13 #include "ash/wm/window_properties.h" |
15 #include "ui/aura/client/aura_constants.h" | 14 #include "ui/aura/client/aura_constants.h" |
16 #include "ui/aura/env.h" | 15 #include "ui/aura/env.h" |
17 #include "ui/aura/root_window.h" | 16 #include "ui/aura/root_window.h" |
18 #include "ui/aura/window.h" | 17 #include "ui/aura/window.h" |
19 #include "ui/aura/window_delegate.h" | 18 #include "ui/aura/window_delegate.h" |
20 #include "ui/base/hit_test.h" | 19 #include "ui/base/hit_test.h" |
21 #include "ui/base/ui_base_types.h" | 20 #include "ui/base/ui_base_types.h" |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 if (was_attached_) | 116 if (was_attached_) |
118 panel_layout_manager_->StartDragging(details_.window); | 117 panel_layout_manager_->StartDragging(details_.window); |
119 } | 118 } |
120 | 119 |
121 void PanelWindowResizer::FinishDragging() { | 120 void PanelWindowResizer::FinishDragging() { |
122 if (was_attached_) | 121 if (was_attached_) |
123 panel_layout_manager_->FinishDragging(); | 122 panel_layout_manager_->FinishDragging(); |
124 } | 123 } |
125 | 124 |
126 } // namespace aura | 125 } // namespace aura |
OLD | NEW |