| 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 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1034 switches::kDisableAcceleratedFixedRootBackground, | 1034 switches::kDisableAcceleratedFixedRootBackground, |
| 1035 switches::kDisableAcceleratedVideoDecode, | 1035 switches::kDisableAcceleratedVideoDecode, |
| 1036 switches::kDisableApplicationCache, | 1036 switches::kDisableApplicationCache, |
| 1037 switches::kDisableBreakpad, | 1037 switches::kDisableBreakpad, |
| 1038 switches::kDisableCompositingForFixedPosition, | 1038 switches::kDisableCompositingForFixedPosition, |
| 1039 switches::kDisableCompositingForTransition, | 1039 switches::kDisableCompositingForTransition, |
| 1040 switches::kDisableDatabases, | 1040 switches::kDisableDatabases, |
| 1041 switches::kDisableDelegatedRenderer, | 1041 switches::kDisableDelegatedRenderer, |
| 1042 switches::kDisableDesktopNotifications, | 1042 switches::kDisableDesktopNotifications, |
| 1043 switches::kDisableDirectNPAPIRequests, | 1043 switches::kDisableDirectNPAPIRequests, |
| 1044 switches::kDisableFastTextAutosizing, |
| 1044 switches::kDisableFileSystem, | 1045 switches::kDisableFileSystem, |
| 1045 switches::kDisableFiltersOverIPC, | 1046 switches::kDisableFiltersOverIPC, |
| 1046 switches::kDisableGpu, | 1047 switches::kDisableGpu, |
| 1047 switches::kDisableGpuCompositing, | 1048 switches::kDisableGpuCompositing, |
| 1048 switches::kDisableGpuRasterization, | 1049 switches::kDisableGpuRasterization, |
| 1049 switches::kDisableGpuVsync, | 1050 switches::kDisableGpuVsync, |
| 1050 switches::kDisableLowResTiling, | 1051 switches::kDisableLowResTiling, |
| 1051 switches::kDisableHistogramCustomizer, | 1052 switches::kDisableHistogramCustomizer, |
| 1052 switches::kDisableImplSidePainting, | 1053 switches::kDisableImplSidePainting, |
| 1053 switches::kDisableLCDText, | 1054 switches::kDisableLCDText, |
| (...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2173 child_process_launcher_->GetHandle(); | 2174 child_process_launcher_->GetHandle(); |
| 2174 base::PlatformFile client_file = | 2175 base::PlatformFile client_file = |
| 2175 PlatformFileFromScopedPlatformHandle(channel_pair.PassClientHandle()); | 2176 PlatformFileFromScopedPlatformHandle(channel_pair.PassClientHandle()); |
| 2176 Send(new MojoMsg_ChannelCreated( | 2177 Send(new MojoMsg_ChannelCreated( |
| 2177 IPC::GetFileHandleForProcess(client_file, process_handle, true))); | 2178 IPC::GetFileHandleForProcess(client_file, process_handle, true))); |
| 2178 } | 2179 } |
| 2179 } | 2180 } |
| 2180 #endif | 2181 #endif |
| 2181 | 2182 |
| 2182 } // namespace content | 2183 } // namespace content |
| OLD | NEW |