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 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 switches::kDisableDeviceOrientation, | 856 switches::kDisableDeviceOrientation, |
857 switches::kDisableFileSystem, | 857 switches::kDisableFileSystem, |
858 switches::kDisableGeolocation, | 858 switches::kDisableGeolocation, |
859 switches::kDisableGLMultisampling, | 859 switches::kDisableGLMultisampling, |
860 switches::kDisableGpuVsync, | 860 switches::kDisableGpuVsync, |
861 switches::kDisableGpu, | 861 switches::kDisableGpu, |
862 switches::kDisableGpuCompositing, | 862 switches::kDisableGpuCompositing, |
863 switches::kDisableHistogramCustomizer, | 863 switches::kDisableHistogramCustomizer, |
864 switches::kDisableLocalStorage, | 864 switches::kDisableLocalStorage, |
865 switches::kDisableLogging, | 865 switches::kDisableLogging, |
866 switches::kDisableNewDialogStyle, | |
867 switches::kDisableSeccompFilterSandbox, | 866 switches::kDisableSeccompFilterSandbox, |
868 switches::kDisableSessionStorage, | 867 switches::kDisableSessionStorage, |
869 switches::kDisableSharedWorkers, | 868 switches::kDisableSharedWorkers, |
870 switches::kDisableSpeechInput, | 869 switches::kDisableSpeechInput, |
871 switches::kDisableTouchDragDrop, | 870 switches::kDisableTouchDragDrop, |
872 switches::kDisableTouchEditing, | 871 switches::kDisableTouchEditing, |
873 #if defined(OS_ANDROID) | 872 #if defined(OS_ANDROID) |
874 switches::kDisableWebRTC, | 873 switches::kDisableWebRTC, |
875 switches::kEnableSpeechRecognition, | 874 switches::kEnableSpeechRecognition, |
876 #endif | 875 #endif |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
911 #if defined(ENABLE_WEBRTC) | 910 #if defined(ENABLE_WEBRTC) |
912 switches::kEnableWebRtcAecRecordings, | 911 switches::kEnableWebRtcAecRecordings, |
913 switches::kEnableWebRtcTcpServerSocket, | 912 switches::kEnableWebRtcTcpServerSocket, |
914 switches::kEnableWebRtcHWDecoding, | 913 switches::kEnableWebRtcHWDecoding, |
915 switches::kEnableWebRtcHWEncoding, | 914 switches::kEnableWebRtcHWEncoding, |
916 #endif | 915 #endif |
917 switches::kDisableWebKitMediaSource, | 916 switches::kDisableWebKitMediaSource, |
918 switches::kEnableOverscrollNotifications, | 917 switches::kEnableOverscrollNotifications, |
919 switches::kEnableStrictSiteIsolation, | 918 switches::kEnableStrictSiteIsolation, |
920 switches::kDisableFullScreen, | 919 switches::kDisableFullScreen, |
921 switches::kEnableNewDialogStyle, | |
922 #if defined(ENABLE_PLUGINS) | 920 #if defined(ENABLE_PLUGINS) |
923 switches::kEnablePepperTesting, | 921 switches::kEnablePepperTesting, |
924 switches::kDisablePepper3d, | 922 switches::kDisablePepper3d, |
925 #endif | 923 #endif |
926 switches::kEnablePreparsedJsCaching, | 924 switches::kEnablePreparsedJsCaching, |
927 switches::kEnablePruneGpuCommandBuffers, | 925 switches::kEnablePruneGpuCommandBuffers, |
928 switches::kEnablePinch, | 926 switches::kEnablePinch, |
929 switches::kDisablePinch, | 927 switches::kDisablePinch, |
930 #if defined(OS_MACOSX) | 928 #if defined(OS_MACOSX) |
931 // Allow this to be set when invoking the browser and relayed along. | 929 // Allow this to be set when invoking the browser and relayed along. |
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1773 // Skip widgets in other processes. | 1771 // Skip widgets in other processes. |
1774 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1772 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1775 continue; | 1773 continue; |
1776 | 1774 |
1777 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1775 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1778 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1776 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1779 } | 1777 } |
1780 } | 1778 } |
1781 | 1779 |
1782 } // namespace content | 1780 } // namespace content |
OLD | NEW |