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

Unified Diff: services/ui/demo/mus_demo_external.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.cc ('k') | services/ui/demo/mus_demo_external.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/mus_demo_external.h
diff --git a/services/ui/demo/mus_demo_external.h b/services/ui/demo/mus_demo_external.h
index 844e04186fd225084c1cbcd2cf7c175ce6de503c..5e662f4f0d6a12e96a39e9608bb95f8f6fe1259f 100644
--- a/services/ui/demo/mus_demo_external.h
+++ b/services/ui/demo/mus_demo_external.h
@@ -22,18 +22,16 @@ class MusDemoExternal : public MusDemo {
~MusDemoExternal() final;
private:
- void OpenNewWindow();
+ void OpenNewWindow(size_t window_index);
// ui::demo::MusDemo:
void OnStartImpl() final;
std::unique_ptr<aura::WindowTreeClient> CreateWindowTreeClient() final;
// aura::WindowTreeClientDelegate:
- void OnEmbed(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) final;
+ void OnEmbedRootReady(aura::WindowTreeHostMus* window_tree_host) final;
void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) final;
- size_t initialized_windows_count_ = 0;
-
size_t number_of_windows_ = 1;
DISALLOW_COPY_AND_ASSIGN(MusDemoExternal);
« no previous file with comments | « services/ui/demo/mus_demo.cc ('k') | services/ui/demo/mus_demo_external.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698