DescriptionDefine ViewMsg_ColorProfile and plumb it into RenderWidget
Define ViewMsg_ColorProfile IPC message and plumb it into renderer
RenderWidget::SetDeviceColorProfile(). The browser uses the IPC to
set the renderers screen color profile.
Note SetDeviceColorProfile is overridden by RenderViewImpl, so the
IPC message data is handled there - it calls the base RenderWidget
SetDeviceColorProfile, which detects if the color profile changed,
and stores it in the RenderWidget if so.
If there was a change, the RenderViewImpl informs its webview() so
the Page contained therein can update / repaint all color profiled
elements on the Page.
For a diagram of the IPC and procedure call proceedings, including
layout test support (added in issue 369787), see:
https://crbug.com/368663#c14
Not used as yet: the IPC from the browser-side will be added later
(need to resolve issue 338130, issue 357443 first), so this change
is again just plumbing.
CQ_EXTRA_TRYBOTS=tryserver.blink:mac_blink_rel,mac_blink_dbg
BUG=368663
Committed: https://crrev.com/89949e66232b21fe55eeccd1d2353261de90c275
Cr-Commit-Position: refs/heads/master@{#297328}
Patch Set 1 #
Messages
Total messages: 13 (4 generated)
|