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

Unified Diff: components/web_view/test_runner/test_runner_application_delegate.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
Index: components/web_view/test_runner/test_runner_application_delegate.h
diff --git a/components/web_view/test_runner/test_runner_application_delegate.h b/components/web_view/test_runner/test_runner_application_delegate.h
index 4fd2c80614bffa8cde2dbebe4b6860f81463067d..fc1d3d9eb0b218f5829daf8bec4e24a3f6705c00 100644
--- a/components/web_view/test_runner/test_runner_application_delegate.h
+++ b/components/web_view/test_runner/test_runner_application_delegate.h
@@ -17,15 +17,15 @@
#include "components/web_view/public/interfaces/web_view.mojom.h"
#include "components/web_view/test_runner/public/interfaces/layout_test_runner.mojom.h"
#include "mojo/common/weak_binding_set.h"
-#include "mojo/shell/public/cpp/application_delegate.h"
#include "mojo/shell/public/cpp/interface_factory.h"
+#include "mojo/shell/public/cpp/shell_client.h"
class GURL;
namespace web_view {
class TestRunnerApplicationDelegate
- : public mojo::ApplicationDelegate,
+ : public mojo::ShellClient,
public mus::WindowTreeDelegate,
public mojom::WebViewClient,
public LayoutTestRunner,
@@ -38,11 +38,10 @@ class TestRunnerApplicationDelegate
void LaunchURL(const GURL& test_url);
void Terminate();
- // mojo::ApplicationDelegate:
+ // mojo::ShellClient:
void Initialize(mojo::Shell* shell, const std::string& url,
uint32_t id) override;
- bool AcceptConnection(
- mojo::ApplicationConnection* connection) override;
+ bool AcceptConnection(mojo::Connection* connection) override;
// mus::WindowTreeDelegate:
void OnEmbed(mus::Window* root) override;
@@ -65,7 +64,7 @@ class TestRunnerApplicationDelegate
void TestFinished() override;
// mojo::InterfaceFactory<LayoutTestRunner>:
- void Create(mojo::ApplicationConnection* connection,
+ void Create(mojo::Connection* connection,
mojo::InterfaceRequest<LayoutTestRunner> request) override;
mojo::Shell* shell_;
« no previous file with comments | « components/web_view/frame_connection.cc ('k') | components/web_view/test_runner/test_runner_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698