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

Side by Side Diff: content/renderer/pepper/resource_creation_impl.cc

Issue 2755613002: Support audio output device enumeration and selection in PPAPI (Closed)
Patch Set: Fix format, Rebase Created 3 years, 8 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
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 "content/renderer/pepper/resource_creation_impl.h" 5 #include "content/renderer/pepper/resource_creation_impl.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/common/content_switches_internal.h" 8 #include "content/common/content_switches_internal.h"
9 #include "content/renderer/pepper/ppb_audio_impl.h" 9 #include "content/renderer/pepper/ppb_audio_impl.h"
10 #include "content/renderer/pepper/ppb_broker_impl.h" 10 #include "content/renderer/pepper/ppb_broker_impl.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 66 }
67 67
68 PP_Resource ResourceCreationImpl::CreateAudioEncoder(PP_Instance instance) { 68 PP_Resource ResourceCreationImpl::CreateAudioEncoder(PP_Instance instance) {
69 return 0; // Not supported in-process. 69 return 0; // Not supported in-process.
70 } 70 }
71 71
72 PP_Resource ResourceCreationImpl::CreateAudioInput(PP_Instance instance) { 72 PP_Resource ResourceCreationImpl::CreateAudioInput(PP_Instance instance) {
73 return 0; // Not supported in-process. 73 return 0; // Not supported in-process.
74 } 74 }
75 75
76 PP_Resource ResourceCreationImpl::CreateAudioOutput(PP_Instance instance) {
77 return 0; // Not supported in-process.
78 }
79
76 PP_Resource ResourceCreationImpl::CreateCompositor(PP_Instance instance) { 80 PP_Resource ResourceCreationImpl::CreateCompositor(PP_Instance instance) {
77 return 0; // Not supported in-process. 81 return 0; // Not supported in-process.
78 } 82 }
79 83
80 PP_Resource ResourceCreationImpl::CreateBroker(PP_Instance instance) { 84 PP_Resource ResourceCreationImpl::CreateBroker(PP_Instance instance) {
81 return (new PPB_Broker_Impl(instance))->GetReference(); 85 return (new PPB_Broker_Impl(instance))->GetReference();
82 } 86 }
83 87
84 PP_Resource ResourceCreationImpl::CreateBuffer(PP_Instance instance, 88 PP_Resource ResourceCreationImpl::CreateBuffer(PP_Instance instance,
85 uint32_t size) { 89 uint32_t size) {
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 wheel_ticks, 371 wheel_ticks,
368 scroll_by_page); 372 scroll_by_page);
369 } 373 }
370 374
371 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 375 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
372 PP_Instance instance) { 376 PP_Instance instance) {
373 return 0; // Not supported in-process. 377 return 0; // Not supported in-process.
374 } 378 }
375 379
376 } // namespace content 380 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.h ('k') | ppapi/api/dev/ppb_audio_output_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698