| OLD | NEW |
| 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/common/wm/always_on_top_controller.h" | 5 #include "ash/common/wm/always_on_top_controller.h" |
| 6 | 6 |
| 7 #include "ash/aura/wm_root_window_controller_aura.h" | 7 #include "ash/aura/wm_root_window_controller_aura.h" |
| 8 #include "ash/aura/wm_window_aura.h" | 8 #include "ash/aura/wm_window_aura.h" |
| 9 #include "ash/common/shell_window_ids.h" | |
| 10 #include "ash/common/wm/workspace/workspace_layout_manager.h" | 9 #include "ash/common/wm/workspace/workspace_layout_manager.h" |
| 10 #include "ash/public/cpp/shell_window_ids.h" |
| 11 #include "ash/root_window_controller.h" | 11 #include "ash/root_window_controller.h" |
| 12 #include "ash/shell.h" | 12 #include "ash/shell.h" |
| 13 #include "ash/test/ash_test_base.h" | 13 #include "ash/test/ash_test_base.h" |
| 14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
| 16 #include "ui/keyboard/keyboard_controller.h" | 16 #include "ui/keyboard/keyboard_controller.h" |
| 17 #include "ui/keyboard/keyboard_switches.h" | 17 #include "ui/keyboard/keyboard_switches.h" |
| 18 #include "ui/keyboard/keyboard_ui.h" | 18 #include "ui/keyboard/keyboard_ui.h" |
| 19 #include "ui/keyboard/keyboard_util.h" | 19 #include "ui/keyboard/keyboard_util.h" |
| 20 | 20 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 root_window->bounds(), kKeyboardHeight); | 87 root_window->bounds(), kKeyboardHeight); |
| 88 keyboard_window->SetBounds(keyboard_bounds); | 88 keyboard_window->SetBounds(keyboard_bounds); |
| 89 keyboard_window->Show(); | 89 keyboard_window->Show(); |
| 90 keyboard_controller->NotifyKeyboardBoundsChanging(keyboard_bounds); | 90 keyboard_controller->NotifyKeyboardBoundsChanging(keyboard_bounds); |
| 91 // Verify that test manager was notified of bounds change. | 91 // Verify that test manager was notified of bounds change. |
| 92 ASSERT_TRUE(manager->keyboard_bounds_changed()); | 92 ASSERT_TRUE(manager->keyboard_bounds_changed()); |
| 93 } | 93 } |
| 94 | 94 |
| 95 } // namespace test | 95 } // namespace test |
| 96 } // namespace ash | 96 } // namespace ash |
| OLD | NEW |