| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 PP_URLComponents_Dev* components) OVERRIDE; | 110 PP_URLComponents_Dev* components) OVERRIDE; |
| 111 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) OVERRIDE; | 111 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) OVERRIDE; |
| 112 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance, | 112 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance, |
| 113 PP_Instance target) OVERRIDE; | 113 PP_Instance target) OVERRIDE; |
| 114 virtual PP_Var GetPluginInstanceURL( | 114 virtual PP_Var GetPluginInstanceURL( |
| 115 PP_Instance instance, | 115 PP_Instance instance, |
| 116 PP_URLComponents_Dev* components) OVERRIDE; | 116 PP_URLComponents_Dev* components) OVERRIDE; |
| 117 virtual PP_Var GetPluginReferrerURL( | 117 virtual PP_Var GetPluginReferrerURL( |
| 118 PP_Instance instance, | 118 PP_Instance instance, |
| 119 PP_URLComponents_Dev* components) OVERRIDE; | 119 PP_URLComponents_Dev* components) OVERRIDE; |
| 120 virtual void NeedKey(PP_Instance instance, | |
| 121 PP_Var key_system, | |
| 122 PP_Var session_id, | |
| 123 PP_Var init_data) OVERRIDE; | |
| 124 virtual void KeyAdded(PP_Instance instance, | 120 virtual void KeyAdded(PP_Instance instance, |
| 125 PP_Var key_system, | 121 PP_Var key_system, |
| 126 PP_Var session_id) OVERRIDE; | 122 PP_Var session_id) OVERRIDE; |
| 127 virtual void KeyMessage(PP_Instance instance, | 123 virtual void KeyMessage(PP_Instance instance, |
| 128 PP_Var key_system, | 124 PP_Var key_system, |
| 129 PP_Var session_id, | 125 PP_Var session_id, |
| 130 PP_Var message, | 126 PP_Var message, |
| 131 PP_Var default_url) OVERRIDE; | 127 PP_Var default_url) OVERRIDE; |
| 132 virtual void KeyError(PP_Instance instance, | 128 virtual void KeyError(PP_Instance instance, |
| 133 PP_Var key_system, | 129 PP_Var key_system, |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 void OnHostMsgDocumentCanRequest(PP_Instance instance, | 212 void OnHostMsgDocumentCanRequest(PP_Instance instance, |
| 217 SerializedVarReceiveInput url, | 213 SerializedVarReceiveInput url, |
| 218 PP_Bool* result); | 214 PP_Bool* result); |
| 219 void OnHostMsgDocumentCanAccessDocument(PP_Instance active, | 215 void OnHostMsgDocumentCanAccessDocument(PP_Instance active, |
| 220 PP_Instance target, | 216 PP_Instance target, |
| 221 PP_Bool* result); | 217 PP_Bool* result); |
| 222 void OnHostMsgGetPluginInstanceURL(PP_Instance instance, | 218 void OnHostMsgGetPluginInstanceURL(PP_Instance instance, |
| 223 SerializedVarReturnValue result); | 219 SerializedVarReturnValue result); |
| 224 void OnHostMsgGetPluginReferrerURL(PP_Instance instance, | 220 void OnHostMsgGetPluginReferrerURL(PP_Instance instance, |
| 225 SerializedVarReturnValue result); | 221 SerializedVarReturnValue result); |
| 226 virtual void OnHostMsgNeedKey(PP_Instance instance, | |
| 227 SerializedVarReceiveInput key_system, | |
| 228 SerializedVarReceiveInput session_id, | |
| 229 SerializedVarReceiveInput init_data); | |
| 230 virtual void OnHostMsgKeyAdded(PP_Instance instance, | 222 virtual void OnHostMsgKeyAdded(PP_Instance instance, |
| 231 SerializedVarReceiveInput key_system, | 223 SerializedVarReceiveInput key_system, |
| 232 SerializedVarReceiveInput session_id); | 224 SerializedVarReceiveInput session_id); |
| 233 virtual void OnHostMsgKeyMessage(PP_Instance instance, | 225 virtual void OnHostMsgKeyMessage(PP_Instance instance, |
| 234 SerializedVarReceiveInput key_system, | 226 SerializedVarReceiveInput key_system, |
| 235 SerializedVarReceiveInput session_id, | 227 SerializedVarReceiveInput session_id, |
| 236 SerializedVarReceiveInput message, | 228 SerializedVarReceiveInput message, |
| 237 SerializedVarReceiveInput default_url); | 229 SerializedVarReceiveInput default_url); |
| 238 virtual void OnHostMsgKeyError(PP_Instance instance, | 230 virtual void OnHostMsgKeyError(PP_Instance instance, |
| 239 SerializedVarReceiveInput key_system, | 231 SerializedVarReceiveInput key_system, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 // Other helpers. | 264 // Other helpers. |
| 273 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); | 265 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); |
| 274 | 266 |
| 275 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; | 267 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; |
| 276 }; | 268 }; |
| 277 | 269 |
| 278 } // namespace proxy | 270 } // namespace proxy |
| 279 } // namespace ppapi | 271 } // namespace ppapi |
| 280 | 272 |
| 281 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 273 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| OLD | NEW |