| 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/wm/workspace/workspace_event_handler.h" |
| 6 | 6 |
| 7 #include "ash/common/wm/window_state.h" | |
| 8 #include "ash/common/wm/wm_event.h" | |
| 9 #include "ash/common/wm/workspace_controller.h" | |
| 10 #include "ash/screen_util.h" | 7 #include "ash/screen_util.h" |
| 11 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 12 #include "ash/test/ash_test_base.h" | 9 #include "ash/test/ash_test_base.h" |
| 10 #include "ash/wm/window_state.h" |
| 13 #include "ash/wm/window_state_aura.h" | 11 #include "ash/wm/window_state_aura.h" |
| 14 #include "ash/wm/window_util.h" | 12 #include "ash/wm/window_util.h" |
| 13 #include "ash/wm/wm_event.h" |
| 14 #include "ash/wm/workspace_controller.h" |
| 15 #include "ash/wm/workspace_controller_test_helper.h" | 15 #include "ash/wm/workspace_controller_test_helper.h" |
| 16 #include "base/threading/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
| 17 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" | 17 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" |
| 18 #include "ui/aura/client/aura_constants.h" | 18 #include "ui/aura/client/aura_constants.h" |
| 19 #include "ui/aura/test/test_window_delegate.h" | 19 #include "ui/aura/test/test_window_delegate.h" |
| 20 #include "ui/aura/window.h" | 20 #include "ui/aura/window.h" |
| 21 #include "ui/aura/window_tree_host.h" | 21 #include "ui/aura/window_tree_host.h" |
| 22 #include "ui/base/hit_test.h" | 22 #include "ui/base/hit_test.h" |
| 23 #include "ui/display/manager/display_manager.h" | 23 #include "ui/display/manager/display_manager.h" |
| 24 #include "ui/display/screen.h" | 24 #include "ui/display/screen.h" |
| (...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 delegate.set_window_component(HTCAPTION); | 529 delegate.set_window_component(HTCAPTION); |
| 530 generator.PressRightButton(); | 530 generator.PressRightButton(); |
| 531 generator.ReleaseRightButton(); | 531 generator.ReleaseRightButton(); |
| 532 EXPECT_FALSE(window_state->IsMaximized()); | 532 EXPECT_FALSE(window_state->IsMaximized()); |
| 533 ClickButtonWithFlags(&generator, ui::EF_LEFT_MOUSE_BUTTON, | 533 ClickButtonWithFlags(&generator, ui::EF_LEFT_MOUSE_BUTTON, |
| 534 ui::EF_IS_DOUBLE_CLICK); | 534 ui::EF_IS_DOUBLE_CLICK); |
| 535 EXPECT_FALSE(window_state->IsMaximized()); | 535 EXPECT_FALSE(window_state->IsMaximized()); |
| 536 } | 536 } |
| 537 | 537 |
| 538 } // namespace ash | 538 } // namespace ash |
| OLD | NEW |