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