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

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

Issue 8138008: Implementation of ppapi audio. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/shared_impl/ppapi_preferences.h" 9 #include "ppapi/shared_impl/ppapi_preferences.h"
10 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 10 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 return NULL; 68 return NULL;
69 } 69 }
70 70
71 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio( 71 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio(
72 uint32_t sample_rate, 72 uint32_t sample_rate,
73 uint32_t sample_count, 73 uint32_t sample_count,
74 PlatformAudio::Client* client) { 74 PlatformAudio::Client* client) {
75 return NULL; 75 return NULL;
76 } 76 }
77 77
78 MockPluginDelegate::PlatformAudioInput* MockPluginDelegate::CreateAudioInput(
79 uint32_t sample_rate,
80 uint32_t sample_count,
81 PlatformAudioInput::Client* client) {
82 return NULL;
83 }
84
78 MockPluginDelegate::PpapiBroker* MockPluginDelegate::ConnectToPpapiBroker( 85 MockPluginDelegate::PpapiBroker* MockPluginDelegate::ConnectToPpapiBroker(
79 PPB_Broker_Impl* client) { 86 PPB_Broker_Impl* client) {
80 return NULL; 87 return NULL;
81 } 88 }
82 89
83 void MockPluginDelegate::NumberOfFindResultsChanged(int identifier, 90 void MockPluginDelegate::NumberOfFindResultsChanged(int identifier,
84 int total, 91 int total,
85 bool final_result) { 92 bool final_result) {
86 } 93 }
87 94
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 306
300 void MockPluginDelegate::DidReceiveMouseEvent(PluginInstance* instance) { 307 void MockPluginDelegate::DidReceiveMouseEvent(PluginInstance* instance) {
301 } 308 }
302 309
303 bool MockPluginDelegate::IsInFullscreenMode() { 310 bool MockPluginDelegate::IsInFullscreenMode() {
304 return false; 311 return false;
305 } 312 }
306 313
307 } // namespace ppapi 314 } // namespace ppapi
308 } // namespace webkit 315 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698