RemoteMacViews: Separate fullscreen state
Make NativeWidgetMac::SetFullscreen go through BridgedNativeWidgetHostImpl instead of directly manipulating BridgedNativeWidget. Make note of subtle state tracking behavior in BridgedNativeWidgetHostImpl::SetFullscreen. Change BridgedNativeWidget's fullscreen transition functions to go through the BridgedNativeWidgetHost interface instead of calling into NativeWidgetMac directly. Move tracking for GetBoundsForRestore from BridgedNativeWidget to BridgedNativeWidgetHostImpl. Change BridgedNativeWidget from pulling size constraints in BridgedNativeWidget::OnSizeConstraintsChanged to having the NativeWidgetMac push these constraints to BridgedNativeWidget. Bug: 859152 Change-Id: Ie33b79becf1ccd1d476e8033cb078d0ffe75463f Reviewed-on: https://chromium-review.googlesource.com/1182673Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#584804}
Showing
Please register or sign in to comment