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 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
918 switches::kEnableHighDpiCompositingForFixedPosition, | 918 switches::kEnableHighDpiCompositingForFixedPosition, |
919 switches::kDisableCompositingForFixedPosition, | 919 switches::kDisableCompositingForFixedPosition, |
920 switches::kEnableCompositingForTransition, | 920 switches::kEnableCompositingForTransition, |
921 switches::kDisableCompositingForTransition, | 921 switches::kDisableCompositingForTransition, |
922 switches::kDisableThreadedCompositing, | 922 switches::kDisableThreadedCompositing, |
923 switches::kDisableTouchAdjustment, | 923 switches::kDisableTouchAdjustment, |
924 switches::kDefaultTileWidth, | 924 switches::kDefaultTileWidth, |
925 switches::kDefaultTileHeight, | 925 switches::kDefaultTileHeight, |
926 switches::kMaxUntiledLayerWidth, | 926 switches::kMaxUntiledLayerWidth, |
927 switches::kMaxUntiledLayerHeight, | 927 switches::kMaxUntiledLayerHeight, |
| 928 #if defined(OS_CHROMEOS) |
| 929 switches::kEnableEncodedScreenCapture, |
| 930 #endif |
928 switches::kEnableViewport, | 931 switches::kEnableViewport, |
929 switches::kEnableOpusPlayback, | 932 switches::kEnableOpusPlayback, |
930 switches::kEnableVp8AlphaPlayback, | 933 switches::kEnableVp8AlphaPlayback, |
931 switches::kEnableEac3Playback, | 934 switches::kEnableEac3Playback, |
932 switches::kForceDeviceScaleFactor, | 935 switches::kForceDeviceScaleFactor, |
933 switches::kFullMemoryCrashReport, | 936 switches::kFullMemoryCrashReport, |
934 #if !defined (GOOGLE_CHROME_BUILD) | 937 #if !defined (GOOGLE_CHROME_BUILD) |
935 // These are unsupported and not fully tested modes, so don't enable them | 938 // These are unsupported and not fully tested modes, so don't enable them |
936 // for official Google Chrome builds. | 939 // for official Google Chrome builds. |
937 switches::kInProcessPlugins, | 940 switches::kInProcessPlugins, |
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1794 continue; | 1797 continue; |
1795 | 1798 |
1796 RenderViewHost* rvh = | 1799 RenderViewHost* rvh = |
1797 RenderViewHost::From(const_cast<RenderWidgetHost*>(widget)); | 1800 RenderViewHost::From(const_cast<RenderWidgetHost*>(widget)); |
1798 | 1801 |
1799 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1802 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1800 } | 1803 } |
1801 } | 1804 } |
1802 | 1805 |
1803 } // namespace content | 1806 } // namespace content |
OLD | NEW |