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_THUNK_INSTANCE_API_H_ | 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_ |
6 #define PPAPI_THUNK_INSTANCE_API_H_ | 6 #define PPAPI_THUNK_INSTANCE_API_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "ppapi/c/dev/pp_print_settings_dev.h" | 10 #include "ppapi/c/dev/pp_print_settings_dev.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 PP_Var session_id, | 82 PP_Var session_id, |
83 PP_Resource message, | 83 PP_Resource message, |
84 PP_Var default_url) = 0; | 84 PP_Var default_url) = 0; |
85 virtual void KeyError(PP_Instance instance, | 85 virtual void KeyError(PP_Instance instance, |
86 PP_Var key_system, | 86 PP_Var key_system, |
87 PP_Var session_id, | 87 PP_Var session_id, |
88 uint16_t media_error, | 88 uint16_t media_error, |
89 uint16_t system_error) = 0; | 89 uint16_t system_error) = 0; |
90 virtual void DeliverBlock(PP_Instance instance, | 90 virtual void DeliverBlock(PP_Instance instance, |
91 PP_Resource decrypted_block, | 91 PP_Resource decrypted_block, |
92 PP_CompletionCallback callback) = 0; | 92 uint32_t id) = 0; |
93 virtual void DeliverFrame(PP_Instance instance, | 93 virtual void DeliverFrame(PP_Instance instance, |
94 PP_Resource decrypted_frame, | 94 PP_Resource decrypted_frame, |
95 PP_CompletionCallback callback) = 0; | 95 PP_CompletionCallback callback) = 0; |
96 virtual void DeliverSamples(PP_Instance instance, | 96 virtual void DeliverSamples(PP_Instance instance, |
97 PP_Resource decrypted_samples, | 97 PP_Resource decrypted_samples, |
98 PP_CompletionCallback callback) = 0; | 98 PP_CompletionCallback callback) = 0; |
99 | 99 |
100 // Find. | 100 // Find. |
101 virtual void NumberOfFindResultsChanged(PP_Instance instance, | 101 virtual void NumberOfFindResultsChanged(PP_Instance instance, |
102 int32_t total, | 102 int32_t total, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 PP_URLComponents_Dev* components) = 0; | 181 PP_URLComponents_Dev* components) = 0; |
182 #endif // !defined(OS_NACL) | 182 #endif // !defined(OS_NACL) |
183 | 183 |
184 static const ApiID kApiID = API_ID_PPB_INSTANCE; | 184 static const ApiID kApiID = API_ID_PPB_INSTANCE; |
185 }; | 185 }; |
186 | 186 |
187 } // namespace thunk | 187 } // namespace thunk |
188 } // namespace ppapi | 188 } // namespace ppapi |
189 | 189 |
190 #endif // PPAPI_THUNK_INSTANCE_API_H_ | 190 #endif // PPAPI_THUNK_INSTANCE_API_H_ |
OLD | NEW |