| 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 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 cc::switches::kStrictLayerPropertyChangeChecking, | 1093 cc::switches::kStrictLayerPropertyChangeChecking, |
| 1094 cc::switches::kTopControlsHeight, | 1094 cc::switches::kTopControlsHeight, |
| 1095 cc::switches::kTopControlsHideThreshold, | 1095 cc::switches::kTopControlsHideThreshold, |
| 1096 cc::switches::kTopControlsShowThreshold, | 1096 cc::switches::kTopControlsShowThreshold, |
| 1097 cc::switches::kTraceOverdraw, | 1097 cc::switches::kTraceOverdraw, |
| 1098 #if defined(ENABLE_PLUGINS) | 1098 #if defined(ENABLE_PLUGINS) |
| 1099 switches::kEnablePepperTesting, | 1099 switches::kEnablePepperTesting, |
| 1100 switches::kDisablePepper3d, | 1100 switches::kDisablePepper3d, |
| 1101 #endif | 1101 #endif |
| 1102 #if defined(ENABLE_WEBRTC) | 1102 #if defined(ENABLE_WEBRTC) |
| 1103 switches::kEnableAudioTrackProcessing, |
| 1103 switches::kDisableDeviceEnumeration, | 1104 switches::kDisableDeviceEnumeration, |
| 1104 switches::kDisableSCTPDataChannels, | 1105 switches::kDisableSCTPDataChannels, |
| 1105 switches::kDisableWebRtcHWDecoding, | 1106 switches::kDisableWebRtcHWDecoding, |
| 1106 switches::kDisableWebRtcHWEncoding, | 1107 switches::kDisableWebRtcHWEncoding, |
| 1107 switches::kEnableWebRtcAecRecordings, | 1108 switches::kEnableWebRtcAecRecordings, |
| 1108 switches::kEnableWebRtcHWVp8Encoding, | 1109 switches::kEnableWebRtcHWVp8Encoding, |
| 1109 switches::kEnableWebRtcTcpServerSocket, | 1110 switches::kEnableWebRtcTcpServerSocket, |
| 1110 #endif | 1111 #endif |
| 1111 #if !defined (GOOGLE_CHROME_BUILD) | 1112 #if !defined (GOOGLE_CHROME_BUILD) |
| 1112 // These are unsupported and not fully tested modes, so don't enable them | 1113 // These are unsupported and not fully tested modes, so don't enable them |
| (...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1896 // Skip widgets in other processes. | 1897 // Skip widgets in other processes. |
| 1897 if (widget->GetProcess()->GetID() != GetID()) | 1898 if (widget->GetProcess()->GetID() != GetID()) |
| 1898 continue; | 1899 continue; |
| 1899 | 1900 |
| 1900 RenderViewHost* rvh = RenderViewHost::From(widget); | 1901 RenderViewHost* rvh = RenderViewHost::From(widget); |
| 1901 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1902 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1902 } | 1903 } |
| 1903 } | 1904 } |
| 1904 | 1905 |
| 1905 } // namespace content | 1906 } // namespace content |
| OLD | NEW |