OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef PPAPI_PROXY_PPB_FLASH_PROXY_H_ | |
6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/compiler_specific.h" | |
11 #include "ppapi/c/pp_bool.h" | |
12 #include "ppapi/c/pp_instance.h" | |
13 #include "ppapi/c/pp_module.h" | |
14 #include "ppapi/c/private/ppb_flash.h" | |
15 #include "ppapi/proxy/interface_proxy.h" | |
16 #include "ppapi/proxy/serialized_var.h" | |
17 #include "ppapi/shared_impl/host_resource.h" | |
18 #include "ppapi/thunk/ppb_flash_api.h" | |
19 | |
20 struct PPB_Flash_Print_1_0; | |
21 | |
22 namespace ppapi { | |
23 | |
24 struct URLRequestInfoData; | |
25 | |
26 namespace proxy { | |
27 | |
28 struct PPBFlash_DrawGlyphs_Params; | |
29 struct SerializedDirEntry; | |
30 class SerializedVarReturnValue; | |
31 | |
32 /////////////////////////// WARNING:DEPRECTATED //////////////////////////////// | |
33 // Please do not add any new functions to this proxy. They should be | |
34 // implemented in the new-style resource proxy (see flash_resource.h). | |
35 // TODO(raymes): All of these functions should be moved to the new-style proxy. | |
36 //////////////////////////////////////////////////////////////////////////////// | |
37 class PPB_Flash_Proxy : public InterfaceProxy, public thunk::PPB_Flash_API { | |
38 public: | |
39 explicit PPB_Flash_Proxy(Dispatcher* dispatcher); | |
40 virtual ~PPB_Flash_Proxy(); | |
41 | |
42 // InterfaceProxy implementation. | |
43 virtual bool OnMessageReceived(const IPC::Message& msg); | |
44 | |
45 static const ApiID kApiID = API_ID_PPB_FLASH; | |
46 | |
47 private: | |
48 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); | |
49 }; | |
50 | |
51 } // namespace proxy | |
52 } // namespace ppapi | |
53 | |
54 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_ | |
OLD | NEW |