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

Unified Diff: services/ui/input_manager/input_manager_app.cc

Issue 1979723002: ApplicationConnection devolution, part 3. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/input_manager/input_manager_app.h ('k') | services/ui/launcher/launcher_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/input_manager/input_manager_app.cc
diff --git a/services/ui/input_manager/input_manager_app.cc b/services/ui/input_manager/input_manager_app.cc
index 0d2917de8dfcfbe61845f84426f517871b150395..5c48355908a9948785de1cbda45c8ec2b3918dc9 100644
--- a/services/ui/input_manager/input_manager_app.cc
+++ b/services/ui/input_manager/input_manager_app.cc
@@ -33,14 +33,13 @@ void InputManagerApp::Initialize(mojo::ApplicationImpl* app_impl) {
}
bool InputManagerApp::ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) {
- connection->GetServiceProviderImpl().AddService<mojo::ui::ViewAssociate>(
- [this](const mojo::ConnectionContext& connection_context,
- mojo::InterfaceRequest<mojo::ui::ViewAssociate>
- view_associate_request) {
- input_associates_.AddBinding(new InputAssociate(),
- view_associate_request.Pass());
- });
+ mojo::ServiceProviderImpl* service_provider_impl) {
+ service_provider_impl->AddService<mojo::ui::ViewAssociate>([this](
+ const mojo::ConnectionContext& connection_context,
+ mojo::InterfaceRequest<mojo::ui::ViewAssociate> view_associate_request) {
+ input_associates_.AddBinding(new InputAssociate(),
+ view_associate_request.Pass());
+ });
return true;
}
« no previous file with comments | « services/ui/input_manager/input_manager_app.h ('k') | services/ui/launcher/launcher_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698