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.hosted; |
| 6 |
| 7 import android.os.Bundle; |
| 8 |
| 9 /** |
| 10 * Interface for the client-provided callback on user navigation. |
| 11 */ |
| 12 interface IBrowserConnectionCallback { |
| 13 /** |
| 14 * To be called when the user triggers an external navigation. |
| 15 * |
| 16 * @param sessionId As returned by {@link IBrowserConnectionService#newSessi
on}. |
| 17 * @param url URL the user has navigated to. |
| 18 * @param extras Reserved for future use. |
| 19 */ |
| 20 void onUserNavigation(long sessionId, String url, in Bundle extras); |
| 21 } |
OLD | NEW |