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 UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ | 5 #ifndef UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ |
6 #define UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ | 6 #define UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/mus/common/mojo_gpu_memory_buffer_manager.h" | 11 #include "services/ui/common/mojo_gpu_memory_buffer_manager.h" |
12 #include "components/mus/gles2/raster_thread_helper.h" | 12 #include "services/ui/gles2/raster_thread_helper.h" |
13 #include "components/mus/public/interfaces/window_tree.mojom.h" | 13 #include "services/ui/public/interfaces/window_tree.mojom.h" |
14 #include "ui/compositor/compositor.h" | 14 #include "ui/compositor/compositor.h" |
15 #include "ui/views/mus/mus_export.h" | 15 #include "ui/views/mus/mus_export.h" |
16 #include "ui/views/mus/surface_binding.h" | 16 #include "ui/views/mus/surface_binding.h" |
17 | 17 |
18 namespace mojo { | 18 namespace mojo { |
19 class Connector; | 19 class Connector; |
20 } | 20 } |
21 | 21 |
22 namespace mus { | 22 namespace mus { |
23 class Window; | 23 class Window; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 uint32_t next_surface_id_namespace_; | 63 uint32_t next_surface_id_namespace_; |
64 gles2::RasterThreadHelper raster_thread_helper_; | 64 gles2::RasterThreadHelper raster_thread_helper_; |
65 mus::MojoGpuMemoryBufferManager gpu_memory_buffer_manager_; | 65 mus::MojoGpuMemoryBufferManager gpu_memory_buffer_manager_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); | 67 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace views | 70 } // namespace views |
71 | 71 |
72 #endif // UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ | 72 #endif // UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ |
OLD | NEW |