|
mash: improves frame rendering in mash
BrowserFrameMus was created more than a year ago and had gotten a bit
out of sync with other ash changes. This change gets browser windows
looking better, but is really just a start. We really need to promote
BrowserHeaderPainter to ash, but that's a bigger project.
As I believe the non-client area should be rendered by ash we need a
way for clients to signal they want windows to look like browser
windows. This adds a WindowStyle that is meant to indicate that.
This also makes DesktopWindowTreeHostMus windows opacity honor that
set in the initparams, which is needed for browser windows as they are
transparent.
Lastly adds a couple of names to some of the apps, and makes the name
of a Widget be set on the top-level window.
BUG= 697206
TEST=none
Review-Url: https://codereview.chromium.org/2724693002
Cr-Commit-Position: refs/heads/master@{#454938}
Committed: https://chromium.googlesource.com/chromium/src/+/b5e2126f04fe0ee4d9d418e2c2fa617bb7e37b97
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+230 lines, -62 lines) |
Patch |
|
M |
ash/common/frame/custom_frame_view_ash.h
|
View
|
|
4 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/common/frame/custom_frame_view_ash.cc
|
View
|
1
2
3
|
6 chunks |
+27 lines, -5 lines |
0 comments
|
Download
|
|
M |
ash/common/frame/default_header_painter.h
|
View
|
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/common/frame/default_header_painter.cc
|
View
|
|
2 chunks |
+16 lines, -5 lines |
0 comments
|
Download
|
|
M |
ash/common/frame/header_view.h
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/common/frame/header_view.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
ash/mus/frame/custom_frame_view_mus.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/mus/frame/custom_frame_view_mus.cc
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
ash/mus/non_client_frame_controller.cc
|
View
|
1
2
|
8 chunks |
+24 lines, -9 lines |
0 comments
|
Download
|
|
M |
ash/mus/property_util.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/mus/property_util.cc
|
View
|
1
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/public/cpp/BUILD.gn
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
ash/public/cpp/window_style.h
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
ash/public/cpp/window_style.cc
|
View
|
1
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/public/interfaces/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
ash/public/interfaces/window_style.mojom
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/browser_frame_mus.cc
|
View
|
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc
|
View
|
|
8 chunks |
+35 lines, -28 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/status_bubble_views.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
mash/quick_launch/quick_launch.cc
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/mus/desktop_window_tree_host_mus.cc
|
View
|
1
2
|
2 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/wm/core/shadow_types.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
Total messages: 19 (11 generated)
|