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

Unified Diff: chrome/android/java_staging/src/org/chromium/chrome/browser/hosted/IBrowserConnectionCallback.aidl

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
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);
+}

Powered by Google App Engine
This is Rietveld 408576698