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_APPLICATION_H_ | 5 #ifndef SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ |
6 #define SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ | 6 #define SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "cc/surfaces/surface_manager.h" | 9 #include "cc/surfaces/surface_manager.h" |
10 #include "mojo/common/tracing_impl.h" | 10 #include "mojo/common/tracing_impl.h" |
11 #include "mojo/public/cpp/application/application_delegate.h" | 11 #include "mojo/public/cpp/application/application_delegate.h" |
12 #include "mojo/public/cpp/application/interface_factory.h" | 12 #include "mojo/public/cpp/application/interface_factory.h" |
13 #include "mojo/services/surfaces/public/interfaces/display.mojom.h" | 13 #include "mojo/services/surfaces/interfaces/display.mojom.h" |
14 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h" | 14 #include "mojo/services/surfaces/interfaces/surfaces.mojom.h" |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
17 class ApplicationConnection; | 17 class ApplicationConnection; |
18 } | 18 } |
19 | 19 |
20 namespace surfaces { | 20 namespace surfaces { |
21 class SurfacesScheduler; | 21 class SurfacesScheduler; |
22 | 22 |
23 class SurfacesServiceApplication | 23 class SurfacesServiceApplication |
24 : public mojo::ApplicationDelegate, | 24 : public mojo::ApplicationDelegate, |
(...skipping 21 matching lines...) Expand all Loading... |
46 uint32_t next_id_namespace_; | 46 uint32_t next_id_namespace_; |
47 scoped_ptr<SurfacesScheduler> scheduler_; | 47 scoped_ptr<SurfacesScheduler> scheduler_; |
48 mojo::TracingImpl tracing_; | 48 mojo::TracingImpl tracing_; |
49 | 49 |
50 DISALLOW_COPY_AND_ASSIGN(SurfacesServiceApplication); | 50 DISALLOW_COPY_AND_ASSIGN(SurfacesServiceApplication); |
51 }; | 51 }; |
52 | 52 |
53 } // namespace surfaces | 53 } // namespace surfaces |
54 | 54 |
55 #endif // SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ | 55 #endif // SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ |
OLD | NEW |