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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 switches::kDisableCompositingForFixedPosition, | 947 switches::kDisableCompositingForFixedPosition, |
948 switches::kEnableAcceleratedOverflowScroll, | 948 switches::kEnableAcceleratedOverflowScroll, |
949 switches::kEnableCompositingForTransition, | 949 switches::kEnableCompositingForTransition, |
950 switches::kDisableCompositingForTransition, | 950 switches::kDisableCompositingForTransition, |
951 switches::kDisableThreadedCompositing, | 951 switches::kDisableThreadedCompositing, |
952 switches::kDisableTouchAdjustment, | 952 switches::kDisableTouchAdjustment, |
953 switches::kDefaultTileWidth, | 953 switches::kDefaultTileWidth, |
954 switches::kDefaultTileHeight, | 954 switches::kDefaultTileHeight, |
955 switches::kMaxUntiledLayerWidth, | 955 switches::kMaxUntiledLayerWidth, |
956 switches::kMaxUntiledLayerHeight, | 956 switches::kMaxUntiledLayerHeight, |
| 957 #if defined(OS_CHROMEOS) |
| 958 switches::kEnableEncodedScreenCapture, |
| 959 #endif |
957 switches::kEnableViewport, | 960 switches::kEnableViewport, |
958 switches::kEnableInbandTextTracks, | 961 switches::kEnableInbandTextTracks, |
959 switches::kEnableOpusPlayback, | 962 switches::kEnableOpusPlayback, |
960 switches::kEnableVp8AlphaPlayback, | 963 switches::kEnableVp8AlphaPlayback, |
961 switches::kEnableEac3Playback, | 964 switches::kEnableEac3Playback, |
962 switches::kForceDeviceScaleFactor, | 965 switches::kForceDeviceScaleFactor, |
963 switches::kFullMemoryCrashReport, | 966 switches::kFullMemoryCrashReport, |
964 #if !defined (GOOGLE_CHROME_BUILD) | 967 #if !defined (GOOGLE_CHROME_BUILD) |
965 // These are unsupported and not fully tested modes, so don't enable them | 968 // These are unsupported and not fully tested modes, so don't enable them |
966 // for official Google Chrome builds. | 969 // for official Google Chrome builds. |
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1782 // Skip widgets in other processes. | 1785 // Skip widgets in other processes. |
1783 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1786 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1784 continue; | 1787 continue; |
1785 | 1788 |
1786 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1789 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1787 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1790 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1788 } | 1791 } |
1789 } | 1792 } |
1790 | 1793 |
1791 } // namespace content | 1794 } // namespace content |
OLD | NEW |