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

Unified 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, 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 | « ui/ozone/platform/drm/mojo/drm_ipc_init_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/ipc_init_helper_mojo.h
diff --git a/ui/ozone/public/ipc_init_helper_mojo.h b/ui/ozone/public/ipc_init_helper_mojo.h
index c7754be93b93d7c9ff958c7d4ee318542553eb39..4264d327632410f835f99b40429f1358105a7133 100644
--- a/ui/ozone/public/ipc_init_helper_mojo.h
+++ b/ui/ozone/public/ipc_init_helper_mojo.h
@@ -5,23 +5,26 @@
#ifndef UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_
#define UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_
-#include "mojo/public/cpp/application/application_impl.h"
-#include "mojo/public/cpp/application/service_provider_impl.h"
#include "ui/ozone/public/ipc_init_helper_ozone.h"
+namespace mojo {
+class ServiceProviderImpl;
+class Shell;
+} // namespace mojo
+
namespace ui {
class IpcInitHelperMojo : public IpcInitHelperOzone {
public:
- virtual void HostInitialize(mojo::ApplicationImpl* application) = 0;
- virtual bool HostConfigureIncomingConnection(
+ virtual void HostInitialize(mojo::Shell* shell) = 0;
+ virtual bool HostAcceptConnection(
mojo::ServiceProviderImpl* service_provider_impl) = 0;
- virtual void GpuInitialize(mojo::ApplicationImpl* application) = 0;
- virtual bool GpuConfigureIncomingConnection(
+ virtual void GpuInitialize(mojo::Shell* shell) = 0;
+ virtual bool GpuAcceptConnection(
mojo::ServiceProviderImpl* service_provider_impl) = 0;
};
} // namespace ui
-#endif
+#endif // UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_
« 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