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 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 cc::switches::kStrictLayerPropertyChangeChecking, | 1049 cc::switches::kStrictLayerPropertyChangeChecking, |
1050 cc::switches::kTopControlsHeight, | 1050 cc::switches::kTopControlsHeight, |
1051 cc::switches::kTopControlsHideThreshold, | 1051 cc::switches::kTopControlsHideThreshold, |
1052 cc::switches::kTopControlsShowThreshold, | 1052 cc::switches::kTopControlsShowThreshold, |
1053 cc::switches::kTraceOverdraw, | 1053 cc::switches::kTraceOverdraw, |
1054 #if defined(ENABLE_PLUGINS) | 1054 #if defined(ENABLE_PLUGINS) |
1055 switches::kEnablePepperTesting, | 1055 switches::kEnablePepperTesting, |
1056 switches::kDisablePepper3d, | 1056 switches::kDisablePepper3d, |
1057 #endif | 1057 #endif |
1058 #if defined(ENABLE_WEBRTC) | 1058 #if defined(ENABLE_WEBRTC) |
| 1059 switches::kEnableAudioTrackProcessing, |
1059 switches::kDisableDeviceEnumeration, | 1060 switches::kDisableDeviceEnumeration, |
1060 switches::kDisableSCTPDataChannels, | 1061 switches::kDisableSCTPDataChannels, |
1061 switches::kDisableWebRtcHWDecoding, | 1062 switches::kDisableWebRtcHWDecoding, |
1062 switches::kDisableWebRtcHWEncoding, | 1063 switches::kDisableWebRtcHWEncoding, |
1063 switches::kEnableWebRtcAecRecordings, | 1064 switches::kEnableWebRtcAecRecordings, |
1064 switches::kEnableWebRtcHWVp8Encoding, | 1065 switches::kEnableWebRtcHWVp8Encoding, |
1065 switches::kEnableWebRtcTcpServerSocket, | 1066 switches::kEnableWebRtcTcpServerSocket, |
1066 #endif | 1067 #endif |
1067 #if !defined (GOOGLE_CHROME_BUILD) | 1068 #if !defined (GOOGLE_CHROME_BUILD) |
1068 // These are unsupported and not fully tested modes, so don't enable them | 1069 // These are unsupported and not fully tested modes, so don't enable them |
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1845 // Skip widgets in other processes. | 1846 // Skip widgets in other processes. |
1846 if (widget->GetProcess()->GetID() != GetID()) | 1847 if (widget->GetProcess()->GetID() != GetID()) |
1847 continue; | 1848 continue; |
1848 | 1849 |
1849 RenderViewHost* rvh = RenderViewHost::From(widget); | 1850 RenderViewHost* rvh = RenderViewHost::From(widget); |
1850 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1851 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1851 } | 1852 } |
1852 } | 1853 } |
1853 | 1854 |
1854 } // namespace content | 1855 } // namespace content |
OLD | NEW |