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

Side by Side Diff: ash/wm/workspace/workspace_layout_manager_unittest.cc

Issue 2108223002: Moves handful of classes in ash/wm/maximize_mode to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@maximize_mode_window_manager
Patch Set: remove extraneous Created 4 years, 5 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 (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_layout_manager.h" 5 #include "ash/common/wm/workspace/workspace_layout_manager.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "ash/aura/wm_window_aura.h" 10 #include "ash/aura/wm_window_aura.h"
11 #include "ash/common/session/session_state_delegate.h" 11 #include "ash/common/session/session_state_delegate.h"
12 #include "ash/common/shell_observer.h" 12 #include "ash/common/shell_observer.h"
13 #include "ash/common/shell_window_ids.h" 13 #include "ash/common/shell_window_ids.h"
14 #include "ash/common/wm/maximize_mode/workspace_backdrop_delegate.h"
14 #include "ash/common/wm/window_state.h" 15 #include "ash/common/wm/window_state.h"
15 #include "ash/common/wm/wm_event.h" 16 #include "ash/common/wm/wm_event.h"
16 #include "ash/common/wm/workspace/workspace_window_resizer.h" 17 #include "ash/common/wm/workspace/workspace_window_resizer.h"
17 #include "ash/common/wm_shell.h" 18 #include "ash/common/wm_shell.h"
18 #include "ash/display/display_manager.h" 19 #include "ash/display/display_manager.h"
19 #include "ash/root_window_controller.h" 20 #include "ash/root_window_controller.h"
20 #include "ash/screen_util.h" 21 #include "ash/screen_util.h"
21 #include "ash/shelf/shelf.h" 22 #include "ash/shelf/shelf.h"
22 #include "ash/shelf/shelf_layout_manager.h" 23 #include "ash/shelf/shelf_layout_manager.h"
23 #include "ash/shell.h" 24 #include "ash/shell.h"
24 #include "ash/test/ash_test_base.h" 25 #include "ash/test/ash_test_base.h"
25 #include "ash/test/display_manager_test_api.h" 26 #include "ash/test/display_manager_test_api.h"
26 #include "ash/wm/maximize_mode/workspace_backdrop_delegate.h"
27 #include "ash/wm/window_state_aura.h" 27 #include "ash/wm/window_state_aura.h"
28 #include "ash/wm/window_util.h" 28 #include "ash/wm/window_util.h"
29 #include "base/compiler_specific.h" 29 #include "base/compiler_specific.h"
30 #include "base/run_loop.h" 30 #include "base/run_loop.h"
31 #include "ui/aura/client/aura_constants.h" 31 #include "ui/aura/client/aura_constants.h"
32 #include "ui/aura/test/test_windows.h" 32 #include "ui/aura/test/test_windows.h"
33 #include "ui/aura/window.h" 33 #include "ui/aura/window.h"
34 #include "ui/aura/window_event_dispatcher.h" 34 #include "ui/aura/window_event_dispatcher.h"
35 #include "ui/base/ui_base_types.h" 35 #include "ui/base/ui_base_types.h"
36 #include "ui/display/manager/display_layout.h" 36 #include "ui/display/manager/display_layout.h"
(...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 CreateTestWindowInShellWithDelegate(&delegate2, -1, keyboard_bounds())); 1190 CreateTestWindowInShellWithDelegate(&delegate2, -1, keyboard_bounds()));
1191 wm::GetWindowState(window.get())->set_ignore_keyboard_bounds_change(true); 1191 wm::GetWindowState(window.get())->set_ignore_keyboard_bounds_change(true);
1192 wm::ActivateWindow(window.get()); 1192 wm::ActivateWindow(window.get());
1193 1193
1194 EXPECT_EQ(keyboard_bounds(), window->bounds()); 1194 EXPECT_EQ(keyboard_bounds(), window->bounds());
1195 ShowKeyboard(); 1195 ShowKeyboard();
1196 EXPECT_EQ(keyboard_bounds(), window->bounds()); 1196 EXPECT_EQ(keyboard_bounds(), window->bounds());
1197 } 1197 }
1198 1198
1199 } // namespace ash 1199 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698