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

Unified Diff: components/pdf_viewer/pdf_viewer.cc

Issue 1314953002: Rename ViewManagerService,ViewManagerClient -> ViewTree,ViewTreeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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_frame_apptest.cc ('k') | components/view_manager/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/pdf_viewer/pdf_viewer.cc
diff --git a/components/pdf_viewer/pdf_viewer.cc b/components/pdf_viewer/pdf_viewer.cc
index 8a5a1d5d05a19327b8265aa3d68f3f9619f6d28f..fe994ab1dd3ebb8fe6ffaaf19ea83d2bbe11e753 100644
--- a/components/pdf_viewer/pdf_viewer.cc
+++ b/components/pdf_viewer/pdf_viewer.cc
@@ -6,7 +6,6 @@
#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/memory/scoped_ptr.h"
-#include "components/view_manager/public/cpp/lib/view_manager_client_impl.h"
#include "components/view_manager/public/cpp/types.h"
#include "components/view_manager/public/cpp/view.h"
#include "components/view_manager/public/cpp/view_manager.h"
@@ -351,7 +350,7 @@ class EmbedderData {
class PDFView : public mojo::ApplicationDelegate,
public mojo::ViewManagerDelegate,
public mojo::ViewObserver,
- public mojo::InterfaceFactory<mojo::ViewManagerClient> {
+ public mojo::InterfaceFactory<mojo::ViewTreeClient> {
public:
PDFView(mojo::InterfaceRequest<mojo::Application> request,
mojo::URLResponsePtr response)
@@ -374,7 +373,7 @@ class PDFView : public mojo::ApplicationDelegate,
// Overridden from ApplicationDelegate:
bool ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) override {
- connection->AddService<mojo::ViewManagerClient>(this);
+ connection->AddService<mojo::ViewTreeClient>(this);
return true;
}
@@ -434,10 +433,10 @@ class PDFView : public mojo::ApplicationDelegate,
app_.Quit();
}
- // Overridden from mojo::InterfaceFactory<mojo::ViewManagerClient>:
+ // Overridden from mojo::InterfaceFactory<mojo::ViewTreeClient>:
void Create(
mojo::ApplicationConnection* connection,
- mojo::InterfaceRequest<mojo::ViewManagerClient> request) override {
+ mojo::InterfaceRequest<mojo::ViewTreeClient> request) override {
mojo::ViewManager::Create(this, request.Pass());
}
« no previous file with comments | « components/html_viewer/html_frame_apptest.cc ('k') | components/view_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698