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

Side by Side Diff: components/exo/shell_surface_unittest.cc

Issue 2889413002: chromeos: nukes window_state_aura (Closed)
Patch Set: merge, remove include from windows and shuffle functions for declaration Created 3 years, 7 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 | « components/exo/shell_surface.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/exo/shell_surface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698