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/toplevel_window_event_handler.h" | 5 #include "ash/wm/toplevel_window_event_handler.h" |
6 | 6 |
7 #include "ash/common/wm/window_state.h" | |
8 #include "ash/common/wm_window.h" | |
9 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "ash/wm/window_state.h" |
10 #include "ash/wm/window_state_aura.h" | 9 #include "ash/wm/window_state_aura.h" |
| 10 #include "ash/wm_window.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
13 #include "ui/aura/client/cursor_client.h" | 13 #include "ui/aura/client/cursor_client.h" |
14 #include "ui/aura/env.h" | 14 #include "ui/aura/env.h" |
15 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
16 #include "ui/aura/window_event_dispatcher.h" | 16 #include "ui/aura/window_event_dispatcher.h" |
17 #include "ui/aura/window_tracker.h" | 17 #include "ui/aura/window_tracker.h" |
18 #include "ui/aura/window_tree_host.h" | 18 #include "ui/aura/window_tree_host.h" |
19 #include "ui/base/cursor/cursor.h" | 19 #include "ui/base/cursor/cursor.h" |
20 #include "ui/base/hit_test.h" | 20 #include "ui/base/hit_test.h" |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 void ToplevelWindowEventHandler::OnDragCompleted( | 119 void ToplevelWindowEventHandler::OnDragCompleted( |
120 wm::WmToplevelWindowEventHandler::DragResult* result_return_value, | 120 wm::WmToplevelWindowEventHandler::DragResult* result_return_value, |
121 base::RunLoop* run_loop, | 121 base::RunLoop* run_loop, |
122 wm::WmToplevelWindowEventHandler::DragResult result) { | 122 wm::WmToplevelWindowEventHandler::DragResult result) { |
123 *result_return_value = result; | 123 *result_return_value = result; |
124 run_loop->Quit(); | 124 run_loop->Quit(); |
125 } | 125 } |
126 | 126 |
127 } // namespace ash | 127 } // namespace ash |
OLD | NEW |