| 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 CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ |
| 6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "base/id_map.h" | 13 #include "base/id_map.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
| 18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
| 19 #include "content/browser/compositor/image_transport_factory.h" | 19 #include "content/browser/compositor/image_transport_factory.h" |
| 20 #include "gpu/ipc/client/gpu_channel_host.h" | 20 #include "gpu/ipc/client/gpu_channel_host.h" |
| 21 #include "ui/compositor/compositor.h" | 21 #include "ui/compositor/compositor.h" |
| 22 | 22 |
| 23 namespace base { | |
| 24 class Thread; | |
| 25 } | |
| 26 | |
| 27 namespace cc { | 23 namespace cc { |
| 28 class SingleThreadTaskGraphRunner; | 24 class SingleThreadTaskGraphRunner; |
| 29 class SoftwareOutputDevice; | 25 class SoftwareOutputDevice; |
| 30 class SurfaceManager; | 26 class SurfaceManager; |
| 31 class VulkanInProcessContextProvider; | 27 class VulkanInProcessContextProvider; |
| 32 } | 28 } |
| 33 | 29 |
| 34 namespace content { | 30 namespace content { |
| 35 class ContextProviderCommandBuffer; | 31 class ContextProviderCommandBuffer; |
| 36 class OutputDeviceBacking; | 32 class OutputDeviceBacking; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr; | 122 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr; |
| 127 | 123 |
| 128 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; | 124 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; |
| 129 | 125 |
| 130 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); | 126 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); |
| 131 }; | 127 }; |
| 132 | 128 |
| 133 } // namespace content | 129 } // namespace content |
| 134 | 130 |
| 135 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ | 131 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ |
| OLD | NEW |