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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java

Issue 2693203002: Provide a WebContents API to discover the playback of a fullscreen video. (Closed)
Patch Set: fix compile 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/public/android/java/src/org/chromium/content_public/browser/WebContents.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
index dd74c5145905ef4384482f7a80a6d636b86eeff2..22d5e911de6f140d120ae69d2c02c1a4436bafd2 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
@@ -366,6 +366,12 @@ public interface WebContents extends Parcelable {
boolean bypassCache, ImageDownloadCallback callback);
/**
+ * Whether the WebContents has an active fullscreen video with native or custom controls.
+ * The WebContents must be fullscreen when this method is called.
+ */
+ public boolean hasActiveEffectivelyFullscreenVideo();
+
+ /**
* Issues a fake notification about the renderer being killed.
*
* @param wasOomProtected True if the renderer was protected from the OS out-of-memory killer

Powered by Google App Engine
This is Rietveld 408576698