OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/exo/shell_surface.h" | 5 #include "components/exo/shell_surface.h" |
6 | 6 |
7 #include "ash/accessibility_delegate.h" | 7 #include "ash/accessibility_delegate.h" |
8 #include "ash/public/cpp/shell_window_ids.h" | 8 #include "ash/public/cpp/shell_window_ids.h" |
9 #include "ash/public/cpp/window_properties.h" | 9 #include "ash/public/cpp/window_properties.h" |
10 #include "ash/public/interfaces/window_pin_type.mojom.h" | 10 #include "ash/public/interfaces/window_pin_type.mojom.h" |
11 #include "ash/shell.h" | 11 #include "ash/shell.h" |
12 #include "ash/shell_port.h" | 12 #include "ash/shell_port.h" |
13 #include "ash/test/shell_test_api.h" | 13 #include "ash/test/shell_test_api.h" |
14 #include "ash/test/workspace_controller_test_api.h" | 14 #include "ash/test/workspace_controller_test_api.h" |
15 #include "ash/wm/window_state.h" | 15 #include "ash/wm/window_state.h" |
16 #include "ash/wm/window_state_aura.h" | |
17 #include "ash/wm/wm_event.h" | 16 #include "ash/wm/wm_event.h" |
18 #include "ash/wm/workspace/workspace_window_resizer.h" | 17 #include "ash/wm/workspace/workspace_window_resizer.h" |
19 #include "ash/wm_window.h" | 18 #include "ash/wm_window.h" |
20 #include "base/message_loop/message_loop.h" | 19 #include "base/message_loop/message_loop.h" |
21 #include "base/strings/utf_string_conversions.h" | 20 #include "base/strings/utf_string_conversions.h" |
22 #include "components/exo/buffer.h" | 21 #include "components/exo/buffer.h" |
23 #include "components/exo/display.h" | 22 #include "components/exo/display.h" |
24 #include "components/exo/sub_surface.h" | 23 #include "components/exo/sub_surface.h" |
25 #include "components/exo/surface.h" | 24 #include "components/exo/surface.h" |
26 #include "components/exo/test/exo_test_base.h" | 25 #include "components/exo/test/exo_test_base.h" |
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 shell_surface->surface_for_testing()->window()->bounds().size()); | 973 shell_surface->surface_for_testing()->window()->bounds().size()); |
975 | 974 |
976 ash::wm::WMEvent minimize_event(ash::wm::WM_EVENT_MINIMIZE); | 975 ash::wm::WMEvent minimize_event(ash::wm::WM_EVENT_MINIMIZE); |
977 ash::WmWindow* window = | 976 ash::WmWindow* window = |
978 ash::WmWindow::Get(shell_surface->GetWidget()->GetNativeWindow()); | 977 ash::WmWindow::Get(shell_surface->GetWidget()->GetNativeWindow()); |
979 window->GetWindowState()->OnWMEvent(&minimize_event); | 978 window->GetWindowState()->OnWMEvent(&minimize_event); |
980 } | 979 } |
981 | 980 |
982 } // namespace | 981 } // namespace |
983 } // namespace exo | 982 } // namespace exo |
OLD | NEW |