OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CHANNEL_HOST_H_ | 5 #ifndef CONTENT_RENDERER_GPU_GPU_CHANNEL_HOST_H_ |
6 #define CONTENT_RENDERER_GPU_CHANNEL_HOST_H_ | 6 #define CONTENT_RENDERER_GPU_GPU_CHANNEL_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/hash_tables.h" | 12 #include "base/hash_tables.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/process_util.h" | 14 #include "base/process_util.h" |
15 #include "content/common/gpu/gpu_info.h" | 15 #include "content/common/gpu/gpu_info.h" |
16 #include "content/common/message_router.h" | 16 #include "content/common/message_router.h" |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // to the corresponding GpuVideoDecoderHost. | 120 // to the corresponding GpuVideoDecoderHost. |
121 scoped_refptr<GpuVideoServiceHost> gpu_video_service_host_; | 121 scoped_refptr<GpuVideoServiceHost> gpu_video_service_host_; |
122 | 122 |
123 // This is a MessageFilter to intercept IPC messages related to transport | 123 // This is a MessageFilter to intercept IPC messages related to transport |
124 // textures. These messages are routed to TransportTextureHost. | 124 // textures. These messages are routed to TransportTextureHost. |
125 scoped_refptr<TransportTextureService> transport_texture_service_; | 125 scoped_refptr<TransportTextureService> transport_texture_service_; |
126 | 126 |
127 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); | 127 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); |
128 }; | 128 }; |
129 | 129 |
130 #endif // CONTENT_RENDERER_GPU_CHANNEL_HOST_H_ | 130 #endif // CONTENT_RENDERER_GPU_GPU_CHANNEL_HOST_H_ |
OLD | NEW |