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/ash_switches.h" | 9 #include "ash/common/ash_switches.h" |
10 #include "ash/common/wm/window_state.h" | 10 #include "ash/common/wm/window_state.h" |
11 #include "ash/common/wm/wm_event.h" | 11 #include "ash/common/wm/wm_event.h" |
12 #include "ash/display/display_info.h" | 12 #include "ash/display/display_info.h" |
13 #include "ash/display/display_layout_store.h" | 13 #include "ash/display/display_layout_store.h" |
14 #include "ash/display/display_manager.h" | 14 #include "ash/display/display_manager.h" |
15 #include "ash/display/display_util.h" | 15 #include "ash/display/display_util.h" |
16 #include "ash/screen_util.h" | 16 #include "ash/screen_util.h" |
17 #include "ash/shelf/shelf.h" | 17 #include "ash/shelf/shelf.h" |
18 #include "ash/shelf/shelf_widget.h" | 18 #include "ash/shelf/shelf_widget.h" |
19 #include "ash/shell.h" | 19 #include "ash/shell.h" |
(...skipping 1488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1508 widget->GetNativeWindow()->GetRootWindow()); | 1508 widget->GetNativeWindow()->GetRootWindow()); |
1509 event_generator.MoveMouseToCenterOf(widget->GetNativeWindow()); | 1509 event_generator.MoveMouseToCenterOf(widget->GetNativeWindow()); |
1510 | 1510 |
1511 UpdateDisplay("300x300"); | 1511 UpdateDisplay("300x300"); |
1512 watcher.Stop(); | 1512 watcher.Stop(); |
1513 | 1513 |
1514 widget->CloseNow(); | 1514 widget->CloseNow(); |
1515 } | 1515 } |
1516 | 1516 |
1517 } // namespace ash | 1517 } // namespace ash |
OLD | NEW |