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

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

Issue 769963004: Add tracing service and make the shell+sky_viewer+services talk to it (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « mojo/services/view_manager/BUILD.gn ('k') | mojo/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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_APP_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_APP_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_APP_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_APP_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "mojo/public/cpp/application/application_delegate.h" 9 #include "mojo/public/cpp/application/application_delegate.h"
10 #include "mojo/public/cpp/application/interface_factory.h" 10 #include "mojo/public/cpp/application/interface_factory.h"
(...skipping 11 matching lines...) Expand all
22 public ConnectionManagerDelegate, 22 public ConnectionManagerDelegate,
23 public ErrorHandler, 23 public ErrorHandler,
24 public InterfaceFactory<ViewManagerService>, 24 public InterfaceFactory<ViewManagerService>,
25 public InterfaceFactory<WindowManagerInternalClient> { 25 public InterfaceFactory<WindowManagerInternalClient> {
26 public: 26 public:
27 ViewManagerApp(); 27 ViewManagerApp();
28 ~ViewManagerApp() override; 28 ~ViewManagerApp() override;
29 29
30 private: 30 private:
31 // ApplicationDelegate: 31 // ApplicationDelegate:
32 void Initialize(ApplicationImpl* app) override;
32 bool ConfigureIncomingConnection(ApplicationConnection* connection) override; 33 bool ConfigureIncomingConnection(ApplicationConnection* connection) override;
33 34
34 // ConnectionManagerDelegate: 35 // ConnectionManagerDelegate:
35 void OnLostConnectionToWindowManager() override; 36 void OnLostConnectionToWindowManager() override;
36 ClientConnection* CreateClientConnectionForEmbedAtView( 37 ClientConnection* CreateClientConnectionForEmbedAtView(
37 ConnectionManager* connection_manager, 38 ConnectionManager* connection_manager,
38 ConnectionSpecificId creator_id, 39 ConnectionSpecificId creator_id,
39 const std::string& creator_url, 40 const std::string& creator_url,
40 const std::string& url, 41 const std::string& url,
41 const ViewId& root_id) override; 42 const ViewId& root_id) override;
(...skipping 14 matching lines...) Expand all
56 WindowManagerInternalPtr wm_internal_; 57 WindowManagerInternalPtr wm_internal_;
57 scoped_ptr<ConnectionManager> connection_manager_; 58 scoped_ptr<ConnectionManager> connection_manager_;
58 59
59 DISALLOW_COPY_AND_ASSIGN(ViewManagerApp); 60 DISALLOW_COPY_AND_ASSIGN(ViewManagerApp);
60 }; 61 };
61 62
62 } // namespace service 63 } // namespace service
63 } // namespace mojo 64 } // namespace mojo
64 65
65 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_APP_H_ 66 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_APP_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/BUILD.gn ('k') | mojo/services/view_manager/view_manager_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698