Removed use of ViewHierarchyChanged() from NativeAppWindowViews
Having some part of the NativeAppWindowViews' initialization happen when it is first inserted into a view hierarchy means that the View is unable to support being re-parented to a different view hierarchy. This change allows NativeAppWindowViews to be reparented into a different hierarchy, giving the class greater flexibility and allowing for the eventual change to have ClientView be a child of NonClientFrameView. Bug: 1083822 Change-Id: I8a5beed53fd24f6b5c3dfd1fe0cb1490427cb9b2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2207491Reviewed-by:Ben Wells <benwells@chromium.org> Reviewed-by:
calamity <calamity@chromium.org> Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org> Cr-Commit-Position: refs/heads/master@{#771814}
Showing
Please register or sign in to comment