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

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

Issue 10413015: Upstream implementation for embedded video for WebMediaPlayerAndroid (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: refactored the code to remove SetVideoSurface() call Created 8 years, 7 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
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_view.h
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h
index 7d291a49ad9465c8fcf1f79b8511d9450ee82e82..7c8227667997b84e12becd26519d0357ca855d6c 100644
--- a/content/public/renderer/render_view.h
+++ b/content/public/renderer/render_view.h
@@ -16,6 +16,12 @@ namespace webkit_glue {
struct WebPreferences;
}
+#if defined(OS_ANDROID)
+namespace webkit_media {
+class WebMediaPlayerManagerAndroid;
+}
+#endif
+
namespace WebKit {
class WebFrame;
class WebNode;
@@ -130,6 +136,12 @@ class CONTENT_EXPORT RenderView : public IPC::Message::Sender {
WebKit::WebFrame* frame,
const WebKit::WebURLRequest& request,
WebKit::WebNavigationPolicy policy) = 0;
+
+#if defined(OS_ANDROID)
+ // Returns the manager for all the WebMediaPlayers.
+ virtual webkit_media::WebMediaPlayerManagerAndroid*
+ GetWebMediaPlayerManager() = 0;
jam 2012/05/21 15:39:13 does this need to be in the public API? i.e. who's
qinmin 2012/05/21 16:42:39 Not necessarily. We call this in content/renderer/
+#endif
};
} // namespace content
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698