|
Makes windowmanager draw non-client area
The high level bits are the following:
. Client area is now expressed as insets. This avoids resetting the
client area any time the bounds changes.
. WindowManager now exposes preferred insets.
. Client side creates a NonClientFrameView that reflects insets
exposed from WM.
. WM's NonClientFrameView (which draws underneat the client's surface)
draws the frame decorations. It fills in the client area as black.
BUG= 548420
TEST=none
R=ben@chromium.org
Committed: https://crrev.com/56961cd296980da6de2b537d65a104da24af2b60
Cr-Commit-Position: refs/heads/master@{#357995}
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+567 lines, -199 lines) |
Patch |
 |
M |
components/mus/example/wm/BUILD.gn
|
View
|
1
2
|
3 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/example/wm/move_loop.cc
|
View
|
|
3 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/mus/example/wm/move_loop_unittest.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
A |
components/mus/example/wm/non_client_frame_controller.h
|
View
|
1
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/mus/example/wm/non_client_frame_controller.cc
|
View
|
1
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/mus/example/wm/non_client_frame_view_impl.h
|
View
|
1
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/mus/example/wm/non_client_frame_view_impl.cc
|
View
|
1
2
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/example/wm/window_manager_application.h
|
View
|
1
2
|
3 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/mus/example/wm/window_manager_application.cc
|
View
|
1
2
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/mus/example/wm/window_manager_impl.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/mus/example/wm/window_manager_impl.cc
|
View
|
1
|
4 chunks |
+34 lines, -11 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/lib/window.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/lib/window_private.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/lib/window_tree_client_impl.h
|
View
|
1
2
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/lib/window_tree_client_impl.cc
|
View
|
1
2
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/window.h
|
View
|
1
2
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/window_observer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/mus/public/interfaces/window_manager.mojom
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/mus/public/interfaces/window_tree.mojom
|
View
|
1
2
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/connection_manager.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/connection_manager.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/event_dispatcher.cc
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/event_dispatcher_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/mus/ws/server_window.h
|
View
|
|
4 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/server_window.cc
|
View
|
|
1 chunk |
+5 lines, -11 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/server_window_observer.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_manager_client_apptest.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_tree_apptest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_tree_impl.h
|
View
|
1
2
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_tree_impl.cc
|
View
|
1
2
|
3 chunks |
+10 lines, -18 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_tree_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
D |
mandoline/ui/common/BUILD.gn
|
View
|
1
2
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
D |
mandoline/ui/common/util.h
|
View
|
1
2
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
D |
mandoline/ui/common/util.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
 |
M |
mandoline/ui/desktop_ui/BUILD.gn
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
mandoline/ui/desktop_ui/browser_window.cc
|
View
|
1
2
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mandoline/ui/omnibox/BUILD.gn
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
mandoline/ui/omnibox/omnibox_application.cc
|
View
|
1
2
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/converters/geometry/geometry_type_converters.h
|
View
|
|
2 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/converters/geometry/geometry_type_converters.cc
|
View
|
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/mojo/geometry/geometry.mojom
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/BUILD.gn
|
View
|
1
2
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ui/views/mus/display_converter.h
|
View
|
1
2
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
ui/views/mus/display_converter.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/native_widget_mus.h
|
View
|
1
|
3 chunks |
+16 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/mus/native_widget_mus.cc
|
View
|
1
2
3
|
7 chunks |
+81 lines, -7 lines |
0 comments
|
Download
|
 |
A |
ui/views/mus/window_manager_client_area_insets.h
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/window_manager_connection.cc
|
View
|
1
2
|
3 chunks |
+14 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/views/window/non_client_view.h
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (2 generated)
|