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

Side by Side Diff: services/view_manager/view_manager_app.h

Issue 1531403003: Delete the ViewManager and WindowManager services. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-3
Patch Set: rebase Created 4 years, 11 months 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 unified diff | Download patch
« no previous file with comments | « services/view_manager/view_locator.cc ('k') | services/view_manager/view_manager_app.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_VIEW_MANAGER_VIEW_MANAGER_APP_H_
6 #define SERVICES_VIEW_MANAGER_VIEW_MANAGER_APP_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "mojo/common/tracing_impl.h"
10 #include "mojo/public/cpp/application/application_delegate.h"
11 #include "services/view_manager/view_manager_root_connection.h"
12
13 namespace view_manager {
14
15 class ViewManagerApp
16 : public mojo::ApplicationDelegate,
17 public ViewManagerRootConnection::ViewManagerRootConnectionObserver {
18 public:
19 ViewManagerApp();
20 ~ViewManagerApp() override;
21
22 private:
23 // ApplicationDelegate:
24 void Initialize(mojo::ApplicationImpl* app) override;
25 bool ConfigureIncomingConnection(
26 mojo::ApplicationConnection* connection) override;
27
28 // ViewManagerRootConnectionObserver:
29 void OnCloseViewManagerRootConnection(
30 ViewManagerRootConnection* view_manager_root_connection) override;
31
32 std::set<ViewManagerRootConnection*> active_root_connections_;
33 mojo::ApplicationImpl* app_impl_;
34 mojo::TracingImpl tracing_;
35
36 DISALLOW_COPY_AND_ASSIGN(ViewManagerApp);
37 };
38
39 } // namespace view_manager
40
41 #endif // SERVICES_VIEW_MANAGER_VIEW_MANAGER_APP_H_
OLDNEW
« no previous file with comments | « services/view_manager/view_locator.cc ('k') | services/view_manager/view_manager_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698