Chromium Code Reviews
DescriptionThis is reland of crrev.com/2884623002.
Added test uncovered a stack-use-after-scope issue in AshTouchExplorationManager. Patch #2 fixes the issue.
Refactor backdrop that is currently used in the maximized mode.
The maximized mode creates a backdrop window so that a user will not see the content of windows behind the top window,
in case it doesn't cover the entire window. (can happen if the maximize size is specified for example)
This CL generalizes the backdrop code used in maximize mode as to create the backdrop in the following scenarios:
1) Has a aura::client::kHasBackdrop property = true.
2) BackdropDelegate::HasBackdrop(aura::Window* window) returns true.
3) Active ARC window when the spoken feedback is enabled.
* Added delegate to check if the window should have a backdrop.
Maximized mode always puts a backdrop.
* Added kHasBackdrop property for a window that needs a backdrop even in clamshell.
* Move the accessibility feature implemented in exo's backbround. This
is useful and should be there even for non-arc/exo case.
TBR=jamescook@chromium.org,reveman@chromium.org,sky@chromium.org
BUG=721646
TEST=coverted by unit tests
Review-Url: https://codereview.chromium.org/2884623002
Cr-Commit-Position: refs/heads/master@{#472401}
Committed: https://chromium.googlesource.com/chromium/src/+/04936c54ed2396ae54cd824e24f11151e0e11948
patch from issue 2884623002 at patchset 220001 (http://crrev.com/2884623002#ps220001)
Review-Url: https://codereview.chromium.org/2890733005
Cr-Commit-Position: refs/heads/master@{#472479}
Committed: https://chromium.googlesource.com/chromium/src/+/512e6cd623a2039889c13d04759dd6714c08f663
Patch Set 1 #Patch Set 2 : fix memory issue in AshTouchExplorationManager #Messages
Total messages: 9 (5 generated)
|