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

Unified Diff: components/web_view/public/cpp/web_view.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
« no previous file with comments | « components/web_view/pending_web_view_load.cc ('k') | components/web_view/public/cpp/web_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/public/cpp/web_view.h
diff --git a/components/web_view/public/cpp/web_view.h b/components/web_view/public/cpp/web_view.h
index bf5675a083dd2f601f8722664e359449b0afb6dd..72e14de549432a67dec11f8ed86a022a1812b11a 100644
--- a/components/web_view/public/cpp/web_view.h
+++ b/components/web_view/public/cpp/web_view.h
@@ -11,7 +11,7 @@
#include "mojo/public/cpp/bindings/binding.h"
namespace mojo {
-class ApplicationImpl;
+class Shell;
}
namespace mus {
@@ -25,7 +25,7 @@ class WebView {
explicit WebView(mojom::WebViewClient* client);
~WebView();
- void Init(mojo::ApplicationImpl* app, mus::Window* window);
+ void Init(mojo::Shell* shell, mus::Window* window);
mojom::WebView* web_view() { return web_view_.get(); }
« no previous file with comments | « components/web_view/pending_web_view_load.cc ('k') | components/web_view/public/cpp/web_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698