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

Side by Side Diff: ash/wm/overview/window_selector_unittest.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « ash/wm/overview/window_selector_item.cc ('k') | ash/wm/panels/attached_panel_window_targeter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 <algorithm> 5 #include <algorithm>
6 #include <vector> 6 #include <vector>
7 7
8 #include "ash/common/accessibility_delegate.h" 8 #include "ash/accessibility_delegate.h"
9 #include "ash/common/accessibility_types.h" 9 #include "ash/accessibility_types.h"
10 #include "ash/common/ash_switches.h" 10 #include "ash/ash_switches.h"
11 #include "ash/common/shelf/shelf_widget.h"
12 #include "ash/common/shelf/wm_shelf.h"
13 #include "ash/common/test/test_shelf_delegate.h"
14 #include "ash/common/wm/dock/docked_window_layout_manager.h"
15 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
16 #include "ash/common/wm/mru_window_tracker.h"
17 #include "ash/common/wm/overview/scoped_transform_overview_window.h"
18 #include "ash/common/wm/overview/window_grid.h"
19 #include "ash/common/wm/overview/window_selector.h"
20 #include "ash/common/wm/overview/window_selector_controller.h"
21 #include "ash/common/wm/overview/window_selector_item.h"
22 #include "ash/common/wm/panels/panel_layout_manager.h"
23 #include "ash/common/wm/window_state.h"
24 #include "ash/common/wm/wm_event.h"
25 #include "ash/common/wm/workspace/workspace_window_resizer.h"
26 #include "ash/common/wm_shell.h"
27 #include "ash/common/wm_window.h"
28 #include "ash/drag_drop/drag_drop_controller.h" 11 #include "ash/drag_drop/drag_drop_controller.h"
29 #include "ash/public/cpp/shell_window_ids.h" 12 #include "ash/public/cpp/shell_window_ids.h"
30 #include "ash/root_window_controller.h" 13 #include "ash/root_window_controller.h"
14 #include "ash/shelf/shelf_widget.h"
15 #include "ash/shelf/wm_shelf.h"
31 #include "ash/shell.h" 16 #include "ash/shell.h"
32 #include "ash/system/tray/system_tray.h" 17 #include "ash/system/tray/system_tray.h"
33 #include "ash/test/ash_test_base.h" 18 #include "ash/test/ash_test_base.h"
34 #include "ash/test/shelf_view_test_api.h" 19 #include "ash/test/shelf_view_test_api.h"
35 #include "ash/test/shell_test_api.h" 20 #include "ash/test/shell_test_api.h"
36 #include "ash/test/test_app_list_view_presenter_impl.h" 21 #include "ash/test/test_app_list_view_presenter_impl.h"
22 #include "ash/test/test_shelf_delegate.h"
23 #include "ash/wm/dock/docked_window_layout_manager.h"
24 #include "ash/wm/maximize_mode/maximize_mode_controller.h"
25 #include "ash/wm/mru_window_tracker.h"
26 #include "ash/wm/overview/scoped_transform_overview_window.h"
27 #include "ash/wm/overview/window_grid.h"
28 #include "ash/wm/overview/window_selector.h"
29 #include "ash/wm/overview/window_selector_controller.h"
30 #include "ash/wm/overview/window_selector_item.h"
31 #include "ash/wm/panels/panel_layout_manager.h"
32 #include "ash/wm/window_state.h"
37 #include "ash/wm/window_state_aura.h" 33 #include "ash/wm/window_state_aura.h"
38 #include "ash/wm/window_util.h" 34 #include "ash/wm/window_util.h"
35 #include "ash/wm/wm_event.h"
36 #include "ash/wm/workspace/workspace_window_resizer.h"
37 #include "ash/wm_shell.h"
38 #include "ash/wm_window.h"
39 #include "base/command_line.h" 39 #include "base/command_line.h"
40 #include "base/compiler_specific.h" 40 #include "base/compiler_specific.h"
41 #include "base/memory/ptr_util.h" 41 #include "base/memory/ptr_util.h"
42 #include "base/run_loop.h" 42 #include "base/run_loop.h"
43 #include "base/strings/string_piece.h" 43 #include "base/strings/string_piece.h"
44 #include "base/strings/utf_string_conversions.h" 44 #include "base/strings/utf_string_conversions.h"
45 #include "base/test/user_action_tester.h" 45 #include "base/test/user_action_tester.h"
46 #include "base/threading/thread_task_runner_handle.h" 46 #include "base/threading/thread_task_runner_handle.h"
47 #include "ui/aura/client/aura_constants.h" 47 #include "ui/aura/client/aura_constants.h"
48 #include "ui/aura/client/cursor_client.h" 48 #include "ui/aura/client/cursor_client.h"
(...skipping 2085 matching lines...) Expand 10 before | Expand all | Expand 10 after
2134 aura::client::WINDOW_MOVE_SOURCE_MOUSE)); 2134 aura::client::WINDOW_MOVE_SOURCE_MOUSE));
2135 ASSERT_TRUE(resizer.get()); 2135 ASSERT_TRUE(resizer.get());
2136 gfx::Point location = resizer->GetInitialLocation(); 2136 gfx::Point location = resizer->GetInitialLocation();
2137 location.Offset(20, 20); 2137 location.Offset(20, 20);
2138 resizer->Drag(location, 0); 2138 resizer->Drag(location, 0);
2139 ToggleOverview(); 2139 ToggleOverview();
2140 resizer->RevertDrag(); 2140 resizer->RevertDrag();
2141 } 2141 }
2142 2142
2143 } // namespace ash 2143 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector_item.cc ('k') | ash/wm/panels/attached_panel_window_targeter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698