|
|
Propagates window type properties during aura-mus window creation
There are two types used to identify windows:
. aura::Window::type(), which is ui::wm::WindowType.
. ui::mojom::WindowType. This corresponds to the types defined in
views::Widget::InitParams::Type. This is a superset of
ui::wm::WindowType.
As ui::mojom::WindowType is a superset it is really the only one
needed. This patch makes it so during window creation a property is
passed to the server giving the type. The windowmanager can then use
this type when creating the corresponding window so that it knows the
type. As this property can't change after creation it doesn't go
through PropertyConverter.
Really the two types should be combined, but to keep this patch to a
minimum I'm not doing that here.
BUG= 664625
TEST=covered by tests
R=msw@chromium.org, tsepez@chromium.org
Committed: https://crrev.com/91b6ee4b99b61dd10d741328a1a548a745cf4ffe
Cr-Commit-Position: refs/heads/master@{#433756}
Total comments: 14
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+190 lines, -16 lines) |
Patch |
 |
M |
ash/mus/property_util.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/interfaces/window_manager_constants.mojom
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/client/aura_constants.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/client/aura_constants.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura/mus/property_utils.h
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura/mus/property_utils.cc
|
View
|
1
2
3
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_manager_delegate.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_tree_client.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+28 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_tree_client_unittest.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/test/aura_test_base.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/aura_test_base.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/mus/desktop_window_tree_host_mus.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/mus/desktop_window_tree_host_mus.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/mus_client.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/mus_client.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+37 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/test/native_widget_factory_aura_mus.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 35 (23 generated)
|