• Tetsui Ohkubo's avatar
    Fix shelf view unit test with UnifiedSystemTray. · 437a45bd
    Tetsui Ohkubo authored
    ShelfViewTest's way of triggering overflow button in Shelf sometimes
    didn't work depending on the width of the StatusArea. It led to test
    failures with a launching flag which changes Shelf width.
    
    Failing tests (with --enable-features=SystemTrayUnified):
    OverflowButtonActiveInkDropTest.TouchDragOut
    OverflowButtonActiveInkDropTest.TouchDragOutAndBack
    OverflowButtonInkDropTest.TouchDragOut
    OverflowButtonInkDropTest.TouchDragOutAndBack
    
    TEST=ash_unittests --enable-features=SystemTrayUnified
    BUG=847104
    
    Change-Id: I00f64255936ca32daba375832c0b39ccc3e27014
    Reviewed-on: https://chromium-review.googlesource.com/1088532
    Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
    Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#564938}
    437a45bd
shelf_view_unittest.cc 133 KB