OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 PPAPI_PPB_PDF_PROXY_H_ | 5 #ifndef PPAPI_PPB_PDF_PROXY_H_ |
6 #define PPAPI_PPB_PDF_PROXY_H_ | 6 #define PPAPI_PPB_PDF_PROXY_H_ |
7 | 7 |
8 #include "ppapi/c/pp_module.h" | 8 #include "ppapi/c/pp_module.h" |
9 #include "ppapi/proxy/interface_proxy.h" | 9 #include "ppapi/proxy/interface_proxy.h" |
10 #include "ppapi/shared_impl/host_resource.h" | 10 #include "ppapi/shared_impl/host_resource.h" |
11 | 11 |
12 struct PPB_PDF; | 12 struct PPB_PDF; |
13 | 13 |
14 namespace pp { | 14 namespace ppapi { |
15 namespace proxy { | 15 namespace proxy { |
16 | 16 |
17 struct SerializedFontDescription; | 17 struct SerializedFontDescription; |
18 | 18 |
19 class PPB_PDF_Proxy : public InterfaceProxy { | 19 class PPB_PDF_Proxy : public InterfaceProxy { |
20 public: | 20 public: |
21 PPB_PDF_Proxy(Dispatcher* dispatcher, const void* target_interface); | 21 PPB_PDF_Proxy(Dispatcher* dispatcher, const void* target_interface); |
22 virtual ~PPB_PDF_Proxy(); | 22 virtual ~PPB_PDF_Proxy(); |
23 | 23 |
24 static const Info* GetInfo(); | 24 static const Info* GetInfo(); |
(...skipping 10 matching lines...) Expand all Loading... |
35 void OnMsgGetFontFileWithFallback(PP_Module module, | 35 void OnMsgGetFontFileWithFallback(PP_Module module, |
36 const SerializedFontDescription& desc, | 36 const SerializedFontDescription& desc, |
37 int32_t charset, | 37 int32_t charset, |
38 ppapi::HostResource* result); | 38 ppapi::HostResource* result); |
39 void OnMsgGetFontTableForPrivateFontFile(const ppapi::HostResource& font_file, | 39 void OnMsgGetFontTableForPrivateFontFile(const ppapi::HostResource& font_file, |
40 uint32_t table, | 40 uint32_t table, |
41 std::string* result); | 41 std::string* result); |
42 }; | 42 }; |
43 | 43 |
44 } // namespace proxy | 44 } // namespace proxy |
45 } // namespace pp | 45 } // namespace ppapi |
46 | 46 |
47 #endif // PPAPI_PPB_PDF_PROXY_H_ | 47 #endif // PPAPI_PPB_PDF_PROXY_H_ |
OLD | NEW |