• Wei Li's avatar
    UIDevTools: Make exiting inspector mode work · 94735ad6
    Wei Li authored
    Clicking ElementInspect button would toggle entering/exiting
    inspector mode. However, previously clicking that button in
    inspector mode would be handled by pinned element logic. In this
    CL, we capture returned window element's active state. If the
    window is not active, pinned element logic should not mark the
    event as handled to give frontend a chance to handle the event.
    
    BUG=899000
    
    Change-Id: I4356f85f0ec6d90298473bb894f197aa4ab733e3
    Reviewed-on: https://chromium-review.googlesource.com/c/1306403Reviewed-by: default avatarLeonard Grey <lgrey@chromium.org>
    Commit-Queue: Wei Li <weili@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#604317}
    94735ad6
overlay_agent_aura.cc 28.4 KB