Remove TransparentActivateWindowButton from Overview Mode
This change eliminates the need to have a transparent button on top of overview mode windows by installing a static event targeter on each of the item windows. The targeter checks for events on the item bounds and redirects events to a label button located under each item. This way, we greatly simplify event handling while preventing events to reach the actual windows. The reason why we use a label button now is that it already handles clicks and taps, as well as accessibility stuff (touch exploration, chromevox feedback) that were being handled in the transparent window before. The CL only involves refactoring - no features have been added or removed. BUG=446548 TEST=WindowSelectorTest.* Review URL: https://codereview.chromium.org/810033010 Cr-Commit-Position: refs/heads/master@{#312936}
Showing
Please register or sign in to comment