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 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 switches::kEnableMemoryBenchmarking, | 927 switches::kEnableMemoryBenchmarking, |
928 switches::kEnableSkiaBenchmarking, | 928 switches::kEnableSkiaBenchmarking, |
929 switches::kEnableLogging, | 929 switches::kEnableLogging, |
930 switches::kEnableSpeechSynthesis, | 930 switches::kEnableSpeechSynthesis, |
931 switches::kEnableTouchDragDrop, | 931 switches::kEnableTouchDragDrop, |
932 switches::kEnableTouchEditing, | 932 switches::kEnableTouchEditing, |
933 #if defined(ENABLE_WEBRTC) | 933 #if defined(ENABLE_WEBRTC) |
934 switches::kEnableWebRtcAecRecordings, | 934 switches::kEnableWebRtcAecRecordings, |
935 switches::kEnableWebRtcTcpServerSocket, | 935 switches::kEnableWebRtcTcpServerSocket, |
936 switches::kEnableWebRtcHWDecoding, | 936 switches::kEnableWebRtcHWDecoding, |
| 937 switches::kEnableWebRtcHWEncoding, |
937 #endif | 938 #endif |
938 #if defined(ANDROID) && !defined(GOOGLE_TV) | 939 #if defined(ANDROID) && !defined(GOOGLE_TV) |
939 switches::kEnableWebKitMediaSource, | 940 switches::kEnableWebKitMediaSource, |
940 #else | 941 #else |
941 switches::kDisableWebKitMediaSource, | 942 switches::kDisableWebKitMediaSource, |
942 #endif | 943 #endif |
943 switches::kEnableOverscrollNotifications, | 944 switches::kEnableOverscrollNotifications, |
944 switches::kEnableStrictSiteIsolation, | 945 switches::kEnableStrictSiteIsolation, |
945 switches::kDisableFullScreen, | 946 switches::kDisableFullScreen, |
946 switches::kEnableNewDialogStyle, | 947 switches::kEnableNewDialogStyle, |
(...skipping 853 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 |