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 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
970 switches::kEnableCompositingForTransition, | 970 switches::kEnableCompositingForTransition, |
971 switches::kDisableCompositingForTransition, | 971 switches::kDisableCompositingForTransition, |
972 switches::kEnableAcceleratedFixedRootBackground, | 972 switches::kEnableAcceleratedFixedRootBackground, |
973 switches::kDisableAcceleratedFixedRootBackground, | 973 switches::kDisableAcceleratedFixedRootBackground, |
974 switches::kDisableThreadedCompositing, | 974 switches::kDisableThreadedCompositing, |
975 switches::kDisableTouchAdjustment, | 975 switches::kDisableTouchAdjustment, |
976 switches::kDefaultTileWidth, | 976 switches::kDefaultTileWidth, |
977 switches::kDefaultTileHeight, | 977 switches::kDefaultTileHeight, |
978 switches::kMaxUntiledLayerWidth, | 978 switches::kMaxUntiledLayerWidth, |
979 switches::kMaxUntiledLayerHeight, | 979 switches::kMaxUntiledLayerHeight, |
980 #if defined(OS_CHROMEOS) | |
981 switches::kEnableEncodedScreenCapture, | |
982 #endif | |
983 switches::kEnableViewport, | 980 switches::kEnableViewport, |
984 switches::kEnableInbandTextTracks, | 981 switches::kEnableInbandTextTracks, |
985 switches::kEnableOpusPlayback, | 982 switches::kEnableOpusPlayback, |
986 switches::kEnableVp8AlphaPlayback, | 983 switches::kEnableVp8AlphaPlayback, |
987 switches::kEnableEac3Playback, | 984 switches::kEnableEac3Playback, |
988 switches::kForceDeviceScaleFactor, | 985 switches::kForceDeviceScaleFactor, |
989 switches::kFullMemoryCrashReport, | 986 switches::kFullMemoryCrashReport, |
990 #if defined(OS_ANDROID) | 987 #if defined(OS_ANDROID) |
991 switches::kHideScrollbars, | 988 switches::kHideScrollbars, |
992 #endif | 989 #endif |
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1807 // Skip widgets in other processes. | 1804 // Skip widgets in other processes. |
1808 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1805 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1809 continue; | 1806 continue; |
1810 | 1807 |
1811 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1808 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1812 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1809 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1813 } | 1810 } |
1814 } | 1811 } |
1815 | 1812 |
1816 } // namespace content | 1813 } // namespace content |
OLD | NEW |