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_FLASH_PROXY_H_ | 5 #ifndef PPAPI_PPB_FLASH_PROXY_H_ |
6 #define PPAPI_PPB_FLASH_PROXY_H_ | 6 #define PPAPI_PPB_FLASH_PROXY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ipc/ipc_platform_file.h" | 10 #include "ipc/ipc_platform_file.h" |
11 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
12 #include "ppapi/c/pp_module.h" | 12 #include "ppapi/c/pp_module.h" |
| 13 #include "ppapi/proxy/host_resource.h" |
13 #include "ppapi/proxy/interface_proxy.h" | 14 #include "ppapi/proxy/interface_proxy.h" |
14 | 15 |
15 struct PP_FileInfo_Dev; | 16 struct PP_FileInfo_Dev; |
16 struct PPB_Flash; | 17 struct PPB_Flash; |
17 | 18 |
18 namespace pp { | 19 namespace pp { |
19 namespace proxy { | 20 namespace proxy { |
20 | 21 |
21 struct PPBFlash_DrawGlyphs_Params; | 22 struct PPBFlash_DrawGlyphs_Params; |
22 class SerializedVarReturnValue; | 23 class SerializedVarReturnValue; |
(...skipping 14 matching lines...) Expand all Loading... |
37 | 38 |
38 private: | 39 private: |
39 // Message handlers. | 40 // Message handlers. |
40 void OnMsgSetInstanceAlwaysOnTop(PP_Instance instance, | 41 void OnMsgSetInstanceAlwaysOnTop(PP_Instance instance, |
41 PP_Bool on_top); | 42 PP_Bool on_top); |
42 void OnMsgDrawGlyphs(const pp::proxy::PPBFlash_DrawGlyphs_Params& params, | 43 void OnMsgDrawGlyphs(const pp::proxy::PPBFlash_DrawGlyphs_Params& params, |
43 PP_Bool* result); | 44 PP_Bool* result); |
44 void OnMsgGetProxyForURL(PP_Instance instance, | 45 void OnMsgGetProxyForURL(PP_Instance instance, |
45 const std::string& url, | 46 const std::string& url, |
46 SerializedVarReturnValue result); | 47 SerializedVarReturnValue result); |
47 void OnMsgNavigateToURL(PP_Instance instance, | 48 void OnMsgNavigate(const HostResource& request_info, |
48 const std::string& url, | 49 const std::string& target, |
49 const std::string& target, | 50 bool from_user_action, |
50 PP_Bool* result); | 51 int32_t* result); |
51 void OnMsgRunMessageLoop(PP_Instance instance); | 52 void OnMsgRunMessageLoop(PP_Instance instance); |
52 void OnMsgQuitMessageLoop(PP_Instance instance); | 53 void OnMsgQuitMessageLoop(PP_Instance instance); |
53 }; | 54 }; |
54 | 55 |
55 } // namespace proxy | 56 } // namespace proxy |
56 } // namespace pp | 57 } // namespace pp |
57 | 58 |
58 #endif // PPAPI_PPB_FLASH_PROXY_H_ | 59 #endif // PPAPI_PPB_FLASH_PROXY_H_ |
OLD | NEW |