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

Unified Diff: components/mus/public/cpp/tests/window_server_test_base.h

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 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 | « components/mus/mus_app.cc ('k') | components/mus/public/cpp/tests/window_server_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/tests/window_server_test_base.h
diff --git a/components/mus/public/cpp/tests/window_server_test_base.h b/components/mus/public/cpp/tests/window_server_test_base.h
index 03e557fa567364d6b386eb273a519947de0e25b0..e1c3c744ffd30f33e57a8678f0223a09ef56a695 100644
--- a/components/mus/public/cpp/tests/window_server_test_base.h
+++ b/components/mus/public/cpp/tests/window_server_test_base.h
@@ -11,7 +11,6 @@
#include "components/mus/public/cpp/window_tree_delegate.h"
#include "components/mus/public/interfaces/window_tree.mojom.h"
#include "components/mus/public/interfaces/window_tree_host.mojom.h"
-#include "mojo/shell/public/cpp/application_delegate.h"
#include "mojo/shell/public/cpp/application_test_base.h"
#include "mojo/shell/public/cpp/interface_factory.h"
@@ -23,7 +22,7 @@ namespace mus {
// established as part of SetUp().
class WindowServerTestBase
: public mojo::test::ApplicationTestBase,
- public mojo::ApplicationDelegate,
+ public mojo::ShellClient,
public WindowTreeDelegate,
public WindowManagerDelegate,
public mojo::InterfaceFactory<mojom::WindowTreeClient> {
@@ -64,11 +63,10 @@ class WindowServerTestBase
void SetUp() override;
// test::ApplicationTestBase:
- mojo::ApplicationDelegate* GetApplicationDelegate() override;
+ mojo::ShellClient* GetShellClient() override;
- // ApplicationDelegate:
- bool AcceptConnection(
- mojo::ApplicationConnection* connection) override;
+ // mojo::ShellClient:
+ bool AcceptConnection(mojo::Connection* connection) override;
// WindowTreeDelegate:
void OnEmbed(Window* root) override;
@@ -85,7 +83,7 @@ class WindowServerTestBase
void OnAccelerator(uint32_t id, mojom::EventPtr event) override;
// InterfaceFactory<WindowTreeClient>:
- void Create(mojo::ApplicationConnection* connection,
+ void Create(mojo::Connection* connection,
mojo::InterfaceRequest<mojom::WindowTreeClient> request) override;
// Used to receive the most recent window tree connection loaded by an embed
« no previous file with comments | « components/mus/mus_app.cc ('k') | components/mus/public/cpp/tests/window_server_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698