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

Side by Side Diff: content/renderer/pepper_plugin_delegate_impl.h

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 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <map> 10 #include <map>
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance); 183 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance);
184 virtual void InstanceCreated( 184 virtual void InstanceCreated(
185 webkit::ppapi::PluginInstance* instance); 185 webkit::ppapi::PluginInstance* instance);
186 virtual void InstanceDeleted( 186 virtual void InstanceDeleted(
187 webkit::ppapi::PluginInstance* instance); 187 webkit::ppapi::PluginInstance* instance);
188 virtual SkBitmap* GetSadPluginBitmap(); 188 virtual SkBitmap* GetSadPluginBitmap();
189 virtual PlatformAudio* CreateAudio( 189 virtual PlatformAudio* CreateAudio(
190 uint32_t sample_rate, 190 uint32_t sample_rate,
191 uint32_t sample_count, 191 uint32_t sample_count,
192 PlatformAudio::Client* client); 192 PlatformAudio::Client* client);
193 virtual PlatformAudioInput* CreateAudioInput(
194 uint32_t sample_rate,
195 uint32_t sample_count,
196 PlatformAudioInput::Client* client);
193 virtual PlatformImage2D* CreateImage2D(int width, int height); 197 virtual PlatformImage2D* CreateImage2D(int width, int height);
194 virtual PlatformContext3D* CreateContext3D(); 198 virtual PlatformContext3D* CreateContext3D();
195 virtual PlatformVideoCapture* CreateVideoCapture( 199 virtual PlatformVideoCapture* CreateVideoCapture(
196 media::VideoCapture::EventHandler* handler) OVERRIDE; 200 media::VideoCapture::EventHandler* handler) OVERRIDE;
197 virtual PlatformVideoDecoder* CreateVideoDecoder( 201 virtual PlatformVideoDecoder* CreateVideoDecoder(
198 media::VideoDecodeAccelerator::Client* client, 202 media::VideoDecodeAccelerator::Client* client,
199 int32 command_buffer_route_id); 203 int32 command_buffer_route_id);
200 virtual PpapiBroker* ConnectToPpapiBroker( 204 virtual PpapiBroker* ConnectToPpapiBroker(
201 webkit::ppapi::PPB_Broker_Impl* client); 205 webkit::ppapi::PPB_Broker_Impl* client);
202 virtual void NumberOfFindResultsChanged(int identifier, 206 virtual void NumberOfFindResultsChanged(int identifier,
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 // received responses for them. 378 // received responses for them.
375 // The logic in LockMouse() makes sure that a lock request won't be sent when 379 // The logic in LockMouse() makes sure that a lock request won't be sent when
376 // there is a pending unlock request. 380 // there is a pending unlock request.
377 bool pending_lock_request_; 381 bool pending_lock_request_;
378 bool pending_unlock_request_; 382 bool pending_unlock_request_;
379 383
380 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 384 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
381 }; 385 };
382 386
383 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 387 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/pepper_plugin_delegate_impl.cc » ('j') | content/renderer/pepper_plugin_delegate_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698