| OLD | NEW |
| 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/shelf/shelf.h" |
| 12 #include "ash/common/shelf/shelf_constants.h" | 13 #include "ash/common/shelf/shelf_constants.h" |
| 14 #include "ash/common/shelf/shelf_layout_manager.h" |
| 13 #include "ash/common/shell_observer.h" | 15 #include "ash/common/shell_observer.h" |
| 14 #include "ash/common/shell_window_ids.h" | 16 #include "ash/common/shell_window_ids.h" |
| 15 #include "ash/common/wm/maximize_mode/workspace_backdrop_delegate.h" | 17 #include "ash/common/wm/maximize_mode/workspace_backdrop_delegate.h" |
| 16 #include "ash/common/wm/window_state.h" | 18 #include "ash/common/wm/window_state.h" |
| 17 #include "ash/common/wm/wm_event.h" | 19 #include "ash/common/wm/wm_event.h" |
| 18 #include "ash/common/wm/workspace/workspace_window_resizer.h" | 20 #include "ash/common/wm/workspace/workspace_window_resizer.h" |
| 19 #include "ash/common/wm_shell.h" | 21 #include "ash/common/wm_shell.h" |
| 20 #include "ash/display/display_manager.h" | 22 #include "ash/display/display_manager.h" |
| 21 #include "ash/root_window_controller.h" | 23 #include "ash/root_window_controller.h" |
| 22 #include "ash/screen_util.h" | 24 #include "ash/screen_util.h" |
| 23 #include "ash/shelf/shelf.h" | |
| 24 #include "ash/shelf/shelf_layout_manager.h" | |
| 25 #include "ash/shell.h" | 25 #include "ash/shell.h" |
| 26 #include "ash/test/ash_test_base.h" | 26 #include "ash/test/ash_test_base.h" |
| 27 #include "ash/test/display_manager_test_api.h" | 27 #include "ash/test/display_manager_test_api.h" |
| 28 #include "ash/wm/window_state_aura.h" | 28 #include "ash/wm/window_state_aura.h" |
| 29 #include "ash/wm/window_util.h" | 29 #include "ash/wm/window_util.h" |
| 30 #include "base/command_line.h" | 30 #include "base/command_line.h" |
| 31 #include "base/compiler_specific.h" | 31 #include "base/compiler_specific.h" |
| 32 #include "base/run_loop.h" | 32 #include "base/run_loop.h" |
| 33 #include "ui/aura/client/aura_constants.h" | 33 #include "ui/aura/client/aura_constants.h" |
| 34 #include "ui/aura/test/test_windows.h" | 34 #include "ui/aura/test/test_windows.h" |
| (...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1308 changed_window_bounds.Offset(0, -shift); | 1308 changed_window_bounds.Offset(0, -shift); |
| 1309 // Window should be shifted up. | 1309 // Window should be shifted up. |
| 1310 EXPECT_EQ(changed_window_bounds, window->bounds()); | 1310 EXPECT_EQ(changed_window_bounds, window->bounds()); |
| 1311 | 1311 |
| 1312 kb_controller->HideKeyboard( | 1312 kb_controller->HideKeyboard( |
| 1313 keyboard::KeyboardController::HIDE_REASON_AUTOMATIC); | 1313 keyboard::KeyboardController::HIDE_REASON_AUTOMATIC); |
| 1314 EXPECT_EQ(orig_window_bounds, window->bounds()); | 1314 EXPECT_EQ(orig_window_bounds, window->bounds()); |
| 1315 } | 1315 } |
| 1316 | 1316 |
| 1317 } // namespace ash | 1317 } // namespace ash |
| OLD | NEW |