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

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

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 #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 <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 virtual void PluginCaretPositionChanged( 211 virtual void PluginCaretPositionChanged(
212 webkit::ppapi::PluginInstance* instance) OVERRIDE; 212 webkit::ppapi::PluginInstance* instance) OVERRIDE;
213 virtual void PluginRequestedCancelComposition( 213 virtual void PluginRequestedCancelComposition(
214 webkit::ppapi::PluginInstance* instance) OVERRIDE; 214 webkit::ppapi::PluginInstance* instance) OVERRIDE;
215 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance) OVERRIDE; 215 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance) OVERRIDE;
216 virtual void InstanceCreated( 216 virtual void InstanceCreated(
217 webkit::ppapi::PluginInstance* instance) OVERRIDE; 217 webkit::ppapi::PluginInstance* instance) OVERRIDE;
218 virtual void InstanceDeleted( 218 virtual void InstanceDeleted(
219 webkit::ppapi::PluginInstance* instance) OVERRIDE; 219 webkit::ppapi::PluginInstance* instance) OVERRIDE;
220 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; 220 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE;
221 virtual uint32_t AudioHardwareOutputSampleRate() OVERRIDE;
222 virtual uint32_t AudioHardwareOutputBufferSize() OVERRIDE;
221 virtual PlatformAudio* CreateAudio( 223 virtual PlatformAudio* CreateAudio(
222 uint32_t sample_rate, 224 uint32_t sample_rate,
223 uint32_t sample_count, 225 uint32_t sample_count,
224 PlatformAudioCommonClient* client) OVERRIDE; 226 PlatformAudioCommonClient* client) OVERRIDE;
225 virtual PlatformAudioInput* CreateAudioInput( 227 virtual PlatformAudioInput* CreateAudioInput(
226 uint32_t sample_rate, 228 uint32_t sample_rate,
227 uint32_t sample_count, 229 uint32_t sample_count,
228 PlatformAudioCommonClient* client) OVERRIDE; 230 PlatformAudioCommonClient* client) OVERRIDE;
229 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; 231 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE;
230 virtual PlatformContext3D* CreateContext3D() OVERRIDE; 232 virtual PlatformContext3D* CreateContext3D() OVERRIDE;
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 // |last_mouse_event_target_| is not owned by this class. We can know about 488 // |last_mouse_event_target_| is not owned by this class. We can know about
487 // when it is destroyed via InstanceDeleted(). 489 // when it is destroyed via InstanceDeleted().
488 webkit::ppapi::PluginInstance* last_mouse_event_target_; 490 webkit::ppapi::PluginInstance* last_mouse_event_target_;
489 491
490 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 492 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
491 493
492 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 494 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
493 }; 495 };
494 496
495 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 497 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698