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 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_H_ |
7 | 7 |
8 #include "ui/views/views_export.h" | 8 #include "ui/views/views_export.h" |
9 | 9 |
10 namespace gfx { | 10 namespace display { |
11 class Screen; | 11 class Screen; |
12 } | 12 } |
13 | 13 |
14 namespace display { | |
15 using Screen = gfx::Screen; | |
16 } | |
17 | |
18 namespace views { | 14 namespace views { |
19 | 15 |
20 // Creates a Screen that represents the screen of the environment that hosts | 16 // Creates a Screen that represents the screen of the environment that hosts |
21 // a WindowTreeHost. Caller owns the result. | 17 // a WindowTreeHost. Caller owns the result. |
22 VIEWS_EXPORT display::Screen* CreateDesktopScreen(); | 18 VIEWS_EXPORT display::Screen* CreateDesktopScreen(); |
23 | 19 |
24 } // namespace views | 20 } // namespace views |
25 | 21 |
26 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_H_ | 22 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_H_ |
OLD | NEW |