| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 package org.chromium.chrome.browser.customtabs; | |
| 6 | |
| 7 import android.os.Bundle; | |
| 8 | |
| 9 /** | |
| 10 * Interface for the client-provided callback on user navigation. | |
| 11 */ | |
| 12 interface ICustomTabsConnectionCallback { | |
| 13 /** | |
| 14 * To be called when a page navigation starts. | |
| 15 * | |
| 16 * @param sessionId As returned by {@link ICustomTabsConnectionService#newSe
ssion}. | |
| 17 * @param url URL the user has navigated to. | |
| 18 * @param extras Reserved for future use. | |
| 19 */ | |
| 20 oneway void onUserNavigationStarted(long sessionId, String url, in Bundle ex
tras); | |
| 21 | |
| 22 /** | |
| 23 * To be called when a page navigation finishes. | |
| 24 * | |
| 25 * @param sessionId As returned by {@link ICustomTabsConnectionService#newSe
ssion}. | |
| 26 * @param url URL the user has navigated to. | |
| 27 * @param extras Reserved for future use. | |
| 28 */ | |
| 29 oneway void onUserNavigationFinished(long sessionId, String url, in Bundle e
xtras); | |
| 30 } | |
| OLD | NEW |