| 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/display/window_tree_host_manager.h" | 5 #include "ash/display/window_tree_host_manager.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "ash/common/ash_switches.h" | 9 #include "ash/common/ash_switches.h" |
| 10 #include "ash/common/display/display_info.h" |
| 10 #include "ash/common/material_design/material_design_controller.h" | 11 #include "ash/common/material_design/material_design_controller.h" |
| 11 #include "ash/common/wm/window_state.h" | 12 #include "ash/common/wm/window_state.h" |
| 12 #include "ash/common/wm/wm_event.h" | 13 #include "ash/common/wm/wm_event.h" |
| 13 #include "ash/display/display_info.h" | |
| 14 #include "ash/display/display_layout_store.h" | 14 #include "ash/display/display_layout_store.h" |
| 15 #include "ash/display/display_manager.h" | 15 #include "ash/display/display_manager.h" |
| 16 #include "ash/display/display_util.h" | 16 #include "ash/display/display_util.h" |
| 17 #include "ash/screen_util.h" | 17 #include "ash/screen_util.h" |
| 18 #include "ash/shelf/shelf.h" | 18 #include "ash/shelf/shelf.h" |
| 19 #include "ash/shelf/shelf_widget.h" | 19 #include "ash/shelf/shelf_widget.h" |
| 20 #include "ash/shell.h" | 20 #include "ash/shell.h" |
| 21 #include "ash/test/ash_md_test_base.h" | 21 #include "ash/test/ash_md_test_base.h" |
| 22 #include "ash/test/ash_test_base.h" | 22 #include "ash/test/ash_test_base.h" |
| 23 #include "ash/test/ash_test_helper.h" | 23 #include "ash/test/ash_test_helper.h" |
| (...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1522 widget->GetNativeWindow()->GetRootWindow()); | 1522 widget->GetNativeWindow()->GetRootWindow()); |
| 1523 event_generator.MoveMouseToCenterOf(widget->GetNativeWindow()); | 1523 event_generator.MoveMouseToCenterOf(widget->GetNativeWindow()); |
| 1524 | 1524 |
| 1525 UpdateDisplay("300x300"); | 1525 UpdateDisplay("300x300"); |
| 1526 watcher.Stop(); | 1526 watcher.Stop(); |
| 1527 | 1527 |
| 1528 widget->CloseNow(); | 1528 widget->CloseNow(); |
| 1529 } | 1529 } |
| 1530 | 1530 |
| 1531 } // namespace ash | 1531 } // namespace ash |
| OLD | NEW |