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