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 "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_time.h" | 10 #include "ppapi/c/pp_time.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 PP_Var session_id, | 113 PP_Var session_id, |
114 PP_Resource message, | 114 PP_Resource message, |
115 PP_Var default_url) OVERRIDE; | 115 PP_Var default_url) OVERRIDE; |
116 virtual void KeyError(PP_Instance instance, | 116 virtual void KeyError(PP_Instance instance, |
117 PP_Var key_system, | 117 PP_Var key_system, |
118 PP_Var session_id, | 118 PP_Var session_id, |
119 uint16_t media_error, | 119 uint16_t media_error, |
120 uint16_t system_error) OVERRIDE; | 120 uint16_t system_error) OVERRIDE; |
121 virtual void DeliverBlock(PP_Instance instance, | 121 virtual void DeliverBlock(PP_Instance instance, |
122 PP_Resource decrypted_block, | 122 PP_Resource decrypted_block, |
123 PP_CompletionCallback callback) OVERRIDE; | 123 uint32_t id) OVERRIDE; |
124 virtual void DeliverFrame(PP_Instance instance, | 124 virtual void DeliverFrame(PP_Instance instance, |
125 PP_Resource decrypted_frame, | 125 PP_Resource decrypted_frame, |
126 PP_CompletionCallback callback) OVERRIDE; | 126 PP_CompletionCallback callback) OVERRIDE; |
127 virtual void DeliverSamples(PP_Instance instance, | 127 virtual void DeliverSamples(PP_Instance instance, |
128 PP_Resource decrypted_samples, | 128 PP_Resource decrypted_samples, |
129 PP_CompletionCallback callback) OVERRIDE; | 129 PP_CompletionCallback callback) OVERRIDE; |
130 | 130 |
131 #if !defined(OS_NACL) | 131 #if !defined(OS_NACL) |
132 virtual PP_Var ResolveRelativeToDocument( | 132 virtual PP_Var ResolveRelativeToDocument( |
133 PP_Instance instance, | 133 PP_Instance instance, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 220 |
221 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); | 221 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); |
222 | 222 |
223 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; | 223 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; |
224 }; | 224 }; |
225 | 225 |
226 } // namespace proxy | 226 } // namespace proxy |
227 } // namespace ppapi | 227 } // namespace ppapi |
228 | 228 |
229 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 229 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
OLD | NEW |