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::kDomAutomationController, | 891 switches::kDomAutomationController, |
892 switches::kEnableAccessibilityLogging, | 892 switches::kEnableAccessibilityLogging, |
893 switches::kEnableBeginFrameScheduling, | 893 switches::kEnableBeginFrameScheduling, |
894 switches::kEnableBrowserInputController, | 894 switches::kEnableBrowserInputController, |
895 switches::kEnableBrowserPluginForAllViewTypes, | 895 switches::kEnableBrowserPluginForAllViewTypes, |
896 switches::kEnableDCHECK, | 896 switches::kEnableDCHECK, |
897 switches::kEnableDelegatedRenderer, | 897 switches::kEnableDelegatedRenderer, |
898 switches::kEnableEncryptedMedia, | 898 switches::kEnableEncryptedMedia, |
899 switches::kDisableLegacyEncryptedMedia, | 899 switches::kDisableLegacyEncryptedMedia, |
900 switches::kOverrideEncryptedMediaCanPlayType, | 900 switches::kOverrideEncryptedMediaCanPlayType, |
| 901 #if defined(OS_ANDROID) |
| 902 switches::kMediaDrmEnableNonCompositing, |
| 903 #endif |
901 switches::kEnableExperimentalWebPlatformFeatures, | 904 switches::kEnableExperimentalWebPlatformFeatures, |
902 switches::kEnableFixedLayout, | 905 switches::kEnableFixedLayout, |
903 switches::kEnableDeferredImageDecoding, | 906 switches::kEnableDeferredImageDecoding, |
904 switches::kEnableGPUServiceLogging, | 907 switches::kEnableGPUServiceLogging, |
905 switches::kEnableGPUClientLogging, | 908 switches::kEnableGPUClientLogging, |
906 switches::kEnableGpuClientTracing, | 909 switches::kEnableGpuClientTracing, |
907 switches::kEnableGpuBenchmarking, | 910 switches::kEnableGpuBenchmarking, |
908 switches::kEnableMP3StreamParser, | 911 switches::kEnableMP3StreamParser, |
909 switches::kEnableMemoryBenchmarking, | 912 switches::kEnableMemoryBenchmarking, |
910 switches::kEnableOverlayScrollbars, | 913 switches::kEnableOverlayScrollbars, |
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1776 // Skip widgets in other processes. | 1779 // Skip widgets in other processes. |
1777 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1780 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1778 continue; | 1781 continue; |
1779 | 1782 |
1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1783 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1784 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1782 } | 1785 } |
1783 } | 1786 } |
1784 | 1787 |
1785 } // namespace content | 1788 } // namespace content |
OLD | NEW |