| Index: content/public/browser/web_contents.h
|
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
|
| index 1eb4d7c0c60b656b6b1918b8f7ae61be99089e69..168ad8d0d6166046adc668946041f4be3fecc378 100644
|
| --- a/content/public/browser/web_contents.h
|
| +++ b/content/public/browser/web_contents.h
|
| @@ -259,6 +259,10 @@ class WebContents : public PageNavigator,
|
| // number of sent messages (i.e. the number of processed frames).
|
| virtual int SendToAllFrames(IPC::Message* message) = 0;
|
|
|
| + // Sends the given IPC to all live WebViews (can be more than one due to
|
| + // out-of-process iframes) and returns the number of sent messages.
|
| + virtual int SendToAllViews(IPC::Message* message) = 0;
|
| +
|
| // Gets the current RenderViewHost for this tab.
|
| virtual RenderViewHost* GetRenderViewHost() const = 0;
|
|
|
| @@ -407,6 +411,10 @@ class WebContents : public PageNavigator,
|
| // change.
|
| virtual void NotifyNavigationStateChanged(InvalidateTypes changed_flags) = 0;
|
|
|
| + // Method for notifying WebContents that audio started or stopped being
|
| + // audible.
|
| + virtual void OnAudioStateChanged(bool is_audio_playing) = 0;
|
| +
|
| // Get/Set the last time that the WebContents was made active (either when it
|
| // was created or shown with WasShown()).
|
| virtual base::TimeTicks GetLastActiveTime() const = 0;
|
|
|