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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
911 switches::kEnableGpuBenchmarking, | 911 switches::kEnableGpuBenchmarking, |
912 switches::kEnableMemoryBenchmarking, | 912 switches::kEnableMemoryBenchmarking, |
913 switches::kEnableSkiaBenchmarking, | 913 switches::kEnableSkiaBenchmarking, |
914 switches::kEnableLogging, | 914 switches::kEnableLogging, |
915 switches::kEnableSpeechSynthesis, | 915 switches::kEnableSpeechSynthesis, |
916 switches::kEnableTouchDragDrop, | 916 switches::kEnableTouchDragDrop, |
917 switches::kEnableTouchEditing, | 917 switches::kEnableTouchEditing, |
918 #if defined(ENABLE_WEBRTC) | 918 #if defined(ENABLE_WEBRTC) |
919 switches::kEnableWebRtcAecRecordings, | 919 switches::kEnableWebRtcAecRecordings, |
920 switches::kEnableWebRtcTcpServerSocket, | 920 switches::kEnableWebRtcTcpServerSocket, |
| 921 switches::kEnableWebRtcHWDecoding, |
921 #endif | 922 #endif |
922 #if defined(ANDROID) && !defined(GOOGLE_TV) | 923 #if defined(ANDROID) && !defined(GOOGLE_TV) |
923 switches::kEnableWebKitMediaSource, | 924 switches::kEnableWebKitMediaSource, |
924 #else | 925 #else |
925 switches::kDisableWebKitMediaSource, | 926 switches::kDisableWebKitMediaSource, |
926 #endif | 927 #endif |
927 switches::kEnableOverscrollNotifications, | 928 switches::kEnableOverscrollNotifications, |
928 switches::kEnableStrictSiteIsolation, | 929 switches::kEnableStrictSiteIsolation, |
929 switches::kDisableFullScreen, | 930 switches::kDisableFullScreen, |
930 switches::kEnableNewDialogStyle, | 931 switches::kEnableNewDialogStyle, |
(...skipping 845 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 |