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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 switches::kDisableSpeechInput, | 867 switches::kDisableSpeechInput, |
868 switches::kDisableTouchDragDrop, | 868 switches::kDisableTouchDragDrop, |
869 switches::kDisableTouchEditing, | 869 switches::kDisableTouchEditing, |
870 #if defined(OS_ANDROID) | 870 #if defined(OS_ANDROID) |
871 switches::kDisableWebRTC, | 871 switches::kDisableWebRTC, |
872 switches::kEnableSpeechRecognition, | 872 switches::kEnableSpeechRecognition, |
873 #endif | 873 #endif |
874 switches::kDisableWebAudio, | 874 switches::kDisableWebAudio, |
875 #if defined(ENABLE_WEBRTC) | 875 #if defined(ENABLE_WEBRTC) |
876 switches::kDisableDeviceEnumeration, | 876 switches::kDisableDeviceEnumeration, |
877 switches::kEnableSCTPDataChannels, | 877 switches::kDisableSCTPDataChannels, |
878 #endif | 878 #endif |
879 switches::kEnableWebAnimationsCSS, | 879 switches::kEnableWebAnimationsCSS, |
880 switches::kEnableWebAnimationsSVG, | 880 switches::kEnableWebAnimationsSVG, |
881 switches::kEnableWebMIDI, | 881 switches::kEnableWebMIDI, |
882 switches::kEnableExperimentalCanvasFeatures, | 882 switches::kEnableExperimentalCanvasFeatures, |
883 switches::kEnableExperimentalWebSocket, | 883 switches::kEnableExperimentalWebSocket, |
884 switches::kDomAutomationController, | 884 switches::kDomAutomationController, |
885 switches::kEnableAccessibilityLogging, | 885 switches::kEnableAccessibilityLogging, |
886 switches::kEnableBeginFrameScheduling, | 886 switches::kEnableBeginFrameScheduling, |
887 switches::kEnableBrowserInputController, | 887 switches::kEnableBrowserInputController, |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1769 // Skip widgets in other processes. | 1769 // Skip widgets in other processes. |
1770 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1770 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1771 continue; | 1771 continue; |
1772 | 1772 |
1773 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1773 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1774 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1774 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1775 } | 1775 } |
1776 } | 1776 } |
1777 | 1777 |
1778 } // namespace content | 1778 } // namespace content |
OLD | NEW |