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

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

Issue 2098683002: Refactor OverlayPanel height calculations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser.dom_distiller; 5 package org.chromium.chrome.browser.dom_distiller;
6 6
7 import org.chromium.chrome.browser.ChromeActivity; 7 import org.chromium.chrome.browser.ChromeActivity;
8 import org.chromium.chrome.browser.compositor.bottombar.OverlayPanel.StateChange Reason; 8 import org.chromium.chrome.browser.compositor.bottombar.OverlayPanel.StateChange Reason;
9 import org.chromium.chrome.browser.compositor.bottombar.readermode.ReaderModePan el; 9 import org.chromium.chrome.browser.compositor.bottombar.readermode.ReaderModePan el;
10 import org.chromium.content_public.browser.WebContents; 10 import org.chromium.content_public.browser.WebContents;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 */ 58 */
59 ChromeActivity getChromeActivity(); 59 ChromeActivity getChromeActivity();
60 60
61 /** 61 /**
62 * Record the amount of time that a user spent in the Reader Mode panel. 62 * Record the amount of time that a user spent in the Reader Mode panel.
63 * @param timeInMs The amount of time spent in ms. 63 * @param timeInMs The amount of time spent in ms.
64 */ 64 */
65 void recordTimeSpentInReader(long timeInMs); 65 void recordTimeSpentInReader(long timeInMs);
66 66
67 /** 67 /**
68 * Notification that the size of the view has changed. 68 * Notification that the layout has changed.
69 */ 69 */
70 void onSizeChanged(); 70 void onLayoutChanged();
71 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698