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

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

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: fixed nits for bbudge 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/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 83f0007ede2c9117eb03fd73b179f287cc14c8f4..3d6045b240e92a2bcc43506d63fcf882e07f2fa0 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -3701,12 +3701,14 @@ void WebContentsImpl::OnWebUISend(const GURL& source_url,
}
#if defined(ENABLE_PLUGINS)
-void WebContentsImpl::OnPepperInstanceCreated() {
- FOR_EACH_OBSERVER(WebContentsObserver, observers_, PepperInstanceCreated());
+void WebContentsImpl::OnPepperInstanceCreated(int32_t pp_instance) {
+ FOR_EACH_OBSERVER(WebContentsObserver, observers_,
+ PepperInstanceCreated(pp_instance));
}
-void WebContentsImpl::OnPepperInstanceDeleted() {
- FOR_EACH_OBSERVER(WebContentsObserver, observers_, PepperInstanceDeleted());
+void WebContentsImpl::OnPepperInstanceDeleted(int32_t pp_instance) {
+ FOR_EACH_OBSERVER(WebContentsObserver, observers_,
+ PepperInstanceDeleted(pp_instance));
}
void WebContentsImpl::OnPepperPluginHung(int plugin_child_id,

Powered by Google App Engine
This is Rietveld 408576698