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 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 switches::kDisableDatabases, | 863 switches::kDisableDatabases, |
864 switches::kDisableDelegatedRenderer, | 864 switches::kDisableDelegatedRenderer, |
865 switches::kDisableDesktopNotifications, | 865 switches::kDisableDesktopNotifications, |
866 switches::kDisableDeviceOrientation, | 866 switches::kDisableDeviceOrientation, |
867 switches::kDisableFileSystem, | 867 switches::kDisableFileSystem, |
868 switches::kDisableGeolocation, | 868 switches::kDisableGeolocation, |
869 switches::kDisableGLMultisampling, | 869 switches::kDisableGLMultisampling, |
870 switches::kDisableGpuVsync, | 870 switches::kDisableGpuVsync, |
871 switches::kDisableGpu, | 871 switches::kDisableGpu, |
872 switches::kDisableHistogramCustomizer, | 872 switches::kDisableHistogramCustomizer, |
873 switches::kDisableJavaScriptI18NAPI, | |
874 switches::kDisableLocalStorage, | 873 switches::kDisableLocalStorage, |
875 switches::kDisableLogging, | 874 switches::kDisableLogging, |
876 switches::kDisableNewDialogStyle, | 875 switches::kDisableNewDialogStyle, |
877 switches::kDisableSeccompFilterSandbox, | 876 switches::kDisableSeccompFilterSandbox, |
878 switches::kDisableSessionStorage, | 877 switches::kDisableSessionStorage, |
879 switches::kDisableSharedWorkers, | 878 switches::kDisableSharedWorkers, |
880 switches::kDisableSpeechInput, | 879 switches::kDisableSpeechInput, |
881 switches::kDisableTouchDragDrop, | 880 switches::kDisableTouchDragDrop, |
882 switches::kDisableTouchEditing, | 881 switches::kDisableTouchEditing, |
883 #if defined(OS_ANDROID) | 882 #if defined(OS_ANDROID) |
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1777 // Skip widgets in other processes. | 1776 // Skip widgets in other processes. |
1778 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1777 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1779 continue; | 1778 continue; |
1780 | 1779 |
1781 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1782 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1783 } | 1782 } |
1784 } | 1783 } |
1785 | 1784 |
1786 } // namespace content | 1785 } // namespace content |
OLD | NEW |