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, | |
947 #endif | 946 #endif |
948 switches::kDisableWebKitMediaSource, | 947 switches::kDisableWebKitMediaSource, |
949 switches::kEnableOverscrollNotifications, | 948 switches::kEnableOverscrollNotifications, |
950 switches::kEnableStrictSiteIsolation, | 949 switches::kEnableStrictSiteIsolation, |
951 switches::kDisableFullScreen, | 950 switches::kDisableFullScreen, |
952 switches::kEnableNewDialogStyle, | 951 switches::kEnableNewDialogStyle, |
953 #if defined(ENABLE_PLUGINS) | 952 #if defined(ENABLE_PLUGINS) |
954 switches::kEnablePepperTesting, | 953 switches::kEnablePepperTesting, |
955 switches::kDisablePepper3d, | 954 switches::kDisablePepper3d, |
956 #endif | 955 #endif |
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1807 // Skip widgets in other processes. | 1806 // Skip widgets in other processes. |
1808 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1807 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1809 continue; | 1808 continue; |
1810 | 1809 |
1811 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1810 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1812 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1811 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1813 } | 1812 } |
1814 } | 1813 } |
1815 | 1814 |
1816 } // namespace content | 1815 } // namespace content |
OLD | NEW |