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

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

Issue 2755673003: Allow parallel creation of windows
Patch Set: nits Created 3 years, 9 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') | services/ui/demo/window_tree_data.cc » ('j') | 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 a31d9b485a5ed3aa2c93f201e76fad2a69de100a..d81c7dfd49778ad7679442a9f93cb6e96fb6e8c9 100644
--- a/services/ui/demo/window_tree_data.h
+++ b/services/ui/demo/window_tree_data.h
@@ -25,9 +25,8 @@ class WindowTreeData {
explicit WindowTreeData(int square_size);
~WindowTreeData();
- // Initializes the window tree host and start drawing frames.
- void Init(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host);
- bool IsInitialized() const { return window_delegate_; }
+ // Initializes a window for bitmap and starts drawing frames.
+ void Init();
const aura::WindowTreeHostMus* WindowTreeHost() const {
return window_tree_host_.get();
@@ -40,6 +39,8 @@ class WindowTreeData {
}
private:
+ bool IsInitialized() const { return window_delegate_; }
+
// Draws one frame, incrementing the rotation angle.
void DrawFrame();
« no previous file with comments | « services/ui/demo/mus_demo_internal.cc ('k') | services/ui/demo/window_tree_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698