Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: ash/wm/workspace/workspace_event_handler_unittest.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/screen_util.h" 7 #include "ash/screen_util.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/test/ash_test_base.h" 9 #include "ash/test/ash_test_base.h"
10 #include "ash/wm/window_state.h" 10 #include "ash/wm/window_state.h"
11 #include "ash/wm/window_util.h" 11 #include "ash/wm/window_util.h"
12 #include "ash/wm/workspace/snap_sizer.h" 12 #include "ash/wm/workspace/snap_sizer.h"
13 #include "ash/wm/workspace_controller.h" 13 #include "ash/wm/workspace_controller.h"
14 #include "ash/wm/workspace_controller_test_helper.h" 14 #include "ash/wm/workspace_controller_test_helper.h"
15 #include "ui/aura/client/aura_constants.h" 15 #include "ui/aura/client/aura_constants.h"
16 #include "ui/aura/client/window_move_client.h" 16 #include "ui/aura/client/window_move_client.h"
17 #include "ui/aura/root_window.h"
18 #include "ui/aura/test/event_generator.h" 17 #include "ui/aura/test/event_generator.h"
19 #include "ui/aura/test/test_window_delegate.h" 18 #include "ui/aura/test/test_window_delegate.h"
20 #include "ui/aura/window.h" 19 #include "ui/aura/window.h"
20 #include "ui/aura/window_event_dispatcher.h"
21 #include "ui/base/hit_test.h" 21 #include "ui/base/hit_test.h"
22 #include "ui/gfx/screen.h" 22 #include "ui/gfx/screen.h"
23 #include "ui/views/corewm/window_util.h" 23 #include "ui/views/corewm/window_util.h"
24 24
25 #if defined(OS_WIN) 25 #if defined(OS_WIN)
26 #include "base/win/windows_version.h" 26 #include "base/win/windows_version.h"
27 #endif 27 #endif
28 28
29 namespace ash { 29 namespace ash {
30 namespace internal { 30 namespace internal {
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 ASSERT_TRUE(aura::client::GetWindowMoveClient(window->GetRootWindow())); 447 ASSERT_TRUE(aura::client::GetWindowMoveClient(window->GetRootWindow()));
448 base::MessageLoop::current()->DeleteSoon(FROM_HERE, window.get()); 448 base::MessageLoop::current()->DeleteSoon(FROM_HERE, window.get());
449 aura::client::GetWindowMoveClient(window->GetRootWindow()) 449 aura::client::GetWindowMoveClient(window->GetRootWindow())
450 ->RunMoveLoop(window.release(), 450 ->RunMoveLoop(window.release(),
451 gfx::Vector2d(), 451 gfx::Vector2d(),
452 aura::client::WINDOW_MOVE_SOURCE_MOUSE); 452 aura::client::WINDOW_MOVE_SOURCE_MOUSE);
453 } 453 }
454 454
455 } // namespace internal 455 } // namespace internal
456 } // namespace ash 456 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/workspace/snap_sizer_unittest.cc ('k') | ash/wm/workspace/workspace_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698