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 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 switches::kUseGL, | 1021 switches::kUseGL, |
1022 switches::kUseMobileUserAgent, | 1022 switches::kUseMobileUserAgent, |
1023 switches::kUserAgent, | 1023 switches::kUserAgent, |
1024 switches::kV, | 1024 switches::kV, |
1025 switches::kVideoThreads, | 1025 switches::kVideoThreads, |
1026 switches::kVModule, | 1026 switches::kVModule, |
1027 switches::kWebCoreLogChannels, | 1027 switches::kWebCoreLogChannels, |
1028 switches::kEnableWebGLDraftExtensions, | 1028 switches::kEnableWebGLDraftExtensions, |
1029 switches::kTraceToConsole, | 1029 switches::kTraceToConsole, |
1030 switches::kEnableDeviceMotion, | 1030 switches::kEnableDeviceMotion, |
| 1031 #if defined(OS_ANDROID) |
| 1032 switches::kDisableDeviceMotion, |
| 1033 #endif |
1031 // Please keep these in alphabetical order. Compositor switches here should | 1034 // Please keep these in alphabetical order. Compositor switches here should |
1032 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1035 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1033 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1036 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
1034 cc::switches::kCompositeToMailbox, | 1037 cc::switches::kCompositeToMailbox, |
1035 cc::switches::kDisableCompositedAntialiasing, | 1038 cc::switches::kDisableCompositedAntialiasing, |
1036 cc::switches::kDisableImplSidePainting, | 1039 cc::switches::kDisableImplSidePainting, |
1037 cc::switches::kDisableThreadedAnimation, | 1040 cc::switches::kDisableThreadedAnimation, |
1038 cc::switches::kEnableImplSidePainting, | 1041 cc::switches::kEnableImplSidePainting, |
1039 cc::switches::kEnablePartialSwap, | 1042 cc::switches::kEnablePartialSwap, |
1040 cc::switches::kEnablePerTilePainting, | 1043 cc::switches::kEnablePerTilePainting, |
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1799 // Skip widgets in other processes. | 1802 // Skip widgets in other processes. |
1800 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1803 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1801 continue; | 1804 continue; |
1802 | 1805 |
1803 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1806 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1804 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1807 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1805 } | 1808 } |
1806 } | 1809 } |
1807 | 1810 |
1808 } // namespace content | 1811 } // namespace content |
OLD | NEW |