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

Side by Side Diff: ash/wm/tablet_mode/tablet_mode_window_manager_unittest.cc

Issue 2908793002: [mus+ash] Removes WmWindow from ash/wm/overview and ash/wm/workspace (Closed)
Patch Set: 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/wm/tablet_mode/tablet_mode_window_manager.h" 5 #include "ash/wm/tablet_mode/tablet_mode_window_manager.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ash/ash_switches.h" 9 #include "ash/ash_switches.h"
10 #include "ash/public/cpp/config.h" 10 #include "ash/public/cpp/config.h"
11 #include "ash/root_window_controller.h" 11 #include "ash/root_window_controller.h"
12 #include "ash/screen_util.h" 12 #include "ash/screen_util.h"
13 #include "ash/shelf/shelf.h" 13 #include "ash/shelf/shelf.h"
14 #include "ash/shell.h" 14 #include "ash/shell.h"
15 #include "ash/shell_port.h" 15 #include "ash/shell_port.h"
16 #include "ash/test/ash_test_base.h" 16 #include "ash/test/ash_test_base.h"
17 #include "ash/test/shell_test_api.h" 17 #include "ash/test/shell_test_api.h"
18 #include "ash/wm/mru_window_tracker.h" 18 #include "ash/wm/mru_window_tracker.h"
19 #include "ash/wm/overview/window_selector_controller.h" 19 #include "ash/wm/overview/window_selector_controller.h"
20 #include "ash/wm/switchable_windows.h" 20 #include "ash/wm/switchable_windows.h"
21 #include "ash/wm/tablet_mode/tablet_mode_controller.h" 21 #include "ash/wm/tablet_mode/tablet_mode_controller.h"
22 #include "ash/wm/window_properties.h" 22 #include "ash/wm/window_properties.h"
23 #include "ash/wm/window_state.h" 23 #include "ash/wm/window_state.h"
24 #include "ash/wm/window_state_observer.h" 24 #include "ash/wm/window_state_observer.h"
25 #include "ash/wm/window_util.h" 25 #include "ash/wm/window_util.h"
26 #include "ash/wm/wm_event.h" 26 #include "ash/wm/wm_event.h"
27 #include "ash/wm_window.h"
28 #include "base/command_line.h" 27 #include "base/command_line.h"
29 #include "base/strings/stringprintf.h" 28 #include "base/strings/stringprintf.h"
30 #include "base/strings/utf_string_conversions.h" 29 #include "base/strings/utf_string_conversions.h"
31 #include "base/values.h" 30 #include "base/values.h"
32 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" 31 #include "services/ui/public/interfaces/window_manager_constants.mojom.h"
33 #include "ui/aura/client/aura_constants.h" 32 #include "ui/aura/client/aura_constants.h"
34 #include "ui/aura/test/test_window_delegate.h" 33 #include "ui/aura/test/test_window_delegate.h"
35 #include "ui/aura/test/test_windows.h" 34 #include "ui/aura/test/test_windows.h"
36 #include "ui/aura/window.h" 35 #include "ui/aura/window.h"
37 #include "ui/base/hit_test.h" 36 #include "ui/base/hit_test.h"
(...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after
1696 EXPECT_EQ(1, observer.GetPostCountAndReset()); 1695 EXPECT_EQ(1, observer.GetPostCountAndReset());
1697 EXPECT_EQ(wm::WINDOW_STATE_TYPE_MINIMIZED, 1696 EXPECT_EQ(wm::WINDOW_STATE_TYPE_MINIMIZED,
1698 observer.GetLastOldStateAndReset()); 1697 observer.GetLastOldStateAndReset());
1699 1698
1700 window_state->RemoveObserver(&observer); 1699 window_state->RemoveObserver(&observer);
1701 1700
1702 DestroyTabletModeWindowManager(); 1701 DestroyTabletModeWindowManager();
1703 } 1702 }
1704 1703
1705 } // namespace ash 1704 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/tablet_mode/tablet_mode_event_handler.cc ('k') | ash/wm/tablet_mode/tablet_mode_window_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698