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_SURFACES_SURFACES_SERVICE_IMPL_H_ | 5 #ifndef SERVICES_SURFACES_SURFACES_SERVICE_IMPL_H_ |
6 #define SERVICES_SURFACES_SURFACES_SERVICE_IMPL_H_ | 6 #define SERVICES_SURFACES_SURFACES_SERVICE_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/public/cpp/bindings/strong_binding.h" | 9 #include "mojo/public/cpp/bindings/strong_binding.h" |
10 #include "mojo/services/public/interfaces/surfaces/surfaces_service.mojom.h" | 10 #include "mojo/services/surfaces/public/interfaces/surfaces_service.mojom.h" |
11 #include "services/surfaces/surfaces_impl.h" | 11 #include "services/surfaces/surfaces_impl.h" |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 class SurfaceManager; | 14 class SurfaceManager; |
15 } | 15 } |
16 | 16 |
17 namespace surfaces { | 17 namespace surfaces { |
18 | 18 |
19 class SurfacesServiceImpl : public mojo::SurfacesService { | 19 class SurfacesServiceImpl : public mojo::SurfacesService { |
20 public: | 20 public: |
(...skipping 16 matching lines...) Expand all Loading... |
37 uint32_t* next_id_namespace_; | 37 uint32_t* next_id_namespace_; |
38 SurfacesImpl::Client* client_; | 38 SurfacesImpl::Client* client_; |
39 mojo::StrongBinding<SurfacesService> binding_; | 39 mojo::StrongBinding<SurfacesService> binding_; |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(SurfacesServiceImpl); | 41 DISALLOW_COPY_AND_ASSIGN(SurfacesServiceImpl); |
42 }; | 42 }; |
43 | 43 |
44 } // namespace surfaces | 44 } // namespace surfaces |
45 | 45 |
46 #endif // SERVICES_SURFACES_SURFACES_SERVICE_IMPL_H_ | 46 #endif // SERVICES_SURFACES_SURFACES_SERVICE_IMPL_H_ |
OLD | NEW |