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

Unified Diff: components/html_viewer/html_document.h

Issue 1165013005: Changes html_viewer to get services from appropriate application (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 5 years, 6 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 | « no previous file | components/html_viewer/html_document.cc » ('j') | components/html_viewer/html_viewer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/html_document.h
diff --git a/components/html_viewer/html_document.h b/components/html_viewer/html_document.h
index c082ac1aa9e5afad0d8b93489b938a1fae451926..4bbeb4a2c91b35ac6c6e534edddbaec56b82c2bf 100644
--- a/components/html_viewer/html_document.h
+++ b/components/html_viewer/html_document.h
@@ -58,9 +58,9 @@ class HTMLDocument : public blink::WebViewClient,
// request ViewManagerClient.
//
// |shell| is the Shell connection for this mojo::Application.
- HTMLDocument(mojo::InterfaceRequest<mojo::ServiceProvider> services,
+ HTMLDocument(mojo::ApplicationImpl* html_document_app,
+ mojo::ApplicationConnection* connection,
jam 2015/06/04 22:10:00 nit: update comment.
sky 2015/06/04 23:16:46 Done.
mojo::URLResponsePtr response,
- mojo::ShellPtr shell,
Setup* setup);
~HTMLDocument() override;
@@ -140,10 +140,9 @@ class HTMLDocument : public blink::WebViewClient,
void ConvertLocalFrameToRemoteFrame(blink::WebLocalFrame* frame);
scoped_ptr<mojo::AppRefCount> app_refcount_;
+ mojo::ApplicationImpl* html_document_app_;
mojo::URLResponsePtr response_;
- mojo::ServiceProviderImpl exported_services_;
mojo::ServiceProviderPtr embedder_service_provider_;
- mojo::ShellPtr shell_;
mojo::LazyInterfacePtr<mojo::NavigatorHost> navigator_host_;
blink::WebView* web_view_;
mojo::View* root_;
« no previous file with comments | « no previous file | components/html_viewer/html_document.cc » ('j') | components/html_viewer/html_viewer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698