OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SURFACES_DISPLAY_FACTORY_IMPL_H_ | 5 #ifndef SERVICES_SURFACES_DISPLAY_FACTORY_IMPL_H_ |
6 #define SERVICES_SURFACES_DISPLAY_FACTORY_IMPL_H_ | 6 #define SERVICES_SURFACES_DISPLAY_FACTORY_IMPL_H_ |
7 | 7 |
8 #include "mojo/public/cpp/bindings/strong_binding.h" | 8 #include "mojo/public/cpp/bindings/strong_binding.h" |
9 #include "mojo/services/surfaces/public/interfaces/display.mojom.h" | 9 #include "mojo/services/surfaces/interfaces/display.mojom.h" |
10 #include "services/surfaces/display_impl.h" | 10 #include "services/surfaces/display_impl.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 class SurfaceManager; | 13 class SurfaceManager; |
14 } | 14 } |
15 | 15 |
16 namespace surfaces { | 16 namespace surfaces { |
17 class SurfacesScheduler; | 17 class SurfacesScheduler; |
18 | 18 |
19 class DisplayFactoryImpl : public mojo::DisplayFactory { | 19 class DisplayFactoryImpl : public mojo::DisplayFactory { |
(...skipping 15 matching lines...) Expand all Loading... |
35 uint32_t id_namespace_; | 35 uint32_t id_namespace_; |
36 uint32_t next_local_id_; | 36 uint32_t next_local_id_; |
37 SurfacesScheduler* scheduler_; | 37 SurfacesScheduler* scheduler_; |
38 cc::SurfaceManager* manager_; | 38 cc::SurfaceManager* manager_; |
39 mojo::StrongBinding<mojo::DisplayFactory> binding_; | 39 mojo::StrongBinding<mojo::DisplayFactory> binding_; |
40 }; | 40 }; |
41 | 41 |
42 } // namespace surfaces | 42 } // namespace surfaces |
43 | 43 |
44 #endif // SERVICES_SURFACES_DISPLAY_FACTORY_IMPL_H_ | 44 #endif // SERVICES_SURFACES_DISPLAY_FACTORY_IMPL_H_ |
OLD | NEW |