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

Unified Diff: components/web_view/test_runner/test_runner_application_delegate.h

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
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 dd0b33c3777d4b7900b056cc5627c95cfe653149..4fd2c80614bffa8cde2dbebe4b6860f81463067d 100644
--- a/components/web_view/test_runner/test_runner_application_delegate.h
+++ b/components/web_view/test_runner/test_runner_application_delegate.h
@@ -39,7 +39,8 @@ class TestRunnerApplicationDelegate
void Terminate();
// mojo::ApplicationDelegate:
- void Initialize(mojo::ApplicationImpl* app) override;
+ void Initialize(mojo::Shell* shell, const std::string& url,
+ uint32_t id) override;
bool AcceptConnection(
mojo::ApplicationConnection* connection) override;
@@ -67,7 +68,7 @@ class TestRunnerApplicationDelegate
void Create(mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<LayoutTestRunner> request) override;
- mojo::ApplicationImpl* app_;
+ mojo::Shell* shell_;
mus::mojom::WindowTreeHostPtr host_;
mus::Window* root_;
« no previous file with comments | « components/web_view/test_frame_tree_delegate.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