Chromium Code Reviews| Index: content/browser/browser_plugin/browser_plugin_embedder.h |
| diff --git a/content/browser/browser_plugin/browser_plugin_embedder.h b/content/browser/browser_plugin/browser_plugin_embedder.h |
| index 314053aa8050e89fce31a5ed43670c561d7b6e8e..68f167aa3b0959615aab6c786e8d4f4d2e806172 100644 |
| --- a/content/browser/browser_plugin/browser_plugin_embedder.h |
| +++ b/content/browser/browser_plugin/browser_plugin_embedder.h |
| @@ -83,6 +83,10 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver { |
| // is returned. |
| BrowserPluginGuest* GetFullPageGuest(); |
| + // Polls all guests for this web contents and returns true if any of them |
| + // were audible recently. |
| + bool WereAnyGuestsRecentlyAudible(); |
| + |
| private: |
| explicit BrowserPluginEmbedder(WebContentsImpl* web_contents); |
| @@ -107,6 +111,7 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver { |
| WebContents* guest); |
| static bool StopFindingInGuest(StopFindAction action, WebContents* guest); |
| + static bool GuestRecentlyAudibleCallback(WebContents* guest); |
|
Avi (use Gerrit)
2016/05/13 21:54:26
newline after this line
wjmaclean
2016/05/13 22:17:23
Done.
|
| // Message handlers. |
| void OnAttach(RenderFrameHost* render_frame_host, |