|
|
mash: Migrate ScopedTargetRootWindow to //ash/common
It's a dependency of ShelfView, which we're trying to move.
* Rename to ScopedRootWindowForNewWindows, the more-descriptive name we're
using in mus code.
* Move ownership of root_window_for_new_windows_ to WmShell.
* ash::Shell no longer needs to be an activation observer, since it was only
using that to set the target root window, and we can do that in WmShellAura
now.
* Fix some tests that were unnecessarily setting the target root window to
the primary display, which is the default.
BUG= 633323
TEST=ash_unittests, unit_tests, create new browser windows by clicking on the
browser shortcut shelf item on different displays
Committed: https://crrev.com/4545062c75118e1a633987878b524277f33c9bbc
Cr-Commit-Position: refs/heads/master@{#409256}
Total comments: 4
Total comments: 15
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+146 lines, -188 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/aura/wm_shell_aura.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/aura/wm_shell_aura.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
A + |
ash/common/scoped_root_window_for_new_windows.h
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -12 lines |
0 comments
|
Download
|
 |
A |
ash/common/scoped_root_window_for_new_windows.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/wm_shell.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/wm_shell.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/display/screen_position_controller.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/drag_drop/drag_drop_tracker_unittest.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/mus/bridge/wm_shell_mus.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/mus/bridge/wm_shell_mus.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ash/root_window_controller.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
D |
ash/scoped_target_root_window.h
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
D |
ash/scoped_target_root_window.cc
|
View
|
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+17 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ash/shell.h
|
View
|
1
2
3
|
8 chunks |
+2 lines, -23 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+4 lines, -20 lines |
0 comments
|
Download
|
 |
M |
ash/wm/window_cycle_controller_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ash/wm/window_positioner_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+16 lines, -21 lines |
0 comments
|
Download
|
Total messages: 27 (17 generated)
|