Index: content/renderer/media/android/webmediaplayer_android.h |
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h |
index 7e6bb2d258d5d1ad401d94f7b9edc8ddb5da16fd..541039e6852d88c5fd627f43804d44b153c93601 100644 |
--- a/content/renderer/media/android/webmediaplayer_android.h |
+++ b/content/renderer/media/android/webmediaplayer_android.h |
@@ -41,6 +41,7 @@ class MediaLog; |
namespace blink { |
class WebFrame; |
+class WebURL; |
} |
namespace webkit { |
@@ -96,6 +97,9 @@ class WebMediaPlayerAndroid |
virtual const blink::WebTimeRanges& buffered(); |
virtual double maxTimeSeekable() const; |
+ // Poster image, as defined in the <video> element. |
+ virtual void setPoster(const blink::WebURL& poster) OVERRIDE; |
+ |
// Methods for painting. |
virtual void paint(blink::WebCanvas* canvas, |
const blink::WebRect& rect, |
@@ -424,6 +428,8 @@ class WebMediaPlayerAndroid |
// has been selected. |
blink::WebString current_key_system_; |
+ blink::WebURL poster_url_; |
+ |
// Temporary for EME v0.1. In the future the init data type should be passed |
// through GenerateKeyRequest() directly from WebKit. |
std::string init_data_type_; |