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

Unified Diff: content/common/view_messages.h

Issue 2383473002: [scheduler] Teach scheduler about audio state (Closed)
Patch Set: Switched approach to use WebContentsImpl::WasRecentlyAudible Created 4 years, 2 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 57b63489a1c7694175fa99e89640da504dac8ef2..d21c09d7c29bd8de6d9592d35736ee1004717e41 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -816,6 +816,9 @@ IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame,
IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto,
std::vector<uint8_t> /* proto */)
+// Sent by the browser when the page is starting or stopping to play audio.
+IPC_MESSAGE_ROUTED1(ViewMsg_AudioStateChanged, bool /* is_audio_playing */)
+
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.

Powered by Google App Engine
This is Rietveld 408576698