| 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 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 switches::kEnableGpuBenchmarking, | 904 switches::kEnableGpuBenchmarking, |
| 905 switches::kEnableMemoryBenchmarking, | 905 switches::kEnableMemoryBenchmarking, |
| 906 switches::kEnableSkiaBenchmarking, | 906 switches::kEnableSkiaBenchmarking, |
| 907 switches::kEnableLogging, | 907 switches::kEnableLogging, |
| 908 switches::kEnableSpeechSynthesis, | 908 switches::kEnableSpeechSynthesis, |
| 909 switches::kEnableTouchDragDrop, | 909 switches::kEnableTouchDragDrop, |
| 910 switches::kEnableTouchEditing, | 910 switches::kEnableTouchEditing, |
| 911 #if defined(ENABLE_WEBRTC) | 911 #if defined(ENABLE_WEBRTC) |
| 912 switches::kEnableWebRtcAecRecordings, | 912 switches::kEnableWebRtcAecRecordings, |
| 913 switches::kEnableWebRtcTcpServerSocket, | 913 switches::kEnableWebRtcTcpServerSocket, |
| 914 switches::kEnableWebRTCHWDecoding, |
| 914 #endif | 915 #endif |
| 915 #if defined(ANDROID) && !defined(GOOGLE_TV) | 916 #if defined(ANDROID) && !defined(GOOGLE_TV) |
| 916 switches::kEnableWebKitMediaSource, | 917 switches::kEnableWebKitMediaSource, |
| 917 #else | 918 #else |
| 918 switches::kDisableWebKitMediaSource, | 919 switches::kDisableWebKitMediaSource, |
| 919 #endif | 920 #endif |
| 920 switches::kEnableOverscrollNotifications, | 921 switches::kEnableOverscrollNotifications, |
| 921 switches::kEnableStrictSiteIsolation, | 922 switches::kEnableStrictSiteIsolation, |
| 922 switches::kDisableFullScreen, | 923 switches::kDisableFullScreen, |
| 923 switches::kEnableNewDialogStyle, | 924 switches::kEnableNewDialogStyle, |
| (...skipping 852 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 |