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

Unified Diff: components/mus/demo/mus_demo.h

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 | « components/mus/demo/main.cc ('k') | components/mus/demo/mus_demo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/demo/mus_demo.h
diff --git a/components/mus/demo/mus_demo.h b/components/mus/demo/mus_demo.h
index 71779bb783642f72476b959223252be4f95543cd..3c5268c390a3a909a4080ed2bd80c38590d9bb11 100644
--- a/components/mus/demo/mus_demo.h
+++ b/components/mus/demo/mus_demo.h
@@ -31,7 +31,7 @@ namespace mus_demo {
// A simple MUS Demo mojo app. This app connects to the mojo:mus, creates a new
// window and draws a spinning square in the center of the window. Provides a
// simple way to demonstrate that the graphic stack works as intended.
-class MusDemo : public mojo::ShellClient,
+class MusDemo : public shell::ShellClient,
public mus::WindowTreeDelegate,
public mus::WindowManagerDelegate {
public:
@@ -39,11 +39,11 @@ class MusDemo : public mojo::ShellClient,
~MusDemo() override;
private:
- // mojo::ShellClient:
- void Initialize(mojo::Connector* connector,
- const mojo::Identity& identity,
+ // shell::ShellClient:
+ void Initialize(shell::Connector* connector,
+ const shell::Identity& identity,
uint32_t id) override;
- bool AcceptConnection(mojo::Connection* connection) override;
+ bool AcceptConnection(shell::Connection* connection) override;
// WindowTreeDelegate:
void OnEmbed(mus::Window* root) override;
@@ -66,7 +66,7 @@ class MusDemo : public mojo::ShellClient,
// Draws one frame, incrementing the rotation angle.
void DrawFrame();
- mojo::Connector* connector_ = nullptr;
+ shell::Connector* connector_ = nullptr;
mus::Window* window_ = nullptr;
mus::mojom::WindowTreeHostPtr window_tree_host_;
« no previous file with comments | « components/mus/demo/main.cc ('k') | components/mus/demo/mus_demo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698