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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 2551093002: Route Pepper MediaSession messages to frames (Closed)
Patch Set: nits Created 4 years 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/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 186d99e03efc46e2fa06a3fd570e16852f597299..39408b4d9ee8b1b51d429ec239768e7f50532a8c 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -978,13 +978,17 @@ class CONTENT_EXPORT WebContentsImpl
const base::ListValue& args);
void OnUpdatePageImportanceSignals(const PageImportanceSignals& signals);
#if BUILDFLAG(ENABLE_PLUGINS)
- void OnPepperInstanceCreated(int32_t pp_instance);
- void OnPepperInstanceDeleted(int32_t pp_instance);
+ void OnPepperInstanceCreated(RenderFrameHost* render_frame_host,
+ int32_t pp_instance);
+ void OnPepperInstanceDeleted(RenderFrameHost* render_frame_host,
+ int32_t pp_instance);
void OnPepperPluginHung(int plugin_child_id,
const base::FilePath& path,
bool is_hung);
- void OnPepperStartsPlayback(int32_t pp_instance);
- void OnPepperStopsPlayback(int32_t pp_instance);
+ void OnPepperStartsPlayback(RenderFrameHost* render_frame_host,
+ int32_t pp_instance);
+ void OnPepperStopsPlayback(RenderFrameHost* render_frame_host,
+ int32_t pp_instance);
void OnPluginCrashed(const base::FilePath& plugin_path,
base::ProcessId plugin_pid);
void OnRequestPpapiBrokerPermission(int routing_id,

Powered by Google App Engine
This is Rietveld 408576698