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

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

Issue 2622103004: Mus Demo: Demonstrate external window mode (Closed)
Patch Set: Add description of internal VS external modes ; fix namespace comment 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_external.cc ('k') | services/ui/demo/mus_demo_internal.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/mus_demo_internal.h
diff --git a/services/ui/demo/mus_demo_internal.h b/services/ui/demo/mus_demo_internal.h
index c486c16f096bf8bb6630441bc2e5205562c5e6be..3a72654b90a1300a402598ae496c2de35fc95445 100644
--- a/services/ui/demo/mus_demo_internal.h
+++ b/services/ui/demo/mus_demo_internal.h
@@ -17,14 +17,18 @@
namespace ui {
namespace demo {
+// MusDemoInternal demonstrates Mus operating in "internal" mode: There is a
+// single acceleratedWidget for a single display and all aura windows are
+// contained in that display.
class MusDemoInternal : public MusDemo, public aura::WindowManagerDelegate {
public:
MusDemoInternal();
~MusDemoInternal() final;
private:
- void OnStartImpl(std::unique_ptr<aura::WindowTreeClient>& window_tree_client,
- std::unique_ptr<WindowTreeData>& window_tree_data) final;
+ // ui::demo::MusDemo:
+ void OnStartImpl(std::unique_ptr<aura::WindowTreeClient>* window_tree_client,
+ std::unique_ptr<WindowTreeData>* window_tree_data) final;
// aura::WindowManagerDelegate:
void SetWindowManagerClient(aura::WindowManagerClient* client) final;
« no previous file with comments | « services/ui/demo/mus_demo_external.cc ('k') | services/ui/demo/mus_demo_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698