diff options
author | jamesr <jamesr@chromium.org> | 2014-10-22 22:09:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-23 05:09:41 +0000 |
commit | ee47d094a085d2d4611da46bd12d592c63c7d712 (patch) | |
tree | 5dc31f17cb26edb8d296ee2b251199b4b8db33df /mojo/shell/view_manager_loader.h | |
parent | 13b1371303258fe761e907d5874cdfdf8e3ed082 (diff) | |
download | chromium_src-ee47d094a085d2d4611da46bd12d592c63c7d712.zip chromium_src-ee47d094a085d2d4611da46bd12d592c63c7d712.tar.gz chromium_src-ee47d094a085d2d4611da46bd12d592c63c7d712.tar.bz2 |
Remove mojo/services{view,window}_manager
These are being developed in the the mojo repo.
R=sky@chromium.org
Review URL: https://codereview.chromium.org/659113003
Cr-Commit-Position: refs/heads/master@{#300841}
Diffstat (limited to 'mojo/shell/view_manager_loader.h')
-rw-r--r-- | mojo/shell/view_manager_loader.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/mojo/shell/view_manager_loader.h b/mojo/shell/view_manager_loader.h deleted file mode 100644 index 83c5f31..0000000 --- a/mojo/shell/view_manager_loader.h +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2014 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 MOJO_SHELL_VIEW_MANAGER_LOADER_H_ -#define MOJO_SHELL_VIEW_MANAGER_LOADER_H_ - -#include "base/macros.h" -#include "base/memory/scoped_ptr.h" -#include "base/memory/scoped_vector.h" -#include "mojo/application_manager/application_loader.h" -#include "mojo/public/cpp/application/application_delegate.h" -#include "mojo/public/cpp/application/interface_factory.h" -#include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" -#include "mojo/services/view_manager/view_manager_init_service_context.h" - -namespace mojo { - -class Application; - -namespace shell { - -// ApplicationLoader responsible for creating connections to the ViewManager. -class ViewManagerLoader : public ApplicationLoader, - public ApplicationDelegate, - public InterfaceFactory<ViewManagerInitService> { - public: - ViewManagerLoader(); - virtual ~ViewManagerLoader(); - - private: - // ApplicationLoader overrides: - virtual void Load(ApplicationManager* manager, - const GURL& url, - scoped_refptr<LoadCallbacks> callbacks) override; - virtual void OnApplicationError(ApplicationManager* manager, - const GURL& url) override; - - // ApplicationDelegate overrides. - virtual bool ConfigureIncomingConnection( - mojo::ApplicationConnection* connection) override; - - // InterfaceFactory<ViewManagerInitService> overrides. - virtual void Create( - ApplicationConnection* connection, - InterfaceRequest<ViewManagerInitService> request) override; - - ScopedVector<Application> apps_; - service::ViewManagerInitServiceContext context_; - - DISALLOW_COPY_AND_ASSIGN(ViewManagerLoader); -}; - -} // namespace shell -} // namespace mojo - -#endif // MOJO_SHELL_VIEW_MANAGER_LOADER_H_ |