| 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 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1087 cc::switches::kStrictLayerPropertyChangeChecking, | 1087 cc::switches::kStrictLayerPropertyChangeChecking, |
| 1088 cc::switches::kTopControlsHeight, | 1088 cc::switches::kTopControlsHeight, |
| 1089 cc::switches::kTopControlsHideThreshold, | 1089 cc::switches::kTopControlsHideThreshold, |
| 1090 cc::switches::kTopControlsShowThreshold, | 1090 cc::switches::kTopControlsShowThreshold, |
| 1091 cc::switches::kTraceOverdraw, | 1091 cc::switches::kTraceOverdraw, |
| 1092 #if defined(ENABLE_PLUGINS) | 1092 #if defined(ENABLE_PLUGINS) |
| 1093 switches::kEnablePepperTesting, | 1093 switches::kEnablePepperTesting, |
| 1094 switches::kDisablePepper3d, | 1094 switches::kDisablePepper3d, |
| 1095 #endif | 1095 #endif |
| 1096 #if defined(ENABLE_WEBRTC) | 1096 #if defined(ENABLE_WEBRTC) |
| 1097 switches::kEnableAudioTrackProcessing, |
| 1097 switches::kDisableDeviceEnumeration, | 1098 switches::kDisableDeviceEnumeration, |
| 1098 switches::kDisableSCTPDataChannels, | 1099 switches::kDisableSCTPDataChannels, |
| 1099 switches::kDisableWebRtcHWDecoding, | 1100 switches::kDisableWebRtcHWDecoding, |
| 1100 switches::kDisableWebRtcHWEncoding, | 1101 switches::kDisableWebRtcHWEncoding, |
| 1101 switches::kEnableWebRtcAecRecordings, | 1102 switches::kEnableWebRtcAecRecordings, |
| 1102 switches::kEnableWebRtcHWVp8Encoding, | 1103 switches::kEnableWebRtcHWVp8Encoding, |
| 1103 switches::kEnableWebRtcTcpServerSocket, | 1104 switches::kEnableWebRtcTcpServerSocket, |
| 1104 #endif | 1105 #endif |
| 1105 #if !defined (GOOGLE_CHROME_BUILD) | 1106 #if !defined (GOOGLE_CHROME_BUILD) |
| 1106 // These are unsupported and not fully tested modes, so don't enable them | 1107 // 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... |
| 1890 // Skip widgets in other processes. | 1891 // Skip widgets in other processes. |
| 1891 if (widget->GetProcess()->GetID() != GetID()) | 1892 if (widget->GetProcess()->GetID() != GetID()) |
| 1892 continue; | 1893 continue; |
| 1893 | 1894 |
| 1894 RenderViewHost* rvh = RenderViewHost::From(widget); | 1895 RenderViewHost* rvh = RenderViewHost::From(widget); |
| 1895 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1896 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1896 } | 1897 } |
| 1897 } | 1898 } |
| 1898 | 1899 |
| 1899 } // namespace content | 1900 } // namespace content |
| OLD | NEW |