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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/readermode/ReaderModePanel.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/compositor/bottombar/readermode/ReaderModePanel.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/readermode/ReaderModePanel.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/readermode/ReaderModePanel.java
index cb2845ff3516c864c823d0a1c70cfdff0a4f62a2..9959500caf925e7b67c4494ca2bc17609eec81a8 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/readermode/ReaderModePanel.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/readermode/ReaderModePanel.java
@@ -267,10 +267,6 @@ public class ReaderModePanel extends OverlayPanel {
} else if (mTimerRunning && !animatingToOpenState) {
onTimerEnded();
}
-
- if (getPanelState() == PanelState.PEEKED) {
- mManagerDelegate.onPeek();
- }
}
@Override
@@ -321,10 +317,6 @@ public class ReaderModePanel extends OverlayPanel {
if (width != getWidth()) destroyReaderModeBarControl();
super.onLayoutChanged(width, height, visibleViewportOffsetY);
-
- if (mManagerDelegate != null) {
- mManagerDelegate.onLayoutChanged();
- }
}
@Override

Powered by Google App Engine
This is Rietveld 408576698