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

Unified Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 2692903002: Don't show media controls when there is a persistent video. (Closed)
Patch Set: cleanup and tests Created 3 years, 10 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/renderer_host/render_view_host_delegate.h
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h
index 7dc40c3f33ae1af42f995ea5932d3bf06e74dee7..a42e9b7cb89068ab51c2163613ccccd265ccf0f4 100644
--- a/content/browser/renderer_host/render_view_host_delegate.h
+++ b/content/browser/renderer_host/render_view_host_delegate.h
@@ -185,6 +185,9 @@ class CONTENT_EXPORT RenderViewHostDelegate {
// Whether download UI should be hidden.
virtual bool HideDownloadUI() const;
+ // Returns whether the WebContonts as a persisent video.
whywhat 2017/02/13 19:28:49 nit: s/WebContonts/WebContents; s/persisent/persis
mlamouri (slow - plz ping) 2017/02/14 11:19:46 Done.
+ virtual bool HasPersistentVideo() const;
+
protected:
virtual ~RenderViewHostDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698