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

Unified Diff: components/html_viewer/html_document.cc

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
« no previous file with comments | « components/html_viewer/html_document.h ('k') | components/html_viewer/html_document_application_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/html_document.cc
diff --git a/components/html_viewer/html_document.cc b/components/html_viewer/html_document.cc
index fca5dd4405e26124e6e9eddd7e289fbea5cfda36..fdb4efdbe3b3718708fd88c5ca8f77c3c7e661f7 100644
--- a/components/html_viewer/html_document.cc
+++ b/components/html_viewer/html_document.cc
@@ -28,7 +28,6 @@
#include "mojo/converters/geometry/geometry_type_converters.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "mojo/shell/public/cpp/application_impl.h"
-#include "mojo/shell/public/cpp/connect.h"
#include "mojo/shell/public/interfaces/shell.mojom.h"
#include "third_party/WebKit/public/web/WebLocalFrame.h"
#include "ui/gfx/geometry/dip_util.h"
@@ -95,7 +94,7 @@ void HTMLDocument::TransferableState::Move(TransferableState* other) {
}
HTMLDocument::HTMLDocument(mojo::Shell* html_document_shell,
- mojo::ApplicationConnection* connection,
+ mojo::Connection* connection,
mojo::URLResponsePtr response,
GlobalState* global_state,
const DeleteCallback& delete_callback,
@@ -271,7 +270,7 @@ void HTMLDocument::OnFrameDestroyed() {
delete this;
}
-void HTMLDocument::Create(mojo::ApplicationConnection* connection,
+void HTMLDocument::Create(mojo::Connection* connection,
mojo::InterfaceRequest<AxProvider> request) {
if (!did_finish_local_frame_load_) {
// Cache AxProvider interface requests until the document finishes loading.
@@ -284,7 +283,7 @@ void HTMLDocument::Create(mojo::ApplicationConnection* connection,
}
}
-void HTMLDocument::Create(mojo::ApplicationConnection* connection,
+void HTMLDocument::Create(mojo::Connection* connection,
mojo::InterfaceRequest<TestHTMLViewer> request) {
CHECK(IsTestInterfaceEnabled());
if (!did_finish_local_frame_load_) {
@@ -298,7 +297,7 @@ void HTMLDocument::Create(mojo::ApplicationConnection* connection,
}
void HTMLDocument::Create(
- mojo::ApplicationConnection* connection,
+ mojo::Connection* connection,
mojo::InterfaceRequest<web_view::mojom::FrameClient> request) {
if (frame_) {
DVLOG(1) << "Request for FrameClient after one already vended.";
@@ -308,7 +307,7 @@ void HTMLDocument::Create(
}
void HTMLDocument::Create(
- mojo::ApplicationConnection* connection,
+ mojo::Connection* connection,
mojo::InterfaceRequest<devtools_service::DevToolsAgent> request) {
if (frame_) {
if (frame_->devtools_agent())
@@ -319,7 +318,7 @@ void HTMLDocument::Create(
}
void HTMLDocument::Create(
- mojo::ApplicationConnection* connection,
+ mojo::Connection* connection,
mojo::InterfaceRequest<mus::mojom::WindowTreeClient> request) {
DCHECK(!transferable_state_.window_tree_delegate_impl);
transferable_state_.window_tree_delegate_impl.reset(
« no previous file with comments | « components/html_viewer/html_document.h ('k') | components/html_viewer/html_document_application_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698