DescriptionRemove 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.*
Committed: https://crrev.com/a46f73ff27e6d54e56c4c45ef816ec167fcb5b99
Cr-Commit-Position: refs/heads/master@{#312936}
Patch Set 1 #
Total comments: 11
Patch Set 2 : Now installing targeters on each of the windows instead of the container. #
Total comments: 14
Patch Set 3 : Took care of comments, now windows are selected in click release #
Total comments: 6
Patch Set 4 : Fixed latest nits #
Total comments: 8
Patch Set 5 : Implemented changes suggested by flackr #
Total comments: 6
Patch Set 6 : Fixed nits #Messages
Total messages: 22 (6 generated)
|