• Mitsuru Oshima's avatar
    Use "if immersive" condition to compute top border height in CustomFrameViewAsh · eee84c3b
    Mitsuru Oshima authored
    *) 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: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: Mitsuru Oshima <oshima@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#550035}
    eee84c3b
custom_frame_view_ash_unittest.cc 27.4 KB