| 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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 901 switches::kEnableWebRtcHWVp8Encoding, | 901 switches::kEnableWebRtcHWVp8Encoding, |
| 902 #endif | 902 #endif |
| 903 switches::kEnableWebAnimationsCSS, | 903 switches::kEnableWebAnimationsCSS, |
| 904 switches::kEnableWebAnimationsSVG, | 904 switches::kEnableWebAnimationsSVG, |
| 905 switches::kEnableWebMIDI, | 905 switches::kEnableWebMIDI, |
| 906 switches::kEnableExperimentalCanvasFeatures, | 906 switches::kEnableExperimentalCanvasFeatures, |
| 907 switches::kEnableExperimentalWebSocket, | 907 switches::kEnableExperimentalWebSocket, |
| 908 switches::kDomAutomationController, | 908 switches::kDomAutomationController, |
| 909 switches::kEnableAccessibilityLogging, | 909 switches::kEnableAccessibilityLogging, |
| 910 switches::kEnableBeginFrameScheduling, | 910 switches::kEnableBeginFrameScheduling, |
| 911 switches::kEnableBrowserInputController, | |
| 912 switches::kEnableBrowserPluginForAllViewTypes, | 911 switches::kEnableBrowserPluginForAllViewTypes, |
| 912 switches::kEnableBufferedInputRouter, |
| 913 switches::kEnableDCHECK, | 913 switches::kEnableDCHECK, |
| 914 switches::kEnableDeadlineScheduling, | 914 switches::kEnableDeadlineScheduling, |
| 915 switches::kEnableDelegatedRenderer, | 915 switches::kEnableDelegatedRenderer, |
| 916 switches::kEnableEncryptedMedia, | 916 switches::kEnableEncryptedMedia, |
| 917 switches::kDisableLegacyEncryptedMedia, | 917 switches::kDisableLegacyEncryptedMedia, |
| 918 switches::kOverrideEncryptedMediaCanPlayType, | 918 switches::kOverrideEncryptedMediaCanPlayType, |
| 919 #if defined(OS_ANDROID) | 919 #if defined(OS_ANDROID) |
| 920 switches::kMediaDrmEnableNonCompositing, | 920 switches::kMediaDrmEnableNonCompositing, |
| 921 #endif | 921 #endif |
| 922 switches::kEnableExperimentalWebPlatformFeatures, | 922 switches::kEnableExperimentalWebPlatformFeatures, |
| (...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1798 // Skip widgets in other processes. | 1798 // Skip widgets in other processes. |
| 1799 if (widget->GetProcess()->GetID() != GetID()) | 1799 if (widget->GetProcess()->GetID() != GetID()) |
| 1800 continue; | 1800 continue; |
| 1801 | 1801 |
| 1802 RenderViewHost* rvh = RenderViewHost::From(widget); | 1802 RenderViewHost* rvh = RenderViewHost::From(widget); |
| 1803 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1803 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1804 } | 1804 } |
| 1805 } | 1805 } |
| 1806 | 1806 |
| 1807 } // namespace content | 1807 } // namespace content |
| OLD | NEW |