| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PROXY_PPP_INSTANCE_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPP_INSTANCE_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPP_INSTANCE_PROXY_H_ | 6 #define PPAPI_PROXY_PPP_INSTANCE_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
| 12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
| 13 #include "ppapi/c/pp_var.h" | 13 #include "ppapi/c/pp_var.h" |
| 14 #include "ppapi/proxy/interface_proxy.h" | 14 #include "ppapi/proxy/interface_proxy.h" |
| 15 #include "ppapi/proxy/serialized_resource.h" |
| 15 | 16 |
| 16 struct PP_InputEvent; | 17 struct PP_InputEvent; |
| 17 struct PP_Rect; | 18 struct PP_Rect; |
| 18 struct PPP_Instance; | 19 struct PPP_Instance; |
| 19 | 20 |
| 20 namespace pp { | 21 namespace pp { |
| 21 namespace proxy { | 22 namespace proxy { |
| 22 | 23 |
| 23 class SerializedVarReturnValue; | 24 class SerializedVarReturnValue; |
| 24 | 25 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 44 PP_Bool* result); | 45 PP_Bool* result); |
| 45 void OnMsgDidDestroy(PP_Instance instance); | 46 void OnMsgDidDestroy(PP_Instance instance); |
| 46 void OnMsgDidChangeView(PP_Instance instance, | 47 void OnMsgDidChangeView(PP_Instance instance, |
| 47 const PP_Rect& position, | 48 const PP_Rect& position, |
| 48 const PP_Rect& clip); | 49 const PP_Rect& clip); |
| 49 void OnMsgDidChangeFocus(PP_Instance instance, PP_Bool has_focus); | 50 void OnMsgDidChangeFocus(PP_Instance instance, PP_Bool has_focus); |
| 50 void OnMsgHandleInputEvent(PP_Instance instance, | 51 void OnMsgHandleInputEvent(PP_Instance instance, |
| 51 const PP_InputEvent& event, | 52 const PP_InputEvent& event, |
| 52 PP_Bool* result); | 53 PP_Bool* result); |
| 53 void OnMsgHandleDocumentLoad(PP_Instance instance, | 54 void OnMsgHandleDocumentLoad(PP_Instance instance, |
| 54 PP_Resource url_loader, | 55 SerializedResource url_loader, |
| 55 PP_Bool* result); | 56 PP_Bool* result); |
| 56 void OnMsgGetInstanceObject(PP_Instance instance, | 57 void OnMsgGetInstanceObject(PP_Instance instance, |
| 57 SerializedVarReturnValue result); | 58 SerializedVarReturnValue result); |
| 58 }; | 59 }; |
| 59 | 60 |
| 60 } // namespace proxy | 61 } // namespace proxy |
| 61 } // namespace pp | 62 } // namespace pp |
| 62 | 63 |
| 63 #endif // PPAPI_PROXY_PPP_INSTANCE_PROXY_H_ | 64 #endif // PPAPI_PROXY_PPP_INSTANCE_PROXY_H_ |
| OLD | NEW |