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

Side by Side Diff: ash/wm/dock/docked_window_resizer_unittest.cc

Issue 2438853002: Renames aura::client::WindowTreeClient to WindowParentingClient (Closed)
Patch Set: cleanup Created 4 years, 2 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/ash_focus_rules_unittest.cc ('k') | ash/wm/stacking_controller.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "ash/common/wm/dock/docked_window_resizer.h" 5 #include "ash/common/wm/dock/docked_window_resizer.h"
6 6
7 #include "ash/aura/wm_window_aura.h" 7 #include "ash/aura/wm_window_aura.h"
8 #include "ash/common/shelf/shelf_widget.h" 8 #include "ash/common/shelf/shelf_widget.h"
9 #include "ash/common/shelf/wm_shelf.h" 9 #include "ash/common/shelf/wm_shelf.h"
10 #include "ash/common/wm/dock/docked_window_layout_manager.h" 10 #include "ash/common/wm/dock/docked_window_layout_manager.h"
11 #include "ash/common/wm/panels/panel_layout_manager.h" 11 #include "ash/common/wm/panels/panel_layout_manager.h"
12 #include "ash/common/wm/window_state.h" 12 #include "ash/common/wm/window_state.h"
13 #include "ash/common/wm/wm_event.h" 13 #include "ash/common/wm/wm_event.h"
14 #include "ash/common/wm_shell.h" 14 #include "ash/common/wm_shell.h"
15 #include "ash/display/window_tree_host_manager.h" 15 #include "ash/display/window_tree_host_manager.h"
16 #include "ash/public/cpp/shelf_types.h" 16 #include "ash/public/cpp/shelf_types.h"
17 #include "ash/public/cpp/shell_window_ids.h" 17 #include "ash/public/cpp/shell_window_ids.h"
18 #include "ash/root_window_controller.h" 18 #include "ash/root_window_controller.h"
19 #include "ash/screen_util.h" 19 #include "ash/screen_util.h"
20 #include "ash/shell.h" 20 #include "ash/shell.h"
21 #include "ash/test/ash_test_base.h" 21 #include "ash/test/ash_test_base.h"
22 #include "ash/test/cursor_manager_test_api.h" 22 #include "ash/test/cursor_manager_test_api.h"
23 #include "ash/test/test_shelf_delegate.h" 23 #include "ash/test/test_shelf_delegate.h"
24 #include "ash/wm/drag_window_resizer.h" 24 #include "ash/wm/drag_window_resizer.h"
25 #include "ash/wm/window_state_aura.h" 25 #include "ash/wm/window_state_aura.h"
26 #include "ash/wm/window_util.h" 26 #include "ash/wm/window_util.h"
27 #include "base/command_line.h" 27 #include "base/command_line.h"
28 #include "ui/aura/client/aura_constants.h" 28 #include "ui/aura/client/aura_constants.h"
29 #include "ui/aura/client/window_tree_client.h" 29 #include "ui/aura/client/window_parenting_client.h"
30 #include "ui/aura/test/test_window_delegate.h" 30 #include "ui/aura/test/test_window_delegate.h"
31 #include "ui/aura/window_event_dispatcher.h" 31 #include "ui/aura/window_event_dispatcher.h"
32 #include "ui/base/hit_test.h" 32 #include "ui/base/hit_test.h"
33 #include "ui/base/ui_base_types.h" 33 #include "ui/base/ui_base_types.h"
34 #include "ui/events/test/event_generator.h" 34 #include "ui/events/test/event_generator.h"
35 #include "ui/views/widget/widget.h" 35 #include "ui/views/widget/widget.h"
36 #include "ui/wm/core/coordinate_conversion.h" 36 #include "ui/wm/core/coordinate_conversion.h"
37 #include "ui/wm/core/window_util.h" 37 #include "ui/wm/core/window_util.h"
38 38
39 namespace ash { 39 namespace ash {
(...skipping 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1494 EXPECT_TRUE(window_state->IsMaximized()); 1494 EXPECT_TRUE(window_state->IsMaximized());
1495 } 1495 }
1496 1496
1497 // Tests run twice - on both panels and normal windows 1497 // Tests run twice - on both panels and normal windows
1498 INSTANTIATE_TEST_CASE_P(NormalOrPanel, 1498 INSTANTIATE_TEST_CASE_P(NormalOrPanel,
1499 DockedWindowResizerTest, 1499 DockedWindowResizerTest,
1500 testing::Values(ui::wm::WINDOW_TYPE_NORMAL, 1500 testing::Values(ui::wm::WINDOW_TYPE_NORMAL,
1501 ui::wm::WINDOW_TYPE_PANEL)); 1501 ui::wm::WINDOW_TYPE_PANEL));
1502 1502
1503 } // namespace ash 1503 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/ash_focus_rules_unittest.cc ('k') | ash/wm/stacking_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698