Eliminate ViewTreeHostConnection and replace with a factory function.
commit42a06c0e312a52d403c916218da7aa0c9a24966d
authorben <ben@chromium.org>
Thu, 27 Aug 2015 22:04:35 +0000 (27 15:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 27 Aug 2015 22:05:16 +0000 (27 22:05 +0000)
tree72f738f1e7856dcb8dfcb975133da9e597ff6514
parentf803e40a9a842c5df9c85c88a408a12de5357fc7
Eliminate ViewTreeHostConnection and replace with a factory function.

Forces the caller to maintain the ViewTreeHostPtr and ViewTreeHostClient binding.

R=sky@chromium.org
BUG=none

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

Cr-Commit-Position: refs/heads/master@{#345996}
14 files changed:
components/view_manager/public/cpp/BUILD.gn
components/view_manager/public/cpp/lib/view_tree_host_connection.cc [deleted file]
components/view_manager/public/cpp/lib/view_tree_host_factory.cc [new file with mode: 0644]
components/view_manager/public/cpp/tests/view_manager_test_base.cc
components/view_manager/public/cpp/tests/view_manager_test_base.h
components/view_manager/public/cpp/view_tree_host_connection.h [deleted file]
components/view_manager/public/cpp/view_tree_host_factory.h [new file with mode: 0644]
mandoline/tab/frame_apptest.cc
mandoline/ui/desktop_ui/browser_manager.cc
mandoline/ui/desktop_ui/browser_manager.h
mandoline/ui/desktop_ui/browser_window.cc
mandoline/ui/desktop_ui/browser_window.h
mandoline/ui/phone_ui/phone_browser_application_delegate.cc
mandoline/ui/phone_ui/phone_browser_application_delegate.h