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 "ui/views/widget/desktop_aura/desktop_screen_win.h" | 5 #include "ui/views/widget/desktop_aura/desktop_screen_win.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "ui/aura/root_window.h" | |
9 #include "ui/aura/window.h" | 8 #include "ui/aura/window.h" |
| 9 #include "ui/aura/window_event_dispatcher.h" |
10 #include "ui/aura/window_tree_host.h" | 10 #include "ui/aura/window_tree_host.h" |
11 #include "ui/gfx/display.h" | 11 #include "ui/gfx/display.h" |
12 #include "ui/views/widget/desktop_aura/desktop_screen.h" | 12 #include "ui/views/widget/desktop_aura/desktop_screen.h" |
13 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h" | 13 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h" |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 MONITORINFO GetMonitorInfoForMonitor(HMONITOR monitor) { | 17 MONITORINFO GetMonitorInfoForMonitor(HMONITOR monitor) { |
18 MONITORINFO monitor_info = { 0 }; | 18 MONITORINFO monitor_info = { 0 }; |
19 monitor_info.cbSize = sizeof(monitor_info); | 19 monitor_info.cbSize = sizeof(monitor_info); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 DesktopWindowTreeHostWin::GetContentWindowForHWND(hwnd) : NULL; | 63 DesktopWindowTreeHostWin::GetContentWindowForHWND(hwnd) : NULL; |
64 } | 64 } |
65 | 65 |
66 //////////////////////////////////////////////////////////////////////////////// | 66 //////////////////////////////////////////////////////////////////////////////// |
67 | 67 |
68 gfx::Screen* CreateDesktopScreen() { | 68 gfx::Screen* CreateDesktopScreen() { |
69 return new DesktopScreenWin; | 69 return new DesktopScreenWin; |
70 } | 70 } |
71 | 71 |
72 } // namespace views | 72 } // namespace views |
OLD | NEW |