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

Unified Diff: mojo/services/public/cpp/view_manager/view_tree_node.h

Issue 316083002: Add support for multiple roots to the client lib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/public/cpp/view_manager/view_tree_node.h
diff --git a/mojo/services/public/cpp/view_manager/view_tree_node.h b/mojo/services/public/cpp/view_manager/view_tree_node.h
index a5d9b360fc3fac17e7c338a852210c1ec325481a..913a354fb1093d416912e8955779b6a8d5671b35 100644
--- a/mojo/services/public/cpp/view_manager/view_tree_node.h
+++ b/mojo/services/public/cpp/view_manager/view_tree_node.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/observer_list.h"
+#include "mojo/public/cpp/bindings/array.h"
#include "mojo/services/public/cpp/view_manager/view_manager_types.h"
#include "ui/gfx/geometry/rect.h"
@@ -59,6 +60,9 @@ class ViewTreeNode {
void SetActiveView(View* view);
View* active_view() { return active_view_; }
+ // Embedding.
+ void Embed(const String& url);
+
protected:
// This class is subclassed only by test classes that provide a public ctor.
ViewTreeNode();

Powered by Google App Engine
This is Rietveld 408576698