| 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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 PP_Var GetPluginInstanceURL(PP_Instance instance, | 464 PP_Var GetPluginInstanceURL(PP_Instance instance, |
| 465 PP_URLComponents_Dev* components) override; | 465 PP_URLComponents_Dev* components) override; |
| 466 PP_Var GetPluginReferrerURL(PP_Instance instance, | 466 PP_Var GetPluginReferrerURL(PP_Instance instance, |
| 467 PP_URLComponents_Dev* components) override; | 467 PP_URLComponents_Dev* components) override; |
| 468 | 468 |
| 469 // PPB_ContentDecryptor_Private implementation. | 469 // PPB_ContentDecryptor_Private implementation. |
| 470 void PromiseResolved(PP_Instance instance, uint32 promise_id) override; | 470 void PromiseResolved(PP_Instance instance, uint32 promise_id) override; |
| 471 void PromiseResolvedWithSession(PP_Instance instance, | 471 void PromiseResolvedWithSession(PP_Instance instance, |
| 472 uint32 promise_id, | 472 uint32 promise_id, |
| 473 PP_Var web_session_id_var) override; | 473 PP_Var web_session_id_var) override; |
| 474 void PromiseResolvedWithKeyIds(PP_Instance instance, | |
| 475 uint32 promise_id, | |
| 476 PP_Var key_ids_var) override; | |
| 477 void PromiseRejected(PP_Instance instance, | 474 void PromiseRejected(PP_Instance instance, |
| 478 uint32 promise_id, | 475 uint32 promise_id, |
| 479 PP_CdmExceptionCode exception_code, | 476 PP_CdmExceptionCode exception_code, |
| 480 uint32 system_code, | 477 uint32 system_code, |
| 481 PP_Var error_description_var) override; | 478 PP_Var error_description_var) override; |
| 482 void SessionMessage(PP_Instance instance, | 479 void SessionMessage(PP_Instance instance, |
| 483 PP_Var web_session_id_var, | 480 PP_Var web_session_id_var, |
| 484 PP_Var message_var, | 481 PP_MessageType message_type, |
| 485 PP_Var destination_url_var) override; | 482 PP_Var message_var) override; |
| 486 void SessionKeysChange(PP_Instance instance, | 483 void SessionKeysChange(PP_Instance instance, |
| 487 PP_Var web_session_id_var, | 484 PP_Var web_session_id_var, |
| 488 PP_Bool has_additional_usable_key) override; | 485 PP_Bool has_additional_usable_key, |
| 486 PP_Var key_information_var) override; |
| 489 void SessionExpirationChange(PP_Instance instance, | 487 void SessionExpirationChange(PP_Instance instance, |
| 490 PP_Var web_session_id_var, | 488 PP_Var web_session_id_var, |
| 491 PP_Time new_expiry_time) override; | 489 PP_Time new_expiry_time) override; |
| 492 void SessionReady(PP_Instance instance, PP_Var web_session_id_var) override; | |
| 493 void SessionClosed(PP_Instance instance, PP_Var web_session_id_var) override; | 490 void SessionClosed(PP_Instance instance, PP_Var web_session_id_var) override; |
| 494 void SessionError(PP_Instance instance, | 491 void SessionError(PP_Instance instance, |
| 495 PP_Var web_session_id_var, | 492 PP_Var web_session_id_var, |
| 496 PP_CdmExceptionCode exception_code, | 493 PP_CdmExceptionCode exception_code, |
| 497 uint32 system_code, | 494 uint32 system_code, |
| 498 PP_Var error_description_var) override; | 495 PP_Var error_description_var) override; |
| 499 void DeliverBlock(PP_Instance instance, | 496 void DeliverBlock(PP_Instance instance, |
| 500 PP_Resource decrypted_block, | 497 PP_Resource decrypted_block, |
| 501 const PP_DecryptedBlockInfo* block_info) override; | 498 const PP_DecryptedBlockInfo* block_info) override; |
| 502 void DecoderInitializeDone(PP_Instance instance, | 499 void DecoderInitializeDone(PP_Instance instance, |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 // view change events. | 912 // view change events. |
| 916 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 913 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
| 917 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 914 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
| 918 | 915 |
| 919 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 916 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
| 920 }; | 917 }; |
| 921 | 918 |
| 922 } // namespace content | 919 } // namespace content |
| 923 | 920 |
| 924 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 921 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| OLD | NEW |