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 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1091 switches::kDefaultTileHeight, | 1091 switches::kDefaultTileHeight, |
1092 switches::kDisable3DAPIs, | 1092 switches::kDisable3DAPIs, |
1093 switches::kDisableAcceleratedVideoDecode, | 1093 switches::kDisableAcceleratedVideoDecode, |
1094 switches::kDisableApplicationCache, | 1094 switches::kDisableApplicationCache, |
1095 switches::kDisableBreakpad, | 1095 switches::kDisableBreakpad, |
1096 switches::kDisablePreferCompositingToLCDText, | 1096 switches::kDisablePreferCompositingToLCDText, |
1097 switches::kDisableCompositingForTransition, | 1097 switches::kDisableCompositingForTransition, |
1098 switches::kDisableDatabases, | 1098 switches::kDisableDatabases, |
1099 switches::kDisableDesktopNotifications, | 1099 switches::kDisableDesktopNotifications, |
1100 switches::kDisableDirectNPAPIRequests, | 1100 switches::kDisableDirectNPAPIRequests, |
| 1101 switches::kDisableDisplayList2dCanvas, |
1101 switches::kDisableDistanceFieldText, | 1102 switches::kDisableDistanceFieldText, |
1102 switches::kDisableFileSystem, | 1103 switches::kDisableFileSystem, |
1103 switches::kDisableGpuCompositing, | 1104 switches::kDisableGpuCompositing, |
1104 switches::kDisableGpuVsync, | 1105 switches::kDisableGpuVsync, |
1105 switches::kDisableLowResTiling, | 1106 switches::kDisableLowResTiling, |
1106 switches::kDisableHistogramCustomizer, | 1107 switches::kDisableHistogramCustomizer, |
1107 switches::kDisableLCDText, | 1108 switches::kDisableLCDText, |
1108 switches::kDisableLayerSquashing, | 1109 switches::kDisableLayerSquashing, |
1109 switches::kDisableLocalStorage, | 1110 switches::kDisableLocalStorage, |
1110 switches::kDisableLogging, | 1111 switches::kDisableLogging, |
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2349 } | 2350 } |
2350 | 2351 |
2351 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( | 2352 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( |
2352 gfx::GpuMemoryBufferType type, | 2353 gfx::GpuMemoryBufferType type, |
2353 const gfx::GpuMemoryBufferId& id) { | 2354 const gfx::GpuMemoryBufferId& id) { |
2354 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2355 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2355 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); | 2356 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); |
2356 } | 2357 } |
2357 | 2358 |
2358 } // namespace content | 2359 } // namespace content |
OLD | NEW |