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

Side by Side Diff: ui/ozone/public/ipc_init_helper_mojo.h

Issue 2011383002: Get rid of {Run,Terminate}MainApplication(), and more ApplicationDelegate conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
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 | « ui/ozone/platform/drm/mojo/drm_ipc_init_helper.cc ('k') | no next file » | 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 #ifndef UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_ 5 #ifndef UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_
6 #define UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_ 6 #define UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_
7 7
8 #include "mojo/public/cpp/application/application_impl.h"
9 #include "mojo/public/cpp/application/service_provider_impl.h"
10 #include "ui/ozone/public/ipc_init_helper_ozone.h" 8 #include "ui/ozone/public/ipc_init_helper_ozone.h"
11 9
10 namespace mojo {
11 class ServiceProviderImpl;
12 class Shell;
13 } // namespace mojo
14
12 namespace ui { 15 namespace ui {
13 16
14 class IpcInitHelperMojo : public IpcInitHelperOzone { 17 class IpcInitHelperMojo : public IpcInitHelperOzone {
15 public: 18 public:
16 virtual void HostInitialize(mojo::ApplicationImpl* application) = 0; 19 virtual void HostInitialize(mojo::Shell* shell) = 0;
17 virtual bool HostConfigureIncomingConnection( 20 virtual bool HostAcceptConnection(
18 mojo::ServiceProviderImpl* service_provider_impl) = 0; 21 mojo::ServiceProviderImpl* service_provider_impl) = 0;
19 22
20 virtual void GpuInitialize(mojo::ApplicationImpl* application) = 0; 23 virtual void GpuInitialize(mojo::Shell* shell) = 0;
21 virtual bool GpuConfigureIncomingConnection( 24 virtual bool GpuAcceptConnection(
22 mojo::ServiceProviderImpl* service_provider_impl) = 0; 25 mojo::ServiceProviderImpl* service_provider_impl) = 0;
23 }; 26 };
24 27
25 } // namespace ui 28 } // namespace ui
26 29
27 #endif 30 #endif // UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/mojo/drm_ipc_init_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698