|
|
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.
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
Total comments: 65
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+759 lines, -591 lines) |
Patch |
 |
M |
ash/BUILD.gn
|
View
|
1
2
3
4
5
|
4 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/test/workspace_controller_test_api.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/workspace_controller_test_api.cc
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.cc
|
View
|
1
2
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/maximize_mode/maximize_mode_window_manager.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/wm/maximize_mode/maximize_mode_window_manager.cc
|
View
|
|
4 chunks |
+4 lines, -20 lines |
0 comments
|
Download
|
 |
D |
ash/wm/maximize_mode/workspace_backdrop_delegate.h
|
View
|
|
1 chunk |
+0 lines, -65 lines |
0 comments
|
Download
|
 |
D |
ash/wm/maximize_mode/workspace_backdrop_delegate.cc
|
View
|
|
1 chunk |
+0 lines, -133 lines |
0 comments
|
Download
|
 |
A |
ash/wm/workspace/backdrop_controller.h
|
View
|
1
2
3
4
5
|
1 chunk |
+116 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/wm/workspace/backdrop_controller.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+244 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ash/wm/workspace/backdrop_delegate.h
|
View
|
1
2
|
1 chunk |
+7 lines, -24 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_layout_manager.h
|
View
|
1
2
3
|
4 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_layout_manager.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+23 lines, -24 lines |
0 comments
|
Download
|
 |
D |
ash/wm/workspace/workspace_layout_manager_backdrop_delegate.h
|
View
|
|
1 chunk |
+0 lines, -45 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_layout_manager_unittest.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+258 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace_controller.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace_controller.cc
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/exo/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/exo/shell_surface.h
|
View
|
|
3 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/exo/shell_surface.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+11 lines, -81 lines |
0 comments
|
Download
|
 |
M |
components/exo/shell_surface_unittest.cc
|
View
|
1
2
3
|
6 chunks |
+18 lines, -103 lines |
0 comments
|
Download
|
 |
M |
components/exo/wm_helper.h
|
View
|
|
5 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
components/exo/wm_helper.cc
|
View
|
|
2 chunks |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
components/exo/wm_helper_ash.h
|
View
|
|
4 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/exo/wm_helper_ash.cc
|
View
|
|
5 chunks |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
M |
components/exo/wm_helper_mus.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/exo/wm_helper_mus.cc
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/aura/client/aura_constants.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/client/aura_constants.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 49 (38 generated)
|