|
|
color: Use ICCProfile from display::Display instead of FromBestMonitor
Remove aura::WindowTreeHost::GetICCProfileForCurrentDisplay, since
this can be inferred from display::Screen::GetDisplayNearestWindow.
This sets us up to notify the renderer and window of their new color
space when moved across displays.
Still rely on ICCProfile::FromBestMonitor for now, since removing that
will require attention to detail on all platforms.
R=hubbe
TBR=skyostil (headless/)
BUG= 735613
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2950183002
Cr-Commit-Position: refs/heads/master@{#482056}
Committed: https://chromium.googlesource.com/chromium/src/+/0269cae2f81d9920c4371e9fab0af5b569ddbe91
Total comments: 2
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+88 lines, -59 lines) |
Patch |
 |
M |
cc/surfaces/surface_aggregator.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_aggregator.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/browser_compositor_view_mac.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/browser_compositor_view_mac.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_aura.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_mac.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
headless/lib/browser/headless_window_tree_host.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
headless/lib/browser/headless_window_tree_host.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_tree_host_mus.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_tree_host_mus.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+5 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/display/display.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/display/display.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/display/mac/screen_mac.mm
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/display/win/screen_win.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/color_space.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/color_space.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/icc_profile.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/icc_profile.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_screen_x11.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 56 (43 generated)
|