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

Unified Diff: extensions/browser/extension_web_contents_observer.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: extensions/browser/extension_web_contents_observer.cc
diff --git a/extensions/browser/extension_web_contents_observer.cc b/extensions/browser/extension_web_contents_observer.cc
index 005c90da86c941626ce61112dc880309d50b76e7..75bb08f8a3468e6183e21451ef8c315c695e99de 100644
--- a/extensions/browser/extension_web_contents_observer.cc
+++ b/extensions/browser/extension_web_contents_observer.cc
@@ -180,7 +180,7 @@ bool ExtensionWebContentsObserver::OnMessageReceived(
return handled;
}
-void ExtensionWebContentsObserver::PepperInstanceCreated() {
+void ExtensionWebContentsObserver::PepperInstanceCreated(int32_t pp_instance) {
if (GetViewType(web_contents()) == VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) {
ProcessManager* const process_manager =
ProcessManager::Get(browser_context_);
@@ -191,7 +191,7 @@ void ExtensionWebContentsObserver::PepperInstanceCreated() {
}
}
-void ExtensionWebContentsObserver::PepperInstanceDeleted() {
+void ExtensionWebContentsObserver::PepperInstanceDeleted(int32_t pp_instance) {
dcheng 2016/06/14 20:00:32 Do we need to pass pp_instance needed here (and ab
Zhiqiang Zhang (Slow) 2016/06/20 19:11:54 It is needed in a follow-up CL (2060933002), where
dcheng 2016/06/20 19:32:08 OK. This CL is fine, but that one has at least one
Zhiqiang Zhang (Slow) 2016/06/21 17:19:30 Yes, that CL is pretty rough, and there are severa
if (GetViewType(web_contents()) == VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) {
ProcessManager* const process_manager =
ProcessManager::Get(browser_context_);
« content/renderer/render_frame_impl.cc ('K') | « extensions/browser/extension_web_contents_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698