| 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_PROXY_PPB_INSTANCE_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
| 9 #include "ppapi/c/pp_resource.h" | 9 #include "ppapi/c/pp_resource.h" |
| 10 #include "ppapi/c/pp_var.h" | 10 #include "ppapi/c/pp_var.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 virtual PP_Var GetDocumentURL(PP_Instance instance, | 88 virtual PP_Var GetDocumentURL(PP_Instance instance, |
| 89 PP_URLComponents_Dev* components) OVERRIDE; | 89 PP_URLComponents_Dev* components) OVERRIDE; |
| 90 virtual PP_Var GetPluginInstanceURL( | 90 virtual PP_Var GetPluginInstanceURL( |
| 91 PP_Instance instance, | 91 PP_Instance instance, |
| 92 PP_URLComponents_Dev* components) OVERRIDE; | 92 PP_URLComponents_Dev* components) OVERRIDE; |
| 93 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; | 93 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; |
| 94 virtual int32_t LockMouse(PP_Instance instance, | 94 virtual int32_t LockMouse(PP_Instance instance, |
| 95 PP_CompletionCallback callback) OVERRIDE; | 95 PP_CompletionCallback callback) OVERRIDE; |
| 96 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; | 96 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; |
| 97 | 97 |
| 98 static const InterfaceID kInterfaceID = INTERFACE_ID_PPB_INSTANCE; | 98 static const ApiID kApiID = API_ID_PPB_INSTANCE; |
| 99 | 99 |
| 100 private: | 100 private: |
| 101 // Message handlers. | 101 // Message handlers. |
| 102 void OnMsgGetWindowObject(PP_Instance instance, | 102 void OnMsgGetWindowObject(PP_Instance instance, |
| 103 SerializedVarReturnValue result); | 103 SerializedVarReturnValue result); |
| 104 void OnMsgGetOwnerElementObject(PP_Instance instance, | 104 void OnMsgGetOwnerElementObject(PP_Instance instance, |
| 105 SerializedVarReturnValue result); | 105 SerializedVarReturnValue result); |
| 106 void OnMsgBindGraphics(PP_Instance instance, | 106 void OnMsgBindGraphics(PP_Instance instance, |
| 107 const ppapi::HostResource& device, | 107 const ppapi::HostResource& device, |
| 108 PP_Bool* result); | 108 PP_Bool* result); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 void OnMsgGetDocumentURL(PP_Instance instance, | 154 void OnMsgGetDocumentURL(PP_Instance instance, |
| 155 SerializedVarReturnValue result); | 155 SerializedVarReturnValue result); |
| 156 void OnMsgGetPluginInstanceURL(PP_Instance instance, | 156 void OnMsgGetPluginInstanceURL(PP_Instance instance, |
| 157 SerializedVarReturnValue result); | 157 SerializedVarReturnValue result); |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 } // namespace proxy | 160 } // namespace proxy |
| 161 } // namespace ppapi | 161 } // namespace ppapi |
| 162 | 162 |
| 163 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 163 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| OLD | NEW |