| 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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 975 #endif | 975 #endif |
| 976 switches::kEnableViewport, | 976 switches::kEnableViewport, |
| 977 switches::kEnableInbandTextTracks, | 977 switches::kEnableInbandTextTracks, |
| 978 switches::kEnableOpusPlayback, | 978 switches::kEnableOpusPlayback, |
| 979 switches::kEnableVp8AlphaPlayback, | 979 switches::kEnableVp8AlphaPlayback, |
| 980 switches::kEnableEac3Playback, | 980 switches::kEnableEac3Playback, |
| 981 switches::kForceDeviceScaleFactor, | 981 switches::kForceDeviceScaleFactor, |
| 982 switches::kFullMemoryCrashReport, | 982 switches::kFullMemoryCrashReport, |
| 983 #if defined(OS_ANDROID) | 983 #if defined(OS_ANDROID) |
| 984 switches::kHideScrollbars, | 984 switches::kHideScrollbars, |
| 985 switches::kIgnoreRootLayerFlings, |
| 985 #endif | 986 #endif |
| 986 #if !defined (GOOGLE_CHROME_BUILD) | 987 #if !defined (GOOGLE_CHROME_BUILD) |
| 987 // These are unsupported and not fully tested modes, so don't enable them | 988 // These are unsupported and not fully tested modes, so don't enable them |
| 988 // for official Google Chrome builds. | 989 // for official Google Chrome builds. |
| 989 switches::kInProcessPlugins, | 990 switches::kInProcessPlugins, |
| 990 #endif // GOOGLE_CHROME_BUILD | 991 #endif // GOOGLE_CHROME_BUILD |
| 991 switches::kJavaScriptFlags, | 992 switches::kJavaScriptFlags, |
| 992 switches::kLoggingLevel, | 993 switches::kLoggingLevel, |
| 993 switches::kMemoryMetrics, | 994 switches::kMemoryMetrics, |
| 994 #if defined(OS_ANDROID) | 995 #if defined(OS_ANDROID) |
| (...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1797 // Skip widgets in other processes. | 1798 // Skip widgets in other processes. |
| 1798 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1799 if (widgets[i]->GetProcess()->GetID() != GetID()) |
| 1799 continue; | 1800 continue; |
| 1800 | 1801 |
| 1801 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1802 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
| 1802 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1803 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1803 } | 1804 } |
| 1804 } | 1805 } |
| 1805 | 1806 |
| 1806 } // namespace content | 1807 } // namespace content |
| OLD | NEW |