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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
901 switches::kEnableHighDpiCompositingForFixedPosition, | 901 switches::kEnableHighDpiCompositingForFixedPosition, |
902 switches::kDisableCompositingForFixedPosition, | 902 switches::kDisableCompositingForFixedPosition, |
903 switches::kEnableCompositingForTransition, | 903 switches::kEnableCompositingForTransition, |
904 switches::kDisableCompositingForTransition, | 904 switches::kDisableCompositingForTransition, |
905 switches::kDisableThreadedCompositing, | 905 switches::kDisableThreadedCompositing, |
906 switches::kDisableTouchAdjustment, | 906 switches::kDisableTouchAdjustment, |
907 switches::kDefaultTileWidth, | 907 switches::kDefaultTileWidth, |
908 switches::kDefaultTileHeight, | 908 switches::kDefaultTileHeight, |
909 switches::kMaxUntiledLayerWidth, | 909 switches::kMaxUntiledLayerWidth, |
910 switches::kMaxUntiledLayerHeight, | 910 switches::kMaxUntiledLayerHeight, |
911 #if defined(OS_CHROMEOS) | |
912 switches::kEnableEncodedScreenCapture, | |
piman
2013/06/19 18:23:58
Also needs to go in kForwardSwitches in chrome/bro
hshi1
2013/06/19 21:16:25
Done.
| |
913 #endif | |
911 switches::kEnableViewport, | 914 switches::kEnableViewport, |
912 switches::kEnableOpusPlayback, | 915 switches::kEnableOpusPlayback, |
913 switches::kEnableVp8AlphaPlayback, | 916 switches::kEnableVp8AlphaPlayback, |
914 switches::kEnableEac3Playback, | 917 switches::kEnableEac3Playback, |
915 switches::kForceDeviceScaleFactor, | 918 switches::kForceDeviceScaleFactor, |
916 switches::kFullMemoryCrashReport, | 919 switches::kFullMemoryCrashReport, |
917 #if !defined (GOOGLE_CHROME_BUILD) | 920 #if !defined (GOOGLE_CHROME_BUILD) |
918 // These are unsupported and not fully tested modes, so don't enable them | 921 // These are unsupported and not fully tested modes, so don't enable them |
919 // for official Google Chrome builds. | 922 // for official Google Chrome builds. |
920 switches::kInProcessPlugins, | 923 switches::kInProcessPlugins, |
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1777 continue; | 1780 continue; |
1778 | 1781 |
1779 RenderViewHost* rvh = | 1782 RenderViewHost* rvh = |
1780 RenderViewHost::From(const_cast<RenderWidgetHost*>(widget)); | 1783 RenderViewHost::From(const_cast<RenderWidgetHost*>(widget)); |
1781 | 1784 |
1782 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1785 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1783 } | 1786 } |
1784 } | 1787 } |
1785 | 1788 |
1786 } // namespace content | 1789 } // namespace content |
OLD | NEW |