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

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

Issue 858103002: Remove [Client=] annotation from ServiceProvider (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase for trybots (no code changes from ps2) Created 5 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
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 SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ 5 #ifndef SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_
6 #define SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ 6 #define SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 ~ConnectionManager() override; 70 ~ConnectionManager() override;
71 71
72 // Returns the id for the next ViewManagerServiceImpl. 72 // Returns the id for the next ViewManagerServiceImpl.
73 mojo::ConnectionSpecificId GetAndAdvanceNextConnectionId(); 73 mojo::ConnectionSpecificId GetAndAdvanceNextConnectionId();
74 74
75 // Invoked when a ViewManagerServiceImpl's connection encounters an error. 75 // Invoked when a ViewManagerServiceImpl's connection encounters an error.
76 void OnConnectionError(ClientConnection* connection); 76 void OnConnectionError(ClientConnection* connection);
77 77
78 // See description of ViewManagerService::Embed() for details. This assumes 78 // See description of ViewManagerService::Embed() for details. This assumes
79 // |transport_view_id| is valid. 79 // |transport_view_id| is valid.
80 void EmbedAtView( 80 void EmbedAtView(mojo::ConnectionSpecificId creator_id,
81 mojo::ConnectionSpecificId creator_id, 81 const std::string& url,
82 const std::string& url, 82 const ViewId& view_id,
83 const ViewId& view_id, 83 mojo::InterfaceRequest<mojo::ServiceProvider> services,
84 mojo::InterfaceRequest<mojo::ServiceProvider> service_provider); 84 mojo::ServiceProviderPtr exposed_services);
85 85
86 // Returns the connection by id. 86 // Returns the connection by id.
87 ViewManagerServiceImpl* GetConnection( 87 ViewManagerServiceImpl* GetConnection(
88 mojo::ConnectionSpecificId connection_id); 88 mojo::ConnectionSpecificId connection_id);
89 89
90 // Returns the View identified by |id|. 90 // Returns the View identified by |id|.
91 ServerView* GetView(const ViewId& id); 91 ServerView* GetView(const ViewId& id);
92 92
93 ServerView* root() { return root_.get(); } 93 ServerView* root() { return root_.get(); }
94 DisplayManager* display_manager() { return display_manager_.get(); } 94 DisplayManager* display_manager() { return display_manager_.get(); }
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 base::RepeatingTimer<ConnectionManager> animation_timer_; 225 base::RepeatingTimer<ConnectionManager> animation_timer_;
226 226
227 AnimationRunner animation_runner_; 227 AnimationRunner animation_runner_;
228 228
229 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); 229 DISALLOW_COPY_AND_ASSIGN(ConnectionManager);
230 }; 230 };
231 231
232 } // namespace view_manager 232 } // namespace view_manager
233 233
234 #endif // SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ 234 #endif // SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_
OLDNEW
« no previous file with comments | « mojo/services/window_manager/public/interfaces/window_manager.mojom ('k') | services/view_manager/connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698