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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerDelegate.java

Issue 2878543003: Hook up Reader Mode InfoBar (Closed)
Patch Set: fix disabled test Created 3 years, 7 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: 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();
}

Powered by Google App Engine
This is Rietveld 408576698