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

Side by Side Diff: ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (Closed)
Patch Set: Created 3 years, 9 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/maximize_mode/maximize_mode_window_manager.h" 5 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ash/common/ash_switches.h" 9 #include "ash/ash_switches.h"
10 #include "ash/common/wm_shell.h"
11 #include "ash/common/wm_window.h"
12 #include "ash/root_window_controller.h" 10 #include "ash/root_window_controller.h"
13 #include "ash/screen_util.h" 11 #include "ash/screen_util.h"
14 #include "ash/shelf/wm_shelf.h" 12 #include "ash/shelf/wm_shelf.h"
15 #include "ash/shell.h" 13 #include "ash/shell.h"
16 #include "ash/test/ash_test_base.h" 14 #include "ash/test/ash_test_base.h"
17 #include "ash/test/shell_test_api.h" 15 #include "ash/test/shell_test_api.h"
18 #include "ash/wm/maximize_mode/maximize_mode_controller.h" 16 #include "ash/wm/maximize_mode/maximize_mode_controller.h"
19 #include "ash/wm/mru_window_tracker.h" 17 #include "ash/wm/mru_window_tracker.h"
20 #include "ash/wm/overview/window_selector_controller.h" 18 #include "ash/wm/overview/window_selector_controller.h"
21 #include "ash/wm/switchable_windows.h" 19 #include "ash/wm/switchable_windows.h"
22 #include "ash/wm/window_properties.h" 20 #include "ash/wm/window_properties.h"
23 #include "ash/wm/window_state.h" 21 #include "ash/wm/window_state.h"
24 #include "ash/wm/window_state_aura.h" 22 #include "ash/wm/window_state_aura.h"
25 #include "ash/wm/window_state_observer.h" 23 #include "ash/wm/window_state_observer.h"
26 #include "ash/wm/window_util.h" 24 #include "ash/wm/window_util.h"
27 #include "ash/wm/wm_event.h" 25 #include "ash/wm/wm_event.h"
26 #include "ash/wm_shell.h"
27 #include "ash/wm_window.h"
28 #include "base/command_line.h" 28 #include "base/command_line.h"
29 #include "base/strings/stringprintf.h" 29 #include "base/strings/stringprintf.h"
30 #include "base/strings/utf_string_conversions.h" 30 #include "base/strings/utf_string_conversions.h"
31 #include "base/values.h" 31 #include "base/values.h"
32 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" 32 #include "services/ui/public/interfaces/window_manager_constants.mojom.h"
33 #include "ui/aura/client/aura_constants.h" 33 #include "ui/aura/client/aura_constants.h"
34 #include "ui/aura/test/test_window_delegate.h" 34 #include "ui/aura/test/test_window_delegate.h"
35 #include "ui/aura/test/test_windows.h" 35 #include "ui/aura/test/test_windows.h"
36 #include "ui/aura/window.h" 36 #include "ui/aura/window.h"
37 #include "ui/base/hit_test.h" 37 #include "ui/base/hit_test.h"
(...skipping 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after
1718 EXPECT_EQ(1, observer.GetPostCountAndReset()); 1718 EXPECT_EQ(1, observer.GetPostCountAndReset());
1719 EXPECT_EQ(wm::WINDOW_STATE_TYPE_MINIMIZED, 1719 EXPECT_EQ(wm::WINDOW_STATE_TYPE_MINIMIZED,
1720 observer.GetLastOldStateAndReset()); 1720 observer.GetLastOldStateAndReset());
1721 1721
1722 window_state->RemoveObserver(&observer); 1722 window_state->RemoveObserver(&observer);
1723 1723
1724 DestroyMaximizeModeWindowManager(); 1724 DestroyMaximizeModeWindowManager();
1725 } 1725 }
1726 1726
1727 } // namespace ash 1727 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_manager.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698