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

Unified Diff: services/ui/launcher/launcher_app.h

Issue 1679023006: Reify view ownership as a message pipe. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 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 | « mojo/ui/view_provider_app.cc ('k') | services/ui/launcher/launcher_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/launcher/launcher_app.h
diff --git a/services/ui/launcher/launcher_app.h b/services/ui/launcher/launcher_app.h
index 9753961a6d9cfa190dacd18bc27bf893cd08704b..7240b7e6355fdc95d0aef3393f6346abe6f99fcf 100644
--- a/services/ui/launcher/launcher_app.h
+++ b/services/ui/launcher/launcher_app.h
@@ -13,7 +13,6 @@
#include "mojo/services/native_viewport/interfaces/native_viewport.mojom.h"
#include "mojo/services/native_viewport/interfaces/native_viewport_event_dispatcher.mojom.h"
#include "mojo/services/ui/views/interfaces/view_manager.mojom.h"
-#include "mojo/services/ui/views/interfaces/view_provider.mojom.h"
namespace launcher {
@@ -43,8 +42,6 @@ class LauncherApp : public mojo::ApplicationDelegate,
void RequestUpdatedViewportMetrics();
void LaunchClient(std::string app_url);
- void OnClientConnectionError();
- void OnClientViewCreated(mojo::ui::ViewTokenPtr view_token);
void UpdateClientView();
@@ -62,8 +59,7 @@ class LauncherApp : public mojo::ApplicationDelegate,
std::unique_ptr<LauncherViewTree> view_tree_;
- mojo::ui::ViewProviderPtr client_view_provider_;
- mojo::ui::ViewTokenPtr client_view_token_;
+ mojo::ui::ViewOwnerPtr client_view_owner_;
DISALLOW_COPY_AND_ASSIGN(LauncherApp);
};
« no previous file with comments | « mojo/ui/view_provider_app.cc ('k') | services/ui/launcher/launcher_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698