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 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 switches::kEnableExperimentalWebSocket, | 884 switches::kEnableExperimentalWebSocket, |
885 switches::kDomAutomationController, | 885 switches::kDomAutomationController, |
886 switches::kEnableAccessibilityLogging, | 886 switches::kEnableAccessibilityLogging, |
887 switches::kEnableBeginFrameScheduling, | 887 switches::kEnableBeginFrameScheduling, |
888 switches::kEnableBrowserInputController, | 888 switches::kEnableBrowserInputController, |
889 switches::kEnableBrowserPluginForAllViewTypes, | 889 switches::kEnableBrowserPluginForAllViewTypes, |
890 switches::kEnableDCHECK, | 890 switches::kEnableDCHECK, |
891 switches::kEnableDelegatedRenderer, | 891 switches::kEnableDelegatedRenderer, |
892 switches::kEnableEncryptedMedia, | 892 switches::kEnableEncryptedMedia, |
893 switches::kDisableLegacyEncryptedMedia, | 893 switches::kDisableLegacyEncryptedMedia, |
| 894 switches::kOverrideEncryptedMediaCanPlayType, |
894 switches::kEnableExperimentalWebKitFeatures, | 895 switches::kEnableExperimentalWebKitFeatures, |
895 switches::kEnableFixedLayout, | 896 switches::kEnableFixedLayout, |
896 switches::kEnableDeferredImageDecoding, | 897 switches::kEnableDeferredImageDecoding, |
897 switches::kEnableGPUServiceLogging, | 898 switches::kEnableGPUServiceLogging, |
898 switches::kEnableGPUClientLogging, | 899 switches::kEnableGPUClientLogging, |
899 switches::kEnableGpuClientTracing, | 900 switches::kEnableGpuClientTracing, |
900 switches::kEnableGpuBenchmarking, | 901 switches::kEnableGpuBenchmarking, |
901 switches::kEnableMemoryBenchmarking, | 902 switches::kEnableMemoryBenchmarking, |
902 switches::kEnableSkiaBenchmarking, | 903 switches::kEnableSkiaBenchmarking, |
903 switches::kEnableLogging, | 904 switches::kEnableLogging, |
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1772 // Skip widgets in other processes. | 1773 // Skip widgets in other processes. |
1773 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1774 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1774 continue; | 1775 continue; |
1775 | 1776 |
1776 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1777 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1777 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1778 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1778 } | 1779 } |
1779 } | 1780 } |
1780 | 1781 |
1781 } // namespace content | 1782 } // namespace content |
OLD | NEW |