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

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

Issue 2453623003: Decouple MediaSession messages from WebContents (full patch) (Closed)
Patch Set: nit Created 4 years, 1 month 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 a0c3b6bcb1906503b37fef910c02c71062b1a223..69d97b23490102247b1540dc1d2c97d5d1b9a5df 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
@@ -8,7 +8,6 @@ import android.graphics.Bitmap;
import android.graphics.Rect;
import android.os.Parcelable;
-import org.chromium.base.ObserverList;
import org.chromium.base.VisibleForTesting;
/**
@@ -306,21 +305,6 @@ public interface WebContents extends Parcelable {
void requestAccessibilitySnapshot(AccessibilitySnapshotCallback callback);
/**
- * Resumes the current media session.
- */
- void resumeMediaSession();
-
- /**
- * Suspends the current media session.
- */
- void suspendMediaSession();
-
- /**
- * Stops the current media session.
- */
- void stopMediaSession();
-
- /**
* Add an observer to the WebContents
*
* @param observer The observer to add.
@@ -334,12 +318,6 @@ public interface WebContents extends Parcelable {
*/
void removeObserver(WebContentsObserver observer);
- /**
- * @return The list of observers.
- */
- @VisibleForTesting
- ObserverList.RewindableIterator<WebContentsObserver> getObserversForTesting();
-
public void getContentBitmapAsync(Bitmap.Config config, float scale, Rect srcRect,
ContentBitmapCallback callback);
/**

Powered by Google App Engine
This is Rietveld 408576698