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

Unified Diff: media/base/media_observer.h

Issue 2767823002: Media Remoting: Add interstitial elements to media element shadow dom. (Closed)
Patch Set: Updated with new UX design. Created 3 years, 8 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: media/base/media_observer.h
diff --git a/media/base/media_observer.h b/media/base/media_observer.h
index f5b1fb6906333ccf234031a23700a5629019f0d7..6fa7fa042d6283f96cf283e7355686217aeb5c82 100644
--- a/media/base/media_observer.h
+++ b/media/base/media_observer.h
@@ -16,9 +16,10 @@ class MEDIA_EXPORT MediaObserverClient {
virtual ~MediaObserverClient() {}
// Requests to restart the media pipeline and create a new renderer as soon as
- // possible. |disable_pipeline_auto_suspend| indicates whether to disable
- // any optimizations that might suspend the media pipeline.
- virtual void SwitchRenderer(bool disable_pipeline_auto_suspend) = 0;
+ // possible. |is_rendered_remotely| indicates whether to render the media
liberato (no reviews please) 2017/04/12 21:57:44 s/to render the media/the media is rendered/
xjz 2017/04/13 00:08:48 Done.
+ // remotely. When it is true, all the optimizations that might suspend the
+ // media pipeline are disabled.
liberato (no reviews please) 2017/04/12 21:57:44 s/are/should be/
xjz 2017/04/13 00:08:48 Done.
+ virtual void SwitchRenderer(bool is_rendered_remotely) = 0;
// Requests to activate monitoring changes on viewport intersection.
virtual void ActivateViewportIntersectionMonitoring(bool activate) = 0;

Powered by Google App Engine
This is Rietveld 408576698