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 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1161 switches::kEnableTouchEditing, | 1161 switches::kEnableTouchEditing, |
1162 switches::kEnableV8IdleNotificationAfterCommit, | 1162 switches::kEnableV8IdleNotificationAfterCommit, |
1163 switches::kEnableViewport, | 1163 switches::kEnableViewport, |
1164 switches::kEnableViewportMeta, | 1164 switches::kEnableViewportMeta, |
1165 switches::kEnableVtune, | 1165 switches::kEnableVtune, |
1166 switches::kEnableWebGLDraftExtensions, | 1166 switches::kEnableWebGLDraftExtensions, |
1167 switches::kEnableWebGLImageChromium, | 1167 switches::kEnableWebGLImageChromium, |
1168 switches::kEnableWebMIDI, | 1168 switches::kEnableWebMIDI, |
1169 switches::kEnableZeroCopy, | 1169 switches::kEnableZeroCopy, |
1170 switches::kForceDeviceScaleFactor, | 1170 switches::kForceDeviceScaleFactor, |
| 1171 switches::kForceDisplayList2dCanvas, |
1171 switches::kFullMemoryCrashReport, | 1172 switches::kFullMemoryCrashReport, |
1172 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, | 1173 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, |
1173 switches::kIPCConnectionTimeout, | 1174 switches::kIPCConnectionTimeout, |
1174 switches::kJavaScriptFlags, | 1175 switches::kJavaScriptFlags, |
1175 switches::kLoggingLevel, | 1176 switches::kLoggingLevel, |
1176 switches::kMainFrameResizesAreOrientationChanges, | 1177 switches::kMainFrameResizesAreOrientationChanges, |
1177 switches::kMaxUntiledLayerWidth, | 1178 switches::kMaxUntiledLayerWidth, |
1178 switches::kMaxUntiledLayerHeight, | 1179 switches::kMaxUntiledLayerHeight, |
1179 switches::kMemoryMetrics, | 1180 switches::kMemoryMetrics, |
1180 switches::kNoReferrers, | 1181 switches::kNoReferrers, |
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2247 | 2248 |
2248 void RenderProcessHostImpl::DecrementWorkerRefCount() { | 2249 void RenderProcessHostImpl::DecrementWorkerRefCount() { |
2249 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2250 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2250 DCHECK_GT(worker_ref_count_, 0); | 2251 DCHECK_GT(worker_ref_count_, 0); |
2251 --worker_ref_count_; | 2252 --worker_ref_count_; |
2252 if (worker_ref_count_ == 0) | 2253 if (worker_ref_count_ == 0) |
2253 Cleanup(); | 2254 Cleanup(); |
2254 } | 2255 } |
2255 | 2256 |
2256 } // namespace content | 2257 } // namespace content |
OLD | NEW |