• Tetsui Ohkubo's avatar
    Relayout on battery status change. · c9bd8336
    Tetsui Ohkubo authored
    A child label of BatteryView can change their visibility and size.
    Also, EnterpriseManagedView can change its visibility.
    We have to explicitly call Layout() in ChildPreferredSizeChanged() &
    ChildVisibilityChanged().
    
    TEST=manual (connect/disconnect power cable while opening the tray)
    BUG=none
    
    Change-Id: Ia1c16669bcdce0740510b7c255642d7985763225
    Reviewed-on: https://chromium-review.googlesource.com/959944Reviewed-by: default avatarYoshiki Iguchi <yoshiki@chromium.org>
    Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#543644}
    c9bd8336
unified_system_info_view.h 1.23 KB