OLD | NEW |
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 COMPONENTS_VIEW_MANAGER_VIEW_MANAGER_APP_H_ | 5 #ifndef COMPONENTS_VIEW_MANAGER_VIEW_MANAGER_APP_H_ |
6 #define COMPONENTS_VIEW_MANAGER_VIEW_MANAGER_APP_H_ | 6 #define COMPONENTS_VIEW_MANAGER_VIEW_MANAGER_APP_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "components/view_manager/connection_manager_delegate.h" | 9 #include "components/view_manager/connection_manager_delegate.h" |
10 #include "components/view_manager/public/interfaces/view_manager.mojom.h" | 10 #include "components/view_manager/public/interfaces/view_manager.mojom.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 bool ConfigureIncomingConnection( | 36 bool ConfigureIncomingConnection( |
37 mojo::ApplicationConnection* connection) override; | 37 mojo::ApplicationConnection* connection) override; |
38 | 38 |
39 // ConnectionManagerDelegate: | 39 // ConnectionManagerDelegate: |
40 void OnLostConnectionToWindowManager() override; | 40 void OnLostConnectionToWindowManager() override; |
41 ClientConnection* CreateClientConnectionForEmbedAtView( | 41 ClientConnection* CreateClientConnectionForEmbedAtView( |
42 ConnectionManager* connection_manager, | 42 ConnectionManager* connection_manager, |
43 mojo::InterfaceRequest<mojo::ViewManagerService> service_request, | 43 mojo::InterfaceRequest<mojo::ViewManagerService> service_request, |
44 mojo::ConnectionSpecificId creator_id, | 44 mojo::ConnectionSpecificId creator_id, |
45 const std::string& creator_url, | 45 const std::string& creator_url, |
46 const std::string& url, | 46 mojo::URLRequestPtr request, |
47 const ViewId& root_id) override; | 47 const ViewId& root_id) override; |
48 ClientConnection* CreateClientConnectionForEmbedAtView( | 48 ClientConnection* CreateClientConnectionForEmbedAtView( |
49 ConnectionManager* connection_manager, | 49 ConnectionManager* connection_manager, |
50 mojo::InterfaceRequest<mojo::ViewManagerService> service_request, | 50 mojo::InterfaceRequest<mojo::ViewManagerService> service_request, |
51 mojo::ConnectionSpecificId creator_id, | 51 mojo::ConnectionSpecificId creator_id, |
52 const std::string& creator_url, | 52 const std::string& creator_url, |
53 const ViewId& root_id, | 53 const ViewId& root_id, |
54 mojo::ViewManagerClientPtr view_manager_client) override; | 54 mojo::ViewManagerClientPtr view_manager_client) override; |
55 | 55 |
56 // mojo::InterfaceFactory<mojo::ViewManagerService>: | 56 // mojo::InterfaceFactory<mojo::ViewManagerService>: |
(...skipping 13 matching lines...) Expand all Loading... |
70 scoped_ptr<mojo::Binding<mojo::ViewManagerRoot>> view_manager_root_binding_; | 70 scoped_ptr<mojo::Binding<mojo::ViewManagerRoot>> view_manager_root_binding_; |
71 scoped_ptr<ConnectionManager> connection_manager_; | 71 scoped_ptr<ConnectionManager> connection_manager_; |
72 mojo::TracingImpl tracing_; | 72 mojo::TracingImpl tracing_; |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(ViewManagerApp); | 74 DISALLOW_COPY_AND_ASSIGN(ViewManagerApp); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace view_manager | 77 } // namespace view_manager |
78 | 78 |
79 #endif // COMPONENTS_VIEW_MANAGER_VIEW_MANAGER_APP_H_ | 79 #endif // COMPONENTS_VIEW_MANAGER_VIEW_MANAGER_APP_H_ |
OLD | NEW |