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

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

Issue 195043002: Remove unnecassary parameter "sampleRate" for loadAudioResource(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 size_t buffer_size, unsigned input_channels, unsigned channels, 111 size_t buffer_size, unsigned input_channels, unsigned channels,
112 double sample_rate, blink::WebAudioDevice::RenderCallback* callback); 112 double sample_rate, blink::WebAudioDevice::RenderCallback* callback);
113 113
114 virtual blink::WebAudioDevice* createAudioDevice( 114 virtual blink::WebAudioDevice* createAudioDevice(
115 size_t buffer_size, unsigned input_channels, unsigned channels, 115 size_t buffer_size, unsigned input_channels, unsigned channels,
116 double sample_rate, blink::WebAudioDevice::RenderCallback* callback, 116 double sample_rate, blink::WebAudioDevice::RenderCallback* callback,
117 const blink::WebString& input_device_id); 117 const blink::WebString& input_device_id);
118 118
119 virtual bool loadAudioResource( 119 virtual bool loadAudioResource(
120 blink::WebAudioBus* destination_bus, const char* audio_file_data, 120 blink::WebAudioBus* destination_bus, const char* audio_file_data,
121 size_t data_size);
122 // DEPRECATED
123 virtual bool loadAudioResource(
124 blink::WebAudioBus* destination_bus, const char* audio_file_data,
121 size_t data_size, double sample_rate); 125 size_t data_size, double sample_rate);
122 126
123 virtual blink::WebContentDecryptionModule* createContentDecryptionModule( 127 virtual blink::WebContentDecryptionModule* createContentDecryptionModule(
124 const blink::WebString& key_system); 128 const blink::WebString& key_system);
125 virtual blink::WebMIDIAccessor* 129 virtual blink::WebMIDIAccessor*
126 createMIDIAccessor(blink::WebMIDIAccessorClient* client); 130 createMIDIAccessor(blink::WebMIDIAccessorClient* client);
127 131
128 virtual blink::WebBlobRegistry* blobRegistry(); 132 virtual blink::WebBlobRegistry* blobRegistry();
129 virtual void sampleGamepads(blink::WebGamepads&); 133 virtual void sampleGamepads(blink::WebGamepads&);
130 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( 134 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 scoped_ptr<ScreenOrientationDispatcher> screen_orientation_dispatcher_; 232 scoped_ptr<ScreenOrientationDispatcher> screen_orientation_dispatcher_;
229 233
230 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; 234 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_;
231 235
232 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); 236 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl);
233 }; 237 };
234 238
235 } // namespace content 239 } // namespace content
236 240
237 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 241 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/audio_decoder.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698