Chromium Code Reviews| Index: content/browser/renderer_host/render_process_host_impl.cc |
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
| index fe8c24a415e248ea4b2dda477b2f06e9e8ab2553..9bf1697884942b11835fa6a205207b3bc0147a25 100644 |
| --- a/content/browser/renderer_host/render_process_host_impl.cc |
| +++ b/content/browser/renderer_host/render_process_host_impl.cc |
| @@ -846,6 +846,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
| cc::switches::kShowNonOccludingRects, |
| cc::switches::kShowOccludingRects, |
| cc::switches::kTraceOverdraw, |
| + cc::switches::kTopControlsHeight, |
| }; |
| renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
| arraysize(kSwitchNames)); |
| @@ -858,6 +859,13 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
| renderer_cmd->AppendSwitch(switches::kDisableMediaHistoryLogging); |
| #endif |
| } |
| + |
| +#if defined(OS_ANDROID) |
|
aelias_OOO_until_Jul13
2012/12/19 08:31:18
I don't think we should have this block here. Ple
Ted C
2012/12/19 21:34:17
I only want to enable this in the renderer. conte
aelias_OOO_until_Jul13
2012/12/19 23:08:36
You can set it explicitly to false in the browser
Ted C
2012/12/20 00:42:38
Done
|
| + if (!browser_cmd.HasSwitch(switches::kDisableFullScreen)) { |
| + renderer_cmd->AppendSwitch( |
| + cc::switches::kEnableTopControlsPositionCalculation); |
| + } |
| +#endif |
| } |
| base::ProcessHandle RenderProcessHostImpl::GetHandle() { |