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/workspace/workspace_event_handler.h" | 5 #include "ash/wm/workspace/workspace_event_handler.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/test/ash_test_base.h" | 8 #include "ash/test/ash_test_base.h" |
9 #include "ash/wm/property_util.h" | 9 #include "ash/wm/property_util.h" |
10 #include "ash/wm/window_util.h" | 10 #include "ash/wm/window_util.h" |
11 #include "ash/wm/workspace_controller_test_helper.h" | 11 #include "ash/wm/workspace_controller_test_helper.h" |
12 #include "ash/wm/workspace/workspace_manager.h" | |
13 #include "ash/wm/workspace_controller.h" | 12 #include "ash/wm/workspace_controller.h" |
14 #include "ui/aura/test/event_generator.h" | 13 #include "ui/aura/test/event_generator.h" |
15 #include "ui/aura/test/test_window_delegate.h" | 14 #include "ui/aura/test/test_window_delegate.h" |
16 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
17 #include "ui/base/hit_test.h" | 16 #include "ui/base/hit_test.h" |
18 #include "ui/gfx/screen.h" | 17 #include "ui/gfx/screen.h" |
19 | 18 |
20 namespace ash { | 19 namespace ash { |
21 namespace internal { | 20 namespace internal { |
22 | 21 |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 wd.set_window_component(HTCAPTION); | 165 wd.set_window_component(HTCAPTION); |
167 | 166 |
168 ASSERT_TRUE(aura::client::GetWindowMoveClient(window->parent())); | 167 ASSERT_TRUE(aura::client::GetWindowMoveClient(window->parent())); |
169 MessageLoop::current()->DeleteSoon(FROM_HERE, window.get()); | 168 MessageLoop::current()->DeleteSoon(FROM_HERE, window.get()); |
170 aura::client::GetWindowMoveClient(window->parent())->RunMoveLoop( | 169 aura::client::GetWindowMoveClient(window->parent())->RunMoveLoop( |
171 window.release(), gfx::Point()); | 170 window.release(), gfx::Point()); |
172 } | 171 } |
173 | 172 |
174 } // namespace internal | 173 } // namespace internal |
175 } // namespace ash | 174 } // namespace ash |
OLD | NEW |