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

Unified Diff: services/ui/demo/mus_demo.cc

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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.h ('k') | services/ui/public/cpp/tests/window_server_shelltest_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/mus_demo.cc
diff --git a/services/ui/demo/mus_demo.cc b/services/ui/demo/mus_demo.cc
index 9f1279c8c678c625c74e63bca2d4151be8b714b8..ecc313fd12ed72dee0332991b11482f9c0c6ae8e 100644
--- a/services/ui/demo/mus_demo.cc
+++ b/services/ui/demo/mus_demo.cc
@@ -63,16 +63,16 @@ MusDemo::~MusDemo() {
delete window_tree_client_;
}
-void MusDemo::Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) {
+void MusDemo::OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) {
connector_ = connector;
ui::GpuService::Initialize(connector_);
window_tree_client_ = new ui::WindowTreeClient(this, this, nullptr);
window_tree_client_->ConnectAsWindowManager(connector);
}
-bool MusDemo::AcceptConnection(shell::Connection* connection) {
+bool MusDemo::OnConnect(shell::Connection* connection) {
return true;
}
« no previous file with comments | « services/ui/demo/mus_demo.h ('k') | services/ui/public/cpp/tests/window_server_shelltest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698