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

Unified Diff: Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h

Issue 13685002: Enable video painting on Canvas for Chrome on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing Ken's comments. Created 7 years, 8 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 | Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h
diff --git a/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h b/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h
index 32e3c4d650c61d14e723ce8f32525c19e2e26b92..72142b588291dac1ec256e4d662ae334c1a7fc4b 100644
--- a/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h
+++ b/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h
@@ -35,6 +35,10 @@
#include "AudioSourceProvider.h"
#include "MediaPlayerPrivate.h"
+#if defined(OS_ANDROID)
+#include "SkRefCnt.h"
+#include "SkBitmap.h"
+#endif
#include "WebAudioSourceProviderClient.h"
#include "WebMediaPlayerClient.h"
#include <wtf/OwnPtr.h>
@@ -171,6 +175,12 @@ private:
bool acceleratedRenderingInUse();
#endif
+#if defined(OS_ANDROID)
+ void paintOnAndroid(WebCore::GraphicsContext* context, WebCore::GraphicsContext3D* context3D, const WebCore::IntRect& rect, uint8_t alpha);
Ken Russell (switch to Gerrit) 2013/04/09 00:07:28 Please add a big FIXME here indicating that the re
+ SkAutoTUnref<GrTexture> m_texture;
+ SkBitmap m_bitmap;
+#endif
+
WebCore::MediaPlayer* m_mediaPlayer;
OwnPtr<WebMediaPlayer> m_webMediaPlayer;
WebCore::KURL m_url;
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698