Index: chrome/android/java_staging/src/org/chromium/chrome/browser/hosted/IBrowserConnectionCallback.aidl |
diff --git a/chrome/android/java_staging/src/org/chromium/chrome/browser/hosted/IBrowserConnectionCallback.aidl b/chrome/android/java_staging/src/org/chromium/chrome/browser/hosted/IBrowserConnectionCallback.aidl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d8b3d8ee710ba707498e25b45d87417ed2d873d0 |
--- /dev/null |
+++ b/chrome/android/java_staging/src/org/chromium/chrome/browser/hosted/IBrowserConnectionCallback.aidl |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.chrome.browser.hosted; |
+ |
+import android.os.Bundle; |
+ |
+/** |
+ * Interface for the client-provided callback on user navigation. |
+ */ |
+interface IBrowserConnectionCallback { |
+ /** |
+ * To be called when the user triggers an external navigation. |
+ * |
+ * @param sessionId As returned by {@link IBrowserConnectionService#newSession}. |
+ * @param url URL the user has navigated to. |
+ * @param extras Reserved for future use. |
+ */ |
+ void onUserNavigation(long sessionId, String url, in Bundle extras); |
+} |