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

Unified Diff: components/pdf/renderer/pepper_pdf_host.h

Issue 2455543002: Convert PDF component IPC to mojo. (Closed)
Patch Set: Feedback Created 3 years, 9 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/pdf/renderer/BUILD.gn ('k') | components/pdf/renderer/pepper_pdf_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/pdf/renderer/pepper_pdf_host.h
diff --git a/components/pdf/renderer/pepper_pdf_host.h b/components/pdf/renderer/pepper_pdf_host.h
index 94e8cc6c25108d9e7d48dfbb928875b10c703e29..b5de8c27bdbc3e4168a6087249fe28460e91d221 100644
--- a/components/pdf/renderer/pepper_pdf_host.h
+++ b/components/pdf/renderer/pepper_pdf_host.h
@@ -14,6 +14,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/strings/string16.h"
+#include "components/pdf/common/pdf.mojom.h"
#include "ipc/ipc_platform_file.h"
#include "ppapi/c/ppb_image_data.h"
#include "ppapi/c/private/ppb_pdf.h"
@@ -103,9 +104,11 @@ class PepperPDFHost : public ppapi::host::ResourceHost {
content::RenderFrame* GetRenderFrame();
- std::unique_ptr<PdfAccessibilityTree> pdf_accessibility_tree_;
+ mojom::PdfService* GetRemotePdfService();
+ std::unique_ptr<PdfAccessibilityTree> pdf_accessibility_tree_;
content::RendererPpapiHost* const host_;
+ mojom::PdfServiceAssociatedPtr remote_pdf_service_;
DISALLOW_COPY_AND_ASSIGN(PepperPDFHost);
};
« no previous file with comments | « components/pdf/renderer/BUILD.gn ('k') | components/pdf/renderer/pepper_pdf_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698