Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: ppapi/proxy/ppb_instance_proxy.cc

Issue 10545036: Add PPAPI decryptor interfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert change to ppapi_tests.gypi. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include "ppapi/proxy/ppb_instance_proxy.h" 5 #include "ppapi/proxy/ppb_instance_proxy.h"
6 6
7 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/c/pp_time.h" 8 #include "ppapi/c/pp_time.h"
9 #include "ppapi/c/pp_var.h" 9 #include "ppapi/c/pp_var.h"
10 #include "ppapi/c/ppb_audio_config.h" 10 #include "ppapi/c/ppb_audio_config.h"
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 void PPB_Instance_Proxy::OnHostMsgGetOwnerElementObject( 523 void PPB_Instance_Proxy::OnHostMsgGetOwnerElementObject(
524 PP_Instance instance, 524 PP_Instance instance,
525 SerializedVarReturnValue result) { 525 SerializedVarReturnValue result) {
526 EnterInstanceNoLock enter(instance); 526 EnterInstanceNoLock enter(instance);
527 if (enter.succeeded()) { 527 if (enter.succeeded()) {
528 result.Return(dispatcher(), 528 result.Return(dispatcher(),
529 enter.functions()->GetOwnerElementObject(instance)); 529 enter.functions()->GetOwnerElementObject(instance));
530 } 530 }
531 } 531 }
532 532
533 void PPB_Instance_Proxy::NeedKey(PP_Instance instance,
534 PP_Var key_system,
535 PP_Var session_id,
536 PP_Resource init_data) {
537 }
dmichael (off chromium) 2012/07/31 03:36:31 Are these intentionally blank? Assuming so, please
Tom Finegan 2012/08/02 01:12:04 Done; added NOTIMPLEMENTED() to each, and TODO abo
538
539 void PPB_Instance_Proxy::KeyAdded(PP_Instance instance,
540 PP_Var key_system,
541 PP_Var session_id) {
542 }
543
544 void PPB_Instance_Proxy::KeyMessage(PP_Instance instance,
545 PP_Var key_system,
546 PP_Var session_id,
547 PP_Resource message,
548 PP_Var default_url) {
549 }
550
551 void PPB_Instance_Proxy::KeyError(PP_Instance instance,
552 PP_Var key_system,
553 PP_Var session_id,
554 uint16_t media_error,
555 uint16_t system_error) {
556 }
557
558 void PPB_Instance_Proxy::DeliverBlock(PP_Instance instance,
559 PP_Resource decrypted_block,
560 PP_CompletionCallback callback) {
561 }
562
563 void PPB_Instance_Proxy::DeliverFrame(PP_Instance instance,
564 PP_Resource decrypted_frame,
565 PP_CompletionCallback callback) {
566 }
567
568 void PPB_Instance_Proxy::DeliverSamples(PP_Instance instance,
569 PP_Resource decrypted_samples,
570 PP_CompletionCallback callback) {
571 }
572
573
533 void PPB_Instance_Proxy::OnHostMsgBindGraphics(PP_Instance instance, 574 void PPB_Instance_Proxy::OnHostMsgBindGraphics(PP_Instance instance,
534 const HostResource& device, 575 const HostResource& device,
535 PP_Bool* result) { 576 PP_Bool* result) {
536 EnterInstanceNoLock enter(instance); 577 EnterInstanceNoLock enter(instance);
537 if (enter.succeeded()) { 578 if (enter.succeeded()) {
538 *result = enter.functions()->BindGraphics(instance, 579 *result = enter.functions()->BindGraphics(instance,
539 device.host_resource()); 580 device.host_resource());
540 } 581 }
541 } 582 }
542 583
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 } 835 }
795 836
796 void PPB_Instance_Proxy::MouseLockCompleteInHost(int32_t result, 837 void PPB_Instance_Proxy::MouseLockCompleteInHost(int32_t result,
797 PP_Instance instance) { 838 PP_Instance instance) {
798 dispatcher()->Send(new PpapiMsg_PPBInstance_MouseLockComplete( 839 dispatcher()->Send(new PpapiMsg_PPBInstance_MouseLockComplete(
799 API_ID_PPB_INSTANCE, instance, result)); 840 API_ID_PPB_INSTANCE, instance, result));
800 } 841 }
801 842
802 } // namespace proxy 843 } // namespace proxy
803 } // namespace ppapi 844 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698