| 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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 #if defined(OS_MACOSX) | 932 #if defined(OS_MACOSX) |
| 933 // Allow this to be set when invoking the browser and relayed along. | 933 // Allow this to be set when invoking the browser and relayed along. |
| 934 switches::kEnableSandboxLogging, | 934 switches::kEnableSandboxLogging, |
| 935 #endif | 935 #endif |
| 936 switches::kEnableSoftwareCompositingGLAdapter, | 936 switches::kEnableSoftwareCompositingGLAdapter, |
| 937 switches::kEnableStatsTable, | 937 switches::kEnableStatsTable, |
| 938 switches::kEnableThreadedCompositing, | 938 switches::kEnableThreadedCompositing, |
| 939 switches::kEnableCompositingForFixedPosition, | 939 switches::kEnableCompositingForFixedPosition, |
| 940 switches::kEnableHighDpiCompositingForFixedPosition, | 940 switches::kEnableHighDpiCompositingForFixedPosition, |
| 941 switches::kDisableCompositingForFixedPosition, | 941 switches::kDisableCompositingForFixedPosition, |
| 942 switches::kEnableAcceleratedOverflowScroll, |
| 942 switches::kEnableCompositingForTransition, | 943 switches::kEnableCompositingForTransition, |
| 943 switches::kDisableCompositingForTransition, | 944 switches::kDisableCompositingForTransition, |
| 944 switches::kDisableThreadedCompositing, | 945 switches::kDisableThreadedCompositing, |
| 945 switches::kDisableTouchAdjustment, | 946 switches::kDisableTouchAdjustment, |
| 946 switches::kDefaultTileWidth, | 947 switches::kDefaultTileWidth, |
| 947 switches::kDefaultTileHeight, | 948 switches::kDefaultTileHeight, |
| 948 switches::kMaxUntiledLayerWidth, | 949 switches::kMaxUntiledLayerWidth, |
| 949 switches::kMaxUntiledLayerHeight, | 950 switches::kMaxUntiledLayerHeight, |
| 950 switches::kEnableViewport, | 951 switches::kEnableViewport, |
| 951 switches::kEnableOpusPlayback, | 952 switches::kEnableOpusPlayback, |
| (...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1776 // Skip widgets in other processes. | 1777 // Skip widgets in other processes. |
| 1777 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1778 if (widgets[i]->GetProcess()->GetID() != GetID()) |
| 1778 continue; | 1779 continue; |
| 1779 | 1780 |
| 1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1781 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
| 1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1782 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1782 } | 1783 } |
| 1783 } | 1784 } |
| 1784 | 1785 |
| 1785 } // namespace content | 1786 } // namespace content |
| OLD | NEW |