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

Side by Side Diff: mojo/examples/wm_flow/init/init.cc

Issue 565323002: Move application:chromium bindings to mojo/application/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mojo/application/ Created 6 years, 3 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 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "mojo/application/application_runner_chromium.h"
6 #include "mojo/public/c/system/main.h" 7 #include "mojo/public/c/system/main.h"
7 #include "mojo/public/cpp/application/application_delegate.h" 8 #include "mojo/public/cpp/application/application_delegate.h"
8 #include "mojo/public/cpp/application/application_impl.h" 9 #include "mojo/public/cpp/application/application_impl.h"
9 #include "mojo/public/cpp/application/application_runner_chromium.h"
10 #include "mojo/public/cpp/application/service_provider_impl.h" 10 #include "mojo/public/cpp/application/service_provider_impl.h"
11 #include "mojo/public/interfaces/application/service_provider.mojom.h" 11 #include "mojo/public/interfaces/application/service_provider.mojom.h"
12 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" 12 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h"
13 13
14 namespace examples { 14 namespace examples {
15 namespace { 15 namespace {
16 void ConnectCallback(bool success) {} 16 void ConnectCallback(bool success) {}
17 } // namespace 17 } // namespace
18 18
19 // This application starts the view manager, embeds the window manager and then 19 // This application starts the view manager, embeds the window manager and then
(...skipping 21 matching lines...) Expand all
41 41
42 DISALLOW_COPY_AND_ASSIGN(WMFlowInit); 42 DISALLOW_COPY_AND_ASSIGN(WMFlowInit);
43 }; 43 };
44 44
45 } // namespace examples 45 } // namespace examples
46 46
47 MojoResult MojoMain(MojoHandle shell_handle) { 47 MojoResult MojoMain(MojoHandle shell_handle) {
48 mojo::ApplicationRunnerChromium runner(new examples::WMFlowInit); 48 mojo::ApplicationRunnerChromium runner(new examples::WMFlowInit);
49 return runner.Run(shell_handle); 49 return runner.Run(shell_handle);
50 } 50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698