Use "if immersive" condition to compute top border height in CustomFrameViewAsh
*) remove zero_top_border_height_ hack. a) Always use fullscreen_visible_fraction_ in HeaderView::GetPreferredOnScreenHeight Cleanup the debug code that I accidentally included in other CLs. NonClientFrameController doesn't have use immersive in tablet behavior, os I left it as is. Browser frame already uses immersive condition to compute the height, so no changes in browser frame code. BUG=b/33693796 TEST=no functional change except for a) above. a) is covered by unittests. Change-Id: Iae7c236426216a3c251de8e40a5ecd69831c0635 Reviewed-on: https://chromium-review.googlesource.com/999967Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#550035}
Showing
Please register or sign in to comment