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

Unified Diff: content/public/renderer/render_view.h

Issue 12457043: Android implementation of WebAudio audio file decoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: content/public/renderer/render_view.h
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h
index 44dc6363df42b7c0dd3b6cf9d7d5d35d5e7fded1..0eca43fd4f48b114bc2a979aee0ab99e2eaa280d 100644
--- a/content/public/renderer/render_view.h
+++ b/content/public/renderer/render_view.h
@@ -6,6 +6,7 @@
#define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
#include "base/basictypes.h"
+#include "base/shared_memory.h"
#include "base/string16.h"
#include "content/common/content_export.h"
#include "ipc/ipc_sender.h"
@@ -173,6 +174,11 @@ class CONTENT_EXPORT RenderView : public IPC::Sender {
// performance impact and should not be used for other purposes.
// Requires enabling the impl-side painting feature in the compositor.
virtual skia::RefPtr<SkPicture> CapturePicture() = 0;
+
+ // Starts the WebAudio MediaCodec decoder.
+ static void RunWebAudioMediaCodec(
+ base::SharedMemoryHandle encoded_data_handle,
+ base::FileDescriptor pcm_output);
#endif
protected:

Powered by Google App Engine
This is Rietveld 408576698