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/common/wm/workspace/workspace_event_handler.h" | 5 #include "ash/common/wm/workspace/workspace_event_handler.h" |
6 | 6 |
7 #include "ash/common/wm/window_state.h" | 7 #include "ash/common/wm/window_state.h" |
8 #include "ash/common/wm/wm_event.h" | 8 #include "ash/common/wm/wm_event.h" |
9 #include "ash/common/wm/workspace_controller.h" | 9 #include "ash/common/wm/workspace_controller.h" |
10 #include "ash/display/display_manager.h" | |
11 #include "ash/screen_util.h" | 10 #include "ash/screen_util.h" |
12 #include "ash/shell.h" | 11 #include "ash/shell.h" |
13 #include "ash/test/ash_test_base.h" | 12 #include "ash/test/ash_test_base.h" |
14 #include "ash/wm/window_state_aura.h" | 13 #include "ash/wm/window_state_aura.h" |
15 #include "ash/wm/window_util.h" | 14 #include "ash/wm/window_util.h" |
16 #include "ash/wm/workspace_controller_test_helper.h" | 15 #include "ash/wm/workspace_controller_test_helper.h" |
17 #include "base/threading/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
18 #include "ui/aura/client/aura_constants.h" | 17 #include "ui/aura/client/aura_constants.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" |
21 #include "ui/aura/window_tree_host.h" | 20 #include "ui/aura/window_tree_host.h" |
22 #include "ui/base/hit_test.h" | 21 #include "ui/base/hit_test.h" |
| 22 #include "ui/display/manager/display_manager.h" |
23 #include "ui/display/screen.h" | 23 #include "ui/display/screen.h" |
24 #include "ui/events/event_processor.h" | 24 #include "ui/events/event_processor.h" |
25 #include "ui/events/event_utils.h" | 25 #include "ui/events/event_utils.h" |
26 #include "ui/events/test/event_generator.h" | 26 #include "ui/events/test/event_generator.h" |
27 #include "ui/wm/core/window_util.h" | 27 #include "ui/wm/core/window_util.h" |
28 #include "ui/wm/public/window_move_client.h" | 28 #include "ui/wm/public/window_move_client.h" |
29 | 29 |
30 #if defined(OS_WIN) | 30 #if defined(OS_WIN) |
31 #include "base/win/windows_version.h" | 31 #include "base/win/windows_version.h" |
32 #endif | 32 #endif |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 delegate.set_window_component(HTCAPTION); | 531 delegate.set_window_component(HTCAPTION); |
532 generator.PressRightButton(); | 532 generator.PressRightButton(); |
533 generator.ReleaseRightButton(); | 533 generator.ReleaseRightButton(); |
534 EXPECT_FALSE(window_state->IsMaximized()); | 534 EXPECT_FALSE(window_state->IsMaximized()); |
535 ClickButtonWithFlags(&generator, ui::EF_LEFT_MOUSE_BUTTON, | 535 ClickButtonWithFlags(&generator, ui::EF_LEFT_MOUSE_BUTTON, |
536 ui::EF_IS_DOUBLE_CLICK); | 536 ui::EF_IS_DOUBLE_CLICK); |
537 EXPECT_FALSE(window_state->IsMaximized()); | 537 EXPECT_FALSE(window_state->IsMaximized()); |
538 } | 538 } |
539 | 539 |
540 } // namespace ash | 540 } // namespace ash |
OLD | NEW |