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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 switches::kEnableGpuBenchmarking, | 909 switches::kEnableGpuBenchmarking, |
910 switches::kEnableMemoryBenchmarking, | 910 switches::kEnableMemoryBenchmarking, |
911 switches::kEnableSkiaBenchmarking, | 911 switches::kEnableSkiaBenchmarking, |
912 switches::kEnableLogging, | 912 switches::kEnableLogging, |
913 switches::kEnableSpeechSynthesis, | 913 switches::kEnableSpeechSynthesis, |
914 switches::kEnableTouchDragDrop, | 914 switches::kEnableTouchDragDrop, |
915 switches::kEnableTouchEditing, | 915 switches::kEnableTouchEditing, |
916 #if defined(ENABLE_WEBRTC) | 916 #if defined(ENABLE_WEBRTC) |
917 switches::kEnableWebRtcAecRecordings, | 917 switches::kEnableWebRtcAecRecordings, |
918 switches::kEnableWebRtcTcpServerSocket, | 918 switches::kEnableWebRtcTcpServerSocket, |
| 919 switches::kEnableWebRtcHWDecoding, |
919 #endif | 920 #endif |
920 #if defined(ANDROID) && !defined(GOOGLE_TV) | 921 #if defined(ANDROID) && !defined(GOOGLE_TV) |
921 switches::kEnableWebKitMediaSource, | 922 switches::kEnableWebKitMediaSource, |
922 #else | 923 #else |
923 switches::kDisableWebKitMediaSource, | 924 switches::kDisableWebKitMediaSource, |
924 #endif | 925 #endif |
925 switches::kEnableOverscrollNotifications, | 926 switches::kEnableOverscrollNotifications, |
926 switches::kEnableStrictSiteIsolation, | 927 switches::kEnableStrictSiteIsolation, |
927 switches::kDisableFullScreen, | 928 switches::kDisableFullScreen, |
928 switches::kEnableNewDialogStyle, | 929 switches::kEnableNewDialogStyle, |
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1776 // Skip widgets in other processes. | 1777 // Skip widgets in other processes. |
1777 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1778 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1778 continue; | 1779 continue; |
1779 | 1780 |
1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1781 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1782 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1782 } | 1783 } |
1783 } | 1784 } |
1784 | 1785 |
1785 } // namespace content | 1786 } // namespace content |
OLD | NEW |