OLD | NEW |
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 "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "content/common/android/surface_texture_peer.h" | 9 #include "content/common/android/surface_texture_peer.h" |
10 #include "ipc/ipc_channel.h" | 10 #include "ipc/ipc_listener.h" |
11 #include "ipc/ipc_message.h" | 11 #include "ipc/ipc_message.h" |
12 | 12 |
13 namespace gfx { | 13 namespace gfx { |
14 class Size; | 14 class Size; |
15 } | 15 } |
16 | 16 |
17 struct GpuStreamTextureMsg_MatrixChanged_Params; | 17 struct GpuStreamTextureMsg_MatrixChanged_Params; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 class GpuChannelHost; | 20 class GpuChannelHost; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 Listener* listener_; | 58 Listener* listener_; |
59 scoped_refptr<GpuChannelHost> channel_; | 59 scoped_refptr<GpuChannelHost> channel_; |
60 base::WeakPtrFactory<StreamTextureHost> weak_ptr_factory_; | 60 base::WeakPtrFactory<StreamTextureHost> weak_ptr_factory_; |
61 | 61 |
62 DISALLOW_IMPLICIT_CONSTRUCTORS(StreamTextureHost); | 62 DISALLOW_IMPLICIT_CONSTRUCTORS(StreamTextureHost); |
63 }; | 63 }; |
64 | 64 |
65 } // namespace content | 65 } // namespace content |
66 | 66 |
67 #endif // CONTENT_RENDERER_GPU_STREAM_TEXTURE_HOST_ANDROID_H_ | 67 #endif // CONTENT_RENDERER_GPU_STREAM_TEXTURE_HOST_ANDROID_H_ |
OLD | NEW |