viz/mac: Prepare RenderWidgetHostViewMac for viz
Query the --enable-viz flag and plumb it to the DelegatedFrameHost. Resize the ui::Compositor along with the NSView when under viz, because otherwise it will never be resized (in non-viz, we resize it when we get compositor frames, which we no longer get). Consolidate the places that we query NSView/display properties (size, scale factor, and color space) in BrowserCompositorMac. Bug: 794839 Change-Id: I3d62f340a8c318c963f24f3732cdde4bb9328126 Reviewed-on: https://chromium-review.googlesource.com/794840 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#521061}
Showing
Please register or sign in to comment