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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
7 | 7 |
8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 #include "ipc/mojo/ipc_channel_mojo.h" | 141 #include "ipc/mojo/ipc_channel_mojo.h" |
142 #include "media/base/media_switches.h" | 142 #include "media/base/media_switches.h" |
143 #include "net/url_request/url_request_context_getter.h" | 143 #include "net/url_request/url_request_context_getter.h" |
144 #include "ppapi/shared_impl/ppapi_switches.h" | 144 #include "ppapi/shared_impl/ppapi_switches.h" |
145 #include "third_party/skia/include/core/SkBitmap.h" | 145 #include "third_party/skia/include/core/SkBitmap.h" |
146 #include "ui/base/ui_base_switches.h" | 146 #include "ui/base/ui_base_switches.h" |
147 #include "ui/events/event_switches.h" | 147 #include "ui/events/event_switches.h" |
148 #include "ui/gfx/switches.h" | 148 #include "ui/gfx/switches.h" |
149 #include "ui/gl/gl_switches.h" | 149 #include "ui/gl/gl_switches.h" |
150 #include "ui/native_theme/native_theme_switches.h" | 150 #include "ui/native_theme/native_theme_switches.h" |
151 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" | 151 #include "storage/browser/fileapi/sandbox_file_system_backend.h" |
152 | 152 |
153 #if defined(OS_ANDROID) | 153 #if defined(OS_ANDROID) |
154 #include "content/browser/media/android/browser_demuxer_android.h" | 154 #include "content/browser/media/android/browser_demuxer_android.h" |
155 #include "content/browser/renderer_host/compositor_impl_android.h" | 155 #include "content/browser/renderer_host/compositor_impl_android.h" |
156 #include "content/browser/screen_orientation/screen_orientation_message_filter_a
ndroid.h" | 156 #include "content/browser/screen_orientation/screen_orientation_message_filter_a
ndroid.h" |
157 #include "content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h" | 157 #include "content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h" |
158 #endif | 158 #endif |
159 | 159 |
160 #if defined(OS_MACOSX) | 160 #if defined(OS_MACOSX) |
161 #include "content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h" | 161 #include "content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h" |
(...skipping 2192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2354 } | 2354 } |
2355 | 2355 |
2356 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( | 2356 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( |
2357 gfx::GpuMemoryBufferType type, | 2357 gfx::GpuMemoryBufferType type, |
2358 const gfx::GpuMemoryBufferId& id) { | 2358 const gfx::GpuMemoryBufferId& id) { |
2359 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2359 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2360 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); | 2360 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); |
2361 } | 2361 } |
2362 | 2362 |
2363 } // namespace content | 2363 } // namespace content |
OLD | NEW |