• Xiaoqian Dai's avatar
    TabletModeController refactoring II. · 43b3f48d
    Xiaoqian Dai authored
    Refactoring of the internal input events blocker in
    TabletModeController.
    
    The input events should only be blocked if 1) we're currently in tablet
    mode or 2) we're currently in laptop mode but the lid is flipped over,
    i.e., we are in laptop mode because of an attached external mouse.
    
    Bug: 887042
    Change-Id: I8be03c684265d79ccc3499362a7154eb44c4dec0
    Reviewed-on: https://chromium-review.googlesource.com/1237407
    Commit-Queue: Xiaoqian Dai <xdai@chromium.org>
    Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#593671}
    43b3f48d
overview_button_tray_unittest.cc 14.9 KB