| 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 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 switches::kEnableOverlayScrollbars, | 936 switches::kEnableOverlayScrollbars, |
| 937 switches::kEnableSkiaBenchmarking, | 937 switches::kEnableSkiaBenchmarking, |
| 938 switches::kEnableLogging, | 938 switches::kEnableLogging, |
| 939 switches::kEnableSpeechSynthesis, | 939 switches::kEnableSpeechSynthesis, |
| 940 switches::kEnableTouchDragDrop, | 940 switches::kEnableTouchDragDrop, |
| 941 switches::kEnableTouchEditing, | 941 switches::kEnableTouchEditing, |
| 942 #if defined(ENABLE_WEBRTC) | 942 #if defined(ENABLE_WEBRTC) |
| 943 switches::kEnableWebRtcAecRecordings, | 943 switches::kEnableWebRtcAecRecordings, |
| 944 switches::kEnableWebRtcTcpServerSocket, | 944 switches::kEnableWebRtcTcpServerSocket, |
| 945 switches::kEnableWebRtcHWDecoding, | 945 switches::kEnableWebRtcHWDecoding, |
| 946 switches::kEnableWebRtcHWEncoding, |
| 946 #endif | 947 #endif |
| 947 switches::kDisableWebKitMediaSource, | 948 switches::kDisableWebKitMediaSource, |
| 948 switches::kEnableOverscrollNotifications, | 949 switches::kEnableOverscrollNotifications, |
| 949 switches::kEnableStrictSiteIsolation, | 950 switches::kEnableStrictSiteIsolation, |
| 950 switches::kDisableFullScreen, | 951 switches::kDisableFullScreen, |
| 951 switches::kEnableNewDialogStyle, | 952 switches::kEnableNewDialogStyle, |
| 952 #if defined(ENABLE_PLUGINS) | 953 #if defined(ENABLE_PLUGINS) |
| 953 switches::kEnablePepperTesting, | 954 switches::kEnablePepperTesting, |
| 954 switches::kDisablePepper3d, | 955 switches::kDisablePepper3d, |
| 955 #endif | 956 #endif |
| (...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1806 // Skip widgets in other processes. | 1807 // Skip widgets in other processes. |
| 1807 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1808 if (widgets[i]->GetProcess()->GetID() != GetID()) |
| 1808 continue; | 1809 continue; |
| 1809 | 1810 |
| 1810 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1811 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
| 1811 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1812 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1812 } | 1813 } |
| 1813 } | 1814 } |
| 1814 | 1815 |
| 1815 } // namespace content | 1816 } // namespace content |
| OLD | NEW |