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

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

Issue 1949233002: Create a RegisterViewAssociate method in ViewManager (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add tests to mojo tests 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 | « services/ui/launcher/launch_instance.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 dcf0d4803796525f08eaed26b42ec8fdf963aa22..f04e6453495e778758a0a288fa33131996073574 100644
--- a/services/ui/launcher/launcher_app.h
+++ b/services/ui/launcher/launcher_app.h
@@ -24,6 +24,9 @@ class LauncherApp : public mojo::ApplicationDelegate, public Launcher {
private:
// |ApplicationDelegate|:
void Initialize(mojo::ApplicationImpl* app_impl) override;
+ void InitCompositor();
+ void InitViewManager();
+ void InitViewAssociates(const std::string& associate_urls_command_line_param);
bool ConfigureIncomingConnection(
mojo::ServiceProviderImpl* service_provider_impl) override;
@@ -32,14 +35,23 @@ class LauncherApp : public mojo::ApplicationDelegate, public Launcher {
void OnLaunchTermination(uint32_t id);
+ void OnCompositorConnectionError();
+ void OnViewManagerConnectionError();
+ void OnViewAssociateConnectionError();
+
mojo::ApplicationImpl* app_impl_;
mojo::TracingImpl tracing_;
mojo::BindingSet<Launcher> bindings_;
std::unordered_map<uint32_t, std::unique_ptr<LaunchInstance>>
launch_instances_;
+
uint32_t next_id_;
+ mojo::gfx::composition::CompositorPtr compositor_;
+ mojo::ui::ViewManagerPtr view_manager_;
+ std::vector<mojo::ui::ViewAssociateOwnerPtr> view_associate_owners_;
+
DISALLOW_COPY_AND_ASSIGN(LauncherApp);
};
« no previous file with comments | « services/ui/launcher/launch_instance.cc ('k') | services/ui/launcher/launcher_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698