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

Unified Diff: services/ui/demo/window_tree_data.h

Issue 2700493005: Mus Demo: Refactor code to prepare multiple windows in external mode (Closed)
Patch Set: Rename MusExternal::tree_client_ & describes the helper functions for WindowTreeData. Created 3 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 | « services/ui/demo/mus_demo_internal.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/window_tree_data.h
diff --git a/services/ui/demo/window_tree_data.h b/services/ui/demo/window_tree_data.h
index 0e1bcbd0806f8cc96f1feb5cdaf4c26a18b5d571..007b04f6d284c4d87c9775f239c2a8c65562e9c3 100644
--- a/services/ui/demo/window_tree_data.h
+++ b/services/ui/demo/window_tree_data.h
@@ -29,6 +29,10 @@ class WindowTreeData {
void Init(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host);
bool IsInitialized() const { return !!window_tree_host_; }
+ const aura::WindowTreeHostMus* WindowTreeHost() const {
+ return window_tree_host_.get();
+ }
+
private:
// Draws one frame, incrementing the rotation angle.
void DrawFrame();
« no previous file with comments | « services/ui/demo/mus_demo_internal.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698