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

Unified Diff: public/web/WebFrameClient.h

Issue 1125353004: Separate encrypted media functions out of WebMediaPlayerClient interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: added TODO comment for temporary code Created 5 years, 6 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: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 1de7df29d595279f9b1c92d9de8619fe6e361a81..540e3ff1e6de23a70e8dfae7bf1c4d750752a55e 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -72,6 +72,7 @@ class WebFormElement;
class WebGeolocationClient;
class WebMediaPlayer;
class WebMediaPlayerClient;
+class WebMediaPlayerEncryptedMediaClient;
class WebMIDIClient;
class WebNotificationPermissionCallback;
class WebPermissionClient;
@@ -107,9 +108,12 @@ public:
// May return null.
virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { return 0; }
+ // TODO(srirama): Remove this method once blink updated.
ddorwin 2015/07/09 18:37:50 blink or Chromium?
Srirama 2015/07/10 15:17:44 Done.
+ 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; }

Powered by Google App Engine
This is Rietveld 408576698