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/wm/workspace/workspace_layout_manager.h" | 5 #include "ash/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/accessibility_delegate.h" | 10 #include "ash/accessibility_delegate.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "ash/test/ash_test_base.h" | 24 #include "ash/test/ash_test_base.h" |
25 #include "ash/test/shell_test_api.h" | 25 #include "ash/test/shell_test_api.h" |
26 #include "ash/test/test_accessibility_delegate.h" | 26 #include "ash/test/test_accessibility_delegate.h" |
27 #include "ash/test/test_session_controller_client.h" | 27 #include "ash/test/test_session_controller_client.h" |
28 #include "ash/test/wm_window_test_api.h" | 28 #include "ash/test/wm_window_test_api.h" |
29 #include "ash/test/workspace_controller_test_api.h" | 29 #include "ash/test/workspace_controller_test_api.h" |
30 #include "ash/wm/fullscreen_window_finder.h" | 30 #include "ash/wm/fullscreen_window_finder.h" |
31 #include "ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h" | 31 #include "ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h" |
32 #include "ash/wm/overview/window_selector_controller.h" | 32 #include "ash/wm/overview/window_selector_controller.h" |
33 #include "ash/wm/window_state.h" | 33 #include "ash/wm/window_state.h" |
34 #include "ash/wm/window_state_aura.h" | |
35 #include "ash/wm/window_util.h" | 34 #include "ash/wm/window_util.h" |
36 #include "ash/wm/wm_event.h" | 35 #include "ash/wm/wm_event.h" |
37 #include "ash/wm/workspace/backdrop_delegate.h" | 36 #include "ash/wm/workspace/backdrop_delegate.h" |
38 #include "ash/wm/workspace/workspace_window_resizer.h" | 37 #include "ash/wm/workspace/workspace_window_resizer.h" |
39 #include "ash/wm_window.h" | 38 #include "ash/wm_window.h" |
40 #include "base/command_line.h" | 39 #include "base/command_line.h" |
41 #include "base/run_loop.h" | 40 #include "base/run_loop.h" |
42 #include "chromeos/audio/chromeos_sounds.h" | 41 #include "chromeos/audio/chromeos_sounds.h" |
43 #include "ui/aura/client/aura_constants.h" | 42 #include "ui/aura/client/aura_constants.h" |
44 #include "ui/aura/client/focus_client.h" | 43 #include "ui/aura/client/focus_client.h" |
(...skipping 1477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1522 window->SetBounds(keyboard_bounds()); | 1521 window->SetBounds(keyboard_bounds()); |
1523 wm::GetWindowState(window.get())->set_ignore_keyboard_bounds_change(true); | 1522 wm::GetWindowState(window.get())->set_ignore_keyboard_bounds_change(true); |
1524 wm::ActivateWindow(window.get()); | 1523 wm::ActivateWindow(window.get()); |
1525 | 1524 |
1526 EXPECT_EQ(keyboard_bounds(), window->bounds()); | 1525 EXPECT_EQ(keyboard_bounds(), window->bounds()); |
1527 ShowKeyboard(); | 1526 ShowKeyboard(); |
1528 EXPECT_EQ(keyboard_bounds(), window->bounds()); | 1527 EXPECT_EQ(keyboard_bounds(), window->bounds()); |
1529 } | 1528 } |
1530 | 1529 |
1531 } // namespace ash | 1530 } // namespace ash |
OLD | NEW |