|
Wires up immersive mode for chrome and mash
There is still a slew of things to do, but this is a good start (and
rather lengthy).
There are two distinct ways for immersive mode to work in mash:
1. Mash takes care of it all. In this mode a separate ui::Window is
created for the reveal of the title area. HeaderView is used to
render the title area of the reveal in the separate window. The
client does nothing special here.
2. The client takes control of it all (as happens in chrome). Chrome
too creates a separate window for the reveal. This window is a
child of the chrome frame. Mash knows to paint window decorations
by way of a special property set on the window. Chrome runs all the
immersive logic, including positioning of the reveal window.
To get 2 to work I had to relax a constraint of mus, in particular
this allows the window manager to set the underlay of any
window. Previously only the owner could, but as 2 requires mash to set
the underlay I had to relax the constraint.
I also changed it so that events in the underlay always go to the
window manager, not the owner as previously.
BUG= 634972, 640365
TEST=none
R=jamescook@chromium.org, tsepez@chromium.org
Committed: https://crrev.com/2d6a8e0fcb704248b64e7b65f4e76ace658a4bdf
Cr-Commit-Position: refs/heads/master@{#414655}
Total comments: 35
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+848 lines, -93 lines) |
Patch |
 |
M |
ash/common/frame/custom_frame_view_ash.h
|
View
|
1
|
3 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/frame/custom_frame_view_ash.cc
|
View
|
|
6 chunks |
+24 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ash/common/frame/default_header_painter.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
ash/common/frame/header_view.h
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/frame/header_view.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/mus/BUILD.gn
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ash/mus/bridge/immersive_handler_factory_mus.h
|
View
|
|
2 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
A |
ash/mus/bridge/immersive_handler_factory_mus.cc
|
View
|
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/mus/bridge/wm_shell_mus.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/mus/bridge/wm_shell_mus.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
A |
ash/mus/frame/README.md
|
View
|
1
2
3
4
5
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/mus/frame/custom_frame_view_mus.h
|
View
|
1
2
3
4
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/mus/frame/custom_frame_view_mus.cc
|
View
|
1
2
3
4
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/mus/frame/detached_title_area_renderer.h
|
View
|
1
2
3
4
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/mus/frame/detached_title_area_renderer.cc
|
View
|
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/mus/frame/detached_title_area_renderer_host.h
|
View
|
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/mus/non_client_frame_controller.h
|
View
|
|
6 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ash/mus/non_client_frame_controller.cc
|
View
|
1
2
3
4
|
8 chunks |
+140 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/mus/property_util.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/mus/property_util.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/mus/root_window_controller.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/resize_shadow_and_cursor_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/fullscreen_chromeos.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_frame_mus.cc
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/ui/views/frame/immersive_context_mus.h
|
View
|
|
2 chunks |
+12 lines, -15 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/frame/immersive_context_mus.cc
|
View
|
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/frame/immersive_handler_factory_mus.h
|
View
|
1
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/frame/immersive_handler_factory_mus.cc
|
View
|
1
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
|
View
|
1
2
3
4
5
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
|
View
|
1
2
3
|
8 chunks |
+97 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/immersive_mode_controller_factory_views.cc
|
View
|
|
2 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/interfaces/window_manager.mojom
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_finder.cc
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_manager_access_policy.cc
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_manager_state.cc
|
View
|
1
2
3
4
|
1 chunk |
+16 lines, -20 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_tree.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/mus/native_widget_mus.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 51 (27 generated)
|