Changes ownership of ViewManager
From the docs:
Each call to OnEmbed() results in a new ViewManager and new root View.
ViewManager is deleted by any of the following:
. If the root of the connection is destroyed. This happens if the owner
of the root Embed()s another app in root, or the owner explicitly deletes
root.
. The connection to the viewmanager is lost.
. Explicitly by way of calling delete.
When the ViewManager is deleted all views are deleted (and observers
notified). This is followed by notifying the delegate by way of
OnViewManagerDisconnected().
BUG=none
TEST=none
R=ben@chromium.org
Review URL: https://codereview.chromium.org/
1149133006
Cr-Commit-Position: refs/heads/master@{#331888}