OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FACTORY_OZONE_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_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 Rect; | |
12 class Screen; | 11 class Screen; |
13 } | 12 } |
14 | 13 |
15 namespace display { | 14 namespace gfx { |
16 using Screen = gfx::Screen; | 15 class Rect; |
17 } | 16 } |
18 | 17 |
19 namespace views { | 18 namespace views { |
20 class DesktopNativeWidgetAura; | 19 class DesktopNativeWidgetAura; |
21 class DesktopWindowTreeHost; | 20 class DesktopWindowTreeHost; |
22 | 21 |
23 namespace internal { | 22 namespace internal { |
24 class NativeWidgetDelegate; | 23 class NativeWidgetDelegate; |
25 } | 24 } |
26 | 25 |
(...skipping 18 matching lines...) Expand all Loading... |
45 // Ozone implementation. | 44 // Ozone implementation. |
46 virtual display::Screen* CreateDesktopScreen() = 0; | 45 virtual display::Screen* CreateDesktopScreen() = 0; |
47 | 46 |
48 private: | 47 private: |
49 static DesktopFactoryOzone* impl_; // not owned | 48 static DesktopFactoryOzone* impl_; // not owned |
50 }; | 49 }; |
51 | 50 |
52 } // namespace views | 51 } // namespace views |
53 | 52 |
54 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_H_ | 53 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_H_ |
OLD | NEW |