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

Unified Diff: content/common/mojo/mojo_shell_connection_impl.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: content/common/mojo/mojo_shell_connection_impl.h
diff --git a/content/common/mojo/mojo_shell_connection_impl.h b/content/common/mojo/mojo_shell_connection_impl.h
index 60331e5807e10a75a94441e6bafd6537b27ee51b..24381385431aa127d2219155144b57f18fb8ea09 100644
--- a/content/common/mojo/mojo_shell_connection_impl.h
+++ b/content/common/mojo/mojo_shell_connection_impl.h
@@ -50,12 +50,13 @@ class MojoShellConnectionImpl : public MojoShellConnection,
~MojoShellConnectionImpl() override;
// mojo::ApplicationDelegate:
- void Initialize(mojo::ApplicationImpl* application) override;
+ void Initialize(mojo::Shell* shell, const std::string& url,
+ uint32_t id) override;
bool AcceptConnection(
mojo::ApplicationConnection* connection) override;
// MojoShellConnection:
- mojo::ApplicationImpl* GetApplication() override;
+ mojo::Shell* GetShell() override;
void AddListener(Listener* listener) override;
void RemoveListener(Listener* listener) override;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mus.cc ('k') | content/common/mojo/mojo_shell_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698