OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ | 5 #ifndef SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ |
6 #define SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ | 6 #define SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
14 #include "cc/surfaces/surface_id.h" | 14 #include "cc/surfaces/surface_id.h" |
15 #include "mojo/public/cpp/bindings/callback.h" | 15 #include "mojo/public/cpp/bindings/callback.h" |
16 #include "mojo/services/native_viewport/public/interfaces/native_viewport.mojom.
h" | 16 #include "mojo/services/native_viewport/public/interfaces/native_viewport.mojom.
h" |
17 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h" | 17 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h" |
18 #include "mojo/services/surfaces/public/interfaces/surfaces_service.mojom.h" | |
19 #include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h" | 18 #include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h" |
20 #include "ui/gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
21 | 20 |
22 namespace cc { | 21 namespace cc { |
23 class SurfaceIdAllocator; | 22 class SurfaceIdAllocator; |
24 } | 23 } |
25 | 24 |
26 namespace mojo { | 25 namespace mojo { |
27 class ApplicationConnection; | 26 class ApplicationConnection; |
28 } | 27 } |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 mojo::NativeViewportPtr native_viewport_; | 92 mojo::NativeViewportPtr native_viewport_; |
94 mojo::Callback<void()> native_viewport_closed_callback_; | 93 mojo::Callback<void()> native_viewport_closed_callback_; |
95 base::WeakPtrFactory<DefaultDisplayManager> weak_factory_; | 94 base::WeakPtrFactory<DefaultDisplayManager> weak_factory_; |
96 | 95 |
97 DISALLOW_COPY_AND_ASSIGN(DefaultDisplayManager); | 96 DISALLOW_COPY_AND_ASSIGN(DefaultDisplayManager); |
98 }; | 97 }; |
99 | 98 |
100 } // namespace view_manager | 99 } // namespace view_manager |
101 | 100 |
102 #endif // SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ | 101 #endif // SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ |
OLD | NEW |