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 <string> | 10 #include <string> |
11 #include <vector> | |
11 | 12 |
12 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 14 #include "base/macros.h" |
14 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
15 #include "ipc/ipc_platform_file.h" | 16 #include "ipc/ipc_platform_file.h" |
16 #include "ppapi/c/ppb_image_data.h" | 17 #include "ppapi/c/ppb_image_data.h" |
17 #include "ppapi/c/private/ppb_pdf.h" | 18 #include "ppapi/c/private/ppb_pdf.h" |
18 #include "ppapi/host/resource_host.h" | 19 #include "ppapi/host/resource_host.h" |
19 #include "ppapi/proxy/serialized_structs.h" | 20 #include "ppapi/proxy/serialized_structs.h" |
20 | 21 |
21 struct PP_ImageDataDesc; | 22 struct PP_ImageDataDesc; |
22 struct PP_Size; | 23 struct PP_Size; |
23 class SkBitmap; | 24 class SkBitmap; |
24 | 25 |
25 namespace content { | 26 namespace content { |
26 class PepperPluginInstance; | 27 class PepperPluginInstance; |
27 class RendererPpapiHost; | 28 class RendererPpapiHost; |
28 } | 29 } |
29 | 30 |
30 namespace ppapi { | 31 namespace ppapi { |
32 | |
31 class HostResource; | 33 class HostResource; |
32 } | |
33 | 34 |
34 namespace ppapi { | |
35 namespace host { | 35 namespace host { |
36 struct HostMessageContext; | 36 struct HostMessageContext; |
37 } | 37 } |
38 } | 38 } // ppapi |
tommycli
2016/07/22 21:47:37
} // namespace ppapi
Also... since there's a \n
Lei Zhang
2016/07/22 22:20:21
Compacted.
tommycli
2016/07/22 22:29:11
Hey I think it should probably still be // namespa
| |
39 | 39 |
40 namespace pdf { | 40 namespace pdf { |
41 | 41 |
42 class PdfAccessibilityTree; | 42 class PdfAccessibilityTree; |
43 | 43 |
44 class PepperPDFHost : public ppapi::host::ResourceHost { | 44 class PepperPDFHost : public ppapi::host::ResourceHost { |
45 public: | 45 public: |
46 class PrintClient { | 46 class PrintClient { |
47 public: | 47 public: |
48 virtual ~PrintClient() {} | 48 virtual ~PrintClient() {} |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
109 std::unique_ptr<PdfAccessibilityTree> pdf_accessibility_tree_; | 109 std::unique_ptr<PdfAccessibilityTree> pdf_accessibility_tree_; |
110 | 110 |
111 content::RendererPpapiHost* host_; | 111 content::RendererPpapiHost* host_; |
112 | 112 |
113 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost); | 113 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost); |
114 }; | 114 }; |
115 | 115 |
116 } // namespace pdf | 116 } // namespace pdf |
117 | 117 |
118 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ | 118 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ |
OLD | NEW |