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

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: addressing nits 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
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | content/renderer/pepper/pepper_audio_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index db5fdbfe79d4f6c1912d5473cffbd6fb79f386c6..337b815b7122c9bb7962efe212ccbdf768c2ce53 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -962,6 +962,12 @@ IPC_MESSAGE_ROUTED2(FrameMsg_SaveImageAt,
// 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_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698