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

Unified Diff: content/test/web_contents_observer_sanity_checker.h

Issue 1478643002: Refactor media out of WebContentsImpl to MediaWebContentsObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix namespace for cast. Created 5 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/test/web_contents_observer_sanity_checker.h
diff --git a/content/test/web_contents_observer_sanity_checker.h b/content/test/web_contents_observer_sanity_checker.h
index aa7c9b24b5b10c8e0ad0ec0867e23653b7c18af6..273a2c4c80b81693235a398618a49a1abe67f907 100644
--- a/content/test/web_contents_observer_sanity_checker.h
+++ b/content/test/web_contents_observer_sanity_checker.h
@@ -81,6 +81,8 @@ class WebContentsObserverSanityChecker : public WebContentsObserver,
const Referrer& referrer,
WindowOpenDisposition disposition,
ui::PageTransition transition) override;
+ void MediaStartedPlaying(const MediaPlayerId& id) override;
+ void MediaStoppedPlaying(const MediaPlayerId& id) override;
bool OnMessageReceived(const IPC::Message& message,
RenderFrameHost* render_frame_host) override;
void WebContentsDestroyed() override;
@@ -100,6 +102,7 @@ class WebContentsObserverSanityChecker : public WebContentsObserver,
std::set<std::pair<int, int>> deleted_routes_;
std::set<NavigationHandle*> ongoing_navigations_;
+ std::vector<MediaPlayerId> active_media_players_;
bool web_contents_destroyed_;
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/test/web_contents_observer_sanity_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698