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

Unified Diff: content/common/frame_messages.h

Issue 2065513004: Expose flash playback status and volume control to content renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@audio_focus_manager
Patch Set: moving audio delegate to pepper Created 4 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/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index e3ae870a6e71ead93e13bdf6f7c4c715d28df6ae..142958da48d8a7a857b5859e829babab67739629 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -950,6 +950,12 @@ IPC_MESSAGE_ROUTED1(FrameMsg_StopFinding, content::StopFindAction /* action */)
// Notifies the renderer of updates to the Plugin Power Saver origin whitelist.
IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist,
std::set<url::Origin> /* origin_whitelist */)
+
+// This message notifies that the frame that the volume of the Pepper instance
+// for |pp_instance| should be changed to |volume|.
+IPC_MESSAGE_ROUTED2(FrameMsg_SetPepperVolume,
+ int32_t /* pp_instance */,
+ double /* volume */)
#endif // defined(ENABLE_PLUGINS)
// Used to instruct the RenderFrame to go into "view source" mode. This should
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | content/renderer/pepper/pepper_audio_control_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698