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