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

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: 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 48ad880e8aaab72468e8c7b5c213f19ebf5381bc..2b1e65d65195099334cf7421c2267da55e3a8f79 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,13 @@ public interface WebContents extends Parcelable {
boolean bypassCache, ImageDownloadCallback callback);
/**
+ * Whether the WebContents has an active fullscreen video or a dominant video while the
+ * WebContents is fullscreen.
+ * The WebContents must be fullscreen when this method is called.
+ */
+ public boolean hasActiveFullscreenDominantVideo();
+
+ /**
* 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