|
mash: Migrate //ash/system/toast to WM common types
"Toasts" are ARC++ notifications coming from the Android side. These need
to migrate to WmWindow/WmShell so we can use them in mus.
Also make sure the toast bounds are computed based on the "target" root window
where they will appear. The existing code placed the toasts on the target root
window (which could be the secondary display), but used the primary display's
bounds for positioning.
TODO - Convert the unit test, which relies on DisplayManager for unified
desktop mode.
BUG= 619636
TEST=ash_unittests, manually spawn toasts with Ctrl-Alt-Shift-O
Committed: https://crrev.com/b6870ff8aa26f9a335aa84e54141429110035230
Cr-Commit-Position: refs/heads/master@{#405181}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+50 lines, -628 lines) |
Patch |
 |
M |
ash/accelerators/debug_commands.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/ash.gyp
|
View
|
1
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
A + |
ash/common/system/toast/OWNERS
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
ash/common/system/toast/toast_data.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
ash/common/system/toast/toast_data.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
ash/common/system/toast/toast_manager.h
|
View
|
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
A + |
ash/common/system/toast/toast_manager.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
A + |
ash/common/system/toast/toast_overlay.h
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
ash/common/system/toast/toast_overlay.cc
|
View
|
|
7 chunks |
+23 lines, -21 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
ash/system/toast/OWNERS
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
D |
ash/system/toast/toast_data.h
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
D |
ash/system/toast/toast_data.cc
|
View
|
|
1 chunk |
+0 lines, -22 lines |
0 comments
|
Download
|
 |
D |
ash/system/toast/toast_manager.h
|
View
|
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
 |
D |
ash/system/toast/toast_manager.cc
|
View
|
|
1 chunk |
+0 lines, -95 lines |
0 comments
|
Download
|
 |
D |
ash/system/toast/toast_manager_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
ash/system/toast/toast_overlay.h
|
View
|
|
1 chunk |
+0 lines, -74 lines |
0 comments
|
Download
|
 |
D |
ash/system/toast/toast_overlay.cc
|
View
|
|
1 chunk |
+0 lines, -296 lines |
0 comments
|
Download
|
 |
M |
ui/arc/notification/arc_notification_manager.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 20 (12 generated)
|