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 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 switches::kEnableEncryptedMedia, | 891 switches::kEnableEncryptedMedia, |
892 switches::kDisableLegacyEncryptedMedia, | 892 switches::kDisableLegacyEncryptedMedia, |
893 switches::kOverrideEncryptedMediaCanPlayType, | 893 switches::kOverrideEncryptedMediaCanPlayType, |
894 switches::kEnableExperimentalWebPlatformFeatures, | 894 switches::kEnableExperimentalWebPlatformFeatures, |
895 switches::kEnableFixedLayout, | 895 switches::kEnableFixedLayout, |
896 switches::kEnableDeferredImageDecoding, | 896 switches::kEnableDeferredImageDecoding, |
897 switches::kEnableGPUServiceLogging, | 897 switches::kEnableGPUServiceLogging, |
898 switches::kEnableGPUClientLogging, | 898 switches::kEnableGPUClientLogging, |
899 switches::kEnableGpuClientTracing, | 899 switches::kEnableGpuClientTracing, |
900 switches::kEnableGpuBenchmarking, | 900 switches::kEnableGpuBenchmarking, |
| 901 switches::kEnableMP3StreamParser, |
901 switches::kEnableMemoryBenchmarking, | 902 switches::kEnableMemoryBenchmarking, |
902 switches::kEnableOverlayScrollbars, | 903 switches::kEnableOverlayScrollbars, |
903 switches::kEnableSkiaBenchmarking, | 904 switches::kEnableSkiaBenchmarking, |
904 switches::kEnableLogging, | 905 switches::kEnableLogging, |
905 switches::kEnableSpeechSynthesis, | 906 switches::kEnableSpeechSynthesis, |
906 switches::kEnableTouchDragDrop, | 907 switches::kEnableTouchDragDrop, |
907 switches::kEnableTouchEditing, | 908 switches::kEnableTouchEditing, |
908 #if defined(ENABLE_WEBRTC) | 909 #if defined(ENABLE_WEBRTC) |
909 switches::kEnableWebRtcAecRecordings, | 910 switches::kEnableWebRtcAecRecordings, |
910 switches::kEnableWebRtcTcpServerSocket, | 911 switches::kEnableWebRtcTcpServerSocket, |
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1770 // Skip widgets in other processes. | 1771 // Skip widgets in other processes. |
1771 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1772 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1772 continue; | 1773 continue; |
1773 | 1774 |
1774 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1775 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1775 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1776 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1776 } | 1777 } |
1777 } | 1778 } |
1778 | 1779 |
1779 } // namespace content | 1780 } // namespace content |
OLD | NEW |