OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |