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

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

Issue 774473003: Move view_manager service implementation to //services (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
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 MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_DELEGATE_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_DELEGATE_H_
7
8 #include <string>
9
10 #include "mojo/services/public/cpp/view_manager/types.h"
11
12 namespace mojo {
13
14 class ViewManagerService;
15
16 namespace service {
17
18 class ClientConnection;
19 class ConnectionManager;
20 struct ViewId;
21
22 class ConnectionManagerDelegate {
23 public:
24 virtual void OnLostConnectionToWindowManager() = 0;
25
26 // Creates a ClientConnection in response to Embed() calls on the
27 // ConnectionManager.
28 virtual ClientConnection* CreateClientConnectionForEmbedAtView(
29 ConnectionManager* connection_manager,
30 ConnectionSpecificId creator_id,
31 const std::string& creator_url,
32 const std::string& url,
33 const ViewId& root_id) = 0;
34
35 protected:
36 virtual ~ConnectionManagerDelegate() {}
37 };
38
39 } // namespace service
40 } // namespace mojo
41
42 #endif // MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698