Index: content/public/browser/web_contents_observer.h |
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h |
index a176d18cbb06363238243250980f44e7083962b3..cb7198a088dfd75305e193aa15899ec8898f130a 100644 |
--- a/content/public/browser/web_contents_observer.h |
+++ b/content/public/browser/web_contents_observer.h |
@@ -343,6 +343,12 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener, |
// Invoked when theme color is changed to |theme_color|. |
virtual void DidChangeThemeColor(SkColor theme_color) {} |
+ // Invoked when media is playing. |
+ virtual void MediaPlayingNotification() {} |
nasko
2015/03/25 22:31:58
The name of this method doesn't quite fit the nami
prashantv
2015/03/25 22:44:35
Done.
|
+ |
+ // Invoked when media is paused. |
+ virtual void MediaPausedNotification() {} |
+ |
// Invoked if an IPC message is coming from a specific RenderFrameHost. |
virtual bool OnMessageReceived(const IPC::Message& message, |
RenderFrameHost* render_frame_host); |