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 COMPONENTS_SURFACES_SURFACES_IMPL_H_ | 5 #ifndef COMPONENTS_SURFACES_SURFACES_IMPL_H_ |
6 #define COMPONENTS_SURFACES_SURFACES_IMPL_H_ | 6 #define COMPONENTS_SURFACES_SURFACES_IMPL_H_ |
7 | 7 |
8 #include "cc/surfaces/display_client.h" | 8 #include "cc/surfaces/display_client.h" |
9 #include "cc/surfaces/surface_factory.h" | 9 #include "cc/surfaces/surface_factory.h" |
10 #include "cc/surfaces/surface_factory_client.h" | 10 #include "cc/surfaces/surface_factory_client.h" |
11 #include "components/gpu/public/interfaces/command_buffer.mojom.h" | 11 #include "components/gpu/public/interfaces/command_buffer.mojom.h" |
12 #include "components/gpu/public/interfaces/viewport_parameter_listener.mojom.h" | 12 #include "components/gpu/public/interfaces/viewport_parameter_listener.mojom.h" |
13 #include "components/surfaces/public/interfaces/surfaces.mojom.h" | 13 #include "components/surfaces/public/interfaces/surfaces.mojom.h" |
| 14 #include "mojo/application/public/cpp/application_connection.h" |
14 #include "mojo/common/weak_binding_set.h" | 15 #include "mojo/common/weak_binding_set.h" |
15 #include "third_party/mojo/src/mojo/public/cpp/application/application_connectio
n.h" | |
16 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | 16 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 class Display; | 19 class Display; |
20 } | 20 } |
21 | 21 |
22 namespace mojo { | 22 namespace mojo { |
23 class ApplicationManager; | 23 class ApplicationManager; |
24 } | 24 } |
25 | 25 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 mojo::ScopedMessagePipeHandle command_buffer_handle_; | 59 mojo::ScopedMessagePipeHandle command_buffer_handle_; |
60 mojo::ResourceReturnerPtr returner_; | 60 mojo::ResourceReturnerPtr returner_; |
61 mojo::StrongBinding<Surface> binding_; | 61 mojo::StrongBinding<Surface> binding_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(SurfacesImpl); | 63 DISALLOW_COPY_AND_ASSIGN(SurfacesImpl); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace surfaces | 66 } // namespace surfaces |
67 | 67 |
68 #endif // COMPONENTS_SURFACES_SURFACES_IMPL_H_ | 68 #endif // COMPONENTS_SURFACES_SURFACES_IMPL_H_ |
OLD | NEW |