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_IMPL_H_ | 5 #ifndef SERVICES_SURFACES_DISPLAY_IMPL_H_ |
6 #define SERVICES_SURFACES_DISPLAY_IMPL_H_ | 6 #define SERVICES_SURFACES_DISPLAY_IMPL_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "cc/surfaces/display_client.h" | 9 #include "cc/surfaces/display_client.h" |
10 #include "cc/surfaces/surface_factory.h" | 10 #include "cc/surfaces/surface_factory.h" |
11 #include "cc/surfaces/surface_factory_client.h" | 11 #include "cc/surfaces/surface_factory_client.h" |
12 #include "mojo/public/cpp/bindings/strong_binding.h" | 12 #include "mojo/public/cpp/bindings/strong_binding.h" |
13 #include "mojo/services/surfaces/public/interfaces/display.mojom.h" | 13 #include "mojo/services/surfaces/interfaces/display.mojom.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 class Display; | 16 class Display; |
17 class SurfaceFactory; | 17 class SurfaceFactory; |
18 } | 18 } |
19 | 19 |
20 namespace surfaces { | 20 namespace surfaces { |
21 class SurfacesScheduler; | 21 class SurfacesScheduler; |
22 | 22 |
23 class DisplayImpl : public mojo::Display, | 23 class DisplayImpl : public mojo::Display, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 mojo::Binding<mojo::ViewportParameterListener> viewport_param_binding_; | 72 mojo::Binding<mojo::ViewportParameterListener> viewport_param_binding_; |
73 mojo::StrongBinding<mojo::Display> display_binding_; | 73 mojo::StrongBinding<mojo::Display> display_binding_; |
74 | 74 |
75 DISALLOW_COPY_AND_ASSIGN(DisplayImpl); | 75 DISALLOW_COPY_AND_ASSIGN(DisplayImpl); |
76 }; | 76 }; |
77 | 77 |
78 } // namespace surfaces | 78 } // namespace surfaces |
79 | 79 |
80 #endif // SERVICES_SURFACES_DISPLAY_IMPL_H_ | 80 #endif // SERVICES_SURFACES_DISPLAY_IMPL_H_ |
OLD | NEW |