| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ | 5 #ifndef COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ |
| 6 #define COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ | 6 #define COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
| 17 #include "ipc/ipc_platform_file.h" | 17 #include "ipc/ipc_platform_file.h" |
| 18 #include "ppapi/c/ppb_image_data.h" | 18 #include "ppapi/c/ppb_image_data.h" |
| 19 #include "ppapi/c/private/ppb_pdf.h" | 19 #include "ppapi/c/private/ppb_pdf.h" |
| 20 #include "ppapi/host/resource_host.h" | 20 #include "ppapi/host/resource_host.h" |
| 21 #include "ppapi/proxy/serialized_structs.h" | 21 #include "ppapi/proxy/serialized_structs.h" |
| 22 | 22 |
| 23 struct PP_ImageDataDesc; | |
| 24 struct PP_Size; | |
| 25 class SkBitmap; | |
| 26 | |
| 27 namespace content { | 23 namespace content { |
| 28 class PepperPluginInstance; | |
| 29 class RenderFrame; | 24 class RenderFrame; |
| 30 class RendererPpapiHost; | 25 class RendererPpapiHost; |
| 31 } | 26 } |
| 32 | 27 |
| 33 namespace ppapi { | 28 namespace ppapi { |
| 34 class HostResource; | |
| 35 | |
| 36 namespace host { | 29 namespace host { |
| 37 struct HostMessageContext; | 30 struct HostMessageContext; |
| 38 } // namespace host | 31 } // namespace host |
| 39 } // namespace ppapi | 32 } // namespace ppapi |
| 40 | 33 |
| 41 namespace pdf { | 34 namespace pdf { |
| 42 | 35 |
| 43 class PdfAccessibilityTree; | 36 class PdfAccessibilityTree; |
| 44 | 37 |
| 45 class PepperPDFHost : public ppapi::host::ResourceHost { | 38 class PepperPDFHost : public ppapi::host::ResourceHost { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 std::unique_ptr<PdfAccessibilityTree> pdf_accessibility_tree_; | 106 std::unique_ptr<PdfAccessibilityTree> pdf_accessibility_tree_; |
| 114 | 107 |
| 115 content::RendererPpapiHost* const host_; | 108 content::RendererPpapiHost* const host_; |
| 116 | 109 |
| 117 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost); | 110 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost); |
| 118 }; | 111 }; |
| 119 | 112 |
| 120 } // namespace pdf | 113 } // namespace pdf |
| 121 | 114 |
| 122 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ | 115 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ |
| OLD | NEW |