Makes it so an embed root can call Embed() on any descendant
commit2be5abf37db80907cac75f78152b31412956cdb7
authorsky <sky@chromium.org>
Wed, 19 Aug 2015 00:00:58 +0000 (18 17:00 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 19 Aug 2015 00:02:11 +0000 (19 00:02 +0000)
tree257874ef126851debeff7b80f04e082add059df9
parent0ac94502da6d004fd8bde1e0745ce6ed9790b7bc
Makes it so an embed root can call Embed() on any descendant

As discussed this better matches how we want to use the API. In
particular the frame server will call Embed() on views it knows about
without the child calling EmbedAllowingReembed().

BUG=479172,490221
TEST=covered by tests
R=ben@chromium.org

Review URL: https://codereview.chromium.org/1293253004

Cr-Commit-Position: refs/heads/master@{#344085}
components/view_manager/default_access_policy.cc
components/view_manager/public/cpp/lib/view.cc
components/view_manager/view_manager_client_apptest.cc
components/view_manager/view_manager_service_apptest.cc
components/view_manager/window_manager_access_policy.cc