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

Side by Side Diff: content/renderer/gpu/stream_texture_host_android.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
« no previous file with comments | « content/renderer/gpu/renderer_compositor_frame_sink.h ('k') | content/renderer/history_entry.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_GPU_STREAM_TEXTURE_HOST_ANDROID_H_ 5 #ifndef CONTENT_RENDERER_GPU_STREAM_TEXTURE_HOST_ANDROID_H_
6 #define CONTENT_RENDERER_GPU_STREAM_TEXTURE_HOST_ANDROID_H_ 6 #define CONTENT_RENDERER_GPU_STREAM_TEXTURE_HOST_ANDROID_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 "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "gpu/ipc/common/android/surface_texture_peer.h" 12 #include "gpu/ipc/common/android/surface_texture_peer.h"
13 #include "ipc/ipc_listener.h" 13 #include "ipc/ipc_listener.h"
14 #include "ipc/ipc_message.h" 14 #include "ipc/ipc_message.h"
15 15
16 namespace base { 16 namespace base {
17 class UnguessableToken; 17 class UnguessableToken;
18 } 18 }
19 19
20 namespace gfx { 20 namespace gfx {
21 class Size; 21 class Size;
22 } 22 }
23 23
24 namespace gpu { 24 namespace gpu {
25 class GpuChannelHost; 25 class GpuChannelHost;
26 } 26 }
27 27
28 struct GpuStreamTextureMsg_MatrixChanged_Params;
29
30 namespace content { 28 namespace content {
31 29
32 // Class for handling all the IPC messages between the GPU process and 30 // Class for handling all the IPC messages between the GPU process and
33 // StreamTextureProxy. 31 // StreamTextureProxy.
34 class StreamTextureHost : public IPC::Listener { 32 class StreamTextureHost : public IPC::Listener {
35 public: 33 public:
36 explicit StreamTextureHost(scoped_refptr<gpu::GpuChannelHost> channel, 34 explicit StreamTextureHost(scoped_refptr<gpu::GpuChannelHost> channel,
37 int32_t route_id); 35 int32_t route_id);
38 ~StreamTextureHost() override; 36 ~StreamTextureHost() override;
39 37
(...skipping 24 matching lines...) Expand all
64 Listener* listener_; 62 Listener* listener_;
65 scoped_refptr<gpu::GpuChannelHost> channel_; 63 scoped_refptr<gpu::GpuChannelHost> channel_;
66 base::WeakPtrFactory<StreamTextureHost> weak_ptr_factory_; 64 base::WeakPtrFactory<StreamTextureHost> weak_ptr_factory_;
67 65
68 DISALLOW_IMPLICIT_CONSTRUCTORS(StreamTextureHost); 66 DISALLOW_IMPLICIT_CONSTRUCTORS(StreamTextureHost);
69 }; 67 };
70 68
71 } // namespace content 69 } // namespace content
72 70
73 #endif // CONTENT_RENDERER_GPU_STREAM_TEXTURE_HOST_ANDROID_H_ 71 #endif // CONTENT_RENDERER_GPU_STREAM_TEXTURE_HOST_ANDROID_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/renderer_compositor_frame_sink.h ('k') | content/renderer/history_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698