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

Side by Side Diff: chrome/renderer/renderer_webaudiodevice_impl.h

Issue 6703003: Move a bunch of html5 renderer code to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/renderer_webidbcursor_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDERER_WEBAUDIODEVICE_IMPL_H_ 5 #ifndef CHROME_RENDERER_RENDERER_WEBAUDIODEVICE_IMPL_H_
6 #define CHROME_RENDERER_RENDERER_WEBAUDIODEVICE_IMPL_H_ 6 #define CHROME_RENDERER_RENDERER_WEBAUDIODEVICE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
11 #include "chrome/renderer/audio_device.h" 11 #include "content/renderer/audio_device.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAudioDevice.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAudioDevice.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h"
14 14
15 class RendererWebAudioDeviceImpl : public WebKit::WebAudioDevice, 15 class RendererWebAudioDeviceImpl : public WebKit::WebAudioDevice,
16 public AudioDevice::RenderCallback { 16 public AudioDevice::RenderCallback {
17 public: 17 public:
18 RendererWebAudioDeviceImpl(size_t buffer_size, 18 RendererWebAudioDeviceImpl(size_t buffer_size,
19 int channels, 19 int channels,
20 double sample_rate, 20 double sample_rate,
21 WebKit::WebAudioDevice::RenderCallback* callback); 21 WebKit::WebAudioDevice::RenderCallback* callback);
(...skipping 10 matching lines...) Expand all
32 private: 32 private:
33 scoped_ptr<AudioDevice> audio_device_; 33 scoped_ptr<AudioDevice> audio_device_;
34 34
35 // Weak reference to the callback into WebKit code. 35 // Weak reference to the callback into WebKit code.
36 WebKit::WebAudioDevice::RenderCallback* client_callback_; 36 WebKit::WebAudioDevice::RenderCallback* client_callback_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(RendererWebAudioDeviceImpl); 38 DISALLOW_COPY_AND_ASSIGN(RendererWebAudioDeviceImpl);
39 }; 39 };
40 40
41 #endif // CHROME_RENDERER_RENDERER_WEBAUDIODEVICE_IMPL_H_ 41 #endif // CHROME_RENDERER_RENDERER_WEBAUDIODEVICE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/renderer_webidbcursor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698