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