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 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1041 cc::switches::kStrictLayerPropertyChangeChecking, | 1041 cc::switches::kStrictLayerPropertyChangeChecking, |
1042 cc::switches::kTopControlsHeight, | 1042 cc::switches::kTopControlsHeight, |
1043 cc::switches::kTopControlsHideThreshold, | 1043 cc::switches::kTopControlsHideThreshold, |
1044 cc::switches::kTopControlsShowThreshold, | 1044 cc::switches::kTopControlsShowThreshold, |
1045 cc::switches::kTraceOverdraw, | 1045 cc::switches::kTraceOverdraw, |
1046 #if defined(ENABLE_PLUGINS) | 1046 #if defined(ENABLE_PLUGINS) |
1047 switches::kEnablePepperTesting, | 1047 switches::kEnablePepperTesting, |
1048 switches::kDisablePepper3d, | 1048 switches::kDisablePepper3d, |
1049 #endif | 1049 #endif |
1050 #if defined(ENABLE_WEBRTC) | 1050 #if defined(ENABLE_WEBRTC) |
1051 switches::kEnableAudioTrackProcessing, | |
piman
2013/11/12 19:51:27
Please add to kForwardSwitches in chrome/browser/c
no longer working on chromium
2013/11/13 17:19:34
Done.
| |
1051 switches::kDisableDeviceEnumeration, | 1052 switches::kDisableDeviceEnumeration, |
1052 switches::kDisableSCTPDataChannels, | 1053 switches::kDisableSCTPDataChannels, |
1053 switches::kDisableWebRtcHWDecoding, | 1054 switches::kDisableWebRtcHWDecoding, |
1054 switches::kDisableWebRtcHWEncoding, | 1055 switches::kDisableWebRtcHWEncoding, |
1055 switches::kEnableWebRtcAecRecordings, | 1056 switches::kEnableWebRtcAecRecordings, |
1056 switches::kEnableWebRtcHWVp8Encoding, | 1057 switches::kEnableWebRtcHWVp8Encoding, |
1057 switches::kEnableWebRtcTcpServerSocket, | 1058 switches::kEnableWebRtcTcpServerSocket, |
1058 #endif | 1059 #endif |
1059 #if !defined (GOOGLE_CHROME_BUILD) | 1060 #if !defined (GOOGLE_CHROME_BUILD) |
1060 // These are unsupported and not fully tested modes, so don't enable them | 1061 // 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... | |
1837 // Skip widgets in other processes. | 1838 // Skip widgets in other processes. |
1838 if (widget->GetProcess()->GetID() != GetID()) | 1839 if (widget->GetProcess()->GetID() != GetID()) |
1839 continue; | 1840 continue; |
1840 | 1841 |
1841 RenderViewHost* rvh = RenderViewHost::From(widget); | 1842 RenderViewHost* rvh = RenderViewHost::From(widget); |
1842 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1843 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1843 } | 1844 } |
1844 } | 1845 } |
1845 | 1846 |
1846 } // namespace content | 1847 } // namespace content |
OLD | NEW |