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

Unified Diff: content/public/browser/render_frame_host.h

Issue 2948613002: [AudioStreamMonitor] Adds API to collect frame-level audibility. (Closed)
Patch Set: Correct comments in code Created 3 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: content/public/browser/render_frame_host.h
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
index 49baa59a8392a7ccb6813f7eefa6efaa1d491158..315ee55fcc7141c1cc9318a7bf44a0ac6a85a757 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -240,6 +240,9 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
// Returns true if the frame has a selection.
virtual bool HasSelection() = 0;
+ // Returns true if the frame recently plays an audio.
+ virtual bool IsAudible() = 0;
nasko 2017/06/21 21:04:07 This is still a public method that isn't used outs
lpy 2017/06/21 22:28:18 Done.
+
// Text surrounding selection.
typedef base::Callback<
void(const base::string16& content, int start_offset, int end_offset)>

Powered by Google App Engine
This is Rietveld 408576698