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

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

Issue 2693203002: Provide a WebContents API to discover the playback of a fullscreen video. (Closed)
Patch Set: review comments and compile fix 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index c325f5addd8c350093a74483218449653548a498..65c331d949478044c050bec17d638f96be78fdea 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -795,6 +795,11 @@ class CONTENT_EXPORT WebContentsImpl
// Called when the WebContents gains or loses a persistent video.
void SetHasPersistentVideo(bool value);
+ // Whether the WebContents has an active fullscreen video that is either using
+ // native or custom controls.
Charlie Reis 2017/02/23 00:18:08 I think the description of "effectively fullscreen
mlamouri (slow - plz ping) 2017/02/23 13:34:19 Done.
+ // |IsFullscreen| must return |true| when this method is called.
+ bool HasActiveEffectivelyFullscreenVideo() const;
+
#if defined(OS_ANDROID)
// Called by FindRequestManager when all of the find match rects are in.
void NotifyFindMatchRectsReply(int version,

Powered by Google App Engine
This is Rietveld 408576698