| 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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 switches::kEnableEncryptedMedia, | 924 switches::kEnableEncryptedMedia, |
| 925 switches::kDisableLegacyEncryptedMedia, | 925 switches::kDisableLegacyEncryptedMedia, |
| 926 switches::kOverrideEncryptedMediaCanPlayType, | 926 switches::kOverrideEncryptedMediaCanPlayType, |
| 927 switches::kEnableExperimentalWebPlatformFeatures, | 927 switches::kEnableExperimentalWebPlatformFeatures, |
| 928 switches::kEnableFixedLayout, | 928 switches::kEnableFixedLayout, |
| 929 switches::kEnableDeferredImageDecoding, | 929 switches::kEnableDeferredImageDecoding, |
| 930 switches::kEnableGPUServiceLogging, | 930 switches::kEnableGPUServiceLogging, |
| 931 switches::kEnableGPUClientLogging, | 931 switches::kEnableGPUClientLogging, |
| 932 switches::kEnableGpuClientTracing, | 932 switches::kEnableGpuClientTracing, |
| 933 switches::kEnableGpuBenchmarking, | 933 switches::kEnableGpuBenchmarking, |
| 934 #if defined(OS_WIN) |
| 935 switches::kEnableHighResolutionTime, |
| 936 #endif |
| 934 switches::kEnableMemoryBenchmarking, | 937 switches::kEnableMemoryBenchmarking, |
| 935 switches::kEnableSkiaBenchmarking, | 938 switches::kEnableSkiaBenchmarking, |
| 936 switches::kEnableLogging, | 939 switches::kEnableLogging, |
| 937 switches::kEnableSpeechSynthesis, | 940 switches::kEnableSpeechSynthesis, |
| 938 switches::kEnableTouchDragDrop, | 941 switches::kEnableTouchDragDrop, |
| 939 switches::kEnableTouchEditing, | 942 switches::kEnableTouchEditing, |
| 940 #if defined(ENABLE_WEBRTC) | 943 #if defined(ENABLE_WEBRTC) |
| 941 switches::kEnableWebRtcAecRecordings, | 944 switches::kEnableWebRtcAecRecordings, |
| 942 switches::kEnableWebRtcTcpServerSocket, | 945 switches::kEnableWebRtcTcpServerSocket, |
| 943 switches::kEnableWebRtcHWDecoding, | 946 switches::kEnableWebRtcHWDecoding, |
| (...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1804 // Skip widgets in other processes. | 1807 // Skip widgets in other processes. |
| 1805 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1808 if (widgets[i]->GetProcess()->GetID() != GetID()) |
| 1806 continue; | 1809 continue; |
| 1807 | 1810 |
| 1808 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1811 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
| 1809 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1812 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1810 } | 1813 } |
| 1811 } | 1814 } |
| 1812 | 1815 |
| 1813 } // namespace content | 1816 } // namespace content |
| OLD | NEW |