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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 switches::kEnableMemoryBenchmarking, | 931 switches::kEnableMemoryBenchmarking, |
932 switches::kEnableSkiaBenchmarking, | 932 switches::kEnableSkiaBenchmarking, |
933 switches::kEnableLogging, | 933 switches::kEnableLogging, |
934 switches::kEnableSpeechSynthesis, | 934 switches::kEnableSpeechSynthesis, |
935 switches::kEnableTouchDragDrop, | 935 switches::kEnableTouchDragDrop, |
936 switches::kEnableTouchEditing, | 936 switches::kEnableTouchEditing, |
937 #if defined(ENABLE_WEBRTC) | 937 #if defined(ENABLE_WEBRTC) |
938 switches::kEnableWebRtcAecRecordings, | 938 switches::kEnableWebRtcAecRecordings, |
939 switches::kEnableWebRtcTcpServerSocket, | 939 switches::kEnableWebRtcTcpServerSocket, |
940 switches::kEnableWebRtcHWDecoding, | 940 switches::kEnableWebRtcHWDecoding, |
| 941 switches::kEnableWebRtcHWEncoding, |
941 #endif | 942 #endif |
942 switches::kDisableWebKitMediaSource, | 943 switches::kDisableWebKitMediaSource, |
943 switches::kEnableOverscrollNotifications, | 944 switches::kEnableOverscrollNotifications, |
944 switches::kEnableStrictSiteIsolation, | 945 switches::kEnableStrictSiteIsolation, |
945 switches::kDisableFullScreen, | 946 switches::kDisableFullScreen, |
946 switches::kEnableNewDialogStyle, | 947 switches::kEnableNewDialogStyle, |
947 #if defined(ENABLE_PLUGINS) | 948 #if defined(ENABLE_PLUGINS) |
948 switches::kEnablePepperTesting, | 949 switches::kEnablePepperTesting, |
949 switches::kDisablePepper3d, | 950 switches::kDisablePepper3d, |
950 #endif | 951 #endif |
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1800 // Skip widgets in other processes. | 1801 // Skip widgets in other processes. |
1801 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1802 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1802 continue; | 1803 continue; |
1803 | 1804 |
1804 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1805 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1805 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1806 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1806 } | 1807 } |
1807 } | 1808 } |
1808 | 1809 |
1809 } // namespace content | 1810 } // namespace content |
OLD | NEW |