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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 9129007: Work on improving PpbAudioConfig:RecommendSampleFrameCount (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 "webkit/plugins/ppapi/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/shared_impl/ppapi_preferences.h" 10 #include "ppapi/shared_impl/ppapi_preferences.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 int32 command_buffer_route_id) { 63 int32 command_buffer_route_id) {
64 return NULL; 64 return NULL;
65 } 65 }
66 66
67 MockPluginDelegate::PlatformVideoCapture* 67 MockPluginDelegate::PlatformVideoCapture*
68 MockPluginDelegate::CreateVideoCapture( 68 MockPluginDelegate::CreateVideoCapture(
69 media::VideoCapture::EventHandler* handler){ 69 media::VideoCapture::EventHandler* handler){
70 return NULL; 70 return NULL;
71 } 71 }
72 72
73 uint32_t MockPluginDelegate::AudioHardwareOutputSampleRate() {
74 return 0;
75 }
76
77 uint32_t MockPluginDelegate::AudioHardwareOutputBufferSize() {
78 return 0;
79 }
80
73 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio( 81 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio(
74 uint32_t sample_rate, 82 uint32_t sample_rate,
75 uint32_t sample_count, 83 uint32_t sample_count,
76 PlatformAudioCommonClient* client) { 84 PlatformAudioCommonClient* client) {
77 return NULL; 85 return NULL;
78 } 86 }
79 87
80 MockPluginDelegate::PlatformAudioInput* MockPluginDelegate::CreateAudioInput( 88 MockPluginDelegate::PlatformAudioInput* MockPluginDelegate::CreateAudioInput(
81 uint32_t sample_rate, 89 uint32_t sample_rate,
82 uint32_t sample_count, 90 uint32_t sample_count,
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 bool MockPluginDelegate::IsInFullscreenMode() { 381 bool MockPluginDelegate::IsInFullscreenMode() {
374 return false; 382 return false;
375 } 383 }
376 384
377 bool MockPluginDelegate::IsPageVisible() const { 385 bool MockPluginDelegate::IsPageVisible() const {
378 return true; 386 return true;
379 } 387 }
380 388
381 } // namespace ppapi 389 } // namespace ppapi
382 } // namespace webkit 390 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698