| 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" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "ash/screen_util.h" | 29 #include "ash/screen_util.h" |
| 30 #include "ash/shell.h" | 30 #include "ash/shell.h" |
| 31 #include "ash/test/ash_test_base.h" | 31 #include "ash/test/ash_test_base.h" |
| 32 #include "ash/wm/window_state_aura.h" | 32 #include "ash/wm/window_state_aura.h" |
| 33 #include "ash/wm/window_util.h" | 33 #include "ash/wm/window_util.h" |
| 34 #include "base/command_line.h" | 34 #include "base/command_line.h" |
| 35 #include "base/compiler_specific.h" | 35 #include "base/compiler_specific.h" |
| 36 #include "base/run_loop.h" | 36 #include "base/run_loop.h" |
| 37 #include "ui/base/ui_base_switches.h" | 37 #include "ui/base/ui_base_switches.h" |
| 38 #include "ui/base/ui_base_types.h" | 38 #include "ui/base/ui_base_types.h" |
| 39 #include "ui/display/manager/display_layout.h" | 39 #include "ui/display/display_layout.h" |
| 40 #include "ui/display/manager/display_manager.h" | 40 #include "ui/display/manager/display_manager.h" |
| 41 #include "ui/display/screen.h" | 41 #include "ui/display/screen.h" |
| 42 #include "ui/display/test/display_manager_test_api.h" | 42 #include "ui/display/test/display_manager_test_api.h" |
| 43 #include "ui/gfx/geometry/insets.h" | 43 #include "ui/gfx/geometry/insets.h" |
| 44 #include "ui/keyboard/keyboard_controller.h" | 44 #include "ui/keyboard/keyboard_controller.h" |
| 45 #include "ui/keyboard/keyboard_ui.h" | 45 #include "ui/keyboard/keyboard_ui.h" |
| 46 #include "ui/keyboard/keyboard_util.h" | 46 #include "ui/keyboard/keyboard_util.h" |
| 47 #include "ui/views/widget/widget.h" | 47 #include "ui/views/widget/widget.h" |
| 48 #include "ui/views/widget/widget_delegate.h" | 48 #include "ui/views/widget/widget_delegate.h" |
| 49 #include "ui/wm/core/window_util.h" | 49 #include "ui/wm/core/window_util.h" |
| (...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1326 changed_window_bounds.Offset(0, -shift); | 1326 changed_window_bounds.Offset(0, -shift); |
| 1327 // Window should be shifted up. | 1327 // Window should be shifted up. |
| 1328 EXPECT_EQ(changed_window_bounds, window->GetBounds()); | 1328 EXPECT_EQ(changed_window_bounds, window->GetBounds()); |
| 1329 | 1329 |
| 1330 kb_controller->HideKeyboard( | 1330 kb_controller->HideKeyboard( |
| 1331 keyboard::KeyboardController::HIDE_REASON_AUTOMATIC); | 1331 keyboard::KeyboardController::HIDE_REASON_AUTOMATIC); |
| 1332 EXPECT_EQ(orig_window_bounds, window->GetBounds()); | 1332 EXPECT_EQ(orig_window_bounds, window->GetBounds()); |
| 1333 } | 1333 } |
| 1334 | 1334 |
| 1335 } // namespace ash | 1335 } // namespace ash |
| OLD | NEW |