| 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 SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_DELEGATE_H_ | 5 #ifndef SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_DELEGATE_H_ |
| 6 #define SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_DELEGATE_H_ | 6 #define SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "mojo/public/cpp/bindings/interface_request.h" | 10 #include "mojo/public/cpp/bindings/interface_request.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 // Creates a ClientConnection in response to Embed() calls on the | 27 // Creates a ClientConnection in response to Embed() calls on the |
| 28 // ConnectionManager. | 28 // ConnectionManager. |
| 29 virtual ClientConnection* CreateClientConnectionForEmbedAtView( | 29 virtual ClientConnection* CreateClientConnectionForEmbedAtView( |
| 30 ConnectionManager* connection_manager, | 30 ConnectionManager* connection_manager, |
| 31 mojo::InterfaceRequest<mojo::ViewManagerService> service_request, | 31 mojo::InterfaceRequest<mojo::ViewManagerService> service_request, |
| 32 mojo::ConnectionSpecificId creator_id, | 32 mojo::ConnectionSpecificId creator_id, |
| 33 const std::string& creator_url, | 33 const std::string& creator_url, |
| 34 const std::string& url, | 34 const std::string& url, |
| 35 const ViewId& root_id) = 0; | 35 const ViewId& root_id) = 0; |
| 36 virtual ClientConnection* CreateClientConnectionForEmbedAtView( |
| 37 ConnectionManager* connection_manager, |
| 38 mojo::InterfaceRequest<mojo::ViewManagerService> service_request, |
| 39 mojo::ConnectionSpecificId creator_id, |
| 40 const std::string& creator_url, |
| 41 const ViewId& root_id, |
| 42 mojo::ViewManagerClientPtr view_manager_client) = 0; |
| 36 | 43 |
| 37 protected: | 44 protected: |
| 38 virtual ~ConnectionManagerDelegate() {} | 45 virtual ~ConnectionManagerDelegate() {} |
| 39 }; | 46 }; |
| 40 | 47 |
| 41 } // namespace view_manager | 48 } // namespace view_manager |
| 42 | 49 |
| 43 #endif // SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_DELEGATE_H_ | 50 #endif // SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_DELEGATE_H_ |
| OLD | NEW |