RemoteMacViews: Remove NativeWidgetMac refs from BridgedNativeWidgetImpl
Pass the "is widget top level" parameter at BridgedNativeWidgetImpl init rather than querying it from the NativeWidgetMac. Remove the NativeWidgetMac member and accessor from BridgedNativeWidgetImpl. Move NativeWidgetMac::GetBridge[Host]ImplForNativeWindow to BridgedNativeWidget[Host]Impl::GetFromNativeWindow (since there's no reason to require going through NativeWidgetMac). Change-Id: I1ed0753acc21dc45e8ed8fbe893b83e30c6abe34 Reviewed-on: https://chromium-review.googlesource.com/1217516 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:
Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/heads/master@{#590463}
Showing
Please register or sign in to comment