Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index 8cd3149246537b66696b76b07c3aa15b9e69edd1..38e19aeba156ba1ea7123d789c930783cb5edbbc 100644 |
--- a/public/web/WebFrameClient.h |
+++ b/public/web/WebFrameClient.h |
@@ -73,6 +73,7 @@ class WebFormElement; |
class WebGeolocationClient; |
class WebMediaPlayer; |
class WebMediaPlayerClient; |
+class WebMediaPlayerEncryptedMediaClient; |
class WebMIDIClient; |
class WebNotificationPermissionCallback; |
class WebPermissionClient; |
@@ -108,9 +109,12 @@ public: |
// May return null. |
virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { return 0; } |
+ // TODO(srirama): Remove this method once chromium updated. |
+ virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, WebMediaPlayerClient*, WebContentDecryptionModule*) { return 0; } |
+ |
// May return null. |
// WebContentDecryptionModule* may be null if one has not yet been set. |
- virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, WebMediaPlayerClient*, WebContentDecryptionModule*) { return 0; } |
+ virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, WebMediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionModule*) { return 0; } |
// May return null. |
virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } |