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

Unified Diff: components/mus/public/cpp/lib/view_tree_client_impl.h

Issue 1390353007: Adds MUSViewsInit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows Created 5 years, 2 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
Index: components/mus/public/cpp/lib/view_tree_client_impl.h
diff --git a/components/mus/public/cpp/lib/view_tree_client_impl.h b/components/mus/public/cpp/lib/view_tree_client_impl.h
index 95e55938a88c6837fe7d0f3bc24555a959cc0f02..b532c7359c1297fc9904bb4b52712442507e1c1a 100644
--- a/components/mus/public/cpp/lib/view_tree_client_impl.h
+++ b/components/mus/public/cpp/lib/view_tree_client_impl.h
@@ -23,6 +23,9 @@ class ViewTreeClientImpl : public ViewTreeConnection,
mojo::InterfaceRequest<mojo::ViewTreeClient> request);
~ViewTreeClientImpl() override;
+ // Wait for OnEmbed(), returning when done.
+ void WaitForEmbed();
+
bool connected() const { return tree_; }
ConnectionSpecificId connection_id() const { return connection_id_; }

Powered by Google App Engine
This is Rietveld 408576698