OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ | 5 #ifndef MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ |
6 #define MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ | 6 #define MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "mojo/examples/pepper_container_app/plugin_module.h" | 10 #include "mojo/examples/pepper_container_app/plugin_module.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 virtual void ZoomLimitsChanged(PP_Instance instance, | 111 virtual void ZoomLimitsChanged(PP_Instance instance, |
112 double minimum_factor, | 112 double minimum_factor, |
113 double maximum_factor) OVERRIDE; | 113 double maximum_factor) OVERRIDE; |
114 virtual PP_Var GetDocumentURL(PP_Instance instance, | 114 virtual PP_Var GetDocumentURL(PP_Instance instance, |
115 PP_URLComponents_Dev* components) OVERRIDE; | 115 PP_URLComponents_Dev* components) OVERRIDE; |
116 virtual void PromiseResolved(PP_Instance instance, | 116 virtual void PromiseResolved(PP_Instance instance, |
117 uint32 promise_id) OVERRIDE; | 117 uint32 promise_id) OVERRIDE; |
118 virtual void PromiseResolvedWithSession(PP_Instance instance, | 118 virtual void PromiseResolvedWithSession(PP_Instance instance, |
119 uint32 promise_id, | 119 uint32 promise_id, |
120 PP_Var web_session_id_var) OVERRIDE; | 120 PP_Var web_session_id_var) OVERRIDE; |
| 121 virtual void PromiseResolvedWithKeyIds(PP_Instance instance, |
| 122 uint32 promise_id, |
| 123 PP_Var key_ids_var) OVERRIDE; |
121 virtual void PromiseRejected(PP_Instance instance, | 124 virtual void PromiseRejected(PP_Instance instance, |
122 uint32 promise_id, | 125 uint32 promise_id, |
123 PP_CdmExceptionCode exception_code, | 126 PP_CdmExceptionCode exception_code, |
124 uint32 system_code, | 127 uint32 system_code, |
125 PP_Var error_description_var) OVERRIDE; | 128 PP_Var error_description_var) OVERRIDE; |
126 virtual void SessionMessage(PP_Instance instance, | 129 virtual void SessionMessage(PP_Instance instance, |
127 PP_Var web_session_id_var, | 130 PP_Var web_session_id_var, |
128 PP_Var message_var, | 131 PP_Var message_var, |
129 PP_Var destination_url_var) OVERRIDE; | 132 PP_Var destination_url_var) OVERRIDE; |
| 133 virtual void SessionKeysChange(PP_Instance instance, |
| 134 PP_Var web_session_id_var, |
| 135 PP_Bool has_additional_usable_key) OVERRIDE; |
| 136 virtual void SessionExpirationChange(PP_Instance instance, |
| 137 PP_Var web_session_id_var, |
| 138 PP_Time new_expiry_time) OVERRIDE; |
130 virtual void SessionReady(PP_Instance instance, | 139 virtual void SessionReady(PP_Instance instance, |
131 PP_Var web_session_id_var) OVERRIDE; | 140 PP_Var web_session_id_var) OVERRIDE; |
132 virtual void SessionClosed(PP_Instance instance, | 141 virtual void SessionClosed(PP_Instance instance, |
133 PP_Var web_session_id_var) OVERRIDE; | 142 PP_Var web_session_id_var) OVERRIDE; |
134 virtual void SessionError(PP_Instance instance, | 143 virtual void SessionError(PP_Instance instance, |
135 PP_Var web_session_id_var, | 144 PP_Var web_session_id_var, |
136 PP_CdmExceptionCode exception_code, | 145 PP_CdmExceptionCode exception_code, |
137 uint32 system_code, | 146 uint32 system_code, |
138 PP_Var error_description_var) OVERRIDE; | 147 PP_Var error_description_var) OVERRIDE; |
139 virtual void DeliverBlock(PP_Instance instance, | 148 virtual void DeliverBlock(PP_Instance instance, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 scoped_refptr<PluginModule> plugin_module_; | 185 scoped_refptr<PluginModule> plugin_module_; |
177 ppapi::ScopedPPResource bound_graphics_; | 186 ppapi::ScopedPPResource bound_graphics_; |
178 | 187 |
179 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 188 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
180 }; | 189 }; |
181 | 190 |
182 } // namespace examples | 191 } // namespace examples |
183 } // namespace mojo | 192 } // namespace mojo |
184 | 193 |
185 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ | 194 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ |
OLD | NEW |