Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: services/window_manager/window_manager_app.h

Issue 1530333005: Delete the ViewManager and WindowManager services. (Closed) Base URL: git@github.com:domokit/mojo.git@cl-2c
Patch Set: rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/window_manager/view_targeter_unittest.cc ('k') | services/window_manager/window_manager_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/window_manager/window_manager_app.h
diff --git a/services/window_manager/window_manager_app.h b/services/window_manager/window_manager_app.h
deleted file mode 100644
index a1e0c8437e84729bb1bb44d65b3bf5420cf6e99b..0000000000000000000000000000000000000000
--- a/services/window_manager/window_manager_app.h
+++ /dev/null
@@ -1,51 +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 SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_
-#define SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_
-
-#include "base/macros.h"
-#include "mojo/public/cpp/application/application_connection.h"
-#include "mojo/public/cpp/application/application_delegate.h"
-#include "mojo/public/cpp/application/application_impl.h"
-#include "mojo/services/window_manager/interfaces/window_manager.mojom.h"
-#include "services/window_manager/window_manager_delegate.h"
-
-namespace window_manager {
-
-// Implements core window manager functionality that could conceivably be shared
-// across multiple window managers implementing superficially different user
-// experiences.
-// A window manager wishing to use this core should create and own an instance
-// of this object. They may implement the associated ViewManager/WindowManager
-// delegate interfaces exposed by the view manager, this object provides the
-// canonical implementation of said interfaces but will call out to the wrapped
-// instances.
-// Window manager clients should request a WindowManager service to get a new
-// native window.
-class WindowManagerApp : public mojo::ApplicationDelegate,
- public mojo::InterfaceFactory<mojo::WindowManager> {
- public:
- WindowManagerApp(WindowManagerControllerFactory* controller_factory);
- ~WindowManagerApp() override;
-
- // Overridden from ApplicationDelegate:
- void Initialize(mojo::ApplicationImpl* impl) override;
- bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override;
-
- private:
- // InterfaceFactory<WindowManager>:
- void Create(mojo::ApplicationConnection* connection,
- mojo::InterfaceRequest<mojo::WindowManager> request) override;
-
- mojo::ApplicationImpl* app_impl_;
- WindowManagerControllerFactory* controller_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(WindowManagerApp);
-};
-
-} // namespace window_manager
-
-#endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_
« no previous file with comments | « services/window_manager/view_targeter_unittest.cc ('k') | services/window_manager/window_manager_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698