Index: components/view_manager/public/cpp/view_tree_host_factory.h |
diff --git a/components/view_manager/public/cpp/view_tree_host_factory.h b/components/view_manager/public/cpp/view_tree_host_factory.h |
deleted file mode 100644 |
index 5f87454dae0781e74d0209293bdf92afe04e21b6..0000000000000000000000000000000000000000 |
--- a/components/view_manager/public/cpp/view_tree_host_factory.h |
+++ /dev/null |
@@ -1,34 +0,0 @@ |
-// Copyright 2015 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_TREE_HOST_FACTORY_H_ |
-#define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_TREE_HOST_FACTORY_H_ |
- |
-#include "base/basictypes.h" |
-#include "base/memory/scoped_ptr.h" |
-#include "components/view_manager/public/interfaces/view_tree.mojom.h" |
-#include "components/view_manager/public/interfaces/view_tree_host.mojom.h" |
-#include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" |
- |
-namespace mojo { |
- |
-class ApplicationImpl; |
-class ViewTreeDelegate; |
- |
-// Uses |factory| to create a new |host|, providing the supplied |host_client| |
-// which may be null. |delegate| must not be null. |
-void CreateViewTreeHost(ViewTreeHostFactory* factory, |
- ViewTreeHostClientPtr host_client, |
- ViewTreeDelegate* delegate, |
- ViewTreeHostPtr* host); |
- |
-// Creates a single host with no client by connecting to the view manager |
-// application. Useful only for tests and trivial UIs. |
-void CreateSingleViewTreeHost(ApplicationImpl* app, |
- ViewTreeDelegate* delegate, |
- ViewTreeHostPtr* host); |
- |
-} // namespace mojo |
- |
-#endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_TREE_HOST_FACTORY_H_ |