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

Side by Side Diff: services/gfx/compositor/compositor_app.cc

Issue 2010283006: Almost done: ApplicationDelegate -> ApplicationImplBase conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work798-x-work797-x-work796_no_run_main_app
Patch Set: rebased Created 4 years, 6 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
« no previous file with comments | « services/dart/dart_tracing.cc ('k') | services/gfx/compositor/tests/scheduling_apptest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "services/gfx/compositor/compositor_app.h" 5 #include "services/gfx/compositor/compositor_app.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "mojo/application/application_runner_chromium.h"
11 #include "mojo/common/tracing_impl.h" 10 #include "mojo/common/tracing_impl.h"
12 #include "mojo/public/c/system/main.h" 11 #include "mojo/public/c/system/main.h"
13 #include "mojo/public/cpp/application/application_impl.h"
14 #include "mojo/public/cpp/application/service_provider_impl.h" 12 #include "mojo/public/cpp/application/service_provider_impl.h"
15 #include "services/gfx/compositor/compositor_impl.h" 13 #include "services/gfx/compositor/compositor_impl.h"
16 14
17 namespace compositor { 15 namespace compositor {
18 16
19 CompositorApp::CompositorApp() {} 17 CompositorApp::CompositorApp() {}
20 18
21 CompositorApp::~CompositorApp() {} 19 CompositorApp::~CompositorApp() {}
22 20
23 void CompositorApp::OnInitialize() { 21 void CompositorApp::OnInitialize() {
(...skipping 14 matching lines...) Expand all
38 [this](const mojo::ConnectionContext& connection_context, 36 [this](const mojo::ConnectionContext& connection_context,
39 mojo::InterfaceRequest<mojo::gfx::composition::Compositor> 37 mojo::InterfaceRequest<mojo::gfx::composition::Compositor>
40 compositor_request) { 38 compositor_request) {
41 compositor_bindings_.AddBinding(new CompositorImpl(engine_.get()), 39 compositor_bindings_.AddBinding(new CompositorImpl(engine_.get()),
42 compositor_request.Pass()); 40 compositor_request.Pass());
43 }); 41 });
44 return true; 42 return true;
45 } 43 }
46 44
47 } // namespace compositor 45 } // namespace compositor
OLDNEW
« no previous file with comments | « services/dart/dart_tracing.cc ('k') | services/gfx/compositor/tests/scheduling_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698