Index: chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerDelegate.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerDelegate.java |
index 78869c37c7a25c087d9fa7af2b6edfc83e005ee8..66d5cf4269b32bfe96343e6dcd8426e8873e9a23 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerDelegate.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerDelegate.java |
@@ -6,18 +6,12 @@ package org.chromium.chrome.browser.dom_distiller; |
import org.chromium.chrome.browser.ChromeActivity; |
import org.chromium.chrome.browser.compositor.bottombar.OverlayPanel.StateChangeReason; |
-import org.chromium.chrome.browser.compositor.bottombar.readermode.ReaderModePanel; |
import org.chromium.content_public.browser.WebContents; |
/** |
* Delegate for the panel to call into the manager. |
*/ |
public interface ReaderModeManagerDelegate { |
- /** |
- * @param panel The panel to be managed. |
- */ |
- void setReaderModePanel(ReaderModePanel panel); |
- |
/** |
* Load a URL in a new tab. |
* @param url The URL to load in the tab. |
@@ -34,11 +28,6 @@ public interface ReaderModeManagerDelegate { |
*/ |
void onClosed(StateChangeReason reason); |
- /** |
- * Notify the manager that the panel has entered the peeking state. |
- */ |
- void onPeek(); |
- |
/** |
* Get the WebContents of the page that is being distilled. |
* @return The WebContents for the currently visible tab. |
@@ -63,9 +52,4 @@ public interface ReaderModeManagerDelegate { |
* @param timeInMs The amount of time spent in ms. |
*/ |
void recordTimeSpentInReader(long timeInMs); |
- |
- /** |
- * Notification that the layout has changed. |
- */ |
- void onLayoutChanged(); |
} |