Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: content/browser/compositor/gpu_process_transport_factory.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 { 23 namespace base {
24 class SimpleThread;
25 class Thread; 24 class Thread;
26 } 25 }
27 26
28 namespace cc { 27 namespace cc {
29 class SingleThreadTaskGraphRunner; 28 class SingleThreadTaskGraphRunner;
30 class SoftwareOutputDevice; 29 class SoftwareOutputDevice;
31 class SurfaceManager; 30 class SurfaceManager;
32 class VulkanInProcessContextProvider; 31 class VulkanInProcessContextProvider;
33 } 32 }
34 33
35 namespace content { 34 namespace content {
36 class BrowserCompositorOutputSurface;
37 class CompositorSwapClient;
38 class ContextProviderCommandBuffer; 35 class ContextProviderCommandBuffer;
39 class OutputDeviceBacking; 36 class OutputDeviceBacking;
40 class ReflectorImpl;
41 class WebGraphicsContext3DCommandBufferImpl;
42 37
43 class GpuProcessTransportFactory 38 class GpuProcessTransportFactory
44 : public ui::ContextFactory, 39 : public ui::ContextFactory,
45 public ImageTransportFactory { 40 public ImageTransportFactory {
46 public: 41 public:
47 GpuProcessTransportFactory(); 42 GpuProcessTransportFactory();
48 43
49 ~GpuProcessTransportFactory() override; 44 ~GpuProcessTransportFactory() override;
50 45
51 // ui::ContextFactory implementation. 46 // ui::ContextFactory implementation.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr; 126 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr;
132 127
133 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; 128 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_;
134 129
135 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); 130 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory);
136 }; 131 };
137 132
138 } // namespace content 133 } // namespace content
139 134
140 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 135 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698