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 display { | 10 namespace display { |
11 class Screen; | 11 class Screen; |
12 } | 12 } |
13 | 13 |
14 namespace gfx { | |
15 class Rect; | |
16 } | |
17 | |
18 namespace views { | 14 namespace views { |
19 class DesktopNativeWidgetAura; | 15 class DesktopNativeWidgetAura; |
20 class DesktopWindowTreeHost; | 16 class DesktopWindowTreeHost; |
21 | 17 |
22 namespace internal { | 18 namespace internal { |
23 class NativeWidgetDelegate; | 19 class NativeWidgetDelegate; |
24 } | 20 } |
25 | 21 |
26 class VIEWS_EXPORT DesktopFactoryOzone { | 22 class VIEWS_EXPORT DesktopFactoryOzone { |
27 public: | 23 public: |
(...skipping 16 matching lines...) Expand all Loading... |
44 // Ozone implementation. | 40 // Ozone implementation. |
45 virtual display::Screen* CreateDesktopScreen() = 0; | 41 virtual display::Screen* CreateDesktopScreen() = 0; |
46 | 42 |
47 private: | 43 private: |
48 static DesktopFactoryOzone* impl_; // not owned | 44 static DesktopFactoryOzone* impl_; // not owned |
49 }; | 45 }; |
50 | 46 |
51 } // namespace views | 47 } // namespace views |
52 | 48 |
53 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_H_ | 49 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_H_ |
OLD | NEW |