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 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 #include "content/public/common/result_codes.h" | 98 #include "content/public/common/result_codes.h" |
99 #include "content/renderer/render_process_impl.h" | 99 #include "content/renderer/render_process_impl.h" |
100 #include "content/renderer/render_thread_impl.h" | 100 #include "content/renderer/render_thread_impl.h" |
101 #include "ipc/ipc_channel.h" | 101 #include "ipc/ipc_channel.h" |
102 #include "ipc/ipc_logging.h" | 102 #include "ipc/ipc_logging.h" |
103 #include "ipc/ipc_platform_file.h" | 103 #include "ipc/ipc_platform_file.h" |
104 #include "ipc/ipc_switches.h" | 104 #include "ipc/ipc_switches.h" |
105 #include "media/base/media_switches.h" | 105 #include "media/base/media_switches.h" |
106 #include "net/url_request/url_request_context_getter.h" | 106 #include "net/url_request/url_request_context_getter.h" |
107 #include "ui/base/ui_base_switches.h" | 107 #include "ui/base/ui_base_switches.h" |
108 #include "ui/gfx/gl/gl_switches.h" | 108 #include "ui/gl/gl_switches.h" |
109 #include "webkit/fileapi/sandbox_mount_point_provider.h" | 109 #include "webkit/fileapi/sandbox_mount_point_provider.h" |
110 #include "webkit/glue/resource_type.h" | 110 #include "webkit/glue/resource_type.h" |
111 #include "webkit/plugins/plugin_switches.h" | 111 #include "webkit/plugins/plugin_switches.h" |
112 | 112 |
113 #if defined(OS_WIN) | 113 #if defined(OS_WIN) |
114 #include "base/synchronization/waitable_event.h" | 114 #include "base/synchronization/waitable_event.h" |
115 #include "content/common/font_cache_dispatcher_win.h" | 115 #include "content/common/font_cache_dispatcher_win.h" |
116 #endif | 116 #endif |
117 | 117 |
118 #if defined(ENABLE_INPUT_SPEECH) | 118 #if defined(ENABLE_INPUT_SPEECH) |
(...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1378 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost( | 1378 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost( |
1379 int32 surface_id, | 1379 int32 surface_id, |
1380 uint64 surface_handle, | 1380 uint64 surface_handle, |
1381 int32 route_id, | 1381 int32 route_id, |
1382 int32 gpu_process_host_id) { | 1382 int32 gpu_process_host_id) { |
1383 TRACE_EVENT0("renderer_host", | 1383 TRACE_EVENT0("renderer_host", |
1384 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1384 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1385 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id, | 1385 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id, |
1386 gpu_process_host_id); | 1386 gpu_process_host_id); |
1387 } | 1387 } |
OLD | NEW |